SEBA-506 BBSIM - omci handler for new TP flows
BBSim changed the way to get GemPortID.
Change-Id: Ie8a2d7c4b41204f71da7a3fa97e90cfea10295fc
diff --git a/device/device_onu.go b/device/device_onu.go
index 79a4be2..c8e0c4d 100644
--- a/device/device_onu.go
+++ b/device/device_onu.go
@@ -38,6 +38,7 @@
OperState string
SerialNumber *openolt.SerialNumber
OnuID uint32
+ GemportID uint16
mu *sync.Mutex
}
@@ -58,6 +59,7 @@
onu.SerialNumber = new(openolt.SerialNumber)
onu.SerialNumber.VendorId = []byte("BBSM")
onu.SerialNumber.VendorSpecific = NewSN(oltid, intfid, uint32(i))
+ onu.GemportID = 0
onus = append(onus, &onu)
}
return onus