Definition at line 53 of file SwitchEventCollector.java.
◆ buildMessage()
static Message org.openkilda.floodlight.switchmanager.SwitchEventCollector.buildMessage |
( |
final InfoData |
data | ) |
|
|
static |
Builds a generic message object.
- Parameters
-
data | data to use in the message body |
- Returns
- Message
Definition at line 297 of file SwitchEventCollector.java.
◆ buildPortMessage()
static Message org.openkilda.floodlight.switchmanager.SwitchEventCollector.buildPortMessage |
( |
final DatapathId |
switchId, |
|
|
final OFPort |
port, |
|
|
final PortChangeType |
type |
|
) |
| |
|
static |
Builds a port state change message with port number.
- Parameters
-
switchId | datapathId of switch |
port | port that triggered the event |
type | type of port event |
- Returns
- Message
Definition at line 309 of file SwitchEventCollector.java.
◆ buildSwitchMessage() [1/2]
static Message org.openkilda.floodlight.switchmanager.SwitchEventCollector.buildSwitchMessage |
( |
final IOFSwitch |
sw, |
|
|
final SwitchState |
eventType |
|
) |
| |
|
static |
Builds a switch message type.
- Parameters
-
sw | switch instance |
eventType | type of event |
- Returns
- Message
Definition at line 272 of file SwitchEventCollector.java.
◆ buildSwitchMessage() [2/2]
static Message org.openkilda.floodlight.switchmanager.SwitchEventCollector.buildSwitchMessage |
( |
final DatapathId |
switchId, |
|
|
final SwitchState |
eventType |
|
) |
| |
|
static |
Builds a switch message type.
- Parameters
-
switchId | switch id |
eventType | type of event |
- Returns
- Message
Definition at line 283 of file SwitchEventCollector.java.
◆ getModuleDependencies()
Collection<Class<? extends IFloodlightService> > org.openkilda.floodlight.switchmanager.SwitchEventCollector.getModuleDependencies |
( |
| ) |
|
◆ getModuleServices()
Collection<Class<? extends IFloodlightService> > org.openkilda.floodlight.switchmanager.SwitchEventCollector.getModuleServices |
( |
| ) |
|
◆ getServiceImpls()
Map<Class<? extends IFloodlightService>, IFloodlightService> org.openkilda.floodlight.switchmanager.SwitchEventCollector.getServiceImpls |
( |
| ) |
|
◆ init()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.init |
( |
FloodlightModuleContext |
context | ) |
throws FloodlightModuleException |
◆ isPhysicalPort()
static boolean org.openkilda.floodlight.switchmanager.SwitchEventCollector.isPhysicalPort |
( |
OFPort |
p | ) |
|
|
static |
◆ startUp()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.startUp |
( |
FloodlightModuleContext |
context | ) |
throws FloodlightModuleException |
◆ switchActivated()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.switchActivated |
( |
final DatapathId |
switchId | ) |
|
◆ switchAdded()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.switchAdded |
( |
final DatapathId |
switchId | ) |
|
◆ switchChanged()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.switchChanged |
( |
final DatapathId |
switchId | ) |
|
◆ switchDeactivated()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.switchDeactivated |
( |
final DatapathId |
switchId | ) |
|
◆ switchPortChanged()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.switchPortChanged |
( |
final DatapathId |
switchId, |
|
|
final OFPortDesc |
port, |
|
|
final PortChangeType |
type |
|
) |
| |
◆ switchRemoved()
void org.openkilda.floodlight.switchmanager.SwitchEventCollector.switchRemoved |
( |
final DatapathId |
switchId | ) |
|
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/floodlight-modules/src/main/java/org/openkilda/floodlight/switchmanager/SwitchEventCollector.java