]> git.puffer.fish Git - matthieu/frr.git/commitdiff
topotests: increase OSPF convergence speed
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 5 Oct 2021 15:35:42 +0000 (12:35 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 5 Oct 2021 15:38:40 +0000 (12:38 -0300)
Reduce timers so we send hello packets more often and reduce dead
interval to converge faster.

Previous test wait amount:
> INFO: topolog: 'router_json_cmp' succeeded after 47.20 seconds

New test wait amount:
> INFO: topolog: 'router_json_cmp' succeeded after 20.08 seconds

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
tests/topotests/bfd_ospf_topo1/rt1/ospf6d.conf
tests/topotests/bfd_ospf_topo1/rt1/ospfd.conf
tests/topotests/bfd_ospf_topo1/rt2/ospf6d.conf
tests/topotests/bfd_ospf_topo1/rt2/ospfd.conf
tests/topotests/bfd_ospf_topo1/rt3/ospf6d.conf
tests/topotests/bfd_ospf_topo1/rt3/ospfd.conf
tests/topotests/bfd_ospf_topo1/rt4/ospf6d.conf
tests/topotests/bfd_ospf_topo1/rt4/ospfd.conf
tests/topotests/bfd_ospf_topo1/rt5/ospf6d.conf
tests/topotests/bfd_ospf_topo1/rt5/ospfd.conf

index 18def599b4bf58f4c8cf94b386f7e858bffb400b..98da8c261920f3ec9c4a9729e6704174d2579f21 100644 (file)
@@ -6,10 +6,14 @@ hostname rt1
 password 1
 !
 interface eth-rt2
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
  ipv6 ospf6 bfd
 !
 interface eth-rt3
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
  ipv6 ospf6 bfd
 !
index 07b42f98859c906b8a3944bd354ba0727bb6d14f..9da876500535bd25d5d7ef03e677f42294805450 100644 (file)
@@ -10,13 +10,19 @@ debug ospf zebra
 !
 interface lo
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 interface eth-rt2
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
  ip ospf bfd
 !
 interface eth-rt3
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
  ip ospf bfd
 !
 router ospf
index 2f35099564abe6420fda01e78dd09bf0e63d36e2..34b09020949a377e00c37685cc4270d9c4af55ab 100644 (file)
@@ -5,10 +5,14 @@ hostname rt2
 password 1
 !
 interface eth-rt1
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
  ipv6 ospf6 bfd
 !
 interface eth-rt5
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
 !
 router ospf6
index a05d8b58c8e7f0d5bf3ccb9084eccd1e24d845bd..11be6a14b23163eddc4fcada384da21313bedd12 100644 (file)
@@ -9,13 +9,19 @@ debug ospf zebra
 !
 interface lo
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 interface eth-rt1
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
  ip ospf bfd
 !
 interface eth-rt5
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 router ospf
  ospf router-id 2.2.2.2
index 3e8777019efa4251994e3d6fd482ad890dea4159..8ab4eee1d3c4369a766df6c47bb02d9760fe5538 100644 (file)
@@ -5,10 +5,14 @@ hostname rt3
 password 1
 !
 interface eth-rt1
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
  ipv6 ospf6 bfd
 !
 interface eth-rt4
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
 !
 router ospf6
index 1196e6d1896290717a3726ac4f593b9a8ac84914..acc54b38665e136fe66136252e501ebf666bed93 100644 (file)
@@ -9,13 +9,19 @@ debug ospf zebra
 !
 interface lo
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 interface eth-rt1
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
  ip ospf bfd
 !
 interface eth-rt4
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 router ospf
  ospf router-id 3.3.3.3
index bccd1e75bde88f2dc274af9b217f146e841a8eca..138b688140d9963345d60a41c7f97bd7e36e63a9 100644 (file)
@@ -5,9 +5,13 @@ hostname rt4
 password 1
 !
 interface eth-rt3
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
 !
 interface eth-rt5
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
  ipv6 ospf6 network broadcast
 !
 router ospf6
index 3a2568b4ab52c47e0d45fb25290e6fe15122611b..670e56ccc8463327a6470a8cbcc9ce8e114306fe 100644 (file)
@@ -9,12 +9,18 @@ debug ospf zebra
 !
 interface lo
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 interface eth-rt3
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 interface eth-rt5
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 router ospf
  ospf router-id 4.4.4.4
index 766862276c953b326c5ed68075f49caa22cb8b6c..6eb4fe59a8875ab200d5f7fb0625f8dabe7b25d4 100644 (file)
@@ -6,9 +6,13 @@ password 1
 !
 interface eth-rt2
  ipv6 ospf6 network broadcast
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
 !
 interface eth-rt4
  ipv6 ospf6 network broadcast
+ ipv6 ospf6 hello-interval 2
+ ipv6 ospf6 dead-interval 8
 !
 router ospf6
  ospf6 router-id 5.5.5.5
index a35de5f45fc09fb2f6a8cc3b2da8bf4affad430f..286de512889d135ec2da5222ef563d0708b825bd 100644 (file)
@@ -9,12 +9,18 @@ debug ospf zebra
 !
 interface lo
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 interface eth-rt2
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 interface eth-rt4
  ip ospf area 0.0.0.0
+ ip ospf hello-interval 2
+ ip ospf dead-interval 8
 !
 router ospf
  ospf router-id 5.5.5.5