createL2L3Chain
protected Ofdpa2GroupHandler.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. 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:
createL2L3Chain in class Ofdpa2GroupHandler
- Parameters:
treatment - that needs to be broken up to create the group chain
nextId - of the next objective that needs this group chain
appId - of the application that sent this next objective
mpls - determines if L3Unicast or MPLSInterface group is created
meta - 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