]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_interface.h
ospfd: show ip ospf neighbor json output format
authorChirag Shah <chirag@cumulusnetworks.com>
Sat, 20 Jan 2018 02:17:53 +0000 (18:17 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Sun, 21 Jan 2018 03:30:59 +0000 (19:30 -0800)
commit2bc7673f110a92c7a20f170daf9b34d8c8190f8a
tree7464fddff1091feaece4468d6507536b60a5ade6
parent4ff9eb721d5b089a86070f03282c3d0843194504
ospfd: show ip ospf neighbor json output format

Current json output does not differentiate start of
neighbor ip object. Adding "neighbors" keyword at the
beginning of neighbor list. This is useful when
displaying vrf level output along with neighbors
list.

Ticket:CM-19097
Testing Done:
show ip ospf neighbor json
show ip ospf vrf all neighbor json

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospfd/ospf_interface.c
ospfd/ospf_interface.h
ospfd/ospf_vty.c