public static enum Tunnel.Type extends java.lang.Enum<Tunnel.Type>
Enum Constant and Description |
---|
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 Tunnel.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tunnel.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tunnel.Type MPLS
public static final Tunnel.Type VLAN
public static final Tunnel.Type VXLAN
public static final Tunnel.Type GRE
public static final Tunnel.Type ODUK
public static final Tunnel.Type OCH
public static Tunnel.Type[] values()
for (Tunnel.Type c : Tunnel.Type.values()) System.out.println(c);
public static Tunnel.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null