VOL-2224 Event Filter Mechanism
This commit contains the inital changes required for the event
filtering so that when the protos get merged the rw and ro core
could be built without compilation errors
Note: This patchset and the patchset for voltha-protos needs to be merged
as close to as possible otherwise there will be compilation errors
Change-Id: Id092fa19a0b302a33176a82e41b92a36ea8ede29
diff --git a/rw_core/core/adapter_proxy.go b/rw_core/core/adapter_proxy.go
index c8b28aa..fac9b6d 100755
--- a/rw_core/core/adapter_proxy.go
+++ b/rw_core/core/adapter_proxy.go
@@ -532,15 +532,13 @@
return nil
}
-// SuppressAlarm - TODO
-func (ap *AdapterProxy) SuppressAlarm(filter voltha.AlarmFilter) error {
- log.Debug("SuppressAlarm")
+func (ap *AdapterProxy) SuppressEvent(filter *voltha.EventFilter) error {
+ log.Debug("SuppressEvent")
return nil
}
-// UnSuppressAlarm - TODO
-func (ap *AdapterProxy) UnSuppressAlarm(filter voltha.AlarmFilter) error {
- log.Debug("UnSuppressAlarm")
+func (ap *AdapterProxy) UnSuppressEvent(filter *voltha.EventFilter) error {
+ log.Debug("UnSuppressEvent")
return nil
}