]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Do not announce routes immediatelly on filter updates 13138/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 28 Mar 2023 13:18:47 +0000 (16:18 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 30 Mar 2023 06:38:43 +0000 (09:38 +0300)
commit90b54e70f9d2afe3c4168569fad1056ac41ff367
treebac8cbe02bd9097c8f0c9f7ecc8431bbe28f8d2f
parent5620fe8de0f3dcb6001d67d9895bd0f31d89a027
bgpd: Do not announce routes immediatelly on filter updates

If we set `bgp route-map delay-timer X`, we should ignore starting to announce
routes immediately, and wait for delay timer to expire (or ignore at all if set
to zero).

f1aa49293a4a8302b70989aaa9ceb715385c3a7e broke this because we always sent
route refresh and on receiving BoRR before sending back EoRR.

Let's get fix this.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 4d8e44c7538c6479ac99ec842bebc42a1e6b2ebc)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgpd.c
tests/topotests/bgp_route_map_delay_timer/__init__.py [new file with mode: 0644]
tests/topotests/bgp_route_map_delay_timer/r1/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_route_map_delay_timer/r1/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_route_map_delay_timer/r2/bgpd.conf [new file with mode: 0644]
tests/topotests/bgp_route_map_delay_timer/r2/zebra.conf [new file with mode: 0644]
tests/topotests/bgp_route_map_delay_timer/test_bgp_route_map_delay_timer.py [new file with mode: 0644]