Interface BgpRouteSelectionOptionsConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    public interface BgpRouteSelectionOptionsConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Set of configuration options that govern best path selection.

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

     grouping bgp-route-selection-options_config {
       leaf always-compare-med {
         type boolean;
         default false;
       }
       leaf ignore-as-path-length {
         type boolean;
         default false;
       }
       leaf external-compare-router-id {
         type boolean;
         default true;
       }
       leaf advertise-inactive-routes {
         type boolean;
         default false;
       }
       leaf enable-aigp {
         type boolean;
         default false;
       }
       leaf ignore-next-hop-igp-metric {
         type boolean;
         default false;
       }
     }
     
    The schema path to identify an instance is openconfig-bgp-multiprotocol/bgp-route-selection-options_config
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Boolean isAlwaysCompareMed()
        Compare multi-exit discriminator (MED) value from different ASes when selecting the best route. The default behavior is to only compare MEDs for paths received from the same AS.
        Returns:
        java.lang.Boolean alwaysCompareMed, or null if not present
      • isIgnoreAsPathLength

        @Nullable Boolean isIgnoreAsPathLength()
        Ignore the AS path length when selecting the best path. The default is to use the AS path length and prefer paths with shorter length.
        Returns:
        java.lang.Boolean ignoreAsPathLength, or null if not present
      • isExternalCompareRouterId

        @Nullable Boolean isExternalCompareRouterId()
        When comparing similar routes received from external BGP peers, use the router-id as a criterion to select the active path.
        Returns:
        java.lang.Boolean externalCompareRouterId, or null if not present
      • isAdvertiseInactiveRoutes

        @Nullable Boolean isAdvertiseInactiveRoutes()
        Advertise inactive routes to external peers. The default is to only advertise active routes.
        Returns:
        java.lang.Boolean advertiseInactiveRoutes, or null if not present
      • isEnableAigp

        @Nullable Boolean isEnableAigp()
        Flag to enable sending / receiving accumulated IGP attribute in routing updates
        Returns:
        java.lang.Boolean enableAigp, or null if not present
      • isIgnoreNextHopIgpMetric

        @Nullable Boolean isIgnoreNextHopIgpMetric()
        Ignore the IGP metric to the next-hop when calculating BGP best-path. The default is to select the route for which the metric to the next-hop is lowest
        Returns:
        java.lang.Boolean ignoreNextHopIgpMetric, or null if not present