# Functions
AsByteSlice transforms a string of manually set bits to a byt array.
GetTpIDFromTpPath extracts TpID from the TpPath.
IPToInt32 transforms an IP of net.Ip type to int32.
NewAdapterFsm - FSM details including event, device and channel.
NewOnuImageStatus creates a new instance of OnuImageStatus.
NewOnuUpgradeFsm is the 'constructor' for the state machine to config the PON ANI ports of ONU UNI ports via OMCI.
NewOpenONUAC returns a new instance of OpenONU_AC.
NewUniPortStatus creates a new instance of UniPortStatus.
NewUniVlanConfigFsm is the 'constructor' for the state machine to config the PON ANI ports of ONU UNI ports via OMCI.
TrimStringFromMeOctet trim string out of Me octet.
TwosComplementToSignedInt16 convert 2s complement to signed int16.
# Constants
AbortMessageProcessing - message data for aborting running message.
This is READONLY and cannot be changed from VOLTHA NBI.
unit in seconds.
DeviceStatusInit - default start state.
This setting can be changed from voltha NBI PmConfig configuration.
EthernetUniHistoryName specific constants.
EthernetUniHistoryName specific constants.
This setting can be changed from voltha NBI PmConfig configuration.
EthernetBridgeHistory specific constants.
EthernetBridgeHistory specific constants.
constants for ethernet frame extended pm collection.
This setting can be changed from voltha NBI PmConfig configuration.
FecHistory specific constants.
FecHistory specific constants.
The frequency (in seconds) has to be multiple of 5.
This setting can be changed from voltha NBI PmConfig configuration.
GemPortHistory specific constants.
GemPortHistory specific constants.
This is READONLY and cannot be changed from VOLTHA NBI.
Constants specific for L2 PM collection.
Unit in seconds.
Constants specific for L2 PM collection.
Constants specific for L2 PM collection.
LoadMibTemplateFailed - message data for failure for getting mib template.
LoadMibTemplateOk - message data for getting mib template successfully.
Constants specific for L2 PM collection.
Per Table 11.2.9-1 – OMCI baseline message limitations in G.988 spec, the max GET Response payload size is 25.
MibDatabaseSync - MIB database sync (upload done).
MibDownloadDone - // MIB download done.
OMCI - OMCI protocol type msg.
OmciAniConfigDone - AniSide config according to TechProfile done.
needs to be the successor of OmciAniConfigDone!.
OmciCapabilitiesDone - OMCI ME and message type capabilities known.
OmciOnuSwUpgradeDone - SoftwareUpgrade to ONU finished.
OmciVlanFilterAddDone - Omci Vlan config done according to flow-add with request to write kvStore.
needs to be the successor of OmciVlanFilterAddDone!.
needs to be the successor of OmciVlanFilterAddDoneNoKvStore!.
needs to be the successor of OmciVlanFilterRemDone!.
This setting can be changed from voltha NBI PmConfig configuration.
OpticalPowerGroupMetrics specific constants.
unit in seconds.
PortLinkDw - Port link state change.
PortLinkUp - Port link state change.
SelfTestResponseWaitTimeout specifies timeout value waiting for self test response.
Unit seconds.
TestMsg - Message type for non OMCI messages.
TimeOutOccurred - message data for timeout.
UniDisableStateDone - Uni ports admin set to lock based on device disable.
UniEnableStateDone - Uni ports admin set to unlock based on device re-enable.
UniLockStateDone - Uni ports admin set to lock.
This setting can be changed from voltha NBI PmConfig configuration.
UniStatusGroupMetrics specific constants.
unit in seconds.
UniUnlockStateDone - Uni ports admin set to unlock.
constants for ethernet frame extended pm collection.
constants for ethernet frame extended pm collection.
# Variables
EthernetBridgeHistory are supported ethernet bridge history counters fetched from Ethernet Frame Performance Monitoring History Data Downstream and Ethernet Frame Performance Monitoring History Data Upstream MEs.
EthernetUniHistory are supported ethernet uni history counters fetched from Ethernet Performance Monitoring History Data ME.
FecHistory is supported FEC Performance Monitoring History Data related metrics.
GemPortHistory is supported GEM Port Network Ctp Performance Monitoring History Data related metrics.
OpticalPowerGroupMetrics are supported optical pm names.
UniStatusGroupMetrics are supported UNI status names.
# Structs
AdapterFsm - Adapter FSM details including channel, event and device.
Message - message type and data(OMCI).
OmciMessage - OMCI protocol messages for managing and monitoring ONUs.
OnuDeviceEntry - ONU device info and FSM events.
OnuImageStatus implements methods to get status info of onu images.
OnuUpgradeFsm defines the structure for the state machine to config the PON ANI ports of ONU UNI ports via OMCI.
OpenONUAC structure holds the ONU core information.
TestMessage - Struct to hold the message dataTODO: place holder to have a second interface variant - to be replaced by real variant later on.
UniPortStatus implements methods to get uni port status info.
UniVlanConfigFsm defines the structure for the state machine for configuration of the VLAN related setting via OMCI builds upon 'VLAN rules' that are derived from multiple flows.
# Type aliases
MessageType - Message Protocol Type.
OmciDeviceFsms - FSM event mapping to database class and time to wait between audits.
OnuDeviceEvent - event of interest to Device Adapters and OpenOMCI State Machines.
TestMessageType - message data for various events.