public interface TrafficTreatment
Modifier and Type | Interface and Description |
---|---|
static interface |
TrafficTreatment.Builder
Builder of traffic treatment entities.
|
Modifier and Type | Method and Description |
---|---|
List<Instruction> |
allInstructions()
Returns the list of all instructions in the treatment, both immediate and
deferred.
|
boolean |
clearedDeferred()
Whether the deferred treatment instructions will be cleared
by the device.
|
List<Instruction> |
deferred()
Returns the list of treatment instructions that will be applied
further down the pipeline.
|
List<Instruction> |
immediate()
Returns the list of treatment instructions that will be applied
immediately.
|
Instructions.MeterInstruction |
metered()
Returns the meter instruction if there is one.
|
Instructions.TableTypeTransition |
tableTransition()
Returns the next table in the pipeline.
|
Instructions.MetadataInstruction |
writeMetadata()
Returns the metadata instruction if there is one.
|
List<Instruction> deferred()
List<Instruction> immediate()
List<Instruction> allInstructions()
Instructions.TableTypeTransition tableTransition()
boolean clearedDeferred()
Instructions.MetadataInstruction writeMetadata()
Instructions.MeterInstruction metered()