Documentation ¶
Index ¶
- type ByteMsg
- type IgmpMessage
- type Message
- type MessageType
- type NniIndicationMessage
- type OltIndicationMessage
- type OmciIndicationMessage
- type OmciMessage
- type OnuDiscIndicationMessage
- type OnuFlowUpdateMessage
- type OnuIndicationMessage
- type OnuPacketMessage
- type OperState
- type PacketMessage
- type PacketMsg
- type PonIndicationMessage
- type Stream
- type UniStatusAlarmMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgmpMessage ¶ added in v1.5.0
type IgmpMessage struct {
GroupAddress string
}
type Message ¶ added in v1.5.0
type Message struct { Type MessageType Data interface{} }
type MessageType ¶ added in v1.5.0
type MessageType int
const ( OltIndication MessageType = 0 NniIndication MessageType = 1 PonIndication MessageType = 2 OnuDiscIndication MessageType = 3 OnuIndication MessageType = 4 OMCI MessageType = 5 FlowAdd MessageType = 6 FlowRemoved MessageType = 18 StartEAPOL MessageType = 7 StartDHCP MessageType = 8 OnuPacketOut MessageType = 9 // BBR messages OmciIndication MessageType = 10 // this are OMCI messages going from the OLT to VOLTHA SendEapolFlow MessageType = 11 SendDhcpFlow MessageType = 12 OnuPacketIn MessageType = 13 //IGMP IGMPMembershipReportV2 MessageType = 14 // Version 2 Membership Report (JOIN) IGMPLeaveGroup MessageType = 15 // Leave Group AlarmIndication MessageType = 16 // message data is an openolt.AlarmIndication IGMPMembershipReportV3 MessageType = 17 // Version 3 Membership Report UniStatusAlarm MessageType = 19 )
func (MessageType) String ¶ added in v1.5.0
func (m MessageType) String() string
type NniIndicationMessage ¶ added in v1.5.0
type OltIndicationMessage ¶ added in v1.5.0
type OltIndicationMessage struct {
OperState OperState
}
type OmciIndicationMessage ¶ added in v1.5.0
type OmciIndicationMessage struct { OnuSN *openolt.SerialNumber OnuID uint32 OmciInd *openolt.OmciIndication }
these are OMCI messages going from the OLT to VOLTHA these messages are received by BBR
type OmciMessage ¶ added in v1.5.0
type OmciMessage struct { OnuSN *openolt.SerialNumber OnuID uint32 OmciMsg *omci.OMCI OmciPkt gopacket.Packet }
these are OMCI messages going from VOLTHA to the OLT used by BBSim
type OnuDiscIndicationMessage ¶ added in v1.5.0
type OnuDiscIndicationMessage struct {
OperState OperState
}
type OnuFlowUpdateMessage ¶ added in v1.5.0
type OnuIndicationMessage ¶ added in v1.5.0
type OnuIndicationMessage struct { OperState OperState PonPortID uint32 OnuID uint32 OnuSN *openolt.SerialNumber }
type OnuPacketMessage ¶ added in v1.5.0
type OnuPacketMessage struct { IntfId uint32 OnuId uint32 PortNo uint32 Packet gopacket.Packet Type packetHandlers.PacketType MacAddress net.HardwareAddr GemPortId uint32 // this is used by BBR }
type PacketMessage ¶ added in v1.5.0
type PonIndicationMessage ¶ added in v1.5.0
type Stream ¶ added in v0.0.2
type Stream interface { Send(*openolt.Indication) error grpc.ServerStream }
represent a gRPC stream
type UniStatusAlarmMessage ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.