From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 220EC1FF179 for ; Wed, 10 Dec 2025 19:42:13 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 594923223; Wed, 10 Dec 2025 19:42:41 +0100 (CET) From: Stefan Hanreich To: pve-devel@lists.proxmox.com Date: Wed, 10 Dec 2025 19:42:30 +0100 Message-ID: <20251210184236.448600-1-s.hanreich@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.224 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [plugin.pm, iproute2.pm, network.pm] URIBL_SBL_A 0.1 Contains URL's A record listed in the Spamhaus SBL blocklist [188.114.96.3] Subject: [pve-devel] [PATCH common/manager/network 0/4] trixie: fix VLAN handling on vlan-unaware bridges with pinned NIC names X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" There were mainly two issues related to this: * generating SDN configuration for VLAN and QinQ zones that use vlan-unaware bridges * tagging network devices of VMs on vlan-unaware bridges In both cases the detection of the underlying physical ports relied on a regex, that doesn't work with pinned names at all. Switch over to using `ip link` for the detection of physical ports, since network interfaces can now have names that do not need to have a specific prefix at all. For SDN, we add a new change detection mechanism to `pve-sdn-commit`, that reloads the SDN configuration if there is a vlan-unaware bridge used as the underlying bridge of a VLAN / QinQ zone. This ensures that the network configuration gets regenerated properly if pinning takes place, after a VLAN or QinQ zone have been created. Dependencies: pve-manager depends on pve-common pve-network depends on pve-common pve-common: Stefan Hanreich (2): fix #7118: fix bridge port detection when plugging netdev with vlan iproute2: add helpers for detecting vlan-aware bridges src/PVE/IPRoute2.pm | 32 ++++++++++++++++++++++++++++++++ src/PVE/Network.pm | 12 ++---------- 2 files changed, 34 insertions(+), 10 deletions(-) pve-manager: Stefan Hanreich (1): pve-sdn-commit: run for vlan/qinq zones on non-vlan-aware bridges bin/pve-sdn-commit | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) pve-network: Stefan Hanreich (1): fix #6806: vlan: qinq: fix bridge port detection src/PVE/Network/SDN/Zones/Plugin.pm | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) Summary over all repositories: 4 files changed, 58 insertions(+), 22 deletions(-) -- Generated by git-murpp 0.8.0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel