summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-03 08:14:46 -0400
committerGitHub <noreply@github.com>2020-09-03 08:14:46 -0400
commit09209b4858faa6cf86019f6047a8cb0d2c7146cf (patch)
treefd7501db059f398bfe310d35e196f388ba23a76b
parent371ded520bb3c0085ce6a17443fd2d0bbdda2c4a (diff)
parent4e2286abc86082f7b7e1a330add1cad25bdb6dfd (diff)
Merge pull request #7043 from donaldsharp/bgp_features_speedup
tests: Speed up bgp_features topotests by a lot
-rw-r--r--tests/topotests/bgp_features/r1/bgpd.conf4
-rw-r--r--tests/topotests/bgp_features/r1/ospfd.conf11
-rw-r--r--tests/topotests/bgp_features/r2/bgpd.conf4
-rw-r--r--tests/topotests/bgp_features/r2/ospfd.conf11
-rw-r--r--tests/topotests/bgp_features/r3/ospfd.conf11
-rw-r--r--tests/topotests/bgp_features/r4/bgpd.conf3
-rw-r--r--tests/topotests/bgp_features/r5/bgpd.conf3
7 files changed, 47 insertions, 0 deletions
diff --git a/tests/topotests/bgp_features/r1/bgpd.conf b/tests/topotests/bgp_features/r1/bgpd.conf
index 48b71fc91a..7aea2dc161 100644
--- a/tests/topotests/bgp_features/r1/bgpd.conf
+++ b/tests/topotests/bgp_features/r1/bgpd.conf
@@ -3,14 +3,18 @@ hostname r1
log file bgpd.log
!
router bgp 65000
+ timers bgp 3 10
+ coalesce-time 0
bgp router-id 192.168.0.1
bgp log-neighbor-changes
no bgp ebgp-requires-policy
neighbor 192.168.0.2 remote-as 65000
neighbor 192.168.0.2 description Router R2 (iBGP)
neighbor 192.168.0.2 update-source lo
+ neighbor 192.168.0.2 timers connect 5
neighbor 192.168.101.2 remote-as 65100
neighbor 192.168.101.2 description Router R4 (eBGP AS 65100)
+ neighbor 192.168.101.2 timers connect 5
!
address-family ipv4 unicast
network 192.168.0.0/24
diff --git a/tests/topotests/bgp_features/r1/ospfd.conf b/tests/topotests/bgp_features/r1/ospfd.conf
index 952abdec59..8f1711db7b 100644
--- a/tests/topotests/bgp_features/r1/ospfd.conf
+++ b/tests/topotests/bgp_features/r1/ospfd.conf
@@ -7,6 +7,17 @@ router ospf
ospf router-id 192.168.0.1
log-adjacency-changes
network 192.168.0.0/20 area 0.0.0.0
+ timers throttle spf 0 0 0
+ timers lsa min-arrival 10
+ timers throttle lsa all 0
+ refresh timer 10
!
line vty
+interface r1-eth1
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+!
+interface r1-eth2
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
!
diff --git a/tests/topotests/bgp_features/r2/bgpd.conf b/tests/topotests/bgp_features/r2/bgpd.conf
index 775733d1d3..3daf9842ce 100644
--- a/tests/topotests/bgp_features/r2/bgpd.conf
+++ b/tests/topotests/bgp_features/r2/bgpd.conf
@@ -4,13 +4,17 @@ log file bgpd.log
!
router bgp 65000
bgp router-id 192.168.0.2
+ timers bgp 3 10
+ coalesce-time 0
bgp log-neighbor-changes
no bgp ebgp-requires-policy
neighbor 192.168.0.1 remote-as 65000
neighbor 192.168.0.1 description Router R1 (iBGP)
neighbor 192.168.0.1 update-source lo
+ neighbor 192.168.0.1 timers connect 5
neighbor 192.168.201.2 remote-as 65200
neighbor 192.168.201.2 description Router R5 (eBGP AS 65200)
+ neighbor 192.168.201.2 timers connect 5
!
address-family ipv4 unicast
network 192.168.0.0/24
diff --git a/tests/topotests/bgp_features/r2/ospfd.conf b/tests/topotests/bgp_features/r2/ospfd.conf
index c9ebfe506e..2174fddb11 100644
--- a/tests/topotests/bgp_features/r2/ospfd.conf
+++ b/tests/topotests/bgp_features/r2/ospfd.conf
@@ -7,6 +7,17 @@ router ospf
ospf router-id 192.168.0.2
log-adjacency-changes
network 192.168.0.0/20 area 0.0.0.0
+ timers throttle spf 0 0 0
+ timers lsa min-arrival 10
+ timers throttle lsa all 0
+ refresh timer 10
+!
+int r2-eth1
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+int r2-eth2
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
!
line vty
!
diff --git a/tests/topotests/bgp_features/r3/ospfd.conf b/tests/topotests/bgp_features/r3/ospfd.conf
index a8d66f1ed3..795344fbe6 100644
--- a/tests/topotests/bgp_features/r3/ospfd.conf
+++ b/tests/topotests/bgp_features/r3/ospfd.conf
@@ -7,6 +7,17 @@ router ospf
ospf router-id 192.168.0.3
log-adjacency-changes
network 192.168.0.0/20 area 0.0.0.0
+ timers throttle spf 0 0 0
+ timers lsa min-arrival 10
+ timers throttle lsa all 0
+ refresh timer 10
+!
+int r3-eth1
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+int r3-eth2
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
!
line vty
!
diff --git a/tests/topotests/bgp_features/r4/bgpd.conf b/tests/topotests/bgp_features/r4/bgpd.conf
index 83b452b86d..fe1a4d4ffe 100644
--- a/tests/topotests/bgp_features/r4/bgpd.conf
+++ b/tests/topotests/bgp_features/r4/bgpd.conf
@@ -4,10 +4,13 @@ log file bgpd.log
!
router bgp 65100
bgp router-id 192.168.100.1
+ timers bgp 3 10
+ coalesce-time 0
bgp log-neighbor-changes
no bgp ebgp-requires-policy
neighbor 192.168.101.1 remote-as 65000
neighbor 192.168.101.1 description Router R1 (eBGP AS 65000)
+ neighbor 192.168.101.1 timers connect 5
!
address-family ipv4 unicast
network 192.168.100.0/24
diff --git a/tests/topotests/bgp_features/r5/bgpd.conf b/tests/topotests/bgp_features/r5/bgpd.conf
index a6a42a007c..8504213b41 100644
--- a/tests/topotests/bgp_features/r5/bgpd.conf
+++ b/tests/topotests/bgp_features/r5/bgpd.conf
@@ -4,10 +4,13 @@ log file bgpd.log
!
router bgp 65200
bgp router-id 192.168.200.1
+ timers bgp 3 10
+ coalesce-time 0
bgp log-neighbor-changes
no bgp ebgp-requires-policy
neighbor 192.168.201.1 remote-as 65000
neighbor 192.168.201.1 description Router R2 (eBGP AS 65000)
+ neighbor 192.168.201.1 timers connect 5
!
address-family ipv4 unicast
network 192.168.200.0/24