Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlarmNameToEnum ¶ added in v0.0.16
func AlarmNameToEnum(name string) (bbsim.AlarmType_Types, error)
func BuildOnuAlarmIndication ¶ added in v0.0.18
func BuildOnuAlarmIndication(req *bbsim.ONUAlarmRequest, onuID uint32, ponPortID uint32) (*openolt.AlarmIndication, error)
BuildOnuAlarmIndication function forms openolt alarmIndication as per ONUAlarmRequest
func SimulateOnuAlarm ¶ added in v0.0.18
func SimulateOnuAlarm(req *bbsim.ONUAlarmRequest, onuID uint32, ponPortID uint32, channel chan types.Message) error
SimulateOnuAlarm accept request for Onu alarms and send proper alarmIndication to openolt stream
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.