All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<Attributes>, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.ChildOf<PathAttributes>, org.opendaylight.yangtools.binding.ContainerObject<PathAttributes,Attributes>, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.Grouping, org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,Attributes>, org.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>, NextHop, org.opendaylight.yangtools.binding.ParentObject<Attributes>

@Generated("mdsal-binding-generator") public interface Attributes extends org.opendaylight.yangtools.binding.ContainerObject<PathAttributes,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 {
       }
     }
   }
 }
 

To create instances of this class use AttributesBuilder.

See Also:
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      The YANG identifier of the container statement represented by this interface.
  • Method Details

    • getOrigin

      Origin getOrigin()
      Returns Origin origin, or null if it is not present.
      Returns:
      Origin origin, or null if it is not present
    • nonnullOrigin

      @NonNull Origin nonnullOrigin()
      Returns Origin origin, or an empty instance if it is not present.
      Returns:
      Origin origin, or an empty instance if it is not present
    • getAsPath

      AsPath getAsPath()
      Returns AsPath asPath, or null if it is not present.
      Returns:
      AsPath asPath, or null if it is not present
    • nonnullAsPath

      @NonNull AsPath nonnullAsPath()
      Returns AsPath asPath, or an empty instance if it is not present.
      Returns:
      AsPath asPath, or an empty instance if it is not present
    • getMultiExitDisc

      MultiExitDisc getMultiExitDisc()
      Returns MultiExitDisc multiExitDisc, or null if it is not present.
      Returns:
      MultiExitDisc multiExitDisc, or null if it is not present
    • nonnullMultiExitDisc

      @NonNull MultiExitDisc nonnullMultiExitDisc()
      Returns MultiExitDisc multiExitDisc, or an empty instance if it is not present.
      Returns:
      MultiExitDisc multiExitDisc, or an empty instance if it is not present
    • getLocalPref

      LocalPref getLocalPref()
      Returns LocalPref localPref, or null if it is not present.
      Returns:
      LocalPref localPref, or null if it is not present
    • nonnullLocalPref

      @NonNull LocalPref nonnullLocalPref()
      Returns LocalPref localPref, or an empty instance if it is not present.
      Returns:
      LocalPref localPref, or an empty instance if it is not present
    • getAtomicAggregate

      AtomicAggregate getAtomicAggregate()
      Returns AtomicAggregate atomicAggregate, or null if it is not present.
      Returns:
      AtomicAggregate atomicAggregate, or null if it is not present
    • getAggregator

      Aggregator getAggregator()
      Returns Aggregator aggregator, or null if it is not present.
      Returns:
      Aggregator aggregator, or null if it is not present
    • nonnullAggregator

      @NonNull Aggregator nonnullAggregator()
      Returns Aggregator aggregator, or an empty instance if it is not present.
      Returns:
      Aggregator aggregator, or an empty instance if it is not present
    • getCommunities

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

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

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

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

      OriginatorId getOriginatorId()
      Returns OriginatorId originatorId, or null if it is not present.
      Returns:
      OriginatorId originatorId, or null if it is not present
    • nonnullOriginatorId

      @NonNull OriginatorId nonnullOriginatorId()
      Returns OriginatorId originatorId, or an empty instance if it is not present.
      Returns:
      OriginatorId originatorId, or an empty instance if it is not present
    • getClusterId

      ClusterId getClusterId()
      Returns ClusterId clusterId, or null if it is not present.
      Returns:
      ClusterId clusterId, or null if it is not present
    • nonnullClusterId

      @NonNull ClusterId nonnullClusterId()
      Returns ClusterId clusterId, or an empty instance if it is not present.
      Returns:
      ClusterId clusterId, or an empty instance if it is not present
    • getAigp

      Aigp getAigp()
      Returns Aigp aigp, or null if it is not present.
      Returns:
      Aigp aigp, or null if it is not present
    • nonnullAigp

      @NonNull Aigp nonnullAigp()
      Returns Aigp aigp, or an empty instance if it is not present.
      Returns:
      Aigp aigp, or an empty instance if it is not present
    • getUnrecognizedAttributes

      @Nullable Map<UnrecognizedAttributesKey,UnrecognizedAttributes> getUnrecognizedAttributes()
      Returns Map<UnrecognizedAttributesKey, UnrecognizedAttributes> unrecognizedAttributes, or null if it is not present.
      Returns:
      Map<UnrecognizedAttributesKey, UnrecognizedAttributes> unrecognizedAttributes, or null if it is not present
    • nonnullUnrecognizedAttributes

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

      BgpPrefixSid getBgpPrefixSid()
      Returns BgpPrefixSid bgpPrefixSid, or null if it is not present.
      Returns:
      BgpPrefixSid bgpPrefixSid, or null if it is not present
    • nonnullBgpPrefixSid

      @NonNull BgpPrefixSid nonnullBgpPrefixSid()
      Returns BgpPrefixSid bgpPrefixSid, or an empty instance if it is not present.
      Returns:
      BgpPrefixSid bgpPrefixSid, or an empty instance if it is not present
    • implementedInterface

      default Class<Attributes> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.ParentObject<Attributes>
    • javaHC

      default int javaHC()
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,Attributes>
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>
    • javaEQ

      default boolean javaEQ(Attributes obj)
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,Attributes>
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>
    • javaTS

      default String javaTS()
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,Attributes>
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>