public class OfmFeaturesReply extends OpenflowMessage implements Comparable<OfmFeaturesReply>
length
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OfmFeaturesReply o) |
boolean |
equals(Object o) |
int |
getAuxId()
Returns the auxiliary id, representing the type of connection from
the switch to the controller; Since 1.3.
|
Set<Capability> |
getCapabilities()
Returns the set of capabilities supported by the switch; Since 1.0.
|
DataPathId |
getDpid()
Returns the datapath id uniquely identifying the datapath;
Since 1.0.
|
long |
getNumBuffers()
Returns the maximum number of packets the switch can buffer at once;
Since 1.0.
|
int |
getNumTables()
Returns the number of tables supported by the switch; Since 1.0.
|
List<Port> |
getPorts()
List of OpenFlow-enabled ports; Since 1.0; Removed at 1.3.
|
Set<SupportedAction> |
getSupportedActions()
Set of supported action flags; Since 1.0; Removed at 1.1.
|
int |
hashCode() |
String |
toDebugString()
Returns a string representation useful for debugging.
|
String |
toDebugString(int indent)
Returns a multi-line string representation of this features reply.
|
String |
toString() |
decodeHeader, getType, getVersion, getXid, hex, hex, length, validate
public int compareTo(OfmFeaturesReply o)
compareTo
in interface Comparable<OfmFeaturesReply>
public String toString()
toString
in class OpenflowMessage
public String toDebugString()
OpenflowMessage
OpenflowMessage.toString()
, but
subclasses are free to override this behavior.toDebugString
in interface Structure
toDebugString
in class OpenflowMessage
public String toDebugString(int indent)
indent
- the additional indent (in spaces)public DataPathId getDpid()
public long getNumBuffers()
public int getNumTables()
public int getAuxId()
public Set<Capability> getCapabilities()
public Set<SupportedAction> getSupportedActions()
Designates the actions that the switch supports.
VersionMismatchException
- if message version is not 1.0public List<Port> getPorts()
For 1.3 and later, the port list has to be explicitly requested
via a OfmMultipartRequest
of
type MultipartType.PORT_DESC
.
VersionMismatchException
- if message version is 1.3 or newerCopyright © 2015. All Rights Reserved.