alarmsim

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL