]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_cmd.c
pimd: fix pim interface traffic & pim rp-info json command
authorSarita Patra <saritap@vmware.com>
Mon, 2 Mar 2020 09:10:22 +0000 (01:10 -0800)
committerSarita Patra <saritap@vmware.com>
Tue, 17 Mar 2020 04:44:38 +0000 (21:44 -0700)
commita7a5472ef2cc6077c91617e26252a6a496ab107a
treec2299045eb2d4f6f7b0386497613dbac846b1a9c
parentf61182b9317274f7b8b0fe9b20aeb10205d103be
pimd: fix pim interface traffic & pim rp-info json command

Issue 1: "show ip pim interface traffic" not show prune TX/RX
Rootcause : not added the variable in the json
Fix : add prune TX/RX in show ip pim interface traffic json

Issue 2: "show ip pim rp-info" not shows the key iAmRp when it is false
Rootcause: Only display the key when the value is true.
Fix: add iAmRp as false in show ip pim rp-info json

Issue 3: "show ip pim rp-info" not showing outbound interface if it is empty
Rootcause: Only display when there is any OIL

Fix: When RP is not reachable then, the outbound interface is Unknown
The command "show ip pim rp-info json" not displaying the outbound
interafce if it is unknown

Signed-off-by: Sarita Patra <saritap@vmware.com>
libyang [new submodule]
pimd/pim_cmd.c
pimd/pim_rp.c