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 780DDC1C43 for ; Thu, 18 Jan 2024 16:45:18 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 5929617F88 for ; Thu, 18 Jan 2024 16:45:18 +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, 18 Jan 2024 16:45:17 +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 1A0684920E for ; Thu, 18 Jan 2024 16:45:17 +0100 (CET) From: Stefan Lendl To: pbs-devel@lists.proxmox.com Date: Thu, 18 Jan 2024 16:44:15 +0100 Message-ID: <20240118154424.794624-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.034 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. [lexer.rs, mod.rs, network.rs, parser.rs] Subject: [pbs-devel] [PATCH widget-toolkit/proxmox-backup v2 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, 18 Jan 2024 15:45:18 -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 Changes v1 -> v2: - adapted parameter handling to not expect all properties to be set - incoorperated style suggestions proxmox-backup: Stefan Lendl (8): 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 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(-) 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, 548 insertions(+), 0 deletions(-) -- Generated by git-murpp 0.5.0