public class OFSwitchImplSpringOpenTTP
extends org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitch
| Modifier and Type | Field and Description |
|---|---|
protected int |
aclTableId |
protected int |
ipv4UnicastTableId |
protected int |
mplsTableId |
protected int |
tmacTableId |
protected int |
vlanTableId |
| Modifier | Constructor and Description |
|---|---|
protected |
OFSwitchImplSpringOpenTTP(org.onosproject.openflow.controller.Dpid dpid,
org.projectfloodlight.openflow.protocol.OFDescStatsReply desc) |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.openflow.controller.OpenFlowSwitch.TableType |
getTableType(org.projectfloodlight.openflow.types.TableId tid) |
boolean |
isDriverHandshakeComplete() |
protected void |
nextDriverState() |
protected void |
populateTableMissEntry(int tableToAdd,
boolean toControllerNow,
boolean toControllerWrite,
boolean toTable,
int tableToSend)
Adds a table-miss-entry to a pipeline table.
|
void |
processDriverHandshakeMessage(org.projectfloodlight.openflow.protocol.OFMessage m) |
protected void |
setTableMissEntries() |
void |
startDriverHandshake() |
Boolean |
supportNxRole() |
String |
toString() |
void |
transformAndSendMsg(org.projectfloodlight.openflow.protocol.OFMessage m,
org.onosproject.openflow.controller.OpenFlowSwitch.TableType tableType) |
void |
write(List<org.projectfloodlight.openflow.protocol.OFMessage> msgs) |
void |
write(org.projectfloodlight.openflow.protocol.OFMessage msg) |
activateEqualSwitch, activateMasterSwitch, channelId, connectSwitch, datapathDescription, disconnectSwitch, factory, getId, getNextTransactionId, getPorts, getRole, getStringId, handleMessage, handleNiciraRole, handleRole, handleRoleError, hardwareDescription, isConnected, isOptical, manufacturerDescription, reassertRole, removeConnectedSwitch, returnRoleReply, sendMsg, sendMsg, serialNumber, setAgent, setChannel, setConnected, setFeaturesReply, setOFVersion, setPortDescReply, setRole, setRoleHandler, setSwitchDescription, setTableFull, softwareDescription, transitionToEqualSwitch, transitionToMasterSwitchprotected int vlanTableId
protected int tmacTableId
protected int ipv4UnicastTableId
protected int mplsTableId
protected int aclTableId
protected OFSwitchImplSpringOpenTTP(org.onosproject.openflow.controller.Dpid dpid,
org.projectfloodlight.openflow.protocol.OFDescStatsReply desc)
public Boolean supportNxRole()
supportNxRole in interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriversupportNxRole in class org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitchpublic void startDriverHandshake()
startDriverHandshake in interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriverstartDriverHandshake in class org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitchpublic boolean isDriverHandshakeComplete()
isDriverHandshakeComplete in interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriverisDriverHandshakeComplete in class org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitchpublic void processDriverHandshakeMessage(org.projectfloodlight.openflow.protocol.OFMessage m)
processDriverHandshakeMessage in interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriverprocessDriverHandshakeMessage in class org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitchpublic void write(org.projectfloodlight.openflow.protocol.OFMessage msg)
write in interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriverwrite in class org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitchpublic void write(List<org.projectfloodlight.openflow.protocol.OFMessage> msgs)
write in interface org.onosproject.openflow.controller.driver.OpenFlowSwitchDriverwrite in class org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitchpublic void transformAndSendMsg(org.projectfloodlight.openflow.protocol.OFMessage m,
org.onosproject.openflow.controller.OpenFlowSwitch.TableType tableType)
protected void nextDriverState()
throws IOException
IOExceptionprotected void setTableMissEntries()
throws IOException
IOExceptionprotected void populateTableMissEntry(int tableToAdd,
boolean toControllerNow,
boolean toControllerWrite,
boolean toTable,
int tableToSend)
The table-miss-entry can be added with 'write-actions' or 'apply-actions'. It can also add a 'goto-table' instruction. By default if none of the booleans in the call are set, then the table-miss entry is added with no instructions, which means that if a packet hits the table-miss-entry, pipeline execution will stop, and the action set associated with the packet will be executed.
tableToAdd - the table to where the table-miss-entry will be addedtoControllerNow - as an APPLY_ACTION instructiontoControllerWrite - as a WRITE_ACTION instructiontoTable - as a GOTO_TABLE instructiontableToSend - the table to send as per the GOTO_TABLE instruction it
needs to be set if 'toTable' is true. Ignored of 'toTable' is
false.public org.onosproject.openflow.controller.OpenFlowSwitch.TableType getTableType(org.projectfloodlight.openflow.types.TableId tid)
Copyright © 2015. All rights reserved.