summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorSindhu Parvathi Gopinathan <sgopinathan@nvidia.com>2022-11-10 02:18:16 -0800
committerChirag Shah <chirag@nvidia.com>2022-12-16 08:46:10 -0800
commit2c248c3ed275a850ad5889e9fe049e072d4a9da0 (patch)
tree94c34e248a693226b45f848064d027fca5524fc8 /ospf6d/ospf6_interface.c
parent7b78f6c87f8e1e8cb6804ef7e8ea7dac43836593 (diff)
ospfd: json support for show ip ospf border-routers
show ip ospf border-routers json support added. commands: - show ip ospf vrf default border-routers json - show ip ospf vrf all border-routers json - show ip ospf border-routers json Testing Done: Unit testing completed. rut# show ip ospf vrf all border-routers json { "default":{ "vrfName":"default", "vrfId":0, "routers":{ "0.0.0.8":{ "routeType":"R ", "cost":10, "area":"0.0.0.1", "routerType":"abr", "nexthops":[ { "ip":"12.0.0.2", "via":"swp1" } ] }, "0.0.0.9":{ "routeType":"R ", "cost":10, "area":"0.0.0.1", "routerType":"abr", "nexthops":[ { "ip":"12.0.1.2", "via":"swp2" } ] } } } } rut# rut# show ip ospf vrf all border-routers json { "default":{ "vrfName":"default", "vrfId":0, "routers":{ "0.0.0.15":{ "routeType":"R ", "cost":30, "area":"0.0.0.0", "routerType":"abr", "nexthops":[ { "ip":"11.0.0.2", "via":"br1" } ] } } } } rut# show ip ospf border-routers json { "routers":{ "0.0.0.15":{ "routeType":"R ", "cost":30, "area":"0.0.0.0", "routerType":"abr", "nexthops":[ { "ip":"11.0.0.2", "via":"br1" } ] } } } Ticket:#3229017 Issue:3229017 Co-authored-by: Chirag Shah <chirag@nvidia.com> Signed-off-by: Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions