| 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.allInstructions()
Returns the list of all instructions in the treatment, both immediate and
deferred.
|
List<Instruction> |
DefaultTrafficTreatment.allInstructions() |
List<Instruction> |
TrafficTreatment.deferred()
Returns the list of treatment instructions that will be applied
further down the pipeline.
|
List<Instruction> |
DefaultTrafficTreatment.deferred() |
List<Instruction> |
TrafficTreatment.immediate()
Returns the list of treatment instructions that will be applied
immediately.
|
List<Instruction> |
DefaultTrafficTreatment.immediate() |
| 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
Drop instruction.
|
static class |
Instructions.GroupInstruction
Group Instruction.
|
static class |
Instructions.MetadataInstruction
Metadata instruction.
|
static class |
Instructions.OutputInstruction
Output Instruction.
|
static class |
Instructions.TableTypeTransition
Transition instruction.
|
class |
L0ModificationInstruction |
static class |
L0ModificationInstruction.ModLambdaInstruction
Represents a L0 lambda modification instruction.
|
static class |
L0ModificationInstruction.ModOchSignalInstruction
Represents an L0 OCh (Optical Channel) 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.ModMplsTtlInstruction
Represents a MPLS TTL modification.
|
static class |
L2ModificationInstruction.ModVlanIdInstruction
Represents a VLAN id modification instruction.
|
static class |
L2ModificationInstruction.ModVlanPcpInstruction
Represents a VLAN PCP modification instruction.
|
static class |
L2ModificationInstruction.PopVlanInstruction
Represents a VLAN POP 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.
|
static class |
L3ModificationInstruction.ModIPv6FlowLabelInstruction
Represents a L3 IPv6 Flow Label (RFC 6437) modification instruction
(20 bits unsigned integer).
|
static class |
L3ModificationInstruction.ModTtlInstruction
Represents a L3 TTL modification instruction.
|
| Modifier and Type | Method and Description |
|---|---|
static Instruction |
Instructions.popMpls()
Creates a pop MPLS header instruction.
|
static Instruction |
Instructions.popMpls(int etherType)
Creates a pop MPLS header instruction with a particular ethertype.
|
static Instruction |
Instructions.popVlan()
Creates a pop VLAN header instruction.
|
static Instruction |
Instructions.pushMpls()
Creates a push MPLS header instruction.
|
static Instruction |
Instructions.pushVlan()
Creates a push VLAN header instruction.
|
static Instruction |
Instructions.transition(Integer tableId)
Sends the packet to the table id.
|
static Instruction |
Instructions.writeMetadata(long metadata,
long metadataMask)
Writes metadata to associate with a packet.
|
Copyright © 2015. All rights reserved.