public class OVXSingleSwitch extends OVXSwitch
bufferDimension, bufferMap, capabilities, DPDESCSTRING, flowTable, isActive, missSendLen, supportedActions, tenantId
channel, DB_KEY, desc, featuresReply, isConnected, map, portMap, switchId, switchName
Constructor and Description |
---|
OVXSingleSwitch(long switchId,
int tenantId) |
Modifier and Type | Method and Description |
---|---|
boolean |
removePort(Short portNumber)
Removes the port.
|
void |
sendSouth(OFMessage msg,
OVXPort inPort)
Sends a message towards the physical network, via the PhysicalSwitch
mapped to this OVXSwitch.
|
int |
translate(OFMessage ofm,
OVXPort inPort)
Generates a new XID for messages destined for the physical network.
|
addDefaultPort, addToBufferMap, boot, deleteFlowMod, equals, generateFeaturesReply, getDBIndex, getDBKey, getDBName, getDBObject, getFlowMod, getFlowTable, getFromBufferMap, getMissSendLen, getNextPortNumber, getPhysicalPortNumber, getTenantId, handleIO, handleRoleIO, hashCode, incrementBackOff, isActive, register, relesePortNumber, removeChannel, resetBackOff, sendMsg, setActive, setChannel, setMissSendLen, tearDown, toString, unregister
addPort, getFeaturesReply, getMap, getName, getPort, getPorts, getSwitchId, getSwitchName, setConnected, setDescriptionStats, setFeaturesReply
public boolean removePort(Short portNumber)
Switch
removePort
in class Switch<OVXPort>
portNumber
- the port numberpublic void sendSouth(OFMessage msg, OVXPort inPort)
OVXSwitch
Copyright © 2015. All rights reserved.