Interface ExtCommunitySets

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ExtCommunitySets>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<BgpDefinedSets>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface ExtCommunitySets
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpDefinedSets>, org.opendaylight.yangtools.yang.binding.Augmentable<ExtCommunitySets>
    Enclosing container for extended community sets

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

     container ext-community-sets {
       list ext-community-set {
         key ext-community-set-name;
         leaf ext-community-set-name {
           type string;
         }
         list ext-community-member {
           uses bgp-t:extended-community;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-policy/routing-policy/defined-sets/(http://openconfig.net/yang/bgp-policy?revision=2015-10-09)bgp-defined-sets/ext-community-sets

    To create instances of this class use ExtCommunitySetsBuilder.

    See Also:
    ExtCommunitySetsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<ExtCommunitySetKey,​ExtCommunitySet> getExtCommunitySet()
        Definitions for extended community sets
        Returns:
        java.util.Map extCommunitySet, or null if not present
      • nonnullExtCommunitySet

        default @NonNull Map<ExtCommunitySetKey,​ExtCommunitySet> nonnullExtCommunitySet()
        Returns:
        java.util.Map extCommunitySet, or an empty list if it is not present