Interface ExtCommunitySet

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

    public interface ExtCommunitySet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ExtCommunitySets>, org.opendaylight.yangtools.yang.binding.Augmentable<ExtCommunitySet>, org.opendaylight.yangtools.yang.binding.Identifiable<ExtCommunitySetKey>
    Definitions for extended community sets

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

     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/ext-community-set

    To create instances of this class use ExtCommunitySetBuilder.

    See Also:
    ExtCommunitySetBuilder, ExtCommunitySetKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

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

        @Nullable List<ExtCommunityMember> getExtCommunityMember()
        members of the extended community set
        Returns:
        java.util.List extCommunityMember, or null if not present
      • nonnullExtCommunityMember

        default @NonNull List<ExtCommunityMember> nonnullExtCommunityMember()
        Returns:
        java.util.List extCommunityMember, or an empty list if it is not present