]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Allow `network XXX` to work with bgp suppress-fib-pending 12131/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 12 Oct 2022 18:53:21 +0000 (14:53 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 14 Oct 2022 07:13:45 +0000 (07:13 +0000)
commit57c1c133358462c8629a1d439a44a2b4c0881553
tree8bc97b3df357fdb5c758a1e25b19136d7b258753
parent221939124080b7ee9e5dca601ac22fc1a7d789f5
bgpd: Allow `network XXX` to work with bgp suppress-fib-pending

When bgp is using `bgp suppress-fib-pending` and the end
operator is using network statements, bgp was not sending
the network'ed prefix'es to it's peers.  Fix this.

Also update the test cases for bgp_suppress_fib to test
this new corner case( I am sure that there are going to
be others that will need to be added ).

Fixes: #12112
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit 4801fc4670020406fc609dedabc7482d88e3b656)
bgpd/bgp_route.h
tests/topotests/bgp_suppress_fib/r1/bgp_ipv4_allowas.json
tests/topotests/bgp_suppress_fib/r2/bgp_ipv4_allowas.json
tests/topotests/bgp_suppress_fib/r2/bgpd.conf
tests/topotests/bgp_suppress_fib/r2/zebra.conf
tests/topotests/bgp_suppress_fib/r3/v4_route3.json [new file with mode: 0644]
tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py