Class OfdpaGroupHandlerUtility.OfdpaNextGroup

  • All Implemented Interfaces:
    org.onosproject.net.behaviour.NextGroup
    Enclosing class:
    OfdpaGroupHandlerUtility

    public static class OfdpaGroupHandlerUtility.OfdpaNextGroup
    extends Object
    implements org.onosproject.net.behaviour.NextGroup
    Represents an entire group-chain that implements a Next-Objective from the application. The objective is represented as a list of deques, where each deque is a separate chain of groups.

    For example, an ECMP group with 3 buckets, where each bucket points to a group chain of L3 Unicast and L2 interface groups will look like this:

    • List[0] is a Deque of GroupKeyECMP(first)-GroupKeyL3(middle)-GroupKeyL2(last)
    • List[1] is a Deque of GroupKeyECMP(first)-GroupKeyL3(middle)-GroupKeyL2(last)
    • List[2] is a Deque of GroupKeyECMP(first)-GroupKeyL3(middle)-GroupKeyL2(last)
    where the first element of each deque is the same, representing the top level ECMP group, while every other element represents a unique groupKey.

    Also includes information about the next objective that resulted in these group-chains.

    • Constructor Detail

      • OfdpaNextGroup

        public OfdpaNextGroup​(List<Deque<org.onosproject.net.group.GroupKey>> gkeys,
                              org.onosproject.net.flowobjective.NextObjective nextObj)
    • Method Detail

      • nextObjective

        public org.onosproject.net.flowobjective.NextObjective nextObjective()
      • allKeys

        public List<Deque<org.onosproject.net.group.GroupKey>> allKeys()
      • data

        public byte[] data()
        Specified by:
        data in interface org.onosproject.net.behaviour.NextGroup