|
Core API 7.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.juniper.smgt.sae.portal.DhcpProfile
public class DhcpProfile
Encapsulate DHCP Profile data used to manipulate DHCP addresses for JUNOSe version 5.3 and later.
Constructor Summary | |
---|---|
DhcpProfile()
|
Method Summary | |
---|---|
java.lang.String |
getBootFileName()
Gets the value of bootFileName Set the value of the "file" field in the DHCP message. |
java.lang.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. |
java.lang.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. |
java.lang.String |
getRadiusFramedPool()
Gets the value of radiusFramedPool The attribute radiusFramedPool is one of the possible selectors for a DHCP address pool. |
java.lang.String |
getServerName()
Gets the value of serverName Set the value of the "sname" field in the DHCP message. |
java.lang.String |
getServiceBundle()
Gets the value of serviceBundle |
java.lang.String |
getUserName()
Gets the value of userName |
java.lang.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(java.lang.String argBootFileName)
Sets the value of bootFileName |
void |
setDhcpOptions(java.lang.String argDhcpOptions)
Sets the value of dhcpOptions |
void |
setLeaseTime(int argLeaseTime)
Sets the value of leaseTime |
void |
setRadiusClass(java.lang.String argRadiusClass)
Sets the value of radiusClass |
void |
setRadiusFramedIpAddress(int argRadiusFramedIpAddress)
Sets the value of radiusFramedIpAddress |
void |
setRadiusFramedPool(java.lang.String argRadiusFramedPool)
Sets the value of radiusFramedPool |
void |
setServerName(java.lang.String argServerName)
Sets the value of serverName |
void |
setServiceBundle(java.lang.String argServiceBundle)
Sets the value of serviceBundle |
void |
setUserName(java.lang.String argUserName)
Sets the value of userName |
void |
setVirtualRouterName(java.lang.String argVirtualRouterName)
Sets the value of virtualRouterName |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DhcpProfile()
Method Detail |
---|
public java.lang.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(java.lang.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 java.lang.String getVirtualRouterName()
The attribute is used to select the virtual router context in which the DHCP address will be managed.
public void setVirtualRouterName(java.lang.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 java.lang.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(java.lang.String argServerName)
argServerName
- Value to assign to this.serverNamegetServerName()
public java.lang.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(java.lang.String argBootFileName)
argBootFileName
- Value to assign to this.bootFileNamegetBootFileName()
public java.lang.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(java.lang.String argDhcpOptions)
argDhcpOptions
- Value to assign to this.dhcpOptionsgetDhcpOptions()
public java.lang.String getUserName()
public void setUserName(java.lang.String argUserName)
argUserName
- Value to assign to this.userNamepublic java.lang.String getServiceBundle()
public void setServiceBundle(java.lang.String argServiceBundle)
argServiceBundle
- Value to assign to this.serviceBundlepublic java.lang.String getRadiusClass()
public void setRadiusClass(java.lang.String argRadiusClass)
argRadiusClass
- Value to assign to this.radiusClasspublic java.lang.String toString()
toString
in class java.lang.Object
|
Core API 7.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |