From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 2985B91787 for ; Thu, 4 Apr 2024 12:01:23 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0C7B8366E0 for ; Thu, 4 Apr 2024 12:00:53 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Thu, 4 Apr 2024 12:00:49 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 50DFF45251 for ; Thu, 4 Apr 2024 12:00:49 +0200 (CEST) From: Stefan Lendl To: pbs-devel@lists.proxmox.com Date: Thu, 4 Apr 2024 12:00:27 +0200 Message-ID: <20240404100036.188225-1-s.lendl@proxmox.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.023 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: [pbs-devel] [PATCH widget-toolkit/proxmox-backup v3 0/9] Fix #3115: VLAN Network Interface Configuration X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2024 10:01:23 -0000 This patch series allows configuring a VLAN network interfaces in the PBS GUI * Added reading and writing of VLAN network config. * Created and updating of VLAN network interfaces via the API. * Copied the VLAN field widget from PVE and enabled the Linux VLAN interface type in the GUI. * Unit tests for reading and writing the network config. * Some cleanup to leave touched functions cleaner than before. Changes v2 -> v3: * slightly updated commit messages and changed typo in git trailer Changes v1 -> v2: * Adapted parameter handling to not expect all properties to be set * Incorporated style suggestions widget-toolkit: Stefan Lendl (1): form: include vlan field widget from PVE src/Makefile | 1 + src/form/VlanField.js | 40 ++++++++++++++++++++++++++++++++++++++++ src/node/NetworkEdit.js | 6 +++--- 3 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/form/VlanField.js proxmox-backup: Stefan Lendl (8): tests: move network tests to parser.rs tests: simple tests for writing the network config config: write vlan network interface config: parse vlan interface from config config: remove unnecessary pub in various methods in NetworkConfig fmt: fix intendation in api macro api: create and update vlan interfaces ui: enable vlan widget pbs-api-types/src/network.rs | 17 ++ pbs-config/src/network/lexer.rs | 6 + pbs-config/src/network/mod.rs | 300 +++++++++++++++++-------------- pbs-config/src/network/parser.rs | 249 ++++++++++++++++++++++++- src/api2/node/network.rs | 72 +++++++- www/SystemConfiguration.js | 2 +- 6 files changed, 504 insertions(+), 142 deletions(-) Summary over all repositories: 9 files changed, 548 insertions(+), 0 deletions(-) -- Generated by git-murpp 0.5.0