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 |
datapathDescription()
Returns a textual description of the datapath.
|
String |
deviceTypeName()
Returns the type name of the device.
|
DataPathId |
dpid()
Returns the datapath identifier.
|
String |
hardwareDescription()
Returns a description of the hardware.
|
long |
lastMessageAt()
Returns the time of the last message received from the datapath
(on any connection).
|
String |
manufacturerDescription()
Returns a description of the manufacturer.
|
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.
|
String |
serialNumber()
Returns the serial number.
|
String |
softwareDescription()
Returns a description of the software.
|
DataPathId dpid()
ProtocolVersion negotiated()
long readyAt()
long lastMessageAt()
List<Port> ports()
long numBuffers()
int numTables()
Set<Capability> capabilities()
IpAddress remoteAddress()
PortNumber remotePort()
String datapathDescription()
String manufacturerDescription()
String hardwareDescription()
String softwareDescription()
String serialNumber()
String deviceTypeName()
Copyright © 2015. All Rights Reserved.