diff options
| author | vivek <vivek@cumulusnetworks.com> | 2024-06-26 15:49:45 -0700 |
|---|---|---|
| committer | Pooja Jagadeesh Doijode <pdoijode@nvidia.com> | 2024-07-01 13:02:52 -0700 |
| commit | b5682ffbf0051b54af972e6da4c3319adb7a292f (patch) | |
| tree | 4f7fb645a2c5a980150ee0b0b6474578b25cc49f /zebra/rib.h | |
| parent | ecbca1ae1be5e4e3f68bc712696f28d01909803c (diff) | |
*: 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>
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index a721f4bac4..84ea766c47 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -622,10 +622,10 @@ static inline struct nexthop_group *rib_get_fib_backup_nhg( } extern void zebra_gr_process_client(afi_t afi, vrf_id_t vrf_id, uint8_t proto, - uint8_t instance); + uint8_t instance, time_t restart_time); extern int rib_add_gr_run(afi_t afi, vrf_id_t vrf_id, uint8_t proto, - uint8_t instance); + uint8_t instance, time_t restart_time); extern void zebra_vty_init(void); |
