@Beta public interface FilteringObjective extends Objective
portX -> {MAC1, VLAN1}
The driver could decide to pass packets to the MAC table or VLAN or PORT tables to ensure that only those packets arriving with the correct dst MAC and VLAN ids from Port X are allowed into the pipeline.
Filtering objectives of type PERMIT allow packets that match the key:criteria to enter the pipeline. As a result, the implication is that packets that don't match are automatically denied (dropped).
Filtering objectives of type DENY, are used to deny packets that would otherwise be permitted and forwarded through the pipeline (ie. those packets that make it through the PERMIT filters).
Modifier and Type | Interface and Description |
---|---|
static interface |
FilteringObjective.Builder
Builder of Filtering objective entities.
|
static class |
FilteringObjective.Type |
Objective.Operation
DEFAULT_PERMANENT, DEFAULT_PRIORITY, DEFAULT_TIMEOUT, MAX_PRIORITY, MIN_PRIORITY
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Criterion> |
conditions()
The set of conditions the filter must provision at the device.
|
Criterion |
key()
Obtain the key for this filter.
|
TrafficTreatment |
meta()
Auxiliary optional information provided to the device driver.
|
FilteringObjective.Type |
type()
Obtain this filtering type.
|
Criterion key()
FilteringObjective.Type type()
java.util.Collection<Criterion> conditions()
TrafficTreatment meta()