public final class DefaultAllocationPool extends Object implements AllocationPool
| Constructor and Description |
|---|
DefaultAllocationPool(org.onlab.packet.IpAddress startIp,
org.onlab.packet.IpAddress endIp)
Creates an AllocationPool by using the start IP address and the end IP
address.
|
| Modifier and Type | Method and Description |
|---|---|
org.onlab.packet.IpAddress |
endIp()
The end address for the allocation pool.
|
boolean |
equals(Object obj) |
int |
hashCode() |
org.onlab.packet.IpAddress |
startIp()
The start address for the allocation pool.
|
String |
toString() |
public DefaultAllocationPool(org.onlab.packet.IpAddress startIp,
org.onlab.packet.IpAddress endIp)
startIp - the start IP address of the allocation poolendIp - the end IP address of the allocation poolpublic org.onlab.packet.IpAddress startIp()
AllocationPoolstartIp in interface AllocationPoolpublic org.onlab.packet.IpAddress endIp()
AllocationPoolendIp in interface AllocationPool