]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: implement bgpPeerTable accross VRFs 6872/head
authorVincent Bernat <vincent@bernat.ch>
Thu, 6 Aug 2020 15:23:06 +0000 (17:23 +0200)
committerVincent Bernat <vincent@bernat.ch>
Thu, 6 Aug 2020 16:04:44 +0000 (18:04 +0200)
commit55443115621c4e1b7b2478bdf5d1d19178b6cf06
tree0c1f835bc50e4cb7a0c0489c0065ff8acff7e1ee
parentb6c86dc1971294183a6c69529524c3a11af8d152
bgpd: implement bgpPeerTable accross VRFs

Currently, bgpPeerTable only looks the default BGP instance. Most
vendors return all the available peers in this table. This commit
exposes all BGP instances.

The other tables are unchanged as it doesn't make sense to expose
routes from random VRFs into a single table. Vendors are using SNMP
contexts for that but we don't have support for it. Therefore, do
nothing.

Fix #6077

Signed-off-by: Vincent Bernat <vincent@bernat.ch>
bgpd/bgp_snmp.c