diff options
| author | Russ White <russ@riw.us> | 2022-03-08 11:15:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-08 11:15:25 -0500 |
| commit | 82934a6a326977b40dd2d31772e6e4c7f2953d0b (patch) | |
| tree | 7b258b5eab8bd02690ddbe22b35bdb468a489784 /isisd/isis_lsp.h | |
| parent | 5e412c5e73fb17617af297f9e7120246e4b1b0c6 (diff) | |
| parent | 432f14321284d306d1e6a3e2d3be8ef265929bb9 (diff) | |
Merge pull request #10701 from rampxxxx/feat_isis_json_show_cmds
Feat isis json show cmds
Diffstat (limited to 'isisd/isis_lsp.h')
| -rw-r--r-- | isisd/isis_lsp.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/isisd/isis_lsp.h b/isisd/isis_lsp.h index f42d702b37..b13b2a35e6 100644 --- a/isisd/isis_lsp.h +++ b/isisd/isis_lsp.h @@ -120,12 +120,19 @@ void lsp_update(struct isis_lsp *lsp, struct isis_lsp_hdr *hdr, void lsp_inc_seqno(struct isis_lsp *lsp, uint32_t seqno); void lspid_print(uint8_t *lsp_id, char *dest, size_t dest_len, char dynhost, char frag, struct isis *isis); -void lsp_print(struct isis_lsp *lsp, struct vty *vty, char dynhost, - struct isis *isis); -void lsp_print_detail(struct isis_lsp *lsp, struct vty *vty, char dynhost, +void lsp_print_common(struct isis_lsp *lsp, struct vty *vty, + struct json_object *json, char dynhost, struct isis *isis); -int lsp_print_all(struct vty *vty, struct lspdb_head *head, char detail, - char dynhost, struct isis *isis); +void lsp_print_vty(struct isis_lsp *lsp, struct vty *vty, char dynhost, + struct isis *isis); +void lsp_print_json(struct isis_lsp *lsp, struct json_object *json, + char dynhost, struct isis *isis); +void lsp_print_detail(struct isis_lsp *lsp, struct vty *vty, + struct json_object *json, char dynhost, + struct isis *isis); +int lsp_print_all(struct vty *vty, struct json_object *json, + struct lspdb_head *head, char detail, char dynhost, + struct isis *isis); /* sets SRMflags for all active circuits of an lsp */ void lsp_set_all_srmflags(struct isis_lsp *lsp, bool set); |
