Enum L3ModificationInstruction.L3SubType
- java.lang.Object
-
- java.lang.Enum<L3ModificationInstruction.L3SubType>
-
- org.onosproject.net.flow.instructions.L3ModificationInstruction.L3SubType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<L3ModificationInstruction.L3SubType>
- Enclosing class:
- L3ModificationInstruction
public static enum L3ModificationInstruction.L3SubType extends java.lang.Enum<L3ModificationInstruction.L3SubType>
Represents the type of traffic treatment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARP_OP
Arp operation modification.ARP_SHA
ARP Ether src modification.ARP_SPA
ARP IP src modification.DEC_TTL
Decrement TTL.IP_DSCP
IP DSCP operation modification.IPV4_DST
IPv4 dst modification.IPV4_SRC
IPv4 src modification.IPV6_DST
IPv6 dst modification.IPV6_FLABEL
IPv6 flow label modification.IPV6_SRC
IPv6 src modification.TTL_IN
Copy TTL in.TTL_OUT
Copy TTL out.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static L3ModificationInstruction.L3SubType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static L3ModificationInstruction.L3SubType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IPV4_SRC
public static final L3ModificationInstruction.L3SubType IPV4_SRC
IPv4 src modification.
-
IPV4_DST
public static final L3ModificationInstruction.L3SubType IPV4_DST
IPv4 dst modification.
-
IPV6_SRC
public static final L3ModificationInstruction.L3SubType IPV6_SRC
IPv6 src modification.
-
IPV6_DST
public static final L3ModificationInstruction.L3SubType IPV6_DST
IPv6 dst modification.
-
IPV6_FLABEL
public static final L3ModificationInstruction.L3SubType IPV6_FLABEL
IPv6 flow label modification.
-
DEC_TTL
public static final L3ModificationInstruction.L3SubType DEC_TTL
Decrement TTL.
-
TTL_OUT
public static final L3ModificationInstruction.L3SubType TTL_OUT
Copy TTL out.
-
TTL_IN
public static final L3ModificationInstruction.L3SubType TTL_IN
Copy TTL in.
-
ARP_SPA
public static final L3ModificationInstruction.L3SubType ARP_SPA
ARP IP src modification.
-
ARP_SHA
public static final L3ModificationInstruction.L3SubType ARP_SHA
ARP Ether src modification.
-
ARP_OP
public static final L3ModificationInstruction.L3SubType ARP_OP
Arp operation modification.
-
IP_DSCP
public static final L3ModificationInstruction.L3SubType IP_DSCP
IP DSCP operation modification.
-
-
Method Detail
-
values
public static L3ModificationInstruction.L3SubType[] 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 (L3ModificationInstruction.L3SubType c : L3ModificationInstruction.L3SubType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static L3ModificationInstruction.L3SubType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-