From 851140a7bb5a978d4ef59ffa532c99767004a0b8 Mon Sep 17 00:00:00 2001 From: Santosh P K Date: Thu, 9 Jan 2020 08:39:50 -0800 Subject: zebra: Handling of connection disconnect and connect with GR. Zebra will have special handling for clients with GR enabled. When client disconnects with GR enabled, then a stale client will be created and its RIB will be retained till stale timer or client comes up and updated its RIB. Co-authored-by: Santosh P K Co-authored-by: Soman K S Signed-off-by: Santosh P K --- zebra/zserv.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zebra/zserv.h') diff --git a/zebra/zserv.h b/zebra/zserv.h index 8bf092916..877f3a8e3 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -312,6 +312,12 @@ extern void zserv_read_file(char *input); /* TODO */ int zebra_finalize(struct thread *event); +/* + * Graceful restart functions. + */ +extern int zebra_gr_client_disconnect(struct zserv *client); +extern void zebra_gr_client_reconnect(struct zserv *client); + #ifdef __cplusplus } #endif -- cgit v1.2.3