SEBA-958 send periodic port stats

Change-Id: I981e6c70b214845d87e8ae96b370fcdf58ccfef3
diff --git a/cmd/bbr/bbr.go b/cmd/bbr/bbr.go
index 52ae622..441ddb0 100644
--- a/cmd/bbr/bbr.go
+++ b/cmd/bbr/bbr.go
@@ -70,18 +70,7 @@
 
 	// create the OLT device
 	olt := devices.CreateOLT(
-		options.Olt.ID,
-		int(options.Olt.NniPorts),
-		int(options.Olt.PonPorts),
-		int(options.Olt.OnusPonPort),
-		options.BBSim.STag,
-		options.BBSim.CTagInit,
-		true, // this parameter is not important in the BBR Case
-		true, // this parameter is not important in the BBR Case
-		0,    // this parameter does not matter in the BBR case
-		options.BBSim.ControlledActivation,
-		false, // this parameter is not important in the BBR Case
-		false,
+		*options.BBSimYamlConfig,
 		true,
 	)
 
diff --git a/cmd/bbsim/bbsim.go b/cmd/bbsim/bbsim.go
index 2de8906..8a1b088 100644
--- a/cmd/bbsim/bbsim.go
+++ b/cmd/bbsim/bbsim.go
@@ -163,18 +163,7 @@
 	apiDoneChannel := make(chan bool)
 
 	olt := devices.CreateOLT(
-		options.Olt.ID,
-		int(options.Olt.NniPorts),
-		int(options.Olt.PonPorts),
-		int(options.Olt.OnusPonPort),
-		options.BBSim.STag,
-		options.BBSim.CTagInit,
-		options.BBSim.EnableAuth,
-		options.BBSim.EnableDhcp,
-		options.BBSim.Delay,
-		options.BBSim.ControlledActivation,
-		options.BBSim.EnablePerf,
-		options.BBSim.Events,
+		*options,
 		false,
 	)