| Package | Description |
|---|---|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| org.onosproject.net.flow.instructions |
Traffic treatment model.
|
| Modifier and Type | Method and Description |
|---|---|
List<Instruction> |
TrafficTreatment.instructions()
Returns list of instructions on how to treat traffic.
|
List<Instruction> |
DefaultTrafficTreatment.instructions() |
| Modifier and Type | Method and Description |
|---|---|
TrafficTreatment.Builder |
TrafficTreatment.Builder.add(Instruction instruction)
Adds an instruction to the builder.
|
DefaultTrafficTreatment.Builder |
DefaultTrafficTreatment.Builder.add(Instruction instruction) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Instructions.DropInstruction |
static class |
Instructions.OutputInstruction |
class |
L0ModificationInstruction |
static class |
L0ModificationInstruction.ModLambdaInstruction
Represents a L0 lambda modification instruction.
|
class |
L2ModificationInstruction
Abstraction of a single traffic treatment step.
|
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 |
class |
L3ModificationInstruction
Abstraction of a single traffic treatment step.
|
static class |
L3ModificationInstruction.ModIPInstruction
Represents a L3 src/dst modification instruction.
|
| Modifier and Type | Method and Description |
|---|---|
static Instruction |
Instructions.popMpls()
Creates a mpls header instruction.
|
static Instruction |
Instructions.pushMpls()
Creates a mpls header instruction.
|
Copyright © 2015. All rights reserved.