public final class VtnPort extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VtnPort.Builder
Builder of VTN port entities.
|
| Modifier and Type | Method and Description |
|---|---|
Map<org.onlab.packet.IpAddress,org.onlab.packet.MacAddress> |
addressPairs()
Returns address pairs of the nested containers inside.
|
static VtnPort.Builder |
builder()
Returns a new vtn port builder instance.
|
boolean |
equals(Object obj) |
int |
hashCode() |
VtnPortId |
id()
Returns vtn port ID.
|
org.onlab.packet.IpAddress |
ip()
Returns IP address of this port.
|
org.onlab.packet.MacAddress |
mac()
Returns MAC address of this port.
|
String |
name()
Returns vtn port name.
|
VtnServiceId |
serviceId()
Returns the ID of the service this port is in.
|
String |
toString() |
public VtnPortId id()
public String name()
public VtnServiceId serviceId()
public org.onlab.packet.MacAddress mac()
public org.onlab.packet.IpAddress ip()
public Map<org.onlab.packet.IpAddress,org.onlab.packet.MacAddress> addressPairs()
public static final VtnPort.Builder builder()