public interface DataPathInfo
This includes data from the FeaturesReply message received from the datapath during the handshake sequence.
All timestamps are measured in milliseconds since
midnight, January 1, 1970 UTC. (See System.currentTimeMillis()).
| Modifier and Type | Method and Description |
|---|---|
Set<Capability> |
capabilities()
Returns the capabilities supported by the switch.
|
String |
dpDesc()
Returns the datapath description
|
DataPathId |
dpid()
Returns the datapath identifier.
|
long |
lastMessageAt()
Returns the time of the last message received from the datapath
(on any connection).
|
ProtocolVersion |
negotiated()
Returns the version of the OpenFlow protocol that the datapath
has negotiated with the controller, via the exchange of Hello
messages (on the "main" connection).
|
long |
numBuffers()
Returns the maximum number of packets the switch can buffer at once.
|
int |
numTables()
Returns the number of tables supported by the switch.
|
List<Port> |
ports()
Returns the current known state of all the OpenFlow ports on
the datapath.
|
long |
readyAt()
Returns the time at which the datapath completed the handshake
with the controller (on the "main" connection).
|
IpAddress |
remoteAddress()
Returns the IP address of the switch (on the "main" connection).
|
PortNumber |
remotePort()
Returns the TCP port for the switch's "main" connection.
|
void |
setDpDesc(String desc)
Set the datapath description
|
DataPathId dpid()
ProtocolVersion negotiated()
long readyAt()
long lastMessageAt()
List<Port> ports()
long numBuffers()
int numTables()
Set<Capability> capabilities()
IpAddress remoteAddress()
PortNumber remotePort()
String dpDesc()
void setDpDesc(String desc)
desc - the descriptionCopyright © 2014. All Rights Reserved.