public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Daniel Kral" <d.kral@proxmox.com>
To: "David Riley" <d.riley@proxmox.com>, <pve-devel@lists.proxmox.com>
Subject: Re: [PATCH access-control/cluster/common/manager/network/proxmox-widget-toolkit/qemu-server v2 00/10] fix #7294: pool: add SDN VNets as pool members
Date: Mon, 06 Jul 2026 16:07:50 +0200	[thread overview]
Message-ID: <DJRJPE9TW6JS.3Q7LX3266JLFB@proxmox.com> (raw)
In-Reply-To: <20260626131035.112374-1-d.riley@proxmox.com>

On Fri Jun 26, 2026 at 3:10 PM CEST, David Riley wrote:
> This series implements support for adding SDN VNets to resource pools,
> resolving #7294 [0]. This series depends on the v4 'fix #7520: sdn:
> prune orphaned ACLs and handle VNet migrations' [1].
>
> It does not, however, add zones as pool members as requested in #7294.
> Zones currently share ACL paths for managing the zone itself and
> allocating VNets within it. This makes self-service VNet management
> without also granting zone management (and its associated 
> side-effects) difficult.
>
> This patch series extends the pool section in the user.cfg and
> introduces a new network property to the pool configuration which will
> hold VNet entries:
> * vnet/<zone>/<vnet>
> * vnet/<zone>/<vnet>/<vlan>
>
> The type prefix allows future extension to other network resource 
> types.
>
> To prevent potential data loss from overwriting newly added VNets, a
> cluster-version check is added which ensures all nodes are running a
> version that supports this feature. Note: The hardcoded version guard
> should be updated to match the final target release when being
> applied.
>
> The existing version check helpers were moved from `qemu-server` to a
> new module within `pve-cluster` to make them available for this
> implementation, and any future developments that require gatekeeping.
> Appropriate attribution has been included for the relocated code.
> Please let me know if this organizational move aligns with current
> design preferences or additional adjustments are needed.

Nice work on this series!

A nice addition could be to be able to display the changes done on
SDN config commit with the 'dry-run' API endpoint, but that would only
be a nice-to-have and definitely doesn't block this series in any way.

The patches #4, #6, #9, and #10 don't really need the 'fix #7294' prefix
as these are not really related to closing the bugzilla entry, but are
only prepatory steps, but not the actual fix.



Besides the comments inline, another quick thought is that if there is
some propagation from VNets to VLAN tags, either with the explicit
asterisk or not, it might be a good measure to check for duplicates,
e.g., if vnet/zone1/vnet1/* exists, then vnet/zone1/vnet/2 would already
include that and cannot be added. But this is more out of caution, so no
hard feelings about this.




      parent reply	other threads:[~2026-07-06 14:08 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-26 13:10 [PATCH access-control/cluster/common/manager/network/proxmox-widget-toolkit/qemu-server v2 00/10] fix #7294: pool: add SDN VNets as pool members David Riley
2026-06-26 13:10 ` [PATCH pve-manager v2 01/10] ui: replace var with let to match style guide for variable declaration David Riley
2026-07-03 13:14   ` Daniel Kral
2026-06-26 13:10 ` [PATCH pve-manager v2 02/10] fix #7294: api: pool: add SDN VNets as pool members David Riley
2026-07-03 13:19   ` Daniel Kral
2026-06-26 13:10 ` [PATCH pve-manager v2 03/10] fix #7294: ui: " David Riley
2026-07-06 14:17   ` Daniel Kral
2026-06-26 13:10 ` [PATCH proxmox-widget-toolkit v2 04/10] fix #7294: css: theme: add opacity override for pool VNet icon David Riley
2026-07-03 13:30   ` Daniel Kral
2026-06-26 13:10 ` [PATCH pve-access-control v2 05/10] fix #7294: acl: pool: add SDN VNets as pool members David Riley
2026-07-03 14:35   ` Daniel Kral
2026-07-06 11:56   ` Daniel Kral
2026-06-26 13:10 ` [PATCH pve-network v2 06/10] fix #7294: sdn: register api formats for zones and vnets David Riley
2026-07-06 12:21   ` Daniel Kral
2026-06-26 13:10 ` [PATCH pve-network v2 07/10] fix #7294: sdn: vnet: update pool members on vnet migration and deletion David Riley
2026-07-06 12:29   ` Daniel Kral
2026-06-26 13:10 ` [PATCH pve-common v2 08/10] tools: add helpers for version comparison David Riley
2026-07-06 13:02   ` Daniel Kral
2026-06-26 13:10 ` [PATCH pve-cluster v2 09/10] fix #7294: cluster: helpers: add cluster-wide version assertion David Riley
2026-07-06 13:00   ` Daniel Kral
2026-06-26 13:10 ` [PATCH qemu-server v2 10/10] fix #7294: helpers: use cluster-wide version helper David Riley
2026-07-06 13:20   ` Daniel Kral
2026-07-06 14:07 ` Daniel Kral [this message]

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=DJRJPE9TW6JS.3Q7LX3266JLFB@proxmox.com \
    --to=d.kral@proxmox.com \
    --cc=d.riley@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