public final class Instance extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CREATE_TIME |
static String |
NESTED_INSTANCE |
static String |
PORT_ID |
static String |
SERVICE_ID |
static String |
SERVICE_TYPE |
static String |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.DeviceId |
deviceId()
Returns device ID of this host.
|
String |
getAnnotation(String annotationKey)
Returns annotation value with a given key.
|
org.onosproject.net.Host |
host()
Returns host object of this instance.
|
org.onlab.packet.Ip4Address |
ipAddress()
Returns IP address of this instance.
|
boolean |
isNestedInstance()
Returns if the instance is nested container or not.
|
org.onlab.packet.MacAddress |
mac()
Returns MAC address of this instance.
|
static Instance |
of(org.onosproject.net.Host host)
Returns new instance.
|
org.onosproject.xosclient.api.VtnPortId |
portId()
Returns port ID of a given host.
|
org.onosproject.net.PortNumber |
portNumber()
Returns the port number where this host is.
|
org.onosproject.xosclient.api.VtnServiceId |
serviceId()
Returns service ID of a given host.
|
org.onosproject.xosclient.api.VtnServiceApi.ServiceType |
serviceType()
Returns service type of a given host.
|
String |
toString() |
public static final String SERVICE_ID
public static final String SERVICE_TYPE
public static final String PORT_ID
public static final String CREATE_TIME
public static final String NESTED_INSTANCE
public static final String TRUE
public org.onosproject.net.Host host()
public static Instance of(org.onosproject.net.Host host)
host - host object of this instancepublic org.onosproject.xosclient.api.VtnServiceId serviceId()
public org.onosproject.xosclient.api.VtnServiceApi.ServiceType serviceType()
public org.onosproject.xosclient.api.VtnPortId portId()
public boolean isNestedInstance()
public org.onlab.packet.MacAddress mac()
public org.onlab.packet.Ip4Address ipAddress()
public org.onosproject.net.DeviceId deviceId()
public org.onosproject.net.PortNumber portNumber()
public String getAnnotation(String annotationKey)
annotationKey - annotation keyCopyright © 2016. All rights reserved.