[pbs-devel] [PATCH widget-toolkit/proxmox-backup 00/10] Fix #3115: VLAN Network Interface Configuration

Stefan Lendl s.lendl at proxmox.com
Thu Jan 11 16:52:53 CET 2024


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




More information about the pbs-devel mailing list