]> 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)
committerSarita Patra <saritap@vmware.com>
Tue, 14 May 2019 19:11:34 +0000 (12:11 -0700)
commit52e5b8c40827ea7444f6a837d056b18d35cb031d
tree42ad6a501ef065c0ae4a6c2bc5892d36981811cc
parent764252d0ab48563eb171e09ce9d53e249e6e8a27
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