All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
BgpRibRoute, BgpRibRoute, BgpRibRoute, EvpnRoute, FlowspecIpv4RouteList, FlowspecIpv6RouteList, FlowspecL3vpnRoute, FlowspecL3vpnRoute, FlowspecRoute, FlowspecRoute, Ipv4Route, Ipv4Route, Ipv6Route, L3vpnMcastRoute, LabeledUnicastRoute, LinkstateRoute, MvpnBgpRibRoute, MvpnRoute, PduUpdateTlv, Route, RouteTargetConstrainRoute, Update, Update, UpdateMessage, VpnRoute

@Generated("mdsal-binding-generator") public interface PathAttributes extends org.opendaylight.yangtools.yang.binding.DataObject

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

 grouping path-attributes {
   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 {
         }
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return attributes, or null if it is not present.
     
    @NonNull Attributes
    Return attributes, or an empty instance if it is not present.
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends PathAttributes> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getAttributes

      Attributes getAttributes()
      Return attributes, or null if it is not present.
      Returns:
      Attributes attributes, or null if it is not present.
    • nonnullAttributes

      @NonNull Attributes nonnullAttributes()
      Return attributes, or an empty instance if it is not present.
      Returns:
      Attributes attributes, or an empty instance if it is not present.