[PATCH pve-network] fix #5398: vxlan: only ipv4 is currently supported

Alexandre Derumier alexandre.derumier at groupe-cyllene.com
Wed Apr 24 14:31:58 CEST 2024


ifupdown2 only support ipv4 (could be fixed)

frr/evpn: don't support ipv6 at all

Signed-off-by: Alexandre Derumier <alexandre.derumier at groupe-cyllene.com>
---
 src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +-
 src/PVE/Network/SDN/Zones/VxlanPlugin.pm      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm b/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
index c245ea2..21ff3f1 100644
--- a/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
+++ b/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
@@ -28,7 +28,7 @@ sub properties {
 	},
 	peers => {
 	    description => "peers address list.",
-	    type => 'string', format => 'ip-list'
+	    type => 'string', format => 'ipv4-list'
 	},
     };
 }
diff --git a/src/PVE/Network/SDN/Zones/VxlanPlugin.pm b/src/PVE/Network/SDN/Zones/VxlanPlugin.pm
index b16f0c3..7e8b90b 100644
--- a/src/PVE/Network/SDN/Zones/VxlanPlugin.pm
+++ b/src/PVE/Network/SDN/Zones/VxlanPlugin.pm
@@ -27,7 +27,7 @@ sub properties {
     return {
         'peers' => {
             description => "peers address list.",
-            type => 'string', format => 'ip-list'
+            type => 'string', format => 'ipv4-list'
         },
         'vxlan-port' => {
             description => "Vxlan tunnel udp port (default 4789).",
-- 
2.39.2




More information about the pve-devel mailing list