Interface PathAttributes

  • All Superinterfaces:
    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 {
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is bgp-messagepath-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends PathAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface 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.