blob: a22aaef9d1f98d85e3ba457c1e9da482b21c642b [file] [log] [blame]
Wei-Yu Chenad55cb82022-02-15 20:07:01 +08001# SPDX-FileCopyrightText: 2020 The Magma Authors.
2# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
3#
4# SPDX-License-Identifier: BSD-3-Clause
Wei-Yu Chen49950b92021-11-08 19:19:18 +08005
6import snowflake
7from eventd.eventd_client import log_event
8from orc8r.protos.eventd_pb2 import Event
9
10
11def deleted_stored_mconfig():
12 log_event(
13 Event(
14 stream_name="magmad",
15 event_type="deleted_stored_mconfig",
16 tag=snowflake.snowflake(),
17 value="{}",
18 ),
19 )
20
21
22def updated_stored_mconfig():
23 log_event(
24 Event(
25 stream_name="magmad",
26 event_type="updated_stored_mconfig",
27 tag=snowflake.snowflake(),
28 value="{}",
29 ),
30 )