State

Leafs

Enum Classes

class NetworkInstances.NetworkInstance.Protocols.Protocol.Bgp.Neighbors.Neighbor.GracefulRestart.State

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance Protocols Protocol Bgp Neighbors Neighbor GracefulRestart State

This class represents state data.

State information associated with graceful-restart

enabled

Enable or disable the graceful-restart capability

type: bool

config: False

restart_time

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

type: int

range: 0..4096

config: False

stale_routes_time

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

type: Decimal64

range: -92233720368547758.08..92233720368547758.07

config: False

helper_only

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

type: bool

config: False

peer_restart_time

The period of time (advertised by the peer) that the peer expects a restart of a BGP session to take

type: int

range: 0..4096

config: False

peer_restarting

This flag indicates whether the remote neighbor is currently in the process of restarting, and hence received routes are currently stale

type: bool

config: False

local_restarting

This flag indicates whether the local neighbor is currently restarting. The flag is unset after all NLRI have been advertised to the peer, and the End-of-RIB (EOR) marker has been unset

type: bool

config: False

mode

Ths leaf indicates the mode of operation of BGP graceful restart with the peer

type: Mode

config: False