public class CalientFiberSwitchHandshaker extends AbstractOpenFlowSwitch implements OpenFlowOpticalSwitch
channelId, desc, features, log, meterfeatures, ports, role, startDriverHandshakeCalled, tableFull| Constructor and Description |
|---|
CalientFiberSwitchHandshaker() |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.Device.Type |
deviceType()
Returns the switch device type.
|
List<? extends org.projectfloodlight.openflow.protocol.OFObject> |
getPortsOf(PortDescPropertyType type)
Return a list of interfaces (ports) of the type associated with this
OpenFlow switch.
|
Set<PortDescPropertyType> |
getPortTypes()
Returns the port property types supported by the driver implementing this
interface.
|
boolean |
isDriverHandshakeComplete()
Checks whether the driver specific handshake is complete.
|
void |
processDriverHandshakeMessage(org.projectfloodlight.openflow.protocol.OFMessage m)
Process a message during the driver specific handshake.
|
void |
sendMsg(org.projectfloodlight.openflow.protocol.OFMessage m)
Writes the message to the driver.
|
void |
startDriverHandshake()
Starts the driver specific handshake process.
|
Boolean |
supportNxRole()
Does this switch support Nicira Role messages.
|
activateEqualSwitch, activateMasterSwitch, channelId, connectSwitch, datapathDescription, disconnectSwitch, factory, getId, getNextTransactionId, getPorts, getRole, getStringId, handleMessage, handleNiciraRole, handleRole, handleRoleError, hardwareDescription, init, isConnected, manufacturerDescription, reassertRole, removeConnectedSwitch, returnRoleReply, sendHandshakeMessage, sendMsg, sendRoleRequest, serialNumber, setAgent, setChannel, setConnected, setFeaturesReply, setMeterFeaturesReply, setOFVersion, setPortDescReplies, setPortDescReply, setRole, setRoleHandler, setSwitchDescription, setTableFull, softwareDescription, toString, transitionToEqualSwitch, transitionToMasterSwitchhandler, setHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPorts, processExpPortStatschannelId, datapathDescription, disconnectSwitch, factory, getId, getRole, getStringId, handleMessage, hardwareDescription, isConnected, manufacturerDescription, returnRoleReply, sendMsg, serialNumber, setRole, softwareDescriptionpublic Boolean supportNxRole()
OpenFlowSwitchDriversupportNxRole in interface OpenFlowSwitchDriversupportNxRole in class AbstractOpenFlowSwitchpublic void startDriverHandshake()
OpenFlowSwitchDriverstartDriverHandshake in interface OpenFlowSwitchDriverstartDriverHandshake in class AbstractOpenFlowSwitchpublic boolean isDriverHandshakeComplete()
OpenFlowSwitchDriverisDriverHandshakeComplete in interface OpenFlowSwitchDriverisDriverHandshakeComplete in class AbstractOpenFlowSwitchpublic void processDriverHandshakeMessage(org.projectfloodlight.openflow.protocol.OFMessage m)
OpenFlowSwitchDriverprocessDriverHandshakeMessage in interface OpenFlowSwitchDriverprocessDriverHandshakeMessage in class AbstractOpenFlowSwitchm - the message to process.public org.onosproject.net.Device.Type deviceType()
OpenFlowSwitchdeviceType in interface OpenFlowSwitchdeviceType in class AbstractOpenFlowSwitchpublic List<? extends org.projectfloodlight.openflow.protocol.OFObject> getPortsOf(PortDescPropertyType type)
WithTypedPortsgetPortsOf in interface WithTypedPortstype - The port description property type of requested portspublic Set<PortDescPropertyType> getPortTypes()
WithTypedPortsgetPortTypes in interface WithTypedPortspublic final void sendMsg(org.projectfloodlight.openflow.protocol.OFMessage m)
OpenFlowSwitchNote: Messages may be silently dropped/lost due to IOExceptions or role. If this is a concern, then a caller should use barriers.
sendMsg in interface OpenFlowSwitchsendMsg in class AbstractOpenFlowSwitchm - the message to write