VOL-3095: Added olt device_id in ONU Discovery Event
Change-Id: I7d778e3954418dd7a1766a8b7f976ccd3f38e70a
diff --git a/internal/pkg/core/device_handler.go b/internal/pkg/core/device_handler.go
index 8cf4c50..6db0063 100644
--- a/internal/pkg/core/device_handler.go
+++ b/internal/pkg/core/device_handler.go
@@ -1112,7 +1112,7 @@
"pon-interface-id": ponintfid,
"serial-number": sn}, err)
}
- dh.eventMgr.OnuDiscoveryIndication(onuDiscInd, onuDevice.Id, onuID, sn, time.Now().UnixNano())
+ dh.eventMgr.OnuDiscoveryIndication(onuDiscInd, dh.device.Id, onuDevice.Id, onuID, sn, time.Now().UnixNano())
logger.Infow("onu-child-device-added",
log.Fields{"onuDevice": onuDevice,
"sn": sn,