Interface AsPathSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<AsPathSet>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<AsPathSets>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<AsPathSetKey>

    public interface AsPathSet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<AsPathSets>, org.opendaylight.yangtools.yang.binding.Augmentable<AsPathSet>, org.opendaylight.yangtools.yang.binding.Identifiable<AsPathSetKey>
    Definitions for AS path sets

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

     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/as-path-set

    To create instances of this class use AsPathSetBuilder.

    See Also:
    AsPathSetBuilder, AsPathSetKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable String getAsPathSetName()
        name of the AS path set -- this is used to reference the set in match conditions
        Returns:
        java.lang.String asPathSetName, or null if not present
      • getAsPathSetMember

        @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber> getAsPathSetMember()
        AS path expression -- list of ASes in the set
        Returns:
        java.util.List asPathSetMember, or null if not present
      • key

        AsPathSetKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<AsPathSetKey>