[pve-devel] [PATCH cluster v2 3/3] datacenter config: introduce feature flag for location rules
Daniel Kral
d.kral at proxmox.com
Tue Jun 24 10:52:41 CEST 2025
On 6/24/25 10:25, Thomas Lamprecht wrote:
> FWIW, we could keep ID's for simplicity but auto-generate them on
> creation (probably frontend side though to not break the POST-only-once
> REST-API principle.) and not show them in the UI by default.
> Similar to what we did at a few places in PBS, albeit there we allowed
> overriding it as there references to those IDs can exist, for affinity
> rules that probably should not matter, at least nothing would come to
> my mind that would need referencing them.
>
> Biggest advantage is that we can keep section config format here and
> avoid a semi-custom format. The user.cfg is inspired by shadow.cfg,
> which does a similar job so it's more relatable there (and it's one of
> the older config files), so I'd not take it too much as example.
ACK, that sounds good to me as well, I'll do that!
More information about the pve-devel
mailing list