All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping, PathAttributes, PathIdGrouping
All Known Subinterfaces:
BgpRibRoute, BgpRibRoute, BgpRibRoute, EvpnRoute, FlowspecIpv4RouteList, FlowspecIpv6RouteList, FlowspecL3vpnRoute, FlowspecL3vpnRoute, FlowspecRoute, FlowspecRoute, Ipv4Route, Ipv4Route, Ipv6Route, L3vpnMcastRoute, LabeledUnicastRoute, LinkstateRoute, MvpnBgpRibRoute, MvpnRoute, RouteTargetConstrainRoute, VpnRoute

@Generated("mdsal-binding-generator") public interface Route extends org.opendaylight.yangtools.binding.Grouping, PathIdGrouping, PathAttributes

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

 grouping route {
   uses bgp-msg:path-id-grouping;
   leaf route-key {
     type string;
   }
   uses bgp-msg:path-attributes;
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return routeKey, or null if it is not present.
    default @NonNull String
    Return routeKey, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathAttributes

    getAttributes, nonnullAttributes

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathIdGrouping

    getPathId, requirePathId
  • Method Details

    • getRouteKey

      String getRouteKey()
      Return routeKey, or null if it is not present.
           
               The sole function of this leaf to act as the key in the list. Its format does
               not form the API contract of this model.
           
       
      Returns:
      String routeKey, or null if it is not present.
    • requireRouteKey

      default @NonNull String requireRouteKey()
      Return routeKey, guaranteed to be non-null.
           
               The sole function of this leaf to act as the key in the list. Its format does
               not form the API contract of this model.
           
       
      Returns:
      String routeKey, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if routeKey is not present