Package org.onosproject.driver.pipeline
Class XpliantPipeline
- java.lang.Object
-
- org.onosproject.net.driver.AbstractBehaviour
-
- org.onosproject.net.driver.AbstractHandlerBehaviour
-
- org.onosproject.driver.pipeline.ofdpa.Ofdpa2Pipeline
-
- org.onosproject.driver.pipeline.ofdpa.Ofdpa3Pipeline
-
- org.onosproject.driver.pipeline.XpliantPipeline
-
- All Implemented Interfaces:
org.onosproject.net.behaviour.Pipeliner,org.onosproject.net.driver.Behaviour,org.onosproject.net.driver.HandlerBehaviour
public class XpliantPipeline extends Ofdpa3Pipeline
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.onosproject.driver.pipeline.ofdpa.Ofdpa2Pipeline
Ofdpa2Pipeline.RetryFlows
-
-
Field Summary
-
Fields inherited from class org.onosproject.driver.pipeline.ofdpa.Ofdpa2Pipeline
appKryo, coreService, deviceId, deviceService, driverId, flowObjectiveStore, flowRuleService, groupHandler, groupService, ready, serviceDirectory
-
-
Constructor Summary
Constructors Constructor Description XpliantPipeline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitDriverId()protected voidinitGroupHander(org.onosproject.net.behaviour.PipelinerContext context)protected java.util.Collection<org.onosproject.net.flow.FlowRule>processEthTypeSpecific(org.onosproject.net.flowobjective.ForwardingObjective fwd)Handles forwarding rules to the IP and MPLS tables.protected booleanrequireEthType()Determines whether this pipeline requires one additional flow matching on ethType 0x86dd in ACL table.booleanrequireMplsBosMatch()Determines whether this pipeline requires MPLS BOS match.booleanrequireMplsPop()Determines whether this pipeline requires MPLS POP instruction.booleanrequireMplsTtlModification()Determines whether this pipeline requires MPLS TTL decrement and copy.-
Methods inherited from class org.onosproject.driver.pipeline.ofdpa.Ofdpa3Pipeline
processFilter, processVersatile, requireVlanExtensions, shouldRemoveDoubleTagged, shouldRetry, supportsUnicastBlackHole
-
Methods inherited from class org.onosproject.driver.pipeline.ofdpa.Ofdpa2Pipeline
cleanUp, filter, forward, getNextMappings, init, initializePipeline, isReady, matchInPortTmacTable, next, processEgress, processEthDstFilter, processEthDstOnlyFilter, processEthDstSpecific, processEthTypeSpecificInternal, processVlanIdFilter, requirePuntTable, requireUnicastBeforeMulticast, supportIpv6L4Dst, versatileTreatmentBuilder
-
Methods inherited from class org.onosproject.net.driver.AbstractHandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
initDriverId
protected void initDriverId()
- Overrides:
initDriverIdin classOfdpa3Pipeline
-
initGroupHander
protected void initGroupHander(org.onosproject.net.behaviour.PipelinerContext context)
- Overrides:
initGroupHanderin classOfdpa3Pipeline
-
processEthTypeSpecific
protected java.util.Collection<org.onosproject.net.flow.FlowRule> processEthTypeSpecific(org.onosproject.net.flowobjective.ForwardingObjective fwd)
Description copied from class:Ofdpa2PipelineHandles forwarding rules to the IP and MPLS tables.- Overrides:
processEthTypeSpecificin classOfdpa3Pipeline- Parameters:
fwd- the forwarding objective- Returns:
- A collection of flow rules, or an empty set
-
requireMplsPop
public boolean requireMplsPop()
Description copied from class:Ofdpa2PipelineDetermines whether this pipeline requires MPLS POP instruction.- Overrides:
requireMplsPopin classOfdpa2Pipeline- Returns:
- true to use MPLS POP instruction
-
requireMplsBosMatch
public boolean requireMplsBosMatch()
Description copied from class:Ofdpa2PipelineDetermines whether this pipeline requires MPLS BOS match.- Overrides:
requireMplsBosMatchin classOfdpa2Pipeline- Returns:
- true to use MPLS BOS match
-
requireMplsTtlModification
public boolean requireMplsTtlModification()
Description copied from class:Ofdpa2PipelineDetermines whether this pipeline requires MPLS TTL decrement and copy.- Overrides:
requireMplsTtlModificationin classOfdpa2Pipeline- Returns:
- true to use MPLS TTL decrement and copy
-
requireEthType
protected boolean requireEthType()
Description copied from class:Ofdpa2PipelineDetermines whether this pipeline requires one additional flow matching on ethType 0x86dd in ACL table.- Overrides:
requireEthTypein classOfdpa2Pipeline- Returns:
- true to create one additional flow matching on ethType 0x86dd in ACL table
-
-