Skip to content

Commit eaba177

Browse files
committed
Fix: Check IPv4 and IPv6 IBGP session in LLA/Locpref test
The original version of the test checked only the IPv4 IBGP session, which resulted in a test failure when there was a significant difference between IPv4 and IPv6 IBGP session setup time.
1 parent 5a836e5 commit eaba177

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/integration/bgp.policy/22-locpref-unnumbered.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,17 @@ validate:
5050
nodes: [ x1, x2 ]
5151
plugin: bgp_neighbor(node.bgp.neighbors,'dut',intf=node.interfaces[0].ifname)
5252

53-
ibgp:
54-
description: Check IBGP sessions with DUT
53+
ibgp_v4:
54+
description: Check IPv4 IBGP sessions with DUT
5555
wait: ibgp_session
5656
nodes: [ probe ]
57-
plugin: bgp_neighbor(node.bgp.neighbors,'dut')
57+
plugin: bgp_neighbor(node.bgp.neighbors,'dut',af='ipv4')
58+
59+
ibgp_v6:
60+
description: Check IPv6 IBGP sessions with DUT
61+
wait: ibgp_session
62+
nodes: [ probe ]
63+
plugin: bgp_neighbor(node.bgp.neighbors,'dut',af='ipv6')
5864

5965
pfx_x1_v4:
6066
description: Check for IPv4 X1 prefix on Probe

0 commit comments

Comments
 (0)