public final class IpAssignment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IpAssignment.AssignmentStatus |
static class |
IpAssignment.Builder
IPAssignment Builder.
|
| Modifier and Type | Method and Description |
|---|---|
IpAssignment.AssignmentStatus |
assignmentStatus()
Returns the assignment status of the IP assignment.
|
org.onlab.packet.Ip4Address |
broadcast()
Returns broadcast address of the IP assignment.
|
static IpAssignment.Builder |
builder()
Creates and returns a new builder instance.
|
static IpAssignment.Builder |
builder(IpAssignment assignment)
Creates and returns a new builder instance that clones an existing IPAssignment.
|
org.onlab.packet.Ip4Address |
dhcpServer()
Returns dhcp server of the IP assignment.
|
org.onlab.packet.Ip4Address |
domainServer()
Returns domain server address.
|
org.onlab.packet.Ip4Address |
ipAddress()
Returns the IP Address of the IP assignment.
|
int |
leasePeriod()
Returns the lease period of the IP assignment.
|
int |
leasePeriodMs()
Returns the lease period of the IP assignment.
|
org.onlab.packet.Ip4Address |
routerAddress()
Returns router address of the IP assignment.
|
org.onlab.packet.Ip4Address |
subnetMask()
Returns subnet mask of the IP assignment.
|
Date |
timestamp()
Returns the timestamp of the IP assignment.
|
String |
toString() |
public org.onlab.packet.Ip4Address ipAddress()
public Date timestamp()
public IpAssignment.AssignmentStatus assignmentStatus()
public int leasePeriod()
public int leasePeriodMs()
public org.onlab.packet.Ip4Address subnetMask()
public org.onlab.packet.Ip4Address broadcast()
public org.onlab.packet.Ip4Address dhcpServer()
public org.onlab.packet.Ip4Address routerAddress()
public org.onlab.packet.Ip4Address domainServer()
public static IpAssignment.Builder builder()
public static IpAssignment.Builder builder(IpAssignment assignment)
assignment - ip address assignment