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 97F0AC08B3 for ; Thu, 11 Jan 2024 16:53:38 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7977917C46 for ; Thu, 11 Jan 2024 16:53:08 +0100 (CET) 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, 11 Jan 2024 16:53:07 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 39D30490BF for ; Thu, 11 Jan 2024 16:53:07 +0100 (CET) From: Stefan Lendl To: pbs-devel@lists.proxmox.com Date: Thu, 11 Jan 2024 16:52:53 +0100 Message-ID: <20240111155303.1072675-1-s.lendl@proxmox.com> X-Mailer: git-send-email 2.42.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.037 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 T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [parser.rs, network.rs, lexer.rs, mod.rs] Subject: [pbs-devel] [PATCH widget-toolkit/proxmox-backup 00/10] 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, 11 Jan 2024 15:53:38 -0000 This patch series allows configuration of VLAN network interfaces in the PBS GUI * Adds reading and writing of vlan network interface configs from network/interfaces * Creating and updating of VLAN network interfaces via the API * Copy the VlanId widget from PVE and enable the Linux VLAN interface type in the GUI * Unit tests * Some cleanup to leave touched functions cleaner than before backup: Stefan Lendl (9): tests: move network tests to parser.rs tests: rudimentary NetworkConfig.write_config tests 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 refactor(api): simplify setting interface properties 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 | 247 ++++++++++++++++++++++++- src/api2/node/network.rs | 124 ++++++++----- www/SystemConfiguration.js | 2 +- 6 files changed, 515 insertions(+), 181 deletions(-) widget-toolkit: Stefan Lendl (1): form: include VlanField 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 Summary over all repositories: 9 files changed, 559 insertions(+), 0 deletions(-) -- Generated by git-murpp 0.5.0