public class OFOpticalSwitch13 extends AbstractOpenFlowSwitch implements OpenFlowOpticalSwitch
channelId, desc, features, log, meterfeatures, ports, role, startDriverHandshakeCalled, tableFull| Constructor and Description |
|---|
OFOpticalSwitch13() |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.Device.Type |
deviceType()
Returns the switch device type.
|
List<org.projectfloodlight.openflow.protocol.OFPortDesc> |
getPorts()
Fetches the ports of this switch.
|
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 |
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, getRole, getStringId, handleMessage, handleNiciraRole, handleRole, handleRoleError, hardwareDescription, init, isConnected, manufacturerDescription, reassertRole, removeConnectedSwitch, returnRoleReply, sendHandshakeMessage, sendMsg, 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, waitprocessExpPortStatschannelId, datapathDescription, disconnectSwitch, factory, getId, getRole, getStringId, handleMessage, hardwareDescription, isConnected, manufacturerDescription, returnRoleReply, sendMsg, sendMsg, serialNumber, setRole, softwareDescriptionpublic Boolean supportNxRole()
OpenFlowSwitchDriversupportNxRole in interface OpenFlowSwitchDriversupportNxRole in class AbstractOpenFlowSwitchpublic void startDriverHandshake()
OpenFlowSwitchDriverstartDriverHandshake in interface OpenFlowSwitchDriverstartDriverHandshake in class AbstractOpenFlowSwitchpublic void processDriverHandshakeMessage(org.projectfloodlight.openflow.protocol.OFMessage m)
OpenFlowSwitchDriverprocessDriverHandshakeMessage in interface OpenFlowSwitchDriverprocessDriverHandshakeMessage in class AbstractOpenFlowSwitchm - the message to process.public boolean isDriverHandshakeComplete()
OpenFlowSwitchDriverisDriverHandshakeComplete in interface OpenFlowSwitchDriverisDriverHandshakeComplete in class AbstractOpenFlowSwitchpublic org.onosproject.net.Device.Type deviceType()
OpenFlowSwitchdeviceType in interface OpenFlowSwitchdeviceType in class AbstractOpenFlowSwitchpublic List<org.projectfloodlight.openflow.protocol.OFPortDesc> getPorts()
OpenFlowSwitchgetPorts in interface OpenFlowOpticalSwitchgetPorts in interface OpenFlowSwitchgetPorts 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 WithTypedPorts