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 C061F1FF16E
	for <inbox@lore.proxmox.com>; Mon, 31 Mar 2025 15:48:48 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 9994B720A;
	Mon, 31 Mar 2025 15:48:38 +0200 (CEST)
Date: Mon, 31 Mar 2025 15:48:35 +0200
Message-Id: <D8UHYYYC0U61.3N7QU0UXZHKPW@proxmox.com>
From: "Christoph Heiss" <c.heiss@proxmox.com>
To: "Gabriel Goller" <g.goller@proxmox.com>
Mime-Version: 1.0
X-Mailer: aerc 0.20.1
References: <20250328171340.885413-1-g.goller@proxmox.com>
 <20250328171340.885413-14-g.goller@proxmox.com>
In-Reply-To: <20250328171340.885413-14-g.goller@proxmox.com>
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.031 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
 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.
 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 proxmox-ve-rs 12/17] ve-config: add
 openfabric section-config
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>
Cc: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

On Fri Mar 28, 2025 at 6:13 PM CET, Gabriel Goller wrote:
> This is the main openfabric configuration. It is used to parse from the
> section-config file (`/etc/pve/sdn/fabrics/openfabric.cfg`) and is also
> returned from the api.
>
> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> ---
>  proxmox-ve-config/Cargo.toml                  |   9 +-
>  .../src/sdn/fabric/openfabric/mod.rs          | 291 ++++++++++++++++++
>  2 files changed, 297 insertions(+), 3 deletions(-)
>  create mode 100644 proxmox-ve-config/src/sdn/fabric/openfabric/mod.rs
>
> diff --git a/proxmox-ve-config/Cargo.toml b/proxmox-ve-config/Cargo.toml
> index 4906d77550f3..3f7639efa153 100644
> --- a/proxmox-ve-config/Cargo.toml
> +++ b/proxmox-ve-config/Cargo.toml
> @@ -10,14 +10,17 @@ exclude.workspace = true
>  log = "0.4"
>  anyhow = "1"
>  nix = "0.26"
> -thiserror = "1.0.59"
> +thiserror = { workspace = true }
>
> -serde = { version = "1", features = [ "derive" ] }
> +serde = { workspace = true, features = [ "derive" ] }
> +serde_with = { workspace = true }
>  serde_json = "1"
>  serde_plain = "1"
> -serde_with = "3"
> +tracing = "0.1"
>
>  proxmox-schema = "4"
> +proxmox-section-config = { workspace = true }
> +proxmox-serde = { version = "0.1.2" }
>  proxmox-sys = "0.6.4"
>  proxmox-sortable-macro = "0.1.3"
>  proxmox-network-types = { version = "0.1", path = "../proxmox-network-types/" }

nit: These changes should be reflected in debian/control too.

Its sync'd up later in patch #16 ("ve-config: add section-config to frr
types conversion") as part of another change in Cargo.toml, but they
should always be grouped together, IMO.


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