Package | Description |
---|---|
com.hp.of.lib.instr |
Representations of OpenFlow Protocol Instructions and Actions.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
Modifier and Type | Method and Description |
---|---|
InstructionType |
Instruction.getInstructionType()
Returns the Instruction type.
|
static InstructionType |
InstructionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstructionType[] |
InstructionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Instruction |
InstructionFactory.createInstruction(ProtocolVersion pv,
InstructionType type)
Creates a CLEAR_ACTIONS instruction.
|
static Instruction |
InstructionFactory.createInstruction(ProtocolVersion pv,
InstructionType type,
ExperimenterId eid,
byte[] data)
Creates an EXPERIMENTER instruction.
|
static Instruction |
InstructionFactory.createInstruction(ProtocolVersion pv,
InstructionType type,
int id,
byte[] data)
Creates an EXPERIMENTER instruction.
|
static Instruction |
InstructionFactory.createInstruction(ProtocolVersion pv,
InstructionType type,
long metadata,
long mask)
Creates a WRITE_METADATA instruction.
|
static Instruction |
InstructionFactory.createInstruction(ProtocolVersion pv,
InstructionType type,
MeterId mid)
Creates a METER instruction.
|
static Instruction |
InstructionFactory.createInstruction(ProtocolVersion pv,
InstructionType type,
TableId tid)
Creates a GOTO_TABLE instruction.
|
static InstrMutableAction |
InstructionFactory.createMutableInstruction(ProtocolVersion pv,
InstructionType type)
Creates a mutable (action-based) instruction.
|
Modifier and Type | Method and Description |
---|---|
static List<Instruction> |
InstructionFactory.createInstructionHeaders(ProtocolVersion pv,
Set<InstructionType> types)
Creates instruction headers to be used in encoding a table features
instructions property.
|
Modifier and Type | Method and Description |
---|---|
Set<InstructionType> |
TableFeaturePropInstr.getSupportedInstructions()
Returns the set of instruction types supported by this table
feature; Since 1.3.
|
Modifier and Type | Method and Description |
---|---|
static TableFeaturePropInstr |
TableFeatureFactory.createInstrProp(ProtocolVersion pv,
TableFeaturePropType type,
Set<InstructionType> ins)
Creates a table features instructions property, for the given
protocol version, indicating support for the specified instruction
types.
|
static TableFeaturePropInstr |
TableFeatureFactory.createInstrProp(ProtocolVersion pv,
TableFeaturePropType type,
Set<InstructionType> ins,
List<InstrExperimenter> insExp)
Creates a table features instructions property, for the given
protocol version, indicating support for the specified instruction
types, as well as the specified experimenter instructions.
|
Copyright © 2015. All Rights Reserved.