|
Core API 6.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.juniper.smgt.sae.portal.DhcpProfile
Encapsulate DHCP Profile data used to manipulate DHCP addresses for JUNOSe version 5.3 and later.
| Constructor Summary | |
DhcpProfile()
|
|
| Method Summary | |
String |
getBootFileName()
Gets the value of bootFileName Set the value of the "file" field in the DHCP message. |
String |
getDhcpOptions()
Gets the value of dhcpOptions Set the value of the "options" field in the DHCP message. |
int |
getLeaseTime()
Gets the value of leaseTime. |
String |
getRadiusClass()
Gets the value of radiusClass |
int |
getRadiusFramedIpAddress()
Gets the value of radiusFramedIpAddress The attribute radiusFramedIpAddress is one of the possible selectors for a DHCP address pool. |
String |
getRadiusFramedPool()
Gets the value of radiusFramedPool The attribute radiusFramedPool is one of the possible selectors for a DHCP address pool. |
String |
getServerName()
Gets the value of serverName Set the value of the "sname" field in the DHCP message. |
String |
getServiceBundle()
Gets the value of serviceBundle |
String |
getUserName()
Gets the value of userName |
String |
getVirtualRouterName()
Gets the value of virtualRouterName The attribute is used to select the virtual router context in which the DHCP address will be managed. |
void |
setBootFileName(String argBootFileName)
Sets the value of bootFileName |
void |
setDhcpOptions(String argDhcpOptions)
Sets the value of dhcpOptions |
void |
setLeaseTime(int argLeaseTime)
Sets the value of leaseTime |
void |
setRadiusClass(String argRadiusClass)
Sets the value of radiusClass |
void |
setRadiusFramedIpAddress(int argRadiusFramedIpAddress)
Sets the value of radiusFramedIpAddress |
void |
setRadiusFramedPool(String argRadiusFramedPool)
Sets the value of radiusFramedPool |
void |
setServerName(String argServerName)
Sets the value of serverName |
void |
setServiceBundle(String argServiceBundle)
Sets the value of serviceBundle |
void |
setUserName(String argUserName)
Sets the value of userName |
void |
setVirtualRouterName(String argVirtualRouterName)
Sets the value of virtualRouterName |
String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DhcpProfile()
| Method Detail |
public String getRadiusFramedPool()
The attribute radiusFramedPool is one of the possible selectors for a DHCP address pool. The attribute has to match the name of a configured pool on the E-series router.
DHCP addresses are selected based on the following criteria:
radiusFramedPool
radiusFramedIpAddress
public void setRadiusFramedPool(String argRadiusFramedPool)
argRadiusFramedPool - Value to assign to this.radiusFramedPoolgetRadiusFramedPool()public int getRadiusFramedIpAddress()
The attribute radiusFramedIpAddress is one of the possible selectors for a DHCP address pool. The attribute identifies a fixed IP address which will be offered to the DHCP client, if it is part of a network in configured DHCP pool.
DHCP addresses are selected based on the following criteria:
radiusFramedIpAddress
radiusFramedIpAddress
public void setRadiusFramedIpAddress(int argRadiusFramedIpAddress)
argRadiusFramedIpAddress - Value to assign to this.radiusFramedIpAddressgetRadiusFramedIpAddress()public String getVirtualRouterName()
The attribute is used to select the virtual router context in which the DHCP address will be managed.
public void setVirtualRouterName(String argVirtualRouterName)
argVirtualRouterName - Value to assign to this.virtualRouterNamegetVirtualRouterName()public int getLeaseTime()
Set the length of the DHCP lease in seconds.
Note: not all versions of JUNOSe honor this setting. please check your JUNOSe documenation for details.
public void setLeaseTime(int argLeaseTime)
argLeaseTime - Value to assign to this.leaseTimegetLeaseTime()public String getServerName()
Set the value of the "sname" field in the DHCP message. See RFC2131 for details of this field.
Note: not all versions of JUNOSe honor this setting. please check your JUNOSe documenation for details.
public void setServerName(String argServerName)
argServerName - Value to assign to this.serverNamegetServerName()public String getBootFileName()
Set the value of the "file" field in the DHCP message. See RFC2131 for details of this field.
Note: not all versions of JUNOSe honor this setting. please check your JUNOSe documenation for details.
public void setBootFileName(String argBootFileName)
argBootFileName - Value to assign to this.bootFileNamegetBootFileName()public String getDhcpOptions()
Set the value of the "options" field in the DHCP message. Field is a string containg one or more options defined as "name=value". Multiple options are separated by line breaks. "names" are defined in the file etc/dhcp.options. Unknown options can be entered as "option-###", where ### is the code number identifying the option. "value" is a value of the appropriate type.
See RFC2132 for details of DHCP options.
Example: the following setting will set the DHCP options for the DNS server, the domain name, the WINS server and "option-50".
domain-name-servers=192.168.1.10, 192.168.1.20\n domain-name="virneo.com"\n netbios-name-servers=192.168.1.10, 192.168.1.20\n option-50=11:22:33:aa:bb:cc:dd:ee
Note: not all versions of JUNOSe honor this setting. please check your JUNOSe documenation for details.
public void setDhcpOptions(String argDhcpOptions)
argDhcpOptions - Value to assign to this.dhcpOptionsgetDhcpOptions()public String getUserName()
public void setUserName(String argUserName)
argUserName - Value to assign to this.userNamepublic String getServiceBundle()
public void setServiceBundle(String argServiceBundle)
argServiceBundle - Value to assign to this.serviceBundlepublic String getRadiusClass()
public void setRadiusClass(String argRadiusClass)
argRadiusClass - Value to assign to this.radiusClasspublic String toString()
toString in class Object
|
Core API 6.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||