Class Ofdpa3GroupHandler

    • Constructor Detail

      • Ofdpa3GroupHandler

        public Ofdpa3GroupHandler()
    • 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: Ofdpa2GroupHandler
        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
      • processPwNextObjective

        protected void processPwNextObjective​(org.onosproject.net.flowobjective.NextObjective nextObjective)
        Description copied from class: Ofdpa2GroupHandler
        Processes 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:
        processPwNextObjective in class Ofdpa2GroupHandler
        Parameters:
        nextObjective - the objective to process.