Class PolicyGroupParams


  • public class PolicyGroupParams
    extends Object
    Representation of parameters used to create policy based groups.
    • Constructor Detail

      • PolicyGroupParams

        public PolicyGroupParams​(List<Integer> labelStack,
                                 List<org.onosproject.net.PortNumber> ports)
        Constructor.
        Parameters:
        labelStack - mpls label stack to be applied on the ports
        ports - ports to be part of the policy group
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object