public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-network 1/1] test: zones: fix openfabric tests
Date: Thu, 13 Nov 2025 16:15:55 +0100	[thread overview]
Message-ID: <20251113151559.623382-1-s.hanreich@proxmox.com> (raw)

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@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


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2025-11-13 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-13 15:15 Stefan Hanreich [this message]
2025-11-13 16:23 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251113151559.623382-1-s.hanreich@proxmox.com \
    --to=s.hanreich@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal