summaryrefslogtreecommitdiffstats
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorIsabella de Leon <ideleon@microsoft.com>2022-10-13 01:03:29 +0200
committerIsabella de Leon <ideleon@microsoft.com>2022-10-13 01:57:32 +0200
commit450841fe05f81be2ac60fe2b4312cefdbeef1460 (patch)
treeac89219cb083c2b11de64b268adeeb655f7d8500 /isisd/isisd.h
parentisisd: Add expected behavior with set-overload-bit (diff)
downloadfrr-450841fe05f81be2ac60fe2b4312cefdbeef1460.tar.xz
frr-450841fe05f81be2ac60fe2b4312cefdbeef1460.zip
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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index 81877f745..bc1aa1295 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"