All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
ClusterIdSets

@Generated("mdsal-binding-generator") public interface ClusterIdSet extends org.opendaylight.yangtools.yang.binding.DataObject
Data definition for a list of Cluster Ids which are matched as part of a policy

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

 grouping cluster-id-set {
   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";
     }
   }
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends ClusterIdSet> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getClusterIdSet

      @Nullable Map<ClusterIdSetKey,ClusterIdSet> getClusterIdSet()
      Return clusterIdSet, or null if it is not present.
           
               List of the defined cluster Ids sets
           
       
      Returns:
      Map<ClusterIdSetKey, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.cluster.id.set.ClusterIdSet> clusterIdSet, or null if it is not present.
    • nonnullClusterIdSet

      default @NonNull Map<ClusterIdSetKey,ClusterIdSet> nonnullClusterIdSet()
      Return clusterIdSet, or an empty list if it is not present.
      Returns:
      Map<ClusterIdSetKey, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.cluster.id.set.ClusterIdSet> clusterIdSet, or an empty list if it is not present.