tests: Reduce rip[ng]-topo1 run time

Reduce rip topo1 run time from ~100 seconds down to ~45 seconds.

1) Reduce very very long sleeps
2) Modify rip timers to be more aggressive in sending data.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2020-02-19 08:06:44 -05:00
parent 12a939b7e7
commit b01c46b964
14 changed files with 22 additions and 18 deletions

View File

@ -1,6 +1,6 @@
Routing Protocol is "rip"
Sending updates every 30 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 120 seconds
Sending updates every 5 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 5 seconds
Outgoing update filter list for all interface is not set
Incoming update filter list for all interface is not set
Default redistribution metric is 1

View File

@ -1,6 +1,7 @@
log file ripd.log
!
router rip
timers basic 5 180 5
version 2
network 193.1.1.0/26
!

View File

@ -1,6 +1,6 @@
Routing Protocol is "rip"
Sending updates every 30 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 120 seconds
Sending updates every 5 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 5 seconds
Outgoing update filter list for all interface is not set
Incoming update filter list for all interface is not set
Default redistribution metric is 1

View File

@ -3,6 +3,7 @@ log file ripd.log
!
router rip
version 2
timers basic 5 180 5
network 193.1.1.0/26
network 193.1.2.0/24
!

View File

@ -1,6 +1,6 @@
Routing Protocol is "rip"
Sending updates every 30 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 120 seconds
Sending updates every 5 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 5 seconds
Outgoing update filter list for all interface is not set
Incoming update filter list for all interface is not set
Default redistribution metric is 1

View File

@ -3,6 +3,7 @@ log file ripd.log
!
router rip
version 2
timers basic 5 180 5
redistribute connected
redistribute static
network 193.1.2.0/24

View File

@ -144,7 +144,6 @@ def test_router_running():
print("\n\n** Check if FRR/Quagga is running on each Router node")
print("******************************************\n")
sleep(5)
# Make sure that all daemons are running
for i in range(1, 4):
@ -168,8 +167,8 @@ def test_converge_protocols():
print("\n\n** Waiting for protocols convergence")
print("******************************************\n")
# Not really implemented yet - just sleep 60 secs for now
sleep(60)
# Not really implemented yet - just sleep 11 secs for now
sleep(11)
# Make sure that all daemons are still running
for i in range(1, 4):

View File

@ -1,6 +1,6 @@
Routing Protocol is "RIPng"
Sending updates every 30 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 120 seconds
Sending updates every 5 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 5 seconds
Outgoing update filter list for all interface is not set
Incoming update filter list for all interface is not set
Default redistribution metric is 1

View File

@ -5,6 +5,7 @@ debug ripng packet
debug ripng zebra
!
router ripng
timers basic 5 180 5
network fc00:5::/64
!
line vty

View File

@ -1,6 +1,6 @@
Routing Protocol is "RIPng"
Sending updates every 30 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 120 seconds
Sending updates every 5 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 5 seconds
Outgoing update filter list for all interface is not set
Incoming update filter list for all interface is not set
Default redistribution metric is 1

View File

@ -5,6 +5,7 @@ debug ripng packet
debug ripng zebra
!
router ripng
timers basic 5 180 5
network fc00:5::/64
network fc00:6::/62
!

View File

@ -1,6 +1,6 @@
Routing Protocol is "RIPng"
Sending updates every 30 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 120 seconds
Sending updates every 5 seconds with +/-50%, next due in XX seconds
Timeout after 180 seconds, garbage collect after 5 seconds
Outgoing update filter list for all interface is not set
Incoming update filter list for all interface is not set
Default redistribution metric is 1

View File

@ -5,6 +5,7 @@ debug ripng packet
debug ripng zebra
!
router ripng
timers basic 5 180 5
network fc00:6::/62
redistribute connected
redistribute static

View File

@ -145,7 +145,6 @@ def test_router_running():
print("\n\n** Check if FRR/Quagga is running on each Router node")
print("******************************************\n")
sleep(5)
# Starting Routers
for i in range(1, 4):
@ -169,8 +168,8 @@ def test_converge_protocols():
print("\n\n** Waiting for protocols convergence")
print("******************************************\n")
# Not really implemented yet - just sleep 60 secs for now
sleep(60)
# Not really implemented yet - just sleep 11 secs for now
sleep(11)
# Make sure that all daemons are running
for i in range(1, 4):