Package | Description |
---|---|
com.hp.of.sw |
Provides mock implementations of OpenFlow switches.
|
Modifier and Type | Method and Description |
---|---|
CmdPortStatus.State |
CmdPortStatus.getState()
Returns the state the port is changing to.
|
static CmdPortStatus.State |
CmdPortStatus.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmdPortStatus.State[] |
CmdPortStatus.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
MockOpenflowSwitch.setPortState(int portNum,
CmdPortStatus.State state)
Sets the "state" of the specified port.
|
Copyright © 2015. All Rights Reserved.