summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2022-02-11 10:33:25 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2022-02-13 14:23:36 +0100
commit9e6b99fd8ce76e0b032c44e53b148e9c6fc1aa54 (patch)
tree50f6ed58c0b2532713bc010394c4987665d9fd2c
parent1262519c3de7ca0dabbdc9a988e61b76328862fa (diff)
controllers: evpn : add min/max value to asn
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
-rw-r--r--PVE/Network/SDN/Controllers/EvpnPlugin.pm2
1 files changed, 2 insertions, 0 deletions
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.",