]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Speedup bgp_rfapi_basic_sanity run
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 3 Sep 2020 13:20:12 +0000 (09:20 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 3 Sep 2020 14:54:16 +0000 (10:54 -0400)
Decrease run time from ~70 seconds to ~41 seconds by
reducing hello/dead interval timers in ospf

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tests/topotests/bgp_rfapi_basic_sanity/r1/ospfd.conf
tests/topotests/bgp_rfapi_basic_sanity/r2/ospfd.conf
tests/topotests/bgp_rfapi_basic_sanity/r3/ospfd.conf
tests/topotests/bgp_rfapi_basic_sanity/r4/ospfd.conf

index c5097e214f737f986b278a599119ee99e001eb03..460a8fb0160a63ac320b157015b50496c49e86a5 100644 (file)
@@ -6,3 +6,7 @@ router ospf
  network 0.0.0.0/4 area 0
  redistribute static
 !
+int r1-eth0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+!
index 8678813665013ff81bc167cb2f79e165655c9361..dbed6189c81604a2a755c54691bebe3466450dd0 100644 (file)
@@ -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
+!
index c7c358f9dc4912fe650b7defe52f51006876ca82..0e64ed6fc59afcf2f4c0f497159c15a4972bb8f5 100644 (file)
@@ -7,3 +7,11 @@ router ospf
  network 0.0.0.0/4 area 0
  redistribute static
 !
+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
+!
index 83d09c09a48bbab1e14fa0ae9ff62473a1da4eb0..89e37df479ee99b899ffeb6f5e76358cb8ff79df 100644 (file)
@@ -6,3 +6,7 @@ router ospf
  network 0.0.0.0/4 area 0
  redistribute static
 !
+int r4-eth0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 10
+!