com.cisco.provisioning.cpe.extensions.configuration
Enum DHCPSpecialValue

java.lang.Object
  extended by java.lang.Enum<DHCPSpecialValue>
      extended by com.cisco.provisioning.cpe.extensions.configuration.DHCPSpecialValue
All Implemented Interfaces:
Serializable, Comparable<DHCPSpecialValue>

public enum DHCPSpecialValue
extends Enum<DHCPSpecialValue>

Enumerated type for specifying DHCPConfig special values including values for mixing in the IP address of the DPE.


Enum Constant Summary
BLOB_BPR_PROPERTY
          DHCPConfig special value: mix in a BPR property value as a null terminated, colon delimited hex string (CNR blob format).
BLOB_BPR_PROPERTY_OPTIONAL
          DHCPConfig special value: optionally mix in a BPR property value.
BLOB_DPE_FQDN
          DHCPConfig special value: mix in the FQDN of the DPE encoded as a hex string (CNR blob format).
BLOB_DPE_FQDN_DNS
          DHCPConfig special value: mix in the FQDN of the DPE in DNS format (RFC 1035) encoded as a hex string (CNR blob format).
BLOB_DPE_FQDN_PREFIXED_DNS
          DHCPConfig special value: mix in the FQDN of the DPE in prefixed DNS format (RFC 3495) encoded as a hex string (CNR blob format).
BLOB_DPE_IP_ADDRESS_BIN
          DHCPConfig special value: mix in IP address of DPE in binary byte format encoded as a hex string (CNR blob format).
BLOB_DPE_IP_ADDRESS_DOTTED_DECIMAL
          DHCPConfig special value: mix in IP address of DPE in dotted decimal format encoded as a hex string (CNR blob format).
BYTES_BPR_PROPERTY
          DHCPConfig special value: mix in a BPR property value as binary bytes.
BYTES_BPR_PROPERTY_DNS
          DHCPConfig special value: mix in a BPR property value as binary bytes in DNS format (RFC 1035).
BYTES_BPR_PROPERTY_IP_ADDRESS_BIN
          DHCPConfig special value: mix in a BPR property value as binary bytes after interpreting the value as an IPv4 address and converting the address to bytes in network order.
BYTES_BPR_PROPERTY_OPTIONAL
          DHCPConfig special value: optionally mix in a BPR property value.
BYTES_BPR_PROPERTY_OPTIONAL_DNS
          DHCPConfig special value: optionally mix in a BPR property value as binary bytes in DNS format (RFC 1035).
BYTES_BPR_PROPERTY_OPTIONAL_IP_ADDRESS_BIN
          DHCPConfig special value: optionally mix in a BPR property value as binary bytes after interpreting the value as an IPv4 address and converting the address to bytes in network order.
BYTES_BPR_PROPERTY_OPTIONAL_UNSIGNED_INTEGER_BIN
          DHCPConfig special value: mix in a BPR property value as binary bytes after interpreting the value as an unsigned integer and converting the value to bytes in network order.
BYTES_BPR_PROPERTY_UNSIGNED_INTEGER_BIN
          DHCPConfig special value: mix in a BPR property value as binary bytes after interpreting the value as an unsigned integer and converting the value to bytes in network order.
BYTES_DEVICE_IP_ADDRESS_BIN
          DHCPConfig special value: device IP address in binary byte format.
BYTES_DPE_FQDN
          DHCPConfig special value: mix in the FQDN of the DPE as bytes.
BYTES_DPE_FQDN_DNS
          DHCPConfig special value: mix in the FQDN of the DPE in DNS format (RFC 1035) as bytes.
BYTES_DPE_FQDN_PREFIXED_DNS
          DHCPConfig special value: mix in the FQDN of the DPE in prefixed DNS format (RFC 3495) as bytes.
BYTES_DPE_IP_ADDRESS_BIN
          DHCPConfig special value: mix in IP address of DPE in binary byte format.
BYTES_DPE_IP_ADDRESS_DOTTED_DECIMAL
          DHCPConfig special value: mix in IP address of DPE in dotted decimal format directly as bytes.
BYTES_DPE_IPV6_ADDRESS_BIN
          DHCPConfig special value: mix in IPv6 address of DPE in binary byte format.
DPE_IP_ADDRESS
          DHCPConfig special value: mix in IP address of DPE in dotted decimal format.
