[VOL-4437] Adding support for unkown attributes
Change-Id: I54b1fbefdb75ca3ec4abfc83b57b232d07c76873
diff --git a/cmd/bbsim/bbsim.go b/cmd/bbsim/bbsim.go
index b51ff86..b5b613f 100644
--- a/cmd/bbsim/bbsim.go
+++ b/cmd/bbsim/bbsim.go
@@ -146,21 +146,22 @@
}
log.WithFields(log.Fields{
- "OltID": common.Config.Olt.ID,
- "NumNniPerOlt": common.Config.Olt.NniPorts,
- "NumPonPerOlt": common.Config.Olt.PonPorts,
- "NumOnuPerPon": common.Config.Olt.OnusPonPort,
- "PonConfiguration": *common.PonsConfig,
- "TotalOnus": common.Config.Olt.PonPorts * common.Config.Olt.OnusPonPort,
- "Delay": common.Config.BBSim.Delay,
- "Events": common.Config.BBSim.Events,
- "KafkaEventTopic": common.Config.BBSim.KafkaEventTopic,
- "ControlledActivation": common.Config.BBSim.ControlledActivation,
- "EnablePerf": common.Config.BBSim.EnablePerf,
- "DhcpRetry": common.Config.BBSim.DhcpRetry,
- "AuthRetry": common.Config.BBSim.AuthRetry,
- "OltRebootDelay": common.Config.Olt.OltRebootDelay,
- "OmciResponseRate": common.Config.Olt.OmciResponseRate,
+ "OltID": common.Config.Olt.ID,
+ "NumNniPerOlt": common.Config.Olt.NniPorts,
+ "NumPonPerOlt": common.Config.Olt.PonPorts,
+ "NumOnuPerPon": common.Config.Olt.OnusPonPort,
+ "PonConfiguration": *common.PonsConfig,
+ "TotalOnus": common.Config.Olt.PonPorts * common.Config.Olt.OnusPonPort,
+ "Delay": common.Config.BBSim.Delay,
+ "Events": common.Config.BBSim.Events,
+ "KafkaEventTopic": common.Config.BBSim.KafkaEventTopic,
+ "ControlledActivation": common.Config.BBSim.ControlledActivation,
+ "EnablePerf": common.Config.BBSim.EnablePerf,
+ "DhcpRetry": common.Config.BBSim.DhcpRetry,
+ "AuthRetry": common.Config.BBSim.AuthRetry,
+ "OltRebootDelay": common.Config.Olt.OltRebootDelay,
+ "OmciResponseRate": common.Config.Olt.OmciResponseRate,
+ "injectOmciUnknownAttributes": common.Config.BBSim.InjectOmciUnknownAttributes,
}).Info("BroadBand Simulator is on")
// control channels, they are only closed when the goroutine needs to be terminated