]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Refine restarter operation - R-bit & F-bit
authorvivek <vivek@cumulusnetworks.com>
Mon, 26 Oct 2020 00:05:48 +0000 (17:05 -0700)
committerPooja Jagadeesh Doijode <pdoijode@nvidia.com>
Mon, 1 Jul 2024 20:02:45 +0000 (13:02 -0700)
commitc6ed1cc16d083198cc5774971126aa371e653718
treea8f296fad7eebf02133df1377a57604cdf4949fe
parent15403f521a12b668e87ef8961c78e0ed97c6ff92
bgpd: Refine restarter operation - R-bit & F-bit

Introduce BGP-wide flags to denote if BGP has started gracefully
and GR is in progress or not. Use this for setting of the R-bit in
the GR capability, and not a timer which is set for any new
instance creation. Mark graceful restart is complete when the
deferred path selection has been done and route sync with zebra as
well as deferred EOR advertisement has been initiated.

Introduce a function to check on F-bit setting rather than just
base it on configuration.

Subsequent commits will extend these functionalities.

Signed-off-by: Vivek Venkatraman <vivek@nvidia.com>
bgpd/bgp_fsm.c
bgpd/bgp_main.c
bgpd/bgp_open.c
bgpd/bgp_packet.c
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgpd.h