]> git.puffer.fish Git - mirror/frr.git/commit
*: Add and use option for graceful (re)start 16099/head
authorvivek <vivek@cumulusnetworks.com>
Wed, 26 Jun 2024 22:49:45 +0000 (15:49 -0700)
committerPooja Jagadeesh Doijode <pdoijode@nvidia.com>
Mon, 1 Jul 2024 20:02:52 +0000 (13:02 -0700)
commitb5682ffbf0051b54af972e6da4c3319adb7a292f
tree4f7fb645a2c5a980150ee0b0b6474578b25cc49f
parentecbca1ae1be5e4e3f68bc712696f28d01909803c
*: Add and use option for graceful (re)start

Add a new start option "-K" to libfrr to denote a graceful start,
and use it in zebra and bgpd.

zebra will use this option to denote a planned FRR graceful restart
(supporting only bgpd currently) to wait for a route sync completion
from bgpd before cleaning up old stale routes from the FIB. An optional
timer provides an upper-bounds for this cleanup.

bgpd will use this option to denote either a planned FRR graceful
restart or a bgpd-only graceful restart, and this will drive the BGP
GR restarting router procedures.

Signed-off-by: Vivek Venkatraman <vivek@nvidia.com>
16 files changed:
bgpd/bgp_main.c
bgpd/bgp_vty.c
doc/user/bgp.rst
lib/libfrr.c
lib/libfrr.h
tests/topotests/lib/bgp.py
zebra/main.c
zebra/rib.h
zebra/zapi_msg.c
zebra/zebra_gr.c
zebra/zebra_rib.c
zebra/zebra_router.c
zebra/zebra_router.h
zebra/zebra_vty.c
zebra/zserv.c
zebra/zserv.h