From: Alexandre Derumier Date: Fri, 11 Feb 2022 09:33:25 +0000 (+0100) Subject: controllers: evpn : add min/max value to asn X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9e6b99fd8ce76e0b032c44e53b148e9c6fc1aa54;p=matthieu%2Fpve-network.git controllers: evpn : add min/max value to asn Signed-off-by: Alexandre Derumier --- diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm b/PVE/Network/SDN/Controllers/EvpnPlugin.pm index 61a6314..d02bdf7 100644 --- a/PVE/Network/SDN/Controllers/EvpnPlugin.pm +++ b/PVE/Network/SDN/Controllers/EvpnPlugin.pm @@ -22,6 +22,8 @@ sub properties { asn => { type => 'integer', description => "autonomous system number", + minimum => 0, + maximum => 4294967296 }, peers => { description => "peers address list.",