From bd7fb46e5be030f76e9a209329d2cd944743fe52 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 19 May 2021 16:01:01 -0400 Subject: [PATCH] tests: Speedup ospf_sr_topo1 by over 100 seconds Add some basic timer operations to speed up convergence. Signed-off-by: Donald Sharp --- tests/topotests/ospf_sr_topo1/rt1/ospfd.conf | 2 ++ tests/topotests/ospf_sr_topo1/rt2/ospfd.conf | 6 ++++++ tests/topotests/ospf_sr_topo1/rt3/ospfd.conf | 6 ++++++ tests/topotests/ospf_sr_topo1/rt4/ospfd.conf | 8 ++++++++ tests/topotests/ospf_sr_topo1/rt5/ospfd.conf | 8 ++++++++ tests/topotests/ospf_sr_topo1/rt6/ospfd.conf | 4 ++++ 6 files changed, 34 insertions(+) diff --git a/tests/topotests/ospf_sr_topo1/rt1/ospfd.conf b/tests/topotests/ospf_sr_topo1/rt1/ospfd.conf index 94dba7c061..6a12ae5011 100644 --- a/tests/topotests/ospf_sr_topo1/rt1/ospfd.conf +++ b/tests/topotests/ospf_sr_topo1/rt1/ospfd.conf @@ -12,6 +12,8 @@ interface lo ! interface eth-sw1 ip ospf network broadcast + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! router ospf ospf router-id 1.1.1.1 diff --git a/tests/topotests/ospf_sr_topo1/rt2/ospfd.conf b/tests/topotests/ospf_sr_topo1/rt2/ospfd.conf index b47e788062..adf4d09235 100644 --- a/tests/topotests/ospf_sr_topo1/rt2/ospfd.conf +++ b/tests/topotests/ospf_sr_topo1/rt2/ospfd.conf @@ -12,12 +12,18 @@ interface lo ! interface eth-sw1 ip ospf network broadcast + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt4-1 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt4-2 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! router ospf ospf router-id 2.2.2.2 diff --git a/tests/topotests/ospf_sr_topo1/rt3/ospfd.conf b/tests/topotests/ospf_sr_topo1/rt3/ospfd.conf index 238d82ff97..c45c1069fb 100644 --- a/tests/topotests/ospf_sr_topo1/rt3/ospfd.conf +++ b/tests/topotests/ospf_sr_topo1/rt3/ospfd.conf @@ -12,12 +12,18 @@ interface lo ! interface eth-sw1 ip ospf network broadcast + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt5-1 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt5-2 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! router ospf ospf router-id 3.3.3.3 diff --git a/tests/topotests/ospf_sr_topo1/rt4/ospfd.conf b/tests/topotests/ospf_sr_topo1/rt4/ospfd.conf index b12e0729ad..9853ce64cf 100644 --- a/tests/topotests/ospf_sr_topo1/rt4/ospfd.conf +++ b/tests/topotests/ospf_sr_topo1/rt4/ospfd.conf @@ -12,15 +12,23 @@ interface lo ! interface eth-rt2-1 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt2-2 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt5 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt6 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! router ospf ospf router-id 4.4.4.4 diff --git a/tests/topotests/ospf_sr_topo1/rt5/ospfd.conf b/tests/topotests/ospf_sr_topo1/rt5/ospfd.conf index 4e7b24c03a..e6a755c430 100644 --- a/tests/topotests/ospf_sr_topo1/rt5/ospfd.conf +++ b/tests/topotests/ospf_sr_topo1/rt5/ospfd.conf @@ -12,15 +12,23 @@ interface lo ! interface eth-rt3-1 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt3-2 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt4 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt6 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! router ospf ospf router-id 5.5.5.5 diff --git a/tests/topotests/ospf_sr_topo1/rt6/ospfd.conf b/tests/topotests/ospf_sr_topo1/rt6/ospfd.conf index c6d07d169e..1ec71e4454 100644 --- a/tests/topotests/ospf_sr_topo1/rt6/ospfd.conf +++ b/tests/topotests/ospf_sr_topo1/rt6/ospfd.conf @@ -12,9 +12,13 @@ interface lo ! interface eth-rt4 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! interface eth-rt5 ip ospf network point-to-point + ip ospf hello-interval 2 + ip ospf dead-interval 10 ! router ospf ospf router-id 6.6.6.6 -- 2.39.5