public abstract class L2ModificationInstruction extends Object implements Instruction
| Modifier and Type | Class and 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. 
 | 
Instruction.Type| Constructor and Description | 
|---|
L2ModificationInstruction()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract L2ModificationInstruction.L2SubType | 
subtype()  | 
Instruction.Type | 
type()
Returns the type of instruction. 
 | 
public abstract L2ModificationInstruction.L2SubType subtype()
public final Instruction.Type type()
Instructiontype in interface Instruction