From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 8AB541FF141 for ; Mon, 30 Mar 2026 20:29:09 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 45CD26D3D; Mon, 30 Mar 2026 20:29:36 +0200 (CEST) From: Christoph Heiss To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox v3 0/8] sdn: add wireguard fabric configuration support Date: Mon, 30 Mar 2026 20:28:34 +0200 Message-ID: <20260330182856.2401050-1-c.heiss@proxmox.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1774895287762 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.054 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 Message-ID-Hash: Z3JJXDERSNZN6NYV4UZHAHTGSZIFHRT2 X-Message-ID-Hash: Z3JJXDERSNZN6NYV4UZHAHTGSZIFHRT2 X-MailFrom: c.heiss@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This series lays the groundwork with initial primitives and configuration support for adding WireGuard as a new SDN fabric to our stack in the future. Nothing of this code is actively used anywhere in the stack yet, but Stefan already sent out a series adding WireGuard as a new SDN fabric, that depends on this series [0]. [0] https://lore.proxmox.com/pve-devel/20260219145649.441418-1-s.hanreich@proxmox.com/ History ======= v2: https://lore.proxmox.com/all/20260213143601.1424613-1-c.heiss@proxmox.com/ v1: https://lore.proxmox.com/pve-devel/20260116153317.1146323-1-c.heiss@proxmox.com/ Notable changes v2 -> v3: * split out ini serializer into dedicated `proxmox-ini` crate * rework ini serialization to avoid nested serializer instances, instead serializing all values directly in place Notable changes v1 -> v2: * key generation (and thus the dependency on proxmox-sys) is now feature-gated and optional * dropped proxmox-ve-rs patches, Stefan will be incorporating them his SDN series Diffstat ======== Christoph Heiss (6): ini: add crate for INI serialization serde: add base64 module for byte arrays network-types: add ServiceEndpoint type as host/port tuple abstraction schema: provide integer schema for node ports schema: api-types: add ed25519 base64 encoded key schema wireguard: init configuration support crate Stefan Hanreich (2): wireguard: implement api for PublicKey wireguard: make per-peer preshared key optional Cargo.toml | 4 + proxmox-ini/Cargo.toml | 18 + proxmox-ini/debian/changelog | 5 + proxmox-ini/debian/control | 32 + proxmox-ini/debian/copyright | 18 + proxmox-ini/debian/debcargo.toml | 7 + proxmox-ini/src/lib.rs | 991 +++++++++++++++++++++++++ proxmox-network-types/src/endpoint.rs | 154 ++++ proxmox-network-types/src/lib.rs | 1 + proxmox-schema/src/api_types.rs | 19 +- proxmox-serde/src/lib.rs | 91 +++ proxmox-wireguard/Cargo.toml | 29 + proxmox-wireguard/debian/changelog | 5 + proxmox-wireguard/debian/control | 86 +++ proxmox-wireguard/debian/copyright | 18 + proxmox-wireguard/debian/debcargo.toml | 7 + proxmox-wireguard/src/lib.rs | 408 ++++++++++ 17 files changed, 1892 insertions(+), 1 deletion(-) create mode 100644 proxmox-ini/Cargo.toml create mode 100644 proxmox-ini/debian/changelog create mode 100644 proxmox-ini/debian/control create mode 100644 proxmox-ini/debian/copyright create mode 100644 proxmox-ini/debian/debcargo.toml create mode 100644 proxmox-ini/src/lib.rs create mode 100644 proxmox-network-types/src/endpoint.rs create mode 100644 proxmox-wireguard/Cargo.toml create mode 100644 proxmox-wireguard/debian/changelog create mode 100644 proxmox-wireguard/debian/control create mode 100644 proxmox-wireguard/debian/copyright create mode 100644 proxmox-wireguard/debian/debcargo.toml create mode 100644 proxmox-wireguard/src/lib.rs -- 2.52.0