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 class
L2ModificationInstruction.L2SubType
Represents the type of traffic treatment.static class
L2ModificationInstruction.ModEtherInstruction
Represents a L2 src/dst modification instruction.static class
L2ModificationInstruction.ModMplsBosInstruction
Represents a MPLS BOS modification.static class
L2ModificationInstruction.ModMplsHeaderInstruction
Represents a MPLS header modification instruction.static class
L2ModificationInstruction.ModMplsLabelInstruction
Represents a MPLS label modification.static class
L2ModificationInstruction.ModMplsTtlInstruction
Represents a MPLS TTL modification.static class
L2ModificationInstruction.ModTunnelIdInstruction
Represents a Tunnel id modification.static class
L2ModificationInstruction.ModVlanHeaderInstruction
Represents a VLAN Header modification instruction.static class
L2ModificationInstruction.ModVlanIdInstruction
Represents a VLAN id modification instruction.static class
L2ModificationInstruction.ModVlanPcpInstruction
Represents 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.L2SubType
subtype()
Instruction.Type
type()
Returns the type of instruction.
-
-
-
Method Detail
-
subtype
public abstract L2ModificationInstruction.L2SubType subtype()
-
type
public final Instruction.Type type()
Description copied from interface:Instruction
Returns the type of instruction.- Specified by:
type
in interfaceInstruction
- Returns:
- type of instruction
-
-