Class OfdpaGroupHandlerUtility.OfdpaNextGroup
- java.lang.Object
-
- org.onosproject.driver.pipeline.ofdpa.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.NextGroupRepresents 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)
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.NextObjectivenextObjective()
-