public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Lendl <s.lendl@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH widget-toolkit/proxmox-backup v3 0/9] Fix #3115: VLAN Network Interface Configuration
Date: Thu,  4 Apr 2024 12:00:27 +0200	[thread overview]
Message-ID: <20240404100036.188225-1-s.lendl@proxmox.com> (raw)

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




             reply	other threads:[~2024-04-04 10:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04 10:00 Stefan Lendl [this message]
2024-04-04 10:00 ` [pbs-devel] [PATCH widget-toolkit v3 1/9] form: include vlan field widget from PVE Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 2/9] tests: move network tests to parser.rs Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 3/9] tests: simple tests for writing the network config Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 4/9] config: write vlan network interface Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 5/9] config: parse vlan interface from config Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 6/9] config: remove unnecessary pub in various methods in NetworkConfig Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 7/9] fmt: fix intendation in api macro Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 8/9] api: create and update vlan interfaces Stefan Lendl
2024-04-04 10:00 ` [pbs-devel] [PATCH proxmox-backup v3 9/9] ui: enable vlan widget Stefan Lendl
2024-04-18  9:43 ` [pbs-devel] [PATCH widget-toolkit/proxmox-backup v3 0/9] Fix #3115: VLAN Network Interface Configuration Folke Gleumes
2024-04-18 10:04   ` Folke Gleumes
2024-04-24 19:53 ` [pbs-devel] applied-series: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240404100036.188225-1-s.lendl@proxmox.com \
    --to=s.lendl@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal