public final class VtnService extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VtnService.Builder
Builder of VTN service entities.
|
| Modifier and Type | Method and Description |
|---|---|
static VtnService.Builder |
build()
Returns a new builder instance.
|
boolean |
equals(Object obj) |
int |
hashCode() |
VtnServiceId |
id()
Returns service ID.
|
String |
name()
Returns service name.
|
VtnServiceApi.NetworkType |
networkType()
Returns network type.
|
Set<VtnServiceId> |
providerServices()
Returns provider service IDs.
|
org.onlab.packet.IpAddress |
serviceIp()
Returns service IP address.
|
VtnServiceApi.ServiceType |
serviceType()
Returns service type.
|
org.onlab.packet.IpPrefix |
subnet()
Returns service IP range.
|
Set<VtnServiceId> |
tenantServices()
Returns tenant service IDs.
|
String |
toString() |
long |
vni()
Returns segmentation ID of this service.
|
public VtnServiceId id()
public String name()
public VtnServiceApi.ServiceType serviceType()
public long vni()
public VtnServiceApi.NetworkType networkType()
public org.onlab.packet.IpPrefix subnet()
public org.onlab.packet.IpAddress serviceIp()
public Set<VtnServiceId> providerServices()
public Set<VtnServiceId> tenantServices()
public static final VtnService.Builder build()