diff options
author | Santosh P K <sapk@vmware.com> | 2020-01-09 17:39:50 +0100 |
---|---|---|
committer | Santosh P K <sapk@vmware.com> | 2020-01-30 19:26:04 +0100 |
commit | 851140a7bb5a978d4ef59ffa532c99767004a0b8 (patch) | |
tree | 89cd4f2c679c39d02c7a53217408712f9687d879 /zebra/zserv.h | |
parent | zebra: Header file changes and show commands. (diff) | |
download | frr-851140a7bb5a978d4ef59ffa532c99767004a0b8.tar.xz frr-851140a7bb5a978d4ef59ffa532c99767004a0b8.zip |
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 <sapk@vmware.com>
Co-authored-by: Soman K S <somanks@vmware.com>
Signed-off-by: Santosh P K <sapk@vmware.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r-- | zebra/zserv.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |