Skip to content

Commit 130e633

Browse files
committed
Fix: Cisco IOS/XE takes forever to redistribute into IPv6 BGP AF
The IS-IS redistribution test was failing on IOS/XE devices, and the only way to "fix" that was to extend the timer. Oh, well...
1 parent a18fcf8 commit 130e633

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

tests/integration/isis/21-import-ds.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ validate:
115115
wait_msg: Waiting for the loopback prefix to be originated and redistributed
116116
nodes: [ r2 ]
117117
plugin: ospf6_prefix(pfx=nodes.r3.loopback.ipv6)
118+
static_4:
119+
description: Check whether static IPv4 prefix is redistributed into IS-IS
120+
nodes: [ r3 ]
121+
plugin: isis_prefix(pfx=nodes.dut.routing.static[0].ipv4,af='ipv4')
122+
static_6:
123+
description: Check whether static IPv6 prefix is redistributed into IS-IS
124+
nodes: [ r3 ]
125+
plugin: isis_prefix(pfx=nodes.dut.routing.static[1].ipv6,af='ipv6')
118126
bgp_v4:
119127
description: Check whether R3 IS-IS IPv4 prefix is redistributed into BGP
120128
wait: bgp_scan_time
@@ -123,15 +131,7 @@ validate:
123131
plugin: bgp_prefix(pfx=nodes.r3.loopback.ipv4,af='ipv4')
124132
bgp_v6:
125133
description: Check whether R3 IS-IS IPv6 prefix is redistributed into BGP
126-
wait: bgp_scan_time
134+
wait: bgp_ios_redist
127135
wait_msg: Waiting for the loopback prefix to be originated and redistributed
128136
nodes: [ x1 ]
129137
plugin: bgp_prefix(pfx=nodes.r3.loopback.ipv6,af='ipv6')
130-
static_4:
131-
description: Check whether static IPv4 prefix is redistributed into IS-IS
132-
nodes: [ r3 ]
133-
plugin: isis_prefix(pfx=nodes.dut.routing.static[0].ipv4,af='ipv4')
134-
static_6:
135-
description: Check whether static IPv6 prefix is redistributed into IS-IS
136-
nodes: [ r3 ]
137-
plugin: isis_prefix(pfx=nodes.dut.routing.static[1].ipv6,af='ipv6')

tests/integration/wait_times.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const.validate:
1818
ebgp_session: 30
1919
ibgp_session: 30
2020
bgp_scan_time: 5
21-
bgp_scan_long: 15 # Needed for things that might require multiple scans like aggregate prefixes
21+
bgp_scan_long: 15 # Needed for things that might require multiple scans like aggregate prefixes
22+
bgp_ios_redist: 60 # The ridiculously long time it takes Cisco IOS/XE to start redistribution into IPv6 AF
2223

2324
isis_adj_p2p: 20
2425
isis_spf: 15

0 commit comments

Comments
 (0)