Class PolicyGroupIdentifier
- java.lang.Object
-
- org.onosproject.segmentrouting.grouphandler.PolicyGroupIdentifier
-
public class PolicyGroupIdentifier extends Object
Representation of policy based group identifiers. Opaque to group handler applications and only the outermost policy group identifier in a chain is visible to the applications.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPolicyGroupIdentifier(String id, List<PolicyGroupParams> input, List<GroupBucketIdentifier> bucketIds)Constructs policy group identifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<GroupBucketIdentifier>bucketIds()Returns the bucket identifier list associated with the policy group identifier.booleanequals(Object obj)inthashCode()
-
-
-
Constructor Detail
-
PolicyGroupIdentifier
protected PolicyGroupIdentifier(String id, List<PolicyGroupParams> input, List<GroupBucketIdentifier> bucketIds)
Constructs policy group identifier.- Parameters:
id- unique identifier associated with the policy groupinput- policy group params associated with this groupbucketIds- buckets associated with this group
-
-
Method Detail
-
bucketIds
protected List<GroupBucketIdentifier> bucketIds()
Returns the bucket identifier list associated with the policy group identifier.- Returns:
- list of bucket identifier
-
-