Class L2ModificationInstruction
- java.lang.Object
 - 
- org.onosproject.net.flow.instructions.L2ModificationInstruction
 
 
- 
- All Implemented Interfaces:
 Instruction
- Direct Known Subclasses:
 L2ModificationInstruction.ModEtherInstruction,L2ModificationInstruction.ModMplsBosInstruction,L2ModificationInstruction.ModMplsHeaderInstruction,L2ModificationInstruction.ModMplsLabelInstruction,L2ModificationInstruction.ModMplsTtlInstruction,L2ModificationInstruction.ModTunnelIdInstruction,L2ModificationInstruction.ModVlanHeaderInstruction,L2ModificationInstruction.ModVlanIdInstruction,L2ModificationInstruction.ModVlanPcpInstruction
public abstract class L2ModificationInstruction extends java.lang.Object implements Instruction
Abstraction of a single traffic treatment step. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classL2ModificationInstruction.L2SubTypeRepresents the type of traffic treatment.static classL2ModificationInstruction.ModEtherInstructionRepresents a L2 src/dst modification instruction.static classL2ModificationInstruction.ModMplsBosInstructionRepresents a MPLS BOS modification.static classL2ModificationInstruction.ModMplsHeaderInstructionRepresents a MPLS header modification instruction.static classL2ModificationInstruction.ModMplsLabelInstructionRepresents a MPLS label modification.static classL2ModificationInstruction.ModMplsTtlInstructionRepresents a MPLS TTL modification.static classL2ModificationInstruction.ModTunnelIdInstructionRepresents a Tunnel id modification.static classL2ModificationInstruction.ModVlanHeaderInstructionRepresents a VLAN Header modification instruction.static classL2ModificationInstruction.ModVlanIdInstructionRepresents a VLAN id modification instruction.static classL2ModificationInstruction.ModVlanPcpInstructionRepresents a VLAN PCP modification instruction.- 
Nested classes/interfaces inherited from interface org.onosproject.net.flow.instructions.Instruction
Instruction.Type 
 - 
 
- 
Constructor Summary
Constructors Constructor Description L2ModificationInstruction() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract L2ModificationInstruction.L2SubTypesubtype()Instruction.Typetype()Returns the type of instruction. 
 - 
 
- 
- 
Method Detail
- 
subtype
public abstract L2ModificationInstruction.L2SubType subtype()
 
- 
type
public final Instruction.Type type()
Description copied from interface:InstructionReturns the type of instruction.- Specified by:
 typein interfaceInstruction- Returns:
 - type of instruction
 
 
 - 
 
 -