Open Kilda Java Documentation
org.openkilda.floodlight.pathverification.PathVerificationService Class Reference
Inheritance diagram for org.openkilda.floodlight.pathverification.PathVerificationService:
org.openkilda.floodlight.pathverification.IPathVerificationService

Public Member Functions

Collection< Class<? extends IFloodlightService > > getModuleDependencies ()
 
Collection< Class<? extends IFloodlightService > > getModuleServices ()
 
Map< Class<? extends IFloodlightService >, IFloodlightService > getServiceImpls ()
 
void init (FloodlightModuleContext context) throws FloodlightModuleException
 
void startUp (FloodlightModuleContext context) throws FloodlightModuleException
 
String getName ()
 
boolean isCallbackOrderingPostreq (OFType arg0, String arg1)
 
boolean isCallbackOrderingPrereq (OFType arg0, String arg1)
 
Command receive (IOFSwitch sw, OFMessage msg, FloodlightContext context)
 
boolean isAlive ()
 
boolean sendDiscoveryMessage (DatapathId srcSwId, OFPort port)
 
boolean sendDiscoveryMessage (DatapathId srcSwId, OFPort port, DatapathId dstSwId)
 
OFPacketOut generateVerificationPacket (IOFSwitch srcSw, OFPort port)
 
OFPacketOut generateVerificationPacket (IOFSwitch srcSw, OFPort port, IOFSwitch dstSw, boolean sign)
 

Static Public Attributes

static final String VERIFICATION_BCAST_PACKET_DST = "08:ED:02:E3:FF:FF"
 
static final int VERIFICATION_PACKET_UDP_PORT = 61231
 
static final String VERIFICATION_PACKET_IP_DST = "192.168.0.255"
 

Protected Member Functions

List< OFAction > getDiscoveryActions (IOFSwitch sw, OFPort port)
 

Detailed Description

Definition at line 93 of file PathVerificationService.java.

Member Function Documentation

◆ generateVerificationPacket() [1/2]

OFPacketOut org.openkilda.floodlight.pathverification.PathVerificationService.generateVerificationPacket ( IOFSwitch  srcSw,
OFPort  port 
)

Definition at line 278 of file PathVerificationService.java.

◆ generateVerificationPacket() [2/2]

OFPacketOut org.openkilda.floodlight.pathverification.PathVerificationService.generateVerificationPacket ( IOFSwitch  srcSw,
OFPort  port,
IOFSwitch  dstSw,
boolean  sign 
)

Return verification packet.

Parameters
srcSwsource switch.
portport.
dstSwdestination switch
signsign.
Returns
verification packet.

Definition at line 291 of file PathVerificationService.java.

◆ getDiscoveryActions()

List<OFAction> org.openkilda.floodlight.pathverification.PathVerificationService.getDiscoveryActions ( IOFSwitch  sw,
OFPort  port 
)
protected

Definition at line 231 of file PathVerificationService.java.

◆ getModuleDependencies()

Collection<Class<? extends IFloodlightService> > org.openkilda.floodlight.pathverification.PathVerificationService.getModuleDependencies ( )

IFloodlightModule Methods.

Definition at line 116 of file PathVerificationService.java.

◆ getModuleServices()

Collection<Class<? extends IFloodlightService> > org.openkilda.floodlight.pathverification.PathVerificationService.getModuleServices ( )

Definition at line 125 of file PathVerificationService.java.

◆ getName()

String org.openkilda.floodlight.pathverification.PathVerificationService.getName ( )

IOFMessageListener Methods.

Definition at line 196 of file PathVerificationService.java.

◆ getServiceImpls()

Map<Class<? extends IFloodlightService>, IFloodlightService> org.openkilda.floodlight.pathverification.PathVerificationService.getServiceImpls ( )

Definition at line 132 of file PathVerificationService.java.

◆ init()

void org.openkilda.floodlight.pathverification.PathVerificationService.init ( FloodlightModuleContext  context) throws FloodlightModuleException

Definition at line 139 of file PathVerificationService.java.

◆ isAlive()

boolean org.openkilda.floodlight.pathverification.PathVerificationService.isAlive ( )

◆ isCallbackOrderingPostreq()

boolean org.openkilda.floodlight.pathverification.PathVerificationService.isCallbackOrderingPostreq ( OFType  arg0,
String  arg1 
)

Definition at line 201 of file PathVerificationService.java.

◆ isCallbackOrderingPrereq()

boolean org.openkilda.floodlight.pathverification.PathVerificationService.isCallbackOrderingPrereq ( OFType  arg0,
String  arg1 
)

Definition at line 206 of file PathVerificationService.java.

◆ receive()

Command org.openkilda.floodlight.pathverification.PathVerificationService.receive ( IOFSwitch  sw,
OFMessage  msg,
FloodlightContext  context 
)

Definition at line 212 of file PathVerificationService.java.

◆ sendDiscoveryMessage() [1/2]

boolean org.openkilda.floodlight.pathverification.PathVerificationService.sendDiscoveryMessage ( DatapathId  srcSwId,
OFPort  port 
)

◆ sendDiscoveryMessage() [2/2]

boolean org.openkilda.floodlight.pathverification.PathVerificationService.sendDiscoveryMessage ( DatapathId  srcSwId,
OFPort  port,
DatapathId  dstSwId 
)

◆ startUp()

void org.openkilda.floodlight.pathverification.PathVerificationService.startUp ( FloodlightModuleContext  context) throws FloodlightModuleException

Definition at line 185 of file PathVerificationService.java.

Member Data Documentation

◆ VERIFICATION_BCAST_PACKET_DST

final String org.openkilda.floodlight.pathverification.PathVerificationService.VERIFICATION_BCAST_PACKET_DST = "08:ED:02:E3:FF:FF"
static

Definition at line 98 of file PathVerificationService.java.

◆ VERIFICATION_PACKET_IP_DST

final String org.openkilda.floodlight.pathverification.PathVerificationService.VERIFICATION_PACKET_IP_DST = "192.168.0.255"
static

Definition at line 100 of file PathVerificationService.java.

◆ VERIFICATION_PACKET_UDP_PORT

final int org.openkilda.floodlight.pathverification.PathVerificationService.VERIFICATION_PACKET_UDP_PORT = 61231
static

Definition at line 99 of file PathVerificationService.java.


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