[pve-devel] [PATCH manager 2/3] fix #3893: api: network: add bridge_vids parameter

Aaron Lauterer a.lauterer at proxmox.com
Thu Apr 13 17:10:20 CEST 2023


Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 PVE/API2/Network.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm
index a43579fa..0ca892de 100644
--- a/PVE/API2/Network.pm
+++ b/PVE/API2/Network.pm
@@ -66,6 +66,11 @@ my $confdesc = {
 	type => 'boolean',
 	optional => 1,
     },
+    bridge_vids => {
+	description => "Specify the allowed vlans. For example: '2 4 100-200'. Only used if the bridge is VLAN aware.",
+	optional => 1,
+	type => 'string', format => 'pve-bridge-vid-list',
+    },
     bridge_ports => {
 	description => "Specify the interfaces you want to add to your bridge.",
 	optional => 1,
-- 
2.30.2






More information about the pve-devel mailing list