test/two_guests: Let the guests end DAD before starting the DHCPv6 client
They'll start DAD as we bring up the interface, and the DHCPv6 client might be unreasonably delayed if we start it too early. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
a2b86c5f90
commit
e934da3c81
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ check [ "__ADDR1__" = "__HOST_ADDR__" ]
|
||||||
check [ "__ADDR2__" = "__HOST_ADDR__" ]
|
check [ "__ADDR2__" = "__HOST_ADDR__" ]
|
||||||
|
|
||||||
test DHCPv6: addresses
|
test DHCPv6: addresses
|
||||||
|
sleep 2 # Link is up now: DAD
|
||||||
guest1 /sbin/dhclient -6 __IFNAME1__
|
guest1 /sbin/dhclient -6 __IFNAME1__
|
||||||
guest2 /sbin/dhclient -6 __IFNAME1__
|
guest2 /sbin/dhclient -6 __IFNAME1__
|
||||||
g1out ADDR1_6 ip -j -6 ad sh|jq -rM '.[] | select(.ifname == "__IFNAME1__").addr_info[] | select(.prefixlen == 128).local'
|
g1out ADDR1_6 ip -j -6 ad sh|jq -rM '.[] | select(.ifname == "__IFNAME1__").addr_info[] | select(.prefixlen == 128).local'
|
||||||
|
|
Loading…
Reference in a new issue