Interface BgpNeighborGracefulRestartConfig
-
- 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 BgpNeighborGracefulRestartConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters relating to BGP graceful restart.This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor-graceful-restart_config { leaf enabled { type boolean; } leaf restart-time { type uint16 { range 0..4096; } } leaf stale-routes-time { type decimal64 { fraction-digits 2; } } leaf helper-only { type boolean; } }
The schema path to identify an instance is openconfig-bgp/bgp-neighbor-graceful-restart_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
getEnabled()
Return enabled, ornull
if it is not present.Boolean
getHelperOnly()
Return helperOnly, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getRestartTime()
Return restartTime, ornull
if it is not present.BigDecimal
getStaleRoutesTime()
Return staleRoutesTime, ornull
if it is not present.Class<? extends BgpNeighborGracefulRestartConfig>
implementedInterface()
default Boolean
isEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isHelperOnly()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborGracefulRestartConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEnabled
Boolean getEnabled()
Return enabled, ornull
if it is not present.Enable or disable the graceful-restart capability.
- Returns:
java.lang.Boolean
enabled, ornull
if it is not present.
-
isEnabled
@Deprecated(forRemoval=true) default Boolean isEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getRestartTime
org.opendaylight.yangtools.yang.common.Uint16 getRestartTime()
Return restartTime, ornull
if it is not present.Estimated time (in seconds) for the local BGP speaker to restart a session. This value is advertise in the graceful restart BGP capability. This is a 12-bit value, referred to as Restart Time in RFC4724. Per RFC4724, the suggested default value is <= the hold-time value.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
restartTime, ornull
if it is not present.
-
getStaleRoutesTime
BigDecimal getStaleRoutesTime()
Return staleRoutesTime, ornull
if it is not present.An upper-bound on the time thate stale routes will be retained by a router after a session is restarted. If an End-of-RIB (EOR) marker is received prior to this timer expiring stale-routes will be flushed upon its receipt - if no EOR is received, then when this timer expires stale paths will be purged. This timer is referred to as the Selection_Deferral_Timer in RFC4724
- Returns:
java.math.BigDecimal
staleRoutesTime, ornull
if it is not present.
-
getHelperOnly
Boolean getHelperOnly()
Return helperOnly, ornull
if it is not present.Enable graceful-restart in helper mode only. When this leaf is set, the local system does not retain forwarding its own state during a restart, but supports procedures for the receiving speaker, as defined in RFC4724.
- Returns:
java.lang.Boolean
helperOnly, ornull
if it is not present.
-
isHelperOnly
@Deprecated(forRemoval=true) default Boolean isHelperOnly()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-