Open Kilda Java Documentation
topologylistener.eventhandler Namespace Reference

Functions

def main_loop ()
 
def topology_event_handler (event)
 
def dump_object (o)
 

Variables

 logger = logging.getLogger(__name__)
 
list known_messages
 
list known_commands
 

Function Documentation

◆ dump_object()

def topologylistener.eventhandler.dump_object (   o)

Definition at line 99 of file eventhandler.py.

◆ main_loop()

def topologylistener.eventhandler.main_loop ( )

Definition at line 54 of file eventhandler.py.

◆ topology_event_handler()

def topologylistener.eventhandler.topology_event_handler (   event)

Definition at line 83 of file eventhandler.py.

Variable Documentation

◆ known_commands

list topologylistener.eventhandler.known_commands
Initial value:
1 = ['org.openkilda.messaging.command.flow.FlowCreateRequest',
2  'org.openkilda.messaging.command.flow.FlowDeleteRequest',
3  'org.openkilda.messaging.command.flow.FlowUpdateRequest',
4  'org.openkilda.messaging.command.flow.FlowPathRequest',
5  'org.openkilda.messaging.command.flow.FlowGetRequest',
6  'org.openkilda.messaging.command.flow.FlowsGetRequest',
7  'org.openkilda.messaging.command.flow.FlowRerouteRequest',
8  'org.openkilda.messaging.command.system.FeatureToggleRequest',
9  'org.openkilda.messaging.command.system.FeatureToggleStateRequest',
10  'org.openkilda.messaging.command.switches.SwitchRulesSyncRequest',
11  'org.openkilda.messaging.command.switches.SwitchRulesValidateRequest',
12  'org.openkilda.messaging.command.discovery.NetworkCommandData',
13  'org.openkilda.messaging.command.FlowsSyncRequest',
14  'org.openkilda.messaging.te.request.LinkPropsDrop',
15  'org.openkilda.messaging.te.request.LinkPropsPut']

Definition at line 37 of file eventhandler.py.

◆ known_messages

list topologylistener.eventhandler.known_messages
Initial value:
1 = ['org.openkilda.messaging.info.event.SwitchInfoData',
2  'org.openkilda.messaging.info.event.SwitchInfoExtendedData',
3  'org.openkilda.messaging.info.event.IslInfoData',
4  'org.openkilda.messaging.info.event.PortInfoData',
5  'org.openkilda.messaging.info.flow.FlowInfoData',
6  'org.openkilda.messaging.info.rule.SwitchFlowEntries']

Definition at line 31 of file eventhandler.py.

◆ logger

topologylistener.eventhandler.logger = logging.getLogger(__name__)

Definition at line 29 of file eventhandler.py.