]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Delay initial OPEN after we do `clear bgp`
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 24 Jul 2024 11:30:32 +0000 (14:30 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 24 Jul 2024 11:30:32 +0000 (14:30 +0300)
Under some circumstances it might happen that the session is quickly UP in the
middle of `clear bgp ...` and `shutdown`. That leads to session be UP, and
the stale routes being cleared quickly.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
tests/topotests/bgp_gr_notification/r1/bgpd.conf
tests/topotests/bgp_gr_notification/r2/bgpd.conf

index 6119f67436296bd08951c157a86f6c0b2fe19267..0af042f6be592a3314d93ba144f7b6cd186b325a 100644 (file)
@@ -3,7 +3,7 @@ router bgp 65001
  bgp graceful-restart
  neighbor 192.168.255.2 remote-as external
  neighbor 192.168.255.2 timers 1 3
- neighbor 192.168.255.2 timers connect 1
+ neighbor 192.168.255.2 timers delayopen 10
  address-family ipv4
   redistribute connected
  exit-address-family
index 05e17f05648858e2964994f7dc0e97b3f2629927..8325e21d2c1e8fd4c212876406b214872545bdd7 100644 (file)
@@ -4,7 +4,7 @@ router bgp 65002
  bgp graceful-restart
  neighbor 192.168.255.1 remote-as external
  neighbor 192.168.255.1 timers 1 3
- neighbor 192.168.255.1 timers connect 1
+ neighbor 192.168.255.1 timers delayopen 10
  address-family ipv4
   redistribute connected
  exit-address-family