SEBA-806:Bring up ONUs one by one
For simulating onu discovery in a frequency, a time gap inserted between the OnuDiscovery messages generated by BBSIM.
For this, the configurable IndicationInterval parameter is used.
Change-Id: I49e2afb57e8321550898cbe89ee8b17ef580dc44
diff --git a/core/alarms.go b/core/alarms.go
index 6a702ce..6296123 100644
--- a/core/alarms.go
+++ b/core/alarms.go
@@ -87,7 +87,7 @@
}
Ind := formulateLossOfPLOAM(in.Status, onu)
s.alarmCh <- Ind
- er := sendOnuInd(*s.EnableServer, onu, 0, onu.OperState, "up")
+ er := sendOnuInd(*s.EnableServer, onu, onu.OperState, "up")
if er != nil {
logger.Debug(er.Error())
}
@@ -129,7 +129,7 @@
continue // Skip for onus which have independently raised onu los
}
- er := sendOnuInd(*s.EnableServer, onu, 0, onusOperstat, "up")
+ er := sendOnuInd(*s.EnableServer, onu, onusOperstat, "up")
if er != nil {
logger.Debug(er.Error())
}