Enum Class MacAddresses.Kind
- All Implemented Interfaces:
Serializable,Comparable<MacAddresses.Kind>,Constable
- Enclosing class:
MacAddresses
Where an address falls, as far as vSphere's allocation scheme is concerned.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription00:0C:29, generated by a standalone ESXi host.Not six hexadecimal bytes separated by ':' or '-'.Any other vendor's address block.00:50:56:00:00:00 - 00:50:56:3F:FF:FF, the VMware block that may be set manually.Elsewhere in 00:50:56, which vSphere does not accept for manual addresses.00:50:56:80:00:00 - 00:50:56:BF:FF:FF, which vCenter hands out itself ("VPX-assigned"). -
Method Summary
Modifier and TypeMethodDescriptionstatic MacAddresses.KindReturns the enum constant of this class with the specified name.static MacAddresses.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MALFORMED
Not six hexadecimal bytes separated by ':' or '-'. -
VMWARE_VPX_GENERATED
00:50:56:80:00:00 - 00:50:56:BF:FF:FF, which vCenter hands out itself ("VPX-assigned"). -
VMWARE_MANUAL
00:50:56:00:00:00 - 00:50:56:3F:FF:FF, the VMware block that may be set manually. -
VMWARE_RESERVED
Elsewhere in 00:50:56, which vSphere does not accept for manual addresses. -
HOST_GENERATED
00:0C:29, generated by a standalone ESXi host. -
OTHER
Any other vendor's address block.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-