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 boolean
contains(String inputString)
This method determines if this allocation pool contains the input IPv4 address.boolean
containsV6(String inputString)
This method determines if this allocation pool contains the input IPv4 address.String
getPoolEnd()
String
getPoolStart()
static String
join(String[] strings, String separator)
void
setPoolEnd(String poolEnd)
void
setPoolStart(String poolStart)
List<NeutronSubnetIpAllocationPool>
splitPool(String ipAddress)
List<NeutronSubnetIpAllocationPool>
splitPoolV6(String ipAddress)
String
toString()
-
-
-
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)
-
-