commit | 3f5d7f263f36212e311204ca3a545314b6ff78e6 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Wed Oct 16 14:21:13 2019 -0700 |
committer | Matteo Scandolo <teo@opennetworking.org> | Fri Nov 01 16:57:16 2019 +0000 |
tree | 854848be9d36f705019e6f1b3195303a974e221a | |
parent | 0208caab1f07977f201f623509f8194be5c26ec9 [diff] |
Reporting the same DeviceId everytime via GetDeviceInfo Change-Id: Ic96359880e32833468308d2e717e3b4d38c47453
diff --git a/internal/bbsim/devices/olt.go b/internal/bbsim/devices/olt.go index bfaa5fd..d0bc938 100644 --- a/internal/bbsim/devices/olt.go +++ b/internal/bbsim/devices/olt.go
@@ -631,6 +631,7 @@ devinfo.FlowIdStart = 1 devinfo.FlowIdEnd = 16383 devinfo.DeviceSerialNumber = o.SerialNumber + devinfo.DeviceId = net.HardwareAddr{0xA, 0xA, 0xA, 0xA, 0xA, byte(o.ID)}.String() return devinfo, nil }