public interface Subnet
| Modifier and Type | Interface and Description |
|---|---|
static class |
Subnet.Mode
Coarse classification of the type of the ipV6Mode.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<AllocationPool> |
allocationPools()
Returns a collection of allocation_pools.
|
org.onlab.packet.IpPrefix |
cidr()
Returns the cidr.
|
boolean |
dhcpEnabled()
Returns true if DHCP is enabled and return false if DHCP is disabled.
|
org.onlab.packet.IpAddress |
gatewayIp()
Returns the gateway IP address.
|
Iterable<HostRoute> |
hostRoutes()
Returns a collection of hostRoutes.
|
SubnetId |
id()
Returns the subnet identifier.
|
Subnet.Mode |
ipV6AddressMode()
Returns the ipV6AddressMode.
|
Subnet.Mode |
ipV6RaMode()
Returns the ipV6RaMode.A valid value is dhcpv6-stateful,
dhcpv6-stateless, or slaac.
|
org.onlab.packet.IpAddress.Version |
ipVersion()
Returns the IP version, which is 4 or 6.
|
TenantNetworkId |
networkId()
Returns the network identifier.
|
boolean |
shared()
Indicates whether this tenantNetwork is shared across all tenants.
|
String |
subnetName()
Returns the name of the subnet.
|
TenantId |
tenantId()
Returns tenant identifier.
|
SubnetId id()
String subnetName()
TenantNetworkId networkId()
TenantId tenantId()
org.onlab.packet.IpAddress.Version ipVersion()
org.onlab.packet.IpPrefix cidr()
org.onlab.packet.IpAddress gatewayIp()
boolean dhcpEnabled()
boolean shared()
Iterable<HostRoute> hostRoutes()
Subnet.Mode ipV6AddressMode()
Subnet.Mode ipV6RaMode()
Iterable<AllocationPool> allocationPools()