mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 12:52:49 +00:00
![]() Same ospf neigbor can be learnt via multiple interfaces, ospf detail json only displayed last instance only. Fix json output format to contain "neighbors" keyword, under which to display all neighbors for a given vrf. Fix show ip ospf neighbor detail json show ip ospf neighbor detail all json show ip ospf neighbor <intf name> detail json Ticket:CM-25528 Reviewed By: Testing Done: Run the output with JSON formatter and the output has passed. switch1# show ip ospf vrf all neighbor detail json { "default":{ "vrfName":"default", "vrfId":0, "neighbors":{ "0.0.0.2":[ { "ifaceAddress":"14.0.0.22", "areaId":"0.0.0.0", "ifaceName":"Bridge1.510", "nbrPriority":1, "nbrState":"Full", "stateChangeCounter":6, "lastPrgrsvChangeMsec":82668, "routerDesignatedId":"14.0.0.22", "routerDesignatedBackupId":"14.0.0.21", "optionsCounter":2, "optionsList":"*|-|-|-|-|-|E|-", "routerDeadIntervalTimerDueMsec":36195, "databaseSummaryListCounter":0, "linkStateRequestListCounter":0, "linkStateRetransmissionListCounter":0, "threadInactivityTimer":"on", "threadLinkStateRequestRetransmission":"on", "threadLinkStateUpdateRetransmission":"on", "peerBfdInfo":{ "type":"single hop", "detectMultiplier":4, "rxMinInterval":600, "txMinInterval":800, "status":"Down", "lastUpdate":"0:00:00:29" } }, { "ifaceAddress":"14.0.0.26", "areaId":"0.0.0.0", "ifaceName":"Bridge1.511", "nbrPriority":1, "nbrState":"Full", "stateChangeCounter":6, "lastPrgrsvChangeMsec":82658, "routerDesignatedId":"14.0.0.26", "routerDesignatedBackupId":"14.0.0.25", "optionsCounter":2, "optionsList":"*|-|-|-|-|-|E|-", "routerDeadIntervalTimerDueMsec":36196, "databaseSummaryListCounter":0, "linkStateRequestListCounter":0, "linkStateRetransmissionListCounter":0, "threadInactivityTimer":"on", "threadLinkStateRequestRetransmission":"on", "threadLinkStateUpdateRetransmission":"on" }, ] } } } Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com> |
||
---|---|---|
.. | ||
.gitignore | ||
ChangeLog.opaque.txt | ||
Makefile | ||
ospf_abr.c | ||
ospf_abr.h | ||
ospf_api.c | ||
ospf_api.h | ||
ospf_apiserver.c | ||
ospf_apiserver.h | ||
ospf_asbr.c | ||
ospf_asbr.h | ||
ospf_ase.c | ||
ospf_ase.h | ||
ospf_bfd.c | ||
ospf_bfd.h | ||
ospf_dump_api.c | ||
ospf_dump_api.h | ||
ospf_dump.c | ||
ospf_dump.h | ||
ospf_errors.c | ||
ospf_errors.h | ||
ospf_ext.c | ||
ospf_ext.h | ||
ospf_flood.c | ||
ospf_flood.h | ||
ospf_ia.c | ||
ospf_ia.h | ||
ospf_interface.c | ||
ospf_interface.h | ||
ospf_ism.c | ||
ospf_ism.h | ||
ospf_lsa.c | ||
ospf_lsa.h | ||
ospf_lsdb.c | ||
ospf_lsdb.h | ||
ospf_main.c | ||
ospf_memory.c | ||
ospf_memory.h | ||
ospf_neighbor.c | ||
ospf_neighbor.h | ||
ospf_network.c | ||
ospf_network.h | ||
ospf_nsm.c | ||
ospf_nsm.h | ||
ospf_opaque.c | ||
ospf_opaque.h | ||
ospf_packet.c | ||
ospf_packet.h | ||
ospf_ri.c | ||
ospf_ri.h | ||
ospf_route.c | ||
ospf_route.h | ||
ospf_routemap.c | ||
ospf_snmp.c | ||
ospf_spf.c | ||
ospf_spf.h | ||
ospf_sr.c | ||
ospf_sr.h | ||
ospf_te.c | ||
ospf_te.h | ||
ospf_vty.c | ||
ospf_vty.h | ||
ospf_zebra.c | ||
ospf_zebra.h | ||
OSPF-ALIGNMENT.txt | ||
ospfd.c | ||
ospfd.conf.sample | ||
ospfd.h | ||
subdir.am |