| Package | Description |
|---|---|
| org.onosproject.net.flow.instructions |
Traffic treatment model.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
L2ModificationInstruction.ModEtherInstruction
Represents a L2 src/dst modification instruction.
|
static class |
L2ModificationInstruction.ModMplsLabelInstruction
Represents a MPLS label modification.
|
static class |
L2ModificationInstruction.ModVlanIdInstruction
Represents a VLAN id modification instruction.
|
static class |
L2ModificationInstruction.ModVlanPcpInstruction
Represents a VLAN PCP modification instruction.
|
static class |
L2ModificationInstruction.PushHeaderInstructions |
| Modifier and Type | Method and Description |
|---|---|
static L2ModificationInstruction |
Instructions.modL2Dst(org.onlab.packet.MacAddress addr)
Creates a L2 dst modification.
|
static L2ModificationInstruction |
Instructions.modL2Src(org.onlab.packet.MacAddress addr)
Creates a l2 src modification.
|
static L2ModificationInstruction |
Instructions.modMplsLabel(Integer mplsLabel)
Creates a MPLS label modification.
|
static L2ModificationInstruction |
Instructions.modVlanId(org.onlab.packet.VlanId vlanId)
Creates a Vlan id modification.
|
static L2ModificationInstruction |
Instructions.modVlanPcp(Byte vlanPcp)
Creates a Vlan pcp modification.
|
Copyright © 2015. All rights reserved.