Changing vendor from NONE to BBSM
Change-Id: I86404403493bce9f01018d7429c120cbac0eb54e
diff --git a/device/device_onu.go b/device/device_onu.go
index 3448799..65499a8 100644
--- a/device/device_onu.go
+++ b/device/device_onu.go
@@ -18,8 +18,9 @@
import (
"log"
- "gerrit.opencord.org/voltha-bbsim/protos"
"reflect"
+
+ "gerrit.opencord.org/voltha-bbsim/protos"
)
type onuState int
@@ -51,14 +52,14 @@
onu.IntfID = intfid
onu.OperState = "up"
onu.SerialNumber = new(openolt.SerialNumber)
- onu.SerialNumber.VendorId = []byte("NONE")
+ onu.SerialNumber.VendorId = []byte("BBSM")
onu.SerialNumber.VendorSpecific = createSN(oltid, intfid, uint32(i))
onus = append(onus, &onu)
}
return onus
}
-func (onu *Onu) InitializeStatus(){
+func (onu *Onu) InitializeStatus() {
onu.OperState = "up"
*onu.InternalState = ONU_PRE_ACTIVATED
}