VOL-547: Alarms from the ONU were throwing up Exceptions at ASFVOLT16 adapter
due to wrong number of parameters
Change-Id: I02a8654c59b5091d431baa33f8c0b0e0aa43df47
diff --git a/voltha/adapters/asfvolt16_olt/asfvolt16_ind_handler.py b/voltha/adapters/asfvolt16_olt/asfvolt16_ind_handler.py
index af8f323..75325ed 100755
--- a/voltha/adapters/asfvolt16_olt/asfvolt16_ind_handler.py
+++ b/voltha/adapters/asfvolt16_olt/asfvolt16_ind_handler.py
@@ -173,21 +173,25 @@
if los != bal_model_types_pb2.BAL_ALARM_STATUS_NO__CHANGE:
reactor.callLater(0, device_handler.BalSubsTermLosAlarm, \
+ indication.device_id, \
indication.terminal_alarm.key.intf_id, \
los, balSubTermAlarm_Dict)
if lob != bal_model_types_pb2.BAL_ALARM_STATUS_NO__CHANGE:
reactor.callLater(0, device_handler.BalSubsTermLobAlarm, \
+ indication.device_id, \
indication.terminal_alarm.key.intf_id, \
lob, balSubTermAlarm_Dict)
if lopc_miss != bal_model_types_pb2.BAL_ALARM_STATUS_NO__CHANGE:
reactor.callLater(0, device_handler.BalSubsTermLopcMissAlarm, \
+ indication.device_id, \
indication.terminal_alarm.key.intf_id, \
lopc_miss, balSubTermAlarm_Dict)
if lopc_mic_error != bal_model_types_pb2.BAL_ALARM_STATUS_NO__CHANGE:
reactor.callLater(0, device_handler.BalSubsTermLopcMicErrorAlarm, \
+ indication.device_id, \
indication.terminal_alarm.key.intf_id, \
lopc_mic_error, balSubTermAlarm_Dict)
bal_err = bal_pb2.BalErr()