public static enum TunnelDescription.Type extends Enum<TunnelDescription.Type>
Enum Constant and Description |
---|
GENEVE
Signifies that this is a L3 tunnel.
|
GRE
Signifies that this is a L3 tunnel.
|
MPLS
Signifies that this is a MPLS tunnel.
|
OCH
Signifies that this is a L0 OCH tunnel.
|
ODUK
Signifies that this is a L1 OTN tunnel.
|
VLAN
Signifies that this is a L2 tunnel.
|
VXLAN
Signifies that this is a DC L2 extension tunnel.
|
Modifier and Type | Method and Description |
---|---|
static TunnelDescription.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TunnelDescription.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TunnelDescription.Type MPLS
public static final TunnelDescription.Type VLAN
public static final TunnelDescription.Type VXLAN
public static final TunnelDescription.Type GRE
public static final TunnelDescription.Type GENEVE
public static final TunnelDescription.Type ODUK
public static final TunnelDescription.Type OCH
public static TunnelDescription.Type[] values()
for (TunnelDescription.Type c : TunnelDescription.Type.values()) System.out.println(c);
public static TunnelDescription.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null