]> git.proxmox.com Git - proxmox-backup.git/commit
config: write vlan network interface
authorStefan Lendl <s.lendl@proxmox.com>
Thu, 4 Apr 2024 10:00:31 +0000 (12:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Apr 2024 19:48:50 +0000 (21:48 +0200)
commit5f14a0a2ab01b5cb85b21a727e67e2e87f7a1d86
tree37036c1211cba21bb5f56aed82aa92cc707facfd
parent160948c9c1c252b339ba78363923e2431193be51
config: write vlan network interface

* Add vlan_id and vlan_raw_device fields to the Interface api type
* Write to the network config the vlan specific properties for vlan
  interface type
* Add several tests to verify the functionally

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Folke Gleumes <f.gleumes@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
pbs-api-types/src/network.rs
pbs-config/src/network/mod.rs