[VOL-2176] Adding -no-auth and -no-dhcp option in BBSim CLI
Change-Id: I3d0f7adb26c1df0d42f67b9b8fbc782754491c31
diff --git a/cmd/bbr/bbr.go b/cmd/bbr/bbr.go
index a98decd..4f4c590 100644
--- a/cmd/bbr/bbr.go
+++ b/cmd/bbr/bbr.go
@@ -70,7 +70,19 @@
apiDoneChannel := make(chan bool)
// create the OLT device
- olt := devices.CreateOLT(options.OltID, options.NumNniPerOlt, options.NumPonPerOlt, options.NumOnuPerPon, options.STag, options.CTagInit, &oltDoneChannel, &apiDoneChannel, true)
+ olt := devices.CreateOLT(
+ options.OltID,
+ options.NumNniPerOlt,
+ options.NumPonPerOlt,
+ options.NumOnuPerPon,
+ options.STag,
+ options.CTagInit,
+ &oltDoneChannel,
+ &apiDoneChannel,
+ true, // this parameter is not important in the BBR Case
+ true, // this parameter is not important in the BBR Case
+ true,
+ )
oltMock := bbrdevices.OltMock{
Olt: olt,
TargetOnus: options.NumPonPerOlt * options.NumOnuPerPon,