Go to file
Chirag Shah cef262c34a ospfd: fix show ospf neigh json for multile nbrs
Same neighbor learned from multiple ospf interfaces
(all) were not displayed in json, only last was displayed.
Created list within dictionary using neighbor-id as key.
lookup neigbhor-id in json obejct prior to creating new list.

spine-2# show ip ospf neighbor

Neighbor ID   Pri State     Dead Time Address     Interface
0.0.1.16        1 Full/DR   36.754s   8.0.3.15    swp1:8.0.3.16
0.0.1.16        1 Full/DR   30.903s   7.0.3.15    swp2:7.0.3.16

spine-2# show ip ospf neighbor json
{
   "0.0.1.16":[
   {
      "priority":1,
         "state":"Full\/DR",
         "deadTimeMsecs":35114,
         "address":"8.0.3.15",
         "ifaceName":"swp1:8.0.3.16",
         "retransmitCounter":0,
         "requestCounter":0,
         "dbSummaryCounter":0
   },
   {
      "priority":1,
      "state":"Full\/DR",
      "deadTimeMsecs":39264,
      "address":"7.0.3.15",
      "ifaceName":"swp2:7.0.3.16",
      "retransmitCounter":0,
      "requestCounter":0,
      "dbSummaryCounter":0
   }
   ]
}

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2017-10-30 19:31:28 -07:00
babeld *: Modify zclient_init to require privs data 2017-10-23 18:12:29 -04:00
bgpd *: fix coverity warnings - error handling issues 2017-10-24 19:30:30 -02:00
debian debian: Add iproute2 as dependency alternative in Debian package 2017-10-04 22:18:01 +02:00
doc Merge pull request #1120 from donaldsharp/branch_million 2017-10-11 00:36:07 -07:00
eigrpd *: fix coverity warnings - error handling issues 2017-10-24 19:30:30 -02:00
fpm build: clean up BUILT_SOURCES 2017-08-04 11:13:55 +02:00
gdb gdb: Add a directory of files with gdb macros 2016-05-26 15:33:30 +00:00
include build: include our own copies of some linux kernel headers 2017-10-24 09:20:12 -02:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd Merge pull request #1358 from opensourcerouting/isis-lsp_tick-fixes 2017-10-25 09:19:06 -04:00
ldpd *: Modify zclient_init to require privs data 2017-10-23 18:12:29 -04:00
lib Merge pull request #1174 from opensourcerouting/show_route_defpy 2017-10-27 10:00:57 -04:00
m4 build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
nhrpd *: add missing \n in some help strings 2017-10-24 19:30:30 -02:00
ospf6d *: Modify zclient_init to require privs data 2017-10-23 18:12:29 -04:00
ospfclient Merge pull request #911 from opensourcerouting/non-recursive-2 2017-08-09 14:38:07 -04:00
ospfd ospfd: fix show ospf neigh json for multile nbrs 2017-10-30 19:31:28 -07:00
pimd pimd: Cleanup vrf SA issues exposed by recent commits 2017-10-25 13:43:51 -04:00
pkgsrc build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
ports pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
python zebra: unify the ipv4/ipv6 'show ip route' commands - part 1/2 2017-10-24 10:12:40 -02:00
qpb build: clean up BUILT_SOURCES 2017-08-04 11:13:55 +02:00
redhat redhat: Fix doc by removing outdated package information and point to main doc/ directory for it 2017-10-20 18:56:26 -07:00
ripd *: Modify zclient_init to require privs data 2017-10-23 18:12:29 -04:00
ripngd *: fix coverity warnings - resource leaks 2017-10-24 19:30:30 -02:00
snapcraft build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
solaris gitignore: update references to FRR 2017-07-12 11:55:04 -05:00
tests isisd: Allow struct zebra_privs_t to be available 2017-10-23 18:09:23 -04:00
tools *: fix coverity warnings - resource leaks 2017-10-24 19:30:30 -02:00
vtysh vtysh: properly fix memory leak 2017-10-25 07:56:42 -02:00
watchfrr watchfrr: Add a empty 'show debug..' command 2017-09-26 16:29:31 -04:00
zebra Merge pull request #1356 from opensourcerouting/linux-headers 2017-10-27 10:12:43 -04:00
.clang-format *: use the FOR_ALL_INTERFACES abstraction from babeld 2017-10-10 09:05:46 -03:00
.dir-locals.el Initial take on project emacs variables file and settings. Sets tabs for c-mode. 2017-08-10 14:07:28 -04:00
.gitignore *: ignore .dirstamp 2017-08-09 13:48:31 -04:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
ChangeLog Rename: freerangerouting --> frrouting 2017-03-30 14:24:05 -04:00
common.am python/clippy: make output file writing less weird 2017-08-24 00:18:53 +02:00
COMMUNITY.md doc: add docs for commit message format 2017-10-04 15:41:34 -04:00
configure.ac configure: Have --enable-dev-build turn on better debugging. 2017-09-29 10:01:19 -04:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
defaults.h *: reindent 2017-07-17 14:04:07 +02:00
git-reindent-branch.py *: update git-reindent-branch.py 2017-08-22 18:51:31 +02:00
indent.py *: add indent control files 2017-07-17 14:00:23 +02:00
Makefile.am build: include our own copies of some linux kernel headers 2017-10-24 09:20:12 -02:00
NEWS release: 0.99.24 2016-06-03 15:56:44 -04:00
README README: add references to EIGRP and NHRP. 2017-05-12 22:51:45 +02:00
README.NetBSD config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
render_md.py build: number sections in COMMUNITY.md HTML 2016-12-05 19:08:00 +01:00
REPORTING-BUGS config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
SERVICES babeld/eigrpd: flip VTY ports & fix rpm 2017-06-13 14:36:55 +02:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
update-autotools * README.NetBSD: use update-autotools instead of autoreconf 2007-02-02 16:52:38 +00:00

FRRouting is free software that manages various IPv4 and IPv6 routing
protocols.

Currently FRRouting supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, RIPng, PIM-SM/MSDP and LDP as well as very early support for IS-IS,
EIGRP and NHRP.

See the file REPORTING-BUGS to report bugs.

Free RRRouting is free software. See the file COPYING for copying conditions.

Public email discussion can be found at https://lists.frrouting.org/listinfo

Our public slack channel is at https://frrouting.slack.com