public class OvsOfdpaGroupHandler extends Ofdpa2GroupHandler
deviceId, flowObjectiveStore, groupService, pendingBuckets, storageService| Constructor and Description |
|---|
OvsOfdpaGroupHandler() |
| Modifier and Type | Method and Description |
|---|---|
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)
Creates one of two possible group-chains from the treatment
passed in.
|
protected void |
processEcmpHashedNextObjective(org.onosproject.net.flowobjective.NextObjective nextObjective)
In OFDPA2 we do not support the MPLS-ECMP, while we do in
Open vSwitch implementation.
|
protected boolean |
requireAllowVlanTransition()
Determines whether this pipeline requires AllowVlanTransition in L2 unfiltered group.
|
protected boolean |
requireVlanPopBeforeMplsPush()
Determines whether this pipeline requires popping VLAN before pushing MPLS.
|
protected boolean |
supportCopyTtl()
Determines whether this pipeline support copy ttl instructions or not.
|
protected boolean |
supportSetMplsBos()
Determines whether this pipeline support set mpls bos instruction or not.
|
addBucketToGroup, addGroup, addPendingRemoveNextObjective, addPendingUpdateNextObjective, createEcmpHashBucketChains, createL2L3ChainInternal, createMplsSwap, getNextAvailableIndex, init, modifyBucketFromGroup, modifyBucketInL2Group, modifyBucketInL3Group, processPendingAddGroupsOrNextObjs, processPendingRemoveNextObjs, processPendingUpdateNextObjs, processPwNextObjective, removeBucket, removeBucketFromGroup, removeGroup, updatePendingGroups, updatePendingNextObjective, verifyGroupprotected boolean supportCopyTtl()
Ofdpa2GroupHandlersupportCopyTtl in class Ofdpa2GroupHandlerprotected boolean supportSetMplsBos()
Ofdpa2GroupHandlersupportSetMplsBos in class Ofdpa2GroupHandlerprotected boolean requireVlanPopBeforeMplsPush()
Ofdpa2GroupHandlerIf required, pop vlan before push mpls and add an arbitrary vlan back afterward. MPLS interface group will substitute the arbitrary VLAN with expected VLAN later on.
requireVlanPopBeforeMplsPush in class Ofdpa2GroupHandlerprotected boolean requireAllowVlanTransition()
Ofdpa2GroupHandlerrequireAllowVlanTransition in class Ofdpa2GroupHandlerprotected OfdpaGroupHandlerUtility.GroupInfo createL2L3Chain(org.onosproject.net.flow.TrafficTreatment treatment, int nextId, org.onosproject.core.ApplicationId appId, boolean mpls, org.onosproject.net.flow.TrafficSelector meta)
Ofdpa2GroupHandlercreateL2L3Chain in class Ofdpa2GroupHandlertreatment - 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 nextObjectiveprotected void processEcmpHashedNextObjective(org.onosproject.net.flowobjective.NextObjective nextObjective)
processEcmpHashedNextObjective in class Ofdpa2GroupHandlernextObjective - the hashed next objective to support.