Class Ofdpa3GroupHandler
- java.lang.Object
-
- org.onosproject.driver.pipeline.ofdpa.Ofdpa2GroupHandler
-
- org.onosproject.driver.pipeline.ofdpa.Ofdpa3GroupHandler
-
- Direct Known Subclasses:
XpliantGroupHandler
public class Ofdpa3GroupHandler extends Ofdpa2GroupHandler
Group handler for OFDPA2 pipeline.
-
-
Field Summary
-
Fields inherited from class org.onosproject.driver.pipeline.ofdpa.Ofdpa2GroupHandler
deviceId, flowObjectiveStore, groupService, pendingBuckets, storageService
-
-
Constructor Summary
Constructors Constructor Description Ofdpa3GroupHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OfdpaGroupHandlerUtility.GroupInfocreateL2L3Chain(org.onosproject.net.flow.TrafficTreatment treatment, int nextId, org.onosproject.core.ApplicationId appId, boolean mpls, org.onosproject.net.flow.TrafficSelector meta)Creates one of two possible group-chains from the treatment passed in.protected voidprocessPwNextObjective(org.onosproject.net.flowobjective.NextObjective nextObjective)Processes the pseudo wire related next objective.-
Methods inherited from class org.onosproject.driver.pipeline.ofdpa.Ofdpa2GroupHandler
addBucketToGroup, addGroup, addPendingRemoveNextObjective, addPendingUpdateNextObjective, createEcmpHashBucketChains, createL2L3ChainInternal, createMplsSwap, getNextAvailableIndex, init, modifyBucketFromGroup, modifyBucketInL2Group, modifyBucketInL3Group, processEcmpHashedNextObjective, processPendingAddGroupsOrNextObjs, processPendingRemoveNextObjs, processPendingUpdateNextObjs, removeBucket, removeBucketFromGroup, removeGroup, requireAllowVlanTransition, requireVlanPopBeforeMplsPush, supportCopyTtl, supportSetMplsBos, terminate, updatePendingGroups, updatePendingNextObjective, verifyGroup
-
-
-
-
Method Detail
-
createL2L3Chain
protected OfdpaGroupHandlerUtility.GroupInfo createL2L3Chain(org.onosproject.net.flow.TrafficTreatment treatment, int nextId, org.onosproject.core.ApplicationId appId, boolean mpls, org.onosproject.net.flow.TrafficSelector meta)
Description copied from class:Ofdpa2GroupHandlerCreates one of two possible group-chains from the treatment passed in. Depending on the MPLS boolean, this method either creates an L3Unicast Group --> L2Interface Group, if mpls is false; or MPLSInterface Group --> L2Interface Group, if mpls is true; The returned 'inner' group description is always the L2 Interface group.- Overrides:
createL2L3Chainin classOfdpa2GroupHandler- Parameters:
treatment- that needs to be broken up to create the group chainnextId- of the next objective that needs this group chainappId- of the application that sent this next objectivempls- determines if L3Unicast or MPLSInterface group is createdmeta- metadata passed in by the application as part of the nextObjective- Returns:
- GroupInfo containing the GroupDescription of the L2Interface group(inner) and the GroupDescription of the (outer) L3Unicast/MPLSInterface group. May return null if there is an error in processing the chain
-
processPwNextObjective
protected void processPwNextObjective(org.onosproject.net.flowobjective.NextObjective nextObjective)
Description copied from class:Ofdpa2GroupHandlerProcesses the pseudo wire related next objective. This procedure try to reuse the mpls label groups, the mpls interface group and the l2 interface group.- Overrides:
processPwNextObjectivein classOfdpa2GroupHandler- Parameters:
nextObjective- the objective to process.
-
-