Interface Attributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Attributes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PathAttributes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, NextHop

    public interface Attributes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PathAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<Attributes>, NextHop

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

     container attributes {
       container origin {
         leaf value {
           type bgp-t:bgp-origin;
         }
       }
       container as-path {
         list segments {
           uses bgp-t:as-path-segment;
         }
       }
       uses bgp-t:next-hop;
       container multi-exit-disc {
         leaf med {
           type uint32;
         }
       }
       container local-pref {
         leaf pref {
           type uint32;
         }
       }
       container atomic-aggregate {
         presence "Atomic Aggregate attribute is present.";
       }
       container aggregator {
         uses bgp-t:bgp-aggregator;
       }
       list communities {
         uses bgp-t:community;
       }
       list extended-communities {
         uses bgp-t:extended-community;
       }
       container originator-id {
         uses originator-id;
       }
       container cluster-id {
         uses cluster-id;
       }
       container aigp {
         container aigp-tlv {
           leaf metric {
             type netc:accumulated-igp-metric;
           }
         }
       }
       list unrecognized-attributes {
         key type;
         leaf partial {
           type boolean;
         }
         leaf transitive {
           type boolean;
         }
         leaf type {
           type uint8;
         }
         leaf value {
           type binary {
             length 0..65535;
           }
         }
       }
       container bgp-prefix-sid {
         list bgp-prefix-sid-tlvs {
           choice bgp-prefix-sid-tlv {
           }
         }
       }
     }
     
    The schema path to identify an instance is bgp-message/path-attributes/attributes

    To create instances of this class use AttributesBuilder.

    See Also:
    AttributesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Origin getOrigin()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.Origin origin, or null if not present
      • getAsPath

        @Nullable AsPath getAsPath()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.AsPath asPath, or null if not present
      • getMultiExitDisc

        @Nullable MultiExitDisc getMultiExitDisc()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.MultiExitDisc multiExitDisc, or null if not present
      • getLocalPref

        @Nullable LocalPref getLocalPref()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.LocalPref localPref, or null if not present
      • getAtomicAggregate

        @Nullable AtomicAggregate getAtomicAggregate()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.AtomicAggregate atomicAggregate, or null if not present
      • getAggregator

        @Nullable Aggregator getAggregator()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.Aggregator aggregator, or null if not present
      • getCommunities

        @Nullable List<Communities> getCommunities()
        Returns:
        java.util.List communities, or null if not present
      • nonnullCommunities

        default @NonNull List<Communities> nonnullCommunities()
        Returns:
        java.util.List communities, or an empty list if it is not present
      • getExtendedCommunities

        @Nullable List<ExtendedCommunities> getExtendedCommunities()
        Returns:
        java.util.List extendedCommunities, or null if not present
      • nonnullExtendedCommunities

        default @NonNull List<ExtendedCommunities> nonnullExtendedCommunities()
        Returns:
        java.util.List extendedCommunities, or an empty list if it is not present
      • getOriginatorId

        @Nullable OriginatorId getOriginatorId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.OriginatorId originatorId, or null if not present
      • getClusterId

        @Nullable ClusterId getClusterId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.ClusterId clusterId, or null if not present
      • getAigp

        @Nullable Aigp getAigp()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.Aigp aigp, or null if not present
      • getUnrecognizedAttributes

        @Nullable List<UnrecognizedAttributes> getUnrecognizedAttributes()
        Returns:
        java.util.List unrecognizedAttributes, or null if not present
      • nonnullUnrecognizedAttributes

        default @NonNull List<UnrecognizedAttributes> nonnullUnrecognizedAttributes()
        Returns:
        java.util.List unrecognizedAttributes, or an empty list if it is not present
      • getBgpPrefixSid

        @Nullable BgpPrefixSid getBgpPrefixSid()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.BgpPrefixSid bgpPrefixSid, or null if not present