Package org.opendaylight.neutron.spi
Class NeutronSubnetIpAllocationPool
- java.lang.Object
-
- org.opendaylight.neutron.spi.NeutronSubnetIpAllocationPool
-
- All Implemented Interfaces:
Serializable
public final class NeutronSubnetIpAllocationPool extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NeutronSubnetIpAllocationPool()NeutronSubnetIpAllocationPool(String lowAddress, String highAddress)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String inputString)This method determines if this allocation pool contains the input IPv4 address.booleancontainsV6(String inputString)This method determines if this allocation pool contains the input IPv4 address.StringgetPoolEnd()StringgetPoolStart()static Stringjoin(String[] strings, String separator)voidsetPoolEnd(String poolEnd)voidsetPoolStart(String poolStart)List<NeutronSubnetIpAllocationPool>splitPool(String ipAddress)List<NeutronSubnetIpAllocationPool>splitPoolV6(String ipAddress)StringtoString()
-
-
-
Method Detail
-
getPoolStart
public String getPoolStart()
-
setPoolStart
public void setPoolStart(String poolStart)
-
getPoolEnd
public String getPoolEnd()
-
setPoolEnd
public void setPoolEnd(String poolEnd)
-
contains
public boolean contains(String inputString)
This method determines if this allocation pool contains the input IPv4 address.- Parameters:
inputString- IPv4 address in dotted decimal format- Returns:
- a boolean on whether the pool contains the address or not
-
containsV6
public boolean containsV6(String inputString)
This method determines if this allocation pool contains the input IPv4 address.- Parameters:
inputString- IPv4 address in dotted decimal format- Returns:
- a boolean on whether the pool contains the address or not
-
splitPool
public List<NeutronSubnetIpAllocationPool> splitPool(String ipAddress)
-
splitPoolV6
public List<NeutronSubnetIpAllocationPool> splitPoolV6(String ipAddress)
-
-