summaryrefslogtreecommitdiffstats
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorJavier Garcia <javier.martin.garcia@ibm.com>2022-02-24 11:31:18 +0100
committerJavier Garcia <javier.martin.garcia@ibm.com>2022-03-02 16:20:44 +0100
commita2cac12a634e24d0a6f83ce625900e2b9fb242ae (patch)
tree8c67383ac3997c3f92364b5f7bf281f104f694a2 /isisd/isisd.h
parentisisd: Add json to show isis neighbor command. (diff)
downloadfrr-a2cac12a634e24d0a6f83ce625900e2b9fb242ae.tar.xz
frr-a2cac12a634e24d0a6f83ce625900e2b9fb242ae.zip
isisd: Add json to show isis database command.
Signed-off-by: Javier Garcia <javier.martin.garcia@ibm.com>
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r--isisd/isisd.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index 7f8474a5f..c313fd9ef 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -89,6 +89,8 @@ struct isis_master {
};
#define F_ISIS_UNIT_TEST 0x01
+#define ISIS_DEFAULT_MAX_AREA_ADDRESSES 3
+
struct isis {
vrf_id_t vrf_id;
char *name;
@@ -305,9 +307,13 @@ int isis_area_passwd_cleartext_set(struct isis_area *area, int level,
const char *passwd, uint8_t snp_auth);
int isis_area_passwd_hmac_md5_set(struct isis_area *area, int level,
const char *passwd, uint8_t snp_auth);
-void show_isis_database_lspdb(struct vty *vty, struct isis_area *area,
- int level, struct lspdb_head *lspdb,
- const char *argv, int ui_level);
+void show_isis_database_lspdb_json(struct json_object *json,
+ struct isis_area *area, int level,
+ struct lspdb_head *lspdb, const char *argv,
+ int ui_level);
+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);
/* YANG paths */
#define ISIS_INSTANCE "/frr-isisd:isis/instance"