RESERVED_0
          Reserved for future use.
STR_BPR_PROPERTY
          DHCPConfig special value: mix in a BPR property value as a string.
STR_BPR_PROPERTY_OPTIONAL
          DHCPConfig special value: optionally mix in a BPR property value.
STR_DPE_FQDN
          DHCPConfig special value: mix in the FQDN of the DPE as a string.
 
Method Summary
 boolean isAvailable(Capabilities capabilities)
          Returns true if this DHCPSpecialValue is available in the given provisioning group.
 boolean requiresSpecialParameter()
          Returns true if this special option value requires a parameter.
static DHCPSpecialValue valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DHCPSpecialValue[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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

RESERVED_0

public static final DHCPSpecialValue RESERVED_0
Reserved for future use.


DPE_IP_ADDRESS

public static final DHCPSpecialValue DPE_IP_ADDRESS
DHCPConfig special value: mix in IP address of DPE in dotted decimal format. For example, "255.255.255.255".

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BLOB_BPR_PROPERTY

public static final DHCPSpecialValue BLOB_BPR_PROPERTY
DHCPConfig special value: mix in a BPR property value as a null terminated, colon delimited hex string (CNR blob format).

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BLOB_BPR_PROPERTY_OPTIONAL

public static final DHCPSpecialValue BLOB_BPR_PROPERTY_OPTIONAL
DHCPConfig special value: optionally mix in a BPR property value. If the property value has not been set, the associated operation will not be executed.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BLOB_DPE_FQDN

public static final DHCPSpecialValue BLOB_DPE_FQDN
DHCPConfig special value: mix in the FQDN of the DPE encoded as a hex string (CNR blob format). For example, "74:64:73:74:44:50:45:2e:63:69:73:63:6f:2e:63:6f:6d".

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BLOB_DPE_FQDN_DNS

public static final DHCPSpecialValue BLOB_DPE_FQDN_DNS
DHCPConfig special value: mix in the FQDN of the DPE in DNS format (RFC 1035) encoded as a hex string (CNR blob format).

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BLOB_DPE_FQDN_PREFIXED_DNS

public static final DHCPSpecialValue BLOB_DPE_FQDN_PREFIXED_DNS
DHCPConfig special value: mix in the FQDN of the DPE in prefixed DNS format (RFC 3495) encoded as a hex string (CNR blob format). This is standard DNS format (RFC 1035) prefixed by a zero byte to indicate FQDN vs binary IP address (RFC 3495).

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BLOB_DPE_IP_ADDRESS_BIN

public static final DHCPSpecialValue BLOB_DPE_IP_ADDRESS_BIN
DHCPConfig special value: mix in IP address of DPE in binary byte format encoded as a hex string (CNR blob format). For example, "ff:ff:ff:ff".

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BLOB_DPE_IP_ADDRESS_DOTTED_DECIMAL

public static final DHCPSpecialValue BLOB_DPE_IP_ADDRESS_DOTTED_DECIMAL
DHCPConfig special value: mix in IP address of DPE in dotted decimal format encoded as a hex string (CNR blob format). For example, "32:35:35:2e:32:35:35:2e:32:35:35:2e:32:35:35" (255.255.255.255).

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY

public static final DHCPSpecialValue BYTES_BPR_PROPERTY
DHCPConfig special value: mix in a BPR property value as binary bytes.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY_DNS

public static final DHCPSpecialValue BYTES_BPR_PROPERTY_DNS
DHCPConfig special value: mix in a BPR property value as binary bytes in DNS format (RFC 1035).

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY_IP_ADDRESS_BIN

public static final DHCPSpecialValue BYTES_BPR_PROPERTY_IP_ADDRESS_BIN
DHCPConfig special value: mix in a BPR property value as binary bytes after interpreting the value as an IPv4 address and converting the address to bytes in network order.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY_OPTIONAL

public static final DHCPSpecialValue BYTES_BPR_PROPERTY_OPTIONAL
DHCPConfig special value: optionally mix in a BPR property value. If the property value has not been set, the associated operation will not be executed.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY_OPTIONAL_DNS

public static final DHCPSpecialValue BYTES_BPR_PROPERTY_OPTIONAL_DNS
DHCPConfig special value: optionally mix in a BPR property value as binary bytes in DNS format (RFC 1035). If the property value has not been set, the associated operation will not be executed.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY_OPTIONAL_IP_ADDRESS_BIN

public static final DHCPSpecialValue BYTES_BPR_PROPERTY_OPTIONAL_IP_ADDRESS_BIN
DHCPConfig special value: optionally mix in a BPR property value as binary bytes after interpreting the value as an IPv4 address and converting the address to bytes in network order. If the property value has not been set, the associated operation will not be executed.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY_OPTIONAL_UNSIGNED_INTEGER_BIN

public static final DHCPSpecialValue BYTES_BPR_PROPERTY_OPTIONAL_UNSIGNED_INTEGER_BIN
DHCPConfig special value: mix in a BPR property value as binary bytes after interpreting the value as an unsigned integer and converting the value to bytes in network order. If the property value has not been set, the associated operation will not be executed.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_BPR_PROPERTY_UNSIGNED_INTEGER_BIN

public static final DHCPSpecialValue BYTES_BPR_PROPERTY_UNSIGNED_INTEGER_BIN
DHCPConfig special value: mix in a BPR property value as binary bytes after interpreting the value as an unsigned integer and converting the value to bytes in network order.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_DPE_FQDN

public static final DHCPSpecialValue BYTES_DPE_FQDN
DHCPConfig special value: mix in the FQDN of the DPE as bytes.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_DPE_FQDN_DNS

public static final DHCPSpecialValue BYTES_DPE_FQDN_DNS
DHCPConfig special value: mix in the FQDN of the DPE in DNS format (RFC 1035) as bytes.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_DPE_FQDN_PREFIXED_DNS

public static final DHCPSpecialValue BYTES_DPE_FQDN_PREFIXED_DNS
DHCPConfig special value: mix in the FQDN of the DPE in prefixed DNS format (RFC 3495) as bytes. This is standard DNS format (RFC 1035) prefixed by a zero byte to indicate FQDN vs binary IP address (RFC 3495).

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_DPE_IP_ADDRESS_BIN

public static final DHCPSpecialValue BYTES_DPE_IP_ADDRESS_BIN
DHCPConfig special value: mix in IP address of DPE in binary byte format.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_DPE_IP_ADDRESS_DOTTED_DECIMAL

public static final DHCPSpecialValue BYTES_DPE_IP_ADDRESS_DOTTED_DECIMAL
DHCPConfig special value: mix in IP address of DPE in dotted decimal format directly as bytes.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


STR_BPR_PROPERTY

public static final DHCPSpecialValue STR_BPR_PROPERTY
DHCPConfig special value: mix in a BPR property value as a string.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


STR_BPR_PROPERTY_OPTIONAL

public static final DHCPSpecialValue STR_BPR_PROPERTY_OPTIONAL
DHCPConfig special value: optionally mix in a BPR property value. If the property value has not been set, the associated operation will not be executed.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


STR_DPE_FQDN

public static final DHCPSpecialValue STR_DPE_FQDN
DHCPConfig special value: mix in the FQDN of the DPE as a string. For example, "testDPE.cisco.com".

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V1 or greater.


BYTES_DPE_IPV6_ADDRESS_BIN

public static final DHCPSpecialValue BYTES_DPE_IPV6_ADDRESS_BIN
DHCPConfig special value: mix in IPv6 address of DPE in binary byte format.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V3 or greater.


BYTES_DEVICE_IP_ADDRESS_BIN

public static final DHCPSpecialValue BYTES_DEVICE_IP_ADDRESS_BIN
DHCPConfig special value: device IP address in binary byte format.

Requires the provisioning group to be enabled for ProvGroupCapabilitiesKeys.DHCP_CONFIGURATION_V3 or greater.

Method Detail

values

public static DHCPSpecialValue[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DHCPSpecialValue c : DHCPSpecialValue.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DHCPSpecialValue valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

requiresSpecialParameter

public boolean requiresSpecialParameter()
Returns true if this special option value requires a parameter.

Returns:
boolean True if special option value parameter required.

isAvailable

public boolean isAvailable(Capabilities capabilities)
Returns true if this DHCPSpecialValue is available in the given provisioning group. Otherwise returns false.

Parameters:
capabilities - the available capabilities.
Returns:
true if this DHCPSpecialValue is available in the given provisioning group. Otherwise returns false.