[pdm-devel] [PATCH pve-network v2 2/6] controllers: fix maximum value for ASN

Stefan Hanreich s.hanreich at proxmox.com
Fri Aug 22 15:49:11 CEST 2025


ASNs are 32-bit unsigned integers where the maximum value is
4294967295.

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm b/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
index 021673b..e53000a 100644
--- a/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
+++ b/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
@@ -25,7 +25,7 @@ sub properties {
             type => 'integer',
             description => "autonomous system number",
             minimum => 0,
-            maximum => 4294967296,
+            maximum => 2**32 - 1,
         },
         fabric => {
             description => "SDN fabric to use as underlay for this EVPN controller.",
-- 
2.47.2




More information about the pdm-devel mailing list