Interface ClusterIdSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ClusterIdSet>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ClusterIdSet>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<ClusterIdSetKey>

    public interface ClusterIdSet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ClusterIdSet>, org.opendaylight.yangtools.yang.binding.Augmentable<ClusterIdSet>, org.opendaylight.yangtools.yang.binding.Identifiable<ClusterIdSetKey>
    List of the defined cluster Ids sets

    This class represents the following YANG schema fragment defined in module odl-bgp-policy

     list cluster-id-set {
       key cluster-id-set-name;
       leaf cluster-id-set-name {
         type string;
       }
       leaf-list cluster-id {
         type bgp-t:cluster-identifier;
       }
       container local {
         presence "Local cluster Id";
       }
     }
     
    The schema path to identify an instance is odl-bgp-policy/cluster-id-set/cluster-id-set

    To create instances of this class use ClusterIdSetBuilder.

    See Also:
    ClusterIdSetBuilder, ClusterIdSetKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<ClusterIdSet> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getClusterIdSetName

        @Nullable String getClusterIdSetName()
        name / label of the set -- this is used to reference the set in match conditions
        Returns:
        java.lang.String clusterIdSetName, or null if not present
      • getClusterId

        @Nullable List<ClusterIdentifier> getClusterId()
        List of role expressions that are part of the set
        Returns:
        java.util.List clusterId, or null if not present
      • getLocal

        @Nullable Local getLocal()
        Validates also cluster Originator Id
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.cluster.id.set.cluster.id.set.Local local, or null if not present