diff options
| author | Javier Garcia <javier.martin.garcia@ibm.com> | 2022-02-24 11:31:18 +0100 | 
|---|---|---|
| committer | Javier Garcia <javier.martin.garcia@ibm.com> | 2022-03-02 16:20:44 +0100 | 
| commit | a2cac12a634e24d0a6f83ce625900e2b9fb242ae (patch) | |
| tree | 8c67383ac3997c3f92364b5f7bf281f104f694a2 /isisd/isisd.h | |
| parent | a21177f28059ba068dbcbb62c16f71dc7f2d16fb (diff) | |
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.h | 12 | 
1 files changed, 9 insertions, 3 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h index 7f8474a5f2..c313fd9ef7 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"  | 
