summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-09-02 16:07:15 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-09-03 10:54:16 -0400
commit221bbedb11682b895e5efcf24d911797fc24fc45 (patch)
treea010e1fdae91a22ea4661de13fcb12609e882edc
parent09209b4858faa6cf86019f6047a8cb0d2c7146cf (diff)
tests: Speedup ldp-topo1 tests
These ospf timer changes, speed up convergence from ~85 seconds to ~40 seconds. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--tests/topotests/ldp-topo1/r1/ospfd.conf4
-rw-r--r--tests/topotests/ldp-topo1/r2/ospfd.conf12
-rw-r--r--tests/topotests/ldp-topo1/r3/ospfd.conf8
-rw-r--r--tests/topotests/ldp-topo1/r4/ospfd.conf4
4 files changed, 28 insertions, 0 deletions
diff --git a/tests/topotests/ldp-topo1/r1/ospfd.conf b/tests/topotests/ldp-topo1/r1/ospfd.conf
index 6daf034d18..87d5703d9e 100644
--- a/tests/topotests/ldp-topo1/r1/ospfd.conf
+++ b/tests/topotests/ldp-topo1/r1/ospfd.conf
@@ -5,3 +5,7 @@ router ospf
router-id 1.1.1.1
network 0.0.0.0/0 area 0
!
+int r1-eth0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+!
diff --git a/tests/topotests/ldp-topo1/r2/ospfd.conf b/tests/topotests/ldp-topo1/r2/ospfd.conf
index 8678813665..dbed6189c8 100644
--- a/tests/topotests/ldp-topo1/r2/ospfd.conf
+++ b/tests/topotests/ldp-topo1/r2/ospfd.conf
@@ -5,3 +5,15 @@ router ospf
router-id 2.2.2.2
network 0.0.0.0/0 area 0
!
+int r2-eth0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 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
+!
diff --git a/tests/topotests/ldp-topo1/r3/ospfd.conf b/tests/topotests/ldp-topo1/r3/ospfd.conf
index 202be238ec..bd86fe4f24 100644
--- a/tests/topotests/ldp-topo1/r3/ospfd.conf
+++ b/tests/topotests/ldp-topo1/r3/ospfd.conf
@@ -6,3 +6,11 @@ router ospf
router-id 3.3.3.3
network 0.0.0.0/0 area 0
!
+int r3-eth0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+!
+int r3-eth1
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+!
diff --git a/tests/topotests/ldp-topo1/r4/ospfd.conf b/tests/topotests/ldp-topo1/r4/ospfd.conf
index 569dbc54e2..5aae885a12 100644
--- a/tests/topotests/ldp-topo1/r4/ospfd.conf
+++ b/tests/topotests/ldp-topo1/r4/ospfd.conf
@@ -5,3 +5,7 @@ router ospf
router-id 4.4.4.4
network 0.0.0.0/0 area 0
!
+int r4-eth0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+!