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

Aaron Lauterer a.lauterer at proxmox.com
Wed Jun 14 11:30:32 CEST 2023


Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
no changes since v1

 PVE/API2/Network.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm
index 00d964a7..6f4367cb 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.39.2






More information about the pve-devel mailing list