]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Do not announce routes immediatelly on filter updates
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 28 Mar 2023 13:18:47 +0000 (16:18 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 28 Mar 2023 15:51:48 +0000 (18:51 +0300)
commit4d8e44c7538c6479ac99ec842bebc42a1e6b2ebc
treeef2acea33e792457c54dd8251f3b0b8db858ceda
parentc4e3d5569f56faf615a6177aadc6e614dd88684c
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>
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]