[VOL-1778] : changes to derive onu adapter name dynamically
Change-Id: If68993ec5da7ba666c5dfae5eceb99e5acf0d1ba
diff --git a/adaptercore/device_handler.go b/adaptercore/device_handler.go
index ba4040f..b686c8d 100644
--- a/adaptercore/device_handler.go
+++ b/adaptercore/device_handler.go
@@ -765,7 +765,7 @@
return
}
if onuDevice, err = dh.coreProxy.ChildDeviceDetected(context.TODO(), dh.device.Id, int(parentPortNo),
- "brcm_openomci_onu", int(channelID),
+ "", int(channelID),
string(onuDiscInd.SerialNumber.GetVendorId()), sn, int64(onuID)); onuDevice == nil {
log.Errorw("Create onu error",
log.Fields{"parent_id": dh.device.Id, "ponPort": onuDiscInd.GetIntfId(),