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]>
---
 tests/system-common-macros.at | 4 ++--
 tests/system-ovn.at           | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at
index c59556173..ea4485523 100644
--- a/tests/system-common-macros.at
+++ b/tests/system-common-macros.at
@@ -449,8 +449,8 @@ 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
diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index 19ec1eb8d..31f30229c 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -14345,8 +14345,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
-- 
2.47.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to