blob: 308f1bee07bf969529037b07ccab86abe56b64bc [file] [log] [blame]
Wei-Yu Chen49950b92021-11-08 19:19:18 +08001"""
2Copyright 2020 The Magma Authors.
3
4This source code is licensed under the BSD-style license found in the
5LICENSE file in the root directory of this source tree.
6
7Unless required by applicable law or agreed to in writing, software
8distributed under the License is distributed on an "AS IS" BASIS,
9WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10See the License for the specific language governing permissions and
11limitations under the License.
12"""
13
14import snowflake
15from eventd.eventd_client import log_event
16from orc8r.protos.eventd_pb2 import Event
17
18
19def deleted_stored_mconfig():
20 log_event(
21 Event(
22 stream_name="magmad",
23 event_type="deleted_stored_mconfig",
24 tag=snowflake.snowflake(),
25 value="{}",
26 ),
27 )
28
29
30def updated_stored_mconfig():
31 log_event(
32 Event(
33 stream_name="magmad",
34 event_type="updated_stored_mconfig",
35 tag=snowflake.snowflake(),
36 value="{}",
37 ),
38 )