VOLTHA Alarms: Added filtering capabilities
- Filters are constructed based on 1 or more rules as key:value pairs
- A key:value rule uses the available alarm attributes
- NBI and cli commands were added
Amendment:
- Moved filter protos to voltha proto to fix possible circular dependency
Change-Id: Ic72125e9d35135d75be175638341b0c08fd97f95
diff --git a/voltha/adapters/interface.py b/voltha/adapters/interface.py
index 24a4085..fcba8af 100644
--- a/voltha/adapters/interface.py
+++ b/voltha/adapters/interface.py
@@ -298,7 +298,7 @@
:return: None
"""
- def submit_alarm(alarm_event_msg):
+ def submit_alarm(device_id, alarm_event_msg):
"""
Submit an alarm on behalf of the OLT and its adapter.
:param alarm_event_msg: A protobuf message of AlarmEvent type.