Documentation ¶
Index ¶
- func AlarmNameToEnum(name string) (bbsim.AlarmType_Types, error)
- func BuildOnuAlarmIndication(req *bbsim.ONUAlarmRequest, o *devices.OltDevice) (*openolt.AlarmIndication, error)
- func IsNniPortPresentInOlt(nniPort uint32) bool
- func IsPonPortPresentInOlt(PonPort uint32) bool
- func SimulateOltAlarm(ctx context.Context, req *bbsim.OLTAlarmRequest, o *devices.OltDevice) error
- func SimulateOnuAlarm(ctx context.Context, req *bbsim.ONUAlarmRequest, o *devices.OltDevice) error
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, o *devices.OltDevice) (*openolt.AlarmIndication, error)
BuildOnuAlarmIndication function forms openolt alarmIndication as per ONUAlarmRequest
func IsNniPortPresentInOlt ¶ added in v0.0.18
IsNniPortPresentInOlt verifies if given nni port is present in olt
func IsPonPortPresentInOlt ¶ added in v0.0.18
IsPonPortPresentInOlt verifies if given Pon port is present in olt
func SimulateOltAlarm ¶ added in v0.0.18
SimulateOltAlarm accept request for Olt alarms and send proper alarmIndication to openolt stream
func SimulateOnuAlarm ¶ added in v0.0.18
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.