Skip to content

Commit ce9e1c8

Browse files
committed
Fix: Resend BGP prefixes after setting allowas-in on tested device
In theory, the BGP session between the probe sending BGP updates with "looped" AS path and the tested device (DUT) could be established before Ansible configures 'allowas-in' on DUT. This fix adds an extra 'resend all prefixes' step to ensure the 'allowas-in' parameter is applied to incoming BGP prefixes.
1 parent 24df8bd commit ce9e1c8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/integration/bgp.session/01-allowas-in.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ validate:
5959
nodes: [ x1, x2, x3 ]
6060
plugin: bgp_neighbor(node.bgp.neighbors,'dut',af='ipv6')
6161

62+
resend:
63+
description: Resend BGP prefixes from x2
64+
nodes: [ x2 ]
65+
devices: [ frr ]
66+
exec: vtysh -c 'clear bgp * soft out'
67+
6268
pfx_v4_allow:
6369
description: Check whether DUT disabled AS check on IPv4 EBGP session with X2
6470
wait: 5

0 commit comments

Comments
 (0)