org.openflow.gui
Class VirtualSwitchSpecification
java.lang.Object
org.openflow.gui.VirtualSwitchSpecification
public class VirtualSwitchSpecification
- extends java.lang.Object
Specifies how a single switch should be displayed (as multiple switches).
- Author:
- David Underhill
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualSwitchSpecification
public VirtualSwitchSpecification(long dpid)
getParentDPID
public long getParentDPID()
- gets the datapth ID of the switch being virtualized for display purposes
addVirtualSwitchPort
public void addVirtualSwitchPort(int virtualSwitchIndex,
int port)
getNumVirtualSwitches
public int getNumVirtualSwitches()
getVirtualSwitch
public VirtualSwitchSpecification.VirtualSwitchAndPorts getVirtualSwitch(int virtualSwitchIndex)
getVirtualSwitchByPort
public VirtualOpenFlowSwitch getVirtualSwitchByPort(int port)
- Returns the virtual switch associated with the specified port number,
or null if no such port is virtualized.