VOL-1888 Not enough info in ONU DGI to Identify the ONU.
Fixed to fetch the serial number from the list of ONUs
handled by the device handler from the onu-id and the
intf-id which is sent by the openolt agent in the dgi
indication.
Change-Id: I54342b9009d4d12c0efa3745d1f48567f183c245
diff --git a/adaptercore/device_handler.go b/adaptercore/device_handler.go
index 95bc170..ab30edd 100644
--- a/adaptercore/device_handler.go
+++ b/adaptercore/device_handler.go
@@ -514,7 +514,7 @@
}
/* TODO: Instantiate Alarm , stats , BW managers */
/* Instantiating Event Manager to handle Alarms and KPIs */
- dh.eventMgr = NewEventMgr(dh.EventProxy)
+ dh.eventMgr = NewEventMgr(dh.EventProxy, dh)
// Start reading indications
go dh.readIndications()