Open Kilda Java Documentation
org.openkilda.floodlight.converter.IofSwitchConverter Class Reference

Static Public Member Functions

static SwitchInfoData buildSwitchInfoData (IOFSwitch sw, SwitchState eventType)
 
static SwitchInfoExtendedData buildSwitchInfoDataExtended (IOFSwitch sw, SwitchState eventType, OFFlowStatsReply flowStats)
 

Detailed Description

Converter of floodlight switch representation net.floodlightcontroller.core.IOFSwitch.

Definition at line 35 of file IofSwitchConverter.java.

Member Function Documentation

◆ buildSwitchInfoData()

static SwitchInfoData org.openkilda.floodlight.converter.IofSwitchConverter.buildSwitchInfoData ( IOFSwitch  sw,
SwitchState  eventType 
)
static

Transforms IOFSwitch to object that is used throughout kilda in all components.

Parameters
swswitch data.
eventTypeswitch state.
Returns
converted switch.

Definition at line 44 of file IofSwitchConverter.java.

◆ buildSwitchInfoDataExtended()

static SwitchInfoExtendedData org.openkilda.floodlight.converter.IofSwitchConverter.buildSwitchInfoDataExtended ( IOFSwitch  sw,
SwitchState  eventType,
OFFlowStatsReply  flowStats 
)
static

Transforms IOFSwitch to object that is used throughout kilda in all components.

Parameters
swswitch data.
eventTypeswitch state.
flowStatsinstalled flows.
Returns
converted switch.

Definition at line 72 of file IofSwitchConverter.java.


The documentation for this class was generated from the following file: