Skip to content

Commit

Permalink
tests: Use /64s for IPv6 Prefix Delegation test.
Browse files Browse the repository at this point in the history
As discussed in RFC 7421 the interface identifier is 64 bits long,
and client implementations refrain from performing SLAAC with any
other prefix length.

While the test does not exercise SLAAC, making use of prefixes
longer than 64 bits does not really make sense, and we should
refrain from hosting incorrect configuration in the test suite.

Signed-off-by: Frode Nordahl <[email protected]>
Signed-off-by: Dumitru Ceara <[email protected]>
  • Loading branch information
fnordahl authored and dceara committed Jan 17, 2025
1 parent 744340f commit edc87c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/system-common-macros.at
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ check ovn-nbctl --wait=hv sync
cat > /etc/dhcp/dhcpd.conf <<EOF
option dhcp-rebinding-time 10;
option dhcp-renewal-time 5;
subnet6 2001:1db8:3333::/64 {
prefix6 2001:1db8:3333:100:: 2001:1db8:3333:111:: /96;
subnet6 2001:1db8:3333::/56 {
prefix6 2001:1db8:3333:100:: 2001:1db8:3333:111:: /64;
}
EOF
rm -f /var/lib/dhcp/dhcpd6.leases
Expand Down
4 changes: 2 additions & 2 deletions tests/system-ovn.at
Original file line number Diff line number Diff line change
Expand Up @@ -14356,8 +14356,8 @@ check ovn-nbctl --wait=hv sync
cat > /etc/dhcp/dhcpd.conf <<EOF
option dhcp-rebinding-time 10;
option dhcp-renewal-time 5;
subnet6 2001:1db8:3333::/64 {
prefix6 2001:1db8:3333:100:: 2001:1db8:3333:111:: /96;
subnet6 2001:1db8:3333::/56 {
prefix6 2001:1db8:3333:100:: 2001:1db8:3333:111:: /64;
}
EOF
rm -f /var/lib/dhcp/dhcpd6.leases
Expand Down

0 comments on commit edc87c6

Please sign in to comment.