public enum InstructionType extends Enum<InstructionType> implements OfpCodeBasedEnum
| Enum Constant and Description |
|---|
APPLY_ACTIONS
Apply the action(s) immediately; Since 1.1.
|
CLEAR_ACTIONS
Clear all actions from the datapath action set; Since 1.1.
|
EXPERIMENTER
Experimenter instruction; Since 1.1.
|
GOTO_TABLE
Set up the next table in the lookup pipeline; Since 1.1.
|
METER
Apply meter (rate limiter); Since 1.3.
|
WRITE_ACTIONS
Write the action(s) onto the datapath action set; Since 1.1.
|
WRITE_METADATA
Set up the metadata field for use later in the pipeline; Since 1.1.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode(ProtocolVersion pv)
Returns the code for the constant, under the given protocol
version.
|
static InstructionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstructionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstructionType GOTO_TABLE
public static final InstructionType WRITE_METADATA
public static final InstructionType WRITE_ACTIONS
public static final InstructionType APPLY_ACTIONS
public static final InstructionType CLEAR_ACTIONS
public static final InstructionType METER
public static final InstructionType EXPERIMENTER
public static InstructionType[] values()
for (InstructionType c : InstructionType.values()) System.out.println(c);
public static InstructionType 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 nullpublic int getCode(ProtocolVersion pv)
OfpCodeBasedEnumgetCode in interface OfpCodeBasedEnumpv - the protocol versionCopyright © 2014. All Rights Reserved.