Class PolicyGroupParams
- java.lang.Object
-
- org.onosproject.segmentrouting.grouphandler.PolicyGroupParams
-
public class PolicyGroupParams extends Object
Representation of parameters used to create policy based groups.
-
-
Constructor Summary
Constructors Constructor Description PolicyGroupParams(List<Integer> labelStack, List<org.onosproject.net.PortNumber> ports)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<Integer>getLabelStack()Returns the label stack associated with the policy group params.List<org.onosproject.net.PortNumber>getPorts()Returns the ports associated with the policy group params.inthashCode()
-
-
-
Method Detail
-
getPorts
public List<org.onosproject.net.PortNumber> getPorts()
Returns the ports associated with the policy group params.- Returns:
- list of port numbers
-
getLabelStack
public List<Integer> getLabelStack()
Returns the label stack associated with the policy group params.- Returns:
- list of integers
-
-