@ProviderType public class DhcpServerCfgIP4 extends DhcpServerCfgIP<IP4Address>
Constructor and Description |
---|
DhcpServerCfgIP4(IP4Address subnet,
IP4Address subnetMask,
short prefix,
IP4Address routerAddress,
IP4Address rangeStart,
IP4Address rangeEnd,
java.util.List<IP4Address> dnsServers)
The basic Constructor for a DhcpServerCfgIP4
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Validates DHCP pool
|
java.lang.String |
toString() |
getDnsServers, getPrefix, getRangeEnd, getRangeStart, getRouterAddress, getSubnet, getSubnetMask, setDnsServers, setPrefix, setRangeEnd, setRangeStart, setRouterAddress, setSubnet, setSubnetMask
public DhcpServerCfgIP4(IP4Address subnet, IP4Address subnetMask, short prefix, IP4Address routerAddress, IP4Address rangeStart, IP4Address rangeEnd, java.util.List<IP4Address> dnsServers)
subnet
- the subnet of the DhcpServerConfigsubnetMask
- the subnet mask of the DhcpServerConfigprefix
- the network prefix associated with the DhcpServerConfigrouterAddress
- the router IPAddressrangeStart
- the network starting address to issue to DHCP clientsrangeEnd
- the network ending address to issue to DHCP clientsdnsServers
- the DNS servers that will get passed to DHCP clients if passDns is truepublic boolean isValid() throws KuraException
KuraException
public java.lang.String toString()
toString
in class java.lang.Object