[pve-devel] [PATCH v3 pve-network 6/6] controllers: increase controllerid to 64 characters max

Alexandre Derumier aderumier at odiso.com
Wed Apr 21 23:49:26 CEST 2021


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Network/SDN/Controllers/Plugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Network/SDN/Controllers/Plugin.pm b/PVE/Network/SDN/Controllers/Plugin.pm
index 8b5bd4f..b035492 100644
--- a/PVE/Network/SDN/Controllers/Plugin.pm
+++ b/PVE/Network/SDN/Controllers/Plugin.pm
@@ -28,7 +28,7 @@ sub parse_sdn_controller_id {
         return undef if $noerr;
         die "controller ID '$id' contains illegal characters\n";
     }
-    die "controller ID '$id' can't be more length than 10 characters\n" if length($id) > 10;
+    die "controller ID '$id' can't be more length than 64 characters\n" if length($id) > 64;
     return $id;
 }
 
-- 
2.20.1




More information about the pve-devel mailing list