From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9])
	by lore.proxmox.com (Postfix) with ESMTPS id 70F941FF16F
	for <inbox@lore.proxmox.com>; Tue, 24 Jun 2025 10:52:43 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 5A0793180C;
	Tue, 24 Jun 2025 10:53:14 +0200 (CEST)
Message-ID: <6cbc6c04-275b-4d06-a51d-539e087a02a7@proxmox.com>
Date: Tue, 24 Jun 2025 10:52:41 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Thomas Lamprecht <t.lamprecht@proxmox.com>,
 Proxmox VE development discussion <pve-devel@lists.proxmox.com>
References: <20250620143148.218469-1-d.kral@proxmox.com>
 <20250620143148.218469-5-d.kral@proxmox.com>
 <8694ef39-f186-4219-93e9-0f25ea539011@proxmox.com>
 <afa05ea6-9de1-4922-9035-9e0709c6a46a@proxmox.com>
 <82aa34bb-95a6-43a2-94f1-807a758c7047@proxmox.com>
 <7d370652-449c-43c3-86eb-7273106e34b2@proxmox.com>
 <047628e1-fd78-43f5-b3f9-f6c99bdb5ad5@proxmox.com>
Content-Language: en-US
From: Daniel Kral <d.kral@proxmox.com>
In-Reply-To: <047628e1-fd78-43f5-b3f9-f6c99bdb5ad5@proxmox.com>
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.012 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
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: Re: [pve-devel] [PATCH cluster v2 3/3] datacenter config: introduce
 feature flag for location rules
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

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!


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