public static class EdgeGatewayDhcpUpdateRequest.IpPool extends Object
Constructor and Description |
---|
IpPool(Boolean autoConfigureDNS,
String defaultGateway,
String domainName,
String primaryNameServer,
String secondaryNameServer,
String poolId,
String ipRange,
String subnetMask,
String leaseTime,
Boolean allowHugeRange,
String nextServer,
EdgeGatewayDhcpUpdateRequest.DhcpOptions dhcpOptions)
Instantiates a new Ip pools.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultGateway()
Gets default gateway.
|
EdgeGatewayDhcpUpdateRequest.DhcpOptions |
getDhcpOptions()
Gets DHCP options.
|
String |
getDomainName()
Gets domain name.
|
String |
getIpRange()
Gets ip range.
|
String |
getLeaseTime()
Gets lease time.
|
String |
getNextServer()
Gets next server.
|
String |
getPoolId()
Gets pool id.
|
String |
getPrimaryNameServer()
Gets primary name server.
|
String |
getSecondaryNameServer()
Gets secondary name server.
|
String |
getSubnetMask()
Gets subnetMask.
|
Boolean |
isAllowHugeRange()
Is allow huge range Boolean.
|
Boolean |
isAutoConfigureDNS()
Is auto configure dns Boolean.
|
public IpPool(Boolean autoConfigureDNS, String defaultGateway, String domainName, String primaryNameServer, String secondaryNameServer, String poolId, String ipRange, String subnetMask, String leaseTime, Boolean allowHugeRange, String nextServer, EdgeGatewayDhcpUpdateRequest.DhcpOptions dhcpOptions)
autoConfigureDNS
- the auto configure dnsdefaultGateway
- the default gatewaydomainName
- the domain nameprimaryNameServer
- the primary name serversecondaryNameServer
- the secondary name serverpoolId
- the pool idipRange
- the ip rangesubnetMask
- the subnet maskleaseTime
- the lease timeallowHugeRange
- the allow huge rangenextServer
- the next serverdhcpOptions
- the dhcp optionspublic Boolean isAutoConfigureDNS()
public String getDefaultGateway()
If the ipRange (for ipPool) or assigned IP (for staticBinding) falls entirely within one of the Edge vNIC subnets, defaultGateway is set to the primary IP of the vNIC configured with the matching subnet. Otherwise, you must provide the correct gateway IP. If an IP is not provided, the client host may not get default gateway IP from the DHCP server.
String
the default gatewaypublic String getPrimaryNameServer()
If autoConfigureDNS is true, the DNS primary/secondary IPs will be generated from DNS service (if configured).
String
the primary name serverpublic String getSecondaryNameServer()
If autoConfigureDNS is true, the DNS primary/secondary IPs will be generated from DNS service (if configured).
String
the secondary name serverpublic String getIpRange()
The IP range can either fall entirely within one of the Edge vNIC subnets, or it can be a valid IP range outside any Edge subnets. The IP range, however, cannot contain an IP that is defined as a vNic primary secondary IP. If the range does not fall entirely within one of the Edge vNIC subnets, you must provide correct subnetMask and defaultGateway.
String
the ip rangepublic String getSubnetMask()
If not specified, and the the ipRange (for ipPool) or assigned IP (for staticBinding) belongs to an Edge vNic subnet, it is defaulted to the subnet mask of this vNic subnet. Otherwise, it is defaulted to a minimum subnet mask which is figured out with the IP range itself, e.g. the mask of range 192.168.5.2-192.168.5.20 is 255.255.255.224. You can edit this range, if required.
public String getLeaseTime()
In seconds, default is 86400. Valid leaseTime is a valid number or infinite.
String
the lease timepublic Boolean isAllowHugeRange()
public String getNextServer()
Global TFTP server setting. If an IP pool or static binding has a TFTP server configured via option66 or option150, that server will be used instead.
String
the next serverpublic EdgeGatewayDhcpUpdateRequest.DhcpOptions getDhcpOptions()
String
the dhcp optionsCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.