Interface AsPathSets

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<AsPathSets>, 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 AsPathSets
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpDefinedSets>, org.opendaylight.yangtools.yang.binding.Augmentable<AsPathSets>
    Enclosing container for AS path sets

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

     container as-path-sets {
       list as-path-set {
         key as-path-set-name;
         leaf as-path-set-name {
           type string;
         }
         leaf-list as-path-set-member {
           type inet:as-number;
         }
       }
     }
     
    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/as-path-sets

    To create instances of this class use AsPathSetsBuilder.

    See Also:
    AsPathSetsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<AsPathSetKey,​AsPathSet> getAsPathSet()
        Definitions for AS path sets
        Returns:
        java.util.Map asPathSet, or null if not present
      • nonnullAsPathSet

        default @NonNull Map<AsPathSetKey,​AsPathSet> nonnullAsPathSet()
        Returns:
        java.util.Map asPathSet, or an empty list if it is not present