]> git.puffer.fish Git - mirror/frr.git/commit
Quagga: bgpd needs extra neighbor and route json attributes for SNMP BGP4 MIB
authorSam Tannous <stannous@cumulusnetworks.com>
Mon, 13 Jun 2016 22:39:57 +0000 (15:39 -0700)
committerSam Tannous <stannous@cumulusnetworks.com>
Mon, 13 Jun 2016 22:39:57 +0000 (15:39 -0700)
commit39e871e6f31dc044ac009096e8b4fa11d96414b0
treedc896d8df3e5c002759743505e14d57443faf9e2
parent858fae6cb2e241f51b8a1eb025b380556610bbe3
Quagga: bgpd needs extra neighbor and route json attributes for SNMP BGP4 MIB

Ticket: CM-11344
Reviewed By: dwalton, dsharp
Testing Done: built and tested amd64 debs

This patch adds the peerID JSON attribute for routes for show ip bgp json.
It also corrects the bgpTimerLastWrite in show ip bgp neigh json as well
as adds bgpInUpdateElapsedTimeMsecs, lastErrorCodeSubcode, and connectRetryTimer.
These are needed for the bgp4 mib implementation (rfc 4273) from the json
output of vtysh commands.
bgpd/bgp_route.c
bgpd/bgp_vty.c