# Functions
AsByteSlice transforms a string of manually set bits to a byt array.
GenerateANISideMBPCDEID returns ANISideMacBridgePortConfigurationDataEntryID.
GenerateIeeMaperServiceProfileEID returns IeeMaperServiceProfileEntityID.
GenerateMcastANISideMBPCDEID returns McastANISideMacBridgePortConfigurationDataEntityID.
GenerateUNISideMBPCDEID returns UNISideMacBridgePortConfigurationDataEntityID.
GenerateVoipUNISideMEID return VoipUNISideMEEntityID.
GetTpIDFromTpPath extracts TpID from the TpPath.
IPToInt32 transforms an IP of net.Ip type to int32.
NewAdapterFsm - FSM details including event, device and channel.
NewOmciCC constructor returns a new instance of a OmciCC mib_db (as well as not inluded alarm_db not really used in this code? VERIFY!!).
NewOnuUniPort returns a new instance of a OnuUniPort.
Serialize - TODO: add comment.
SerializeOmciLayer - TODO: add comment.
TrimStringFromMeOctet trim string out of Me octet.
TwosComplementToSignedInt16 convert 2s complement to signed int16.
# Constants
AbortMessageProcessing - message data for aborting running message.
FSMs dealing with OMCI messages.
CBasePathOnuKVStore - kv store path of ONU specific data.
CDefaultRetries - TODO: add comment.
FSMs dealing with OMCI messages.
CErrWaitAborted - AdapterFsm related error string error string could be checked on waitforOmciResponse() e.g.
CGenericManagedEntityIDName - generic name string of attribute "ManagedEntityId".
FSMs dealing with OMCI messages.
FSMs dealing with OMCI messages.
FSMs dealing with OMCI messages.
FSMs dealing with OMCI messages.
FSMs dealing with OMCI messages.
FSMs dealing with OMCI messages.
DeviceStatusInit - default start state.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
device reasons.
definitions as per G.988 softwareImage::valid ME IDs.
TODO.
TODO.
definitions as per G.988.
LoadMibTemplateFailed - message data for failure for getting mib template.
LoadMibTemplateOk - message data for getting mib template successfully.
TODO.
TODO.
TODO.
TODO.
definitions as per G.988.
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.
definitions as per G.988.
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!.
definitions as per G.988.
event notifications.
event notifications.
event notifications.
event notifications.
event notifications.
event notifications.
event notifications.
event notifications.
definitions as per G.988.
definitions as per G.988.
definitions as per G.988.
event notifications.
event notifications.
event notifications.
event notifications.
event notifications.
event notifications.
PortLinkDw - Port link state change.
PortLinkUp - Port link state change.
definitions as per G.988 softwareImage::valid ME IDs.
definitions as per G.988 softwareImage::IsActive.
definitions as per G.988 softwareImage::IsCommitted.
definitions as per G.988 softwareImage::IsActive.
definitions as per G.988 softwareImage::IsValid.
definitions as per G.988 softwareImage::IsCommitted.
definitions as per G.988 softwareImage::IsValid.
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.
UniEnableStateFailed - Uni ports admin set to unlock failure based on device re-enable.
UniLockStateDone - Uni ports admin set to lock.
relates to PPTP.
relates to IP host config data (for Voice Services).
UniUnlockStateDone - Uni ports admin set to unlock.
relates to VEIP.
common unused AllocId for G.984 and G.987 systems.
TODO.
# Variables
DeviceReasonMap holds device reason strings.
# Structs
AdapterFsm - Adapter FSM details including channel, event and device.
CallbackPair to be used for ReceiveCallback init.
CallbackPairEntry to be used for OMCI send/receive correlation.
Message - message type and data(OMCI).
OmciCC structure holds information needed for OMCI communication (to/from OLT Adapter).
OmciMessage - OMCI protocol messages for managing and monitoring ONUs.
OmciTransferStructure - TODO: add comment.
OnuUniPort structure holds information about the ONU attached Uni Ports.
SEntrySwImageIndication - TODO: add comment.
SswImageIndications - TODO: add comment.
TestMessage - Struct to hold the message data TODO: place holder to have a second interface variant - to be replaced by real variant later on.
UniVlanFlowParams - TODO: add comment.
UniVlanRuleParams - TODO: add comment.
WaitGroupWithTimeOut definitions to have waitGroup functionality with timeout.
# Interfaces
IdeviceHandler interface to deviceHandler.
IonuAlarmManager interface to onuAlarmManager.
IonuDeviceEntry interface to onuDeviceEntry.
IonuMetricsManager interface to onuMetricsManager.
IonuUniTechProf interface to onuUniTechProf.
IopenONUAC interface to openONUAC.
IuniVlanConfigFsm interface to uniVlanConfigFsm.
# Type aliases
MessageType - Message Protocol Type.
OmciDeviceFsms - FSM event mapping to database class and time to wait between audits.
OnuDeviceEvent - TODO: add comment.
OnuUniPortMap - TODO: add comment.
TestMessageType - message data for various events.
UniPortType holds possible UNI port types.
UsedOmciConfigFsms type for FSMs dealing with OMCI messages.