diff options
author | Sarita Patra <saritap@vmware.com> | 2022-07-12 16:15:07 +0200 |
---|---|---|
committer | Sarita Patra <saritap@vmware.com> | 2022-10-20 10:07:48 +0200 |
commit | a07e7dfaeeae6b64e654feb768e2c7c1ab97c34f (patch) | |
tree | c3e3e84b97afa0fc6c005d4f164de00d8c01a360 /pimd/pim_cmd_common.h | |
parent | pim6d: Add "show ipv6 pim bsr [vrf NAME] [json] cmd" (diff) | |
download | frr-a07e7dfaeeae6b64e654feb768e2c7c1ab97c34f.tar.xz frr-a07e7dfaeeae6b64e654feb768e2c7c1ab97c34f.zip |
pimd: Move "show ip pim bsrp-info [vrf] [json]" cmd to DEFPY
Added pim_show_group_rp_mappings_info_helper to suppport both PIM and
PIMV6.
pim_show_group_rp_mappings_info() is moved to pim_cmd_common.c file.
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to '')
-rw-r--r-- | pimd/pim_cmd_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h index 5ab2fabd0..22e23170d 100644 --- a/pimd/pim_cmd_common.h +++ b/pimd/pim_cmd_common.h @@ -118,6 +118,8 @@ void pim_show_neighbors_single(struct pim_instance *pim, struct vty *vty, const char *neighbor, json_object *json); void pim_show_neighbors(struct pim_instance *pim, struct vty *vty, json_object *json); +int pim_show_group_rp_mappings_info_helper(const char *vrf, struct vty *vty, + bool uj); int gm_process_query_max_response_time_cmd(struct vty *vty, const char *qmrt_str); int gm_process_no_query_max_response_time_cmd(struct vty *vty); |