Skip to content

Commit d65fdb5

Browse files
committed
Fix: Flush host interfaces in IPv6 RA integration test
EXOS sends at least one RA message even when RA is disabled before the interface IPv6 address is configured. The IPv6 RA integration test thus flushes the host interfaces to remove any prefixes/addresses that might have been generated during the configuration process and test the steady-state behavior.
1 parent ea222a1 commit d65fdb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration/initial/08-ra.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ links:
7373
# H4: Default route, SLAAC address, prefix, DHCPv6 address (maybe)
7474

7575
validate:
76+
flush:
77+
description: Flush host interfaces after initial configuration
78+
nodes: [ h0, h1, h2, h3, h4 ]
79+
exec:
80+
frr: "ip link set eth1 down && ip link set eth1 up"
7681
ra:
7782
description: Check RA-generated default route
7883
wait: ra_send

0 commit comments

Comments
 (0)