Interface BgpRouteSelectionOptionsConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") 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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Boolean
getAdvertiseInactiveRoutes()
Return advertiseInactiveRoutes, ornull
if it is not present.Boolean
getAlwaysCompareMed()
Return alwaysCompareMed, ornull
if it is not present.Boolean
getEnableAigp()
Return enableAigp, ornull
if it is not present.Boolean
getExternalCompareRouterId()
Return externalCompareRouterId, ornull
if it is not present.Boolean
getIgnoreAsPathLength()
Return ignoreAsPathLength, ornull
if it is not present.Boolean
getIgnoreNextHopIgpMetric()
Return ignoreNextHopIgpMetric, ornull
if it is not present.Class<? extends BgpRouteSelectionOptionsConfig>
implementedInterface()
default Boolean
isAdvertiseInactiveRoutes()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isAlwaysCompareMed()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isEnableAigp()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isExternalCompareRouterId()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isIgnoreAsPathLength()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isIgnoreNextHopIgpMetric()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpRouteSelectionOptionsConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAlwaysCompareMed
Boolean getAlwaysCompareMed()
Return alwaysCompareMed, ornull
if it is not present.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, ornull
if it is not present.
-
isAlwaysCompareMed
@Deprecated(forRemoval=true) default Boolean isAlwaysCompareMed()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getIgnoreAsPathLength
Boolean getIgnoreAsPathLength()
Return ignoreAsPathLength, ornull
if it is not present.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, ornull
if it is not present.
-
isIgnoreAsPathLength
@Deprecated(forRemoval=true) default Boolean isIgnoreAsPathLength()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getExternalCompareRouterId
Boolean getExternalCompareRouterId()
Return externalCompareRouterId, ornull
if it is not present.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, ornull
if it is not present.
-
isExternalCompareRouterId
@Deprecated(forRemoval=true) default Boolean isExternalCompareRouterId()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getAdvertiseInactiveRoutes
Boolean getAdvertiseInactiveRoutes()
Return advertiseInactiveRoutes, ornull
if it is not present.Advertise inactive routes to external peers. The default is to only advertise active routes.
- Returns:
java.lang.Boolean
advertiseInactiveRoutes, ornull
if it is not present.
-
isAdvertiseInactiveRoutes
@Deprecated(forRemoval=true) default Boolean isAdvertiseInactiveRoutes()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getEnableAigp
Boolean getEnableAigp()
Return enableAigp, ornull
if it is not present.Flag to enable sending / receiving accumulated IGP attribute in routing updates
- Returns:
java.lang.Boolean
enableAigp, ornull
if it is not present.
-
isEnableAigp
@Deprecated(forRemoval=true) default Boolean isEnableAigp()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getIgnoreNextHopIgpMetric
Boolean getIgnoreNextHopIgpMetric()
Return ignoreNextHopIgpMetric, ornull
if it is not present.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, ornull
if it is not present.
-
isIgnoreNextHopIgpMetric
@Deprecated(forRemoval=true) default Boolean isIgnoreNextHopIgpMetric()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-