[pve-devel] [PATCH pve-network 1/1] test: zones: fix openfabric tests

Stefan Hanreich s.hanreich at proxmox.com
Thu Nov 13 16:15:55 CET 2025


For unnumbered interfaces, the /32 now gets set on each unnumbered
interface. Fix the unnumbered tests case, so the generated ifupdown2
output is correct again.

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 .../zones/evpn/openfabric_fabric/expected_sdn_interfaces    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/test/zones/evpn/openfabric_fabric/expected_sdn_interfaces b/src/test/zones/evpn/openfabric_fabric/expected_sdn_interfaces
index 3efd220..7460b12 100644
--- a/src/test/zones/evpn/openfabric_fabric/expected_sdn_interfaces
+++ b/src/test/zones/evpn/openfabric_fabric/expected_sdn_interfaces
@@ -48,9 +48,11 @@ iface dummy_test inet static
 	ip-forward 1
 
 auto ens20
-iface ens20
+iface ens20 inet static
+	address 172.20.3.1/32
 	ip-forward 1
 
 auto ens21
-iface ens21
+iface ens21 inet static
+	address 172.20.3.1/32
 	ip-forward 1
-- 
2.47.3




More information about the pve-devel mailing list