diff options
| author | Isabella de Leon <ideleon@microsoft.com> | 2022-10-12 16:03:29 -0700 |
|---|---|---|
| committer | Isabella de Leon <ideleon@microsoft.com> | 2022-10-12 16:57:32 -0700 |
| commit | 450841fe05f81be2ac60fe2b4312cefdbeef1460 (patch) | |
| tree | ac89219cb083c2b11de64b268adeeb655f7d8500 /isisd/isisd.h | |
| parent | 4afc783610548a47bcc115ce7f5b893658fffd1d (diff) | |
isisd: Add JSON object functions to save overload status between restarts.
Signed-off-by: Isabella de Leon <ideleon@microsoft.com>
Diffstat (limited to 'isisd/isisd.h')
| -rw-r--r-- | isisd/isisd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h index 81877f7455..bc1aa12956 100644 --- a/isisd/isisd.h +++ b/isisd/isisd.h @@ -319,7 +319,10 @@ void show_isis_database_lspdb_json(struct json_object *json, void show_isis_database_lspdb_vty(struct vty *vty, struct isis_area *area, int level, struct lspdb_head *lspdb, const char *argv, int ui_level); - +char *isis_restart_filepath(void); +void isis_restart_write_overload_time(struct isis_area *isis_area, + uint32_t overload_time); +uint32_t isis_restart_read_overload_time(struct isis_area *isis_area); /* YANG paths */ #define ISIS_INSTANCE "/frr-isisd:isis/instance" #define ISIS_SR "/frr-isisd:isis/instance/segment-routing" |
