]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_vty.c
ospfd: show ip ospf route json support
authorChirag Shah <chirag@cumulusnetworks.com>
Sun, 19 Nov 2017 06:26:50 +0000 (22:26 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Sun, 26 Nov 2017 17:18:19 +0000 (09:18 -0800)
commit0f478e3050ce918402bcc718569c8918cc1eef4a
treee23c8750e8616e3146ef2c06bab288359486c0f8
parent88d771091b532ada60d2ca12038275d6e7bc0ac3
ospfd: show ip ospf route json support

Define JSON_C_TO_STRING_NOSLASHESCAPE used for
escaping forward slash.

Disply json output for
'show ip ospf route [vrf all] json'

Ticket:CM-18659
Reviewed By:
Testing Done:
Configure multiple non-default VRF, inject external routes
via redistribute to ospf area.
checked show ip ospf route vrf all /json based output.

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