Class OfdpaGroupHandlerUtility.OfdpaNextGroup

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

    public static class OfdpaGroupHandlerUtility.OfdpaNextGroup
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      OfdpaNextGroup​(java.util.List<java.util.Deque<org.onosproject.net.group.GroupKey>> gkeys, org.onosproject.net.flowobjective.NextObjective nextObj)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.util.Deque<org.onosproject.net.group.GroupKey>> allKeys()  
      byte[] data()  
      org.onosproject.net.flowobjective.NextObjective nextObjective()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OfdpaNextGroup

        public OfdpaNextGroup​(java.util.List<java.util.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 java.util.List<java.util.Deque<org.onosproject.net.group.GroupKey>> allKeys()
      • data

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