|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<CNROptions>
com.cisco.provisioning.cpe.extensions.constants.CNROptions
public enum CNROptions
This enum contains predefined CNROptionArgumentArray instances for IANA and CableLabs DHCP options. The CNROptionArgumentArray class is the Java equivalent of the CNR DEX APIv2 DEX_ARG_ARRAY argument type, which provides for fully qualified DHCP sub-option references. These references to specific sub-options are convenient for referencing vendor-specific sub-options that are common to the CableLabs DOCSIS 3.0 provisioning flow.
CNROptionArgumentArray,
CNROptionArgumentType| Enum Constant Summary | |
|---|---|
V4_CL_SOFTWARE_VERSION_NUMBER
Identifies the DHCPv4 Cablelabs Software Version Option. |
|
V4_CL_TFTP_SERVERS
Identifies the DHCPv4 Cablelabs TFTP Servers Option. |
|
V6_CL_CCC_PRIMARY_DHCP_SERVER
Identifies the DHCPv6 Cablelabs Client Configuration PacketCable sub-option for the TSP's Primary DHCPv4 Server Address. |
|
V6_CL_CCC_SECONDARY_DHCP_SERVER
Identifies the DHCPv6 Cablelabs Client Configuration PacketCable sub-option for the TSP's Secondary DHCPv4 Server Address. |
|
V6_CL_CM_MAC
Identifies the DHCPv6 CableLabs DOCSIS Relay Agent CM MAC Address Option. |
|
V6_CL_SOFTWARE_VERSION_NUMBER
Identifies the DHCPv6 Cablelabs Software Version Option. |
|
V6_CL_TFTP_CONFIG_FILENAME
Identifies the DHCPv6 Cablelabs Configuration File Name Option. |
|
V6_CL_TFTP_SERVERS
Identifies the DHCPv6 Cablelabs TFTP Servers Option. |
|
V6_CL_TIME_SERVERS
Identifies the DHCPv6 Cablelabs Time Servers Option. |
|
V6_CL_VENDOR_CLASS
Identifies the DHCPv6 CableLabs Vendor Class Option. |
|
V6_IANA_IA_NA
Identifies the DHCPv6 Identity Association for Non-temporary Addresses Option. |
|
| Method Summary | |
|---|---|
CNROptionArgumentArray |
getCNROptionArgumentArray()
Returns the CNROptionArgumentArray for this CNROptions. |
static CNROptions |
getInstance(CNROptionArgumentArray id)
Returns the CNROptions object with the given CNROptionArgumentArray (or null if it does not exist). |
static CNROptions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CNROptions[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
String |
valueToString(byte[] bytes)
Returns the string representation of the given byte[] value for the given identifier. |
String |
valueToString(byte[][] bytes)
Returns the string representation of the given byte[][] value for the given identifier. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CNROptions V4_CL_TFTP_SERVERS
The CNROptionArgumentArray value is {OPTION_NUMBER=125, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=2, INDEX=RAW, END}. The CnrAttributeValueType is IP_ADDRESS_V4_LIST.
public static final CNROptions V4_CL_SOFTWARE_VERSION_NUMBER
The CNROptionArgumentArray value is {OPTION_NUMBER=43, SUBOPTION_NUMBER=6, INDEX=RAW, END}. The CnrAttributeValueType is ASCII_STRING.
public static final CNROptions V6_CL_SOFTWARE_VERSION_NUMBER
The CNROptionArgumentArray value is {OPTION_NUMBER=17, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=6, INDEX=RAW, END}. The CnrAttributeValueType is ASCII_STRING.
public static final CNROptions V6_CL_TIME_SERVERS
The CNROptionArgumentArray value is {OPTION_NUMBER=17, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=37, INDEX=RAW, END}. The CnrAttributeValueType is IP_ADDRESS_V6_LIST.
public static final CNROptions V6_CL_CM_MAC
The CNROptionArgumentArray value is {OPTION_NUMBER=17, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=1026, INDEX=RAW, END}. The CnrAttributeValueType is BLOB.
public static final CNROptions V6_CL_TFTP_CONFIG_FILENAME
The CNROptionArgumentArray value is {OPTION_NUMBER=17, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=33, END} The CnrAttributeValueType is ASCII_STRING.
public static final CNROptions V6_CL_TFTP_SERVERS
The CNROptionArgumentArray value is {OPTION_NUMBER=17, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=32, INDEX=RAW, END}. The CnrAttributeValueType is IP_ADDRESS_V6_LIST.
public static final CNROptions V6_CL_VENDOR_CLASS
The CNROptionArgumentArray value is {OPTION_NUMBER=16, ENTERPRISE_ID=4491, INDEX=0, END}. The CnrAttributeValueType is ASCII_STRING.
public static final CNROptions V6_IANA_IA_NA
The BAC built-in RDU configuration generation extension uses this CNROptionArgumentArray with the DHCPOper.UPDATE_IPV6_ADDRESS and DHCPOper.DROP_IF_MAX_IA_ADDRESSES_EXCEEDED operations.
The CNROptionArgumentArray value is {OPTION_NUMBER=3, END}. The CnrAttributeValueType is BLOB.
public static final CNROptions V6_CL_CCC_PRIMARY_DHCP_SERVER
The CNROptionArgumentArray value is {OPTION_NUMBER=17, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=2170, SUBOPTION_NUMBER=1, INDEX=RAW, END}. The CnrAttributeValueType is IP_ADDRESS.
public static final CNROptions V6_CL_CCC_SECONDARY_DHCP_SERVER
The CNROptionArgumentArray value is {OPTION_NUMBER=17, ENTERPRISE_ID=4491, SUBOPTION_NUMBER=2170, SUBOPTION_NUMBER=2, INDEX=RAW, END}. The CnrAttributeValueType is IP_ADDRESS.
| Method Detail |
|---|
public static CNROptions[] values()
for (CNROptions c : CNROptions.values()) System.out.println(c);
public static CNROptions valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static CNROptions getInstance(CNROptionArgumentArray id)
id - the CNROptionArgumentArray associated with the desired instance
of CNROptions.
public CNROptionArgumentArray getCNROptionArgumentArray()
public String valueToString(byte[] bytes)
bytes - the byte[] value
public String valueToString(byte[][] bytes)
bytes - the byte[][] value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||