]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: display bgp neighbor advertised-routes json warning message
authorSarita Patra <saritap@vmware.com>
Tue, 14 May 2019 13:22:19 +0000 (06:22 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 16 May 2019 20:35:48 +0000 (16:35 -0400)
commit873382966c2ebfc1ecc8115815b41eea58e9b6ac
tree66f4eb4655f9a8baf9ca03481d3181f3e2c2244f
parent570d6e726e00790579e815e84846fb3625bee7a7
bgpd: display bgp neighbor advertised-routes json warning message

Issue 1:
Getting an empty json without any warning message, while executing
the command "show ip bgp neighbor <x.x.x.x> advertised-routes
json" when the bgp instance is not present or getting created.

Issue 2:
Getting an empty json without any warning message, while executing
the command "show ip bgp vrf/view <name> advertised-routes json"
when the specified view/vrf is not present.

Fix:
Display warning message while executing the above cli commands, when
the bgp instance, specified vrf is not present.

Signed-off-by: Sarita Patra <saritap@vmware.com>
bgpd/bgp_vty.c