]> git.puffer.fish Git - mirror/pve-network.git/commitdiff
controllers: evpn : add min/max value to asn
authorAlexandre Derumier <aderumier@odiso.com>
Fri, 11 Feb 2022 09:33:25 +0000 (10:33 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 13 Feb 2022 13:23:36 +0000 (14:23 +0100)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/Network/SDN/Controllers/EvpnPlugin.pm

index 61a631455aa7783e48b24e876e4a364e2b6c8f59..d02bdf70b5e202d5505cf832e3e66bbbc1192842 100644 (file)
@@ -22,6 +22,8 @@ sub properties {
        asn => {
            type => 'integer',
            description => "autonomous system number",
+           minimum => 0,
+           maximum => 4294967296
        },
        peers => {
            description => "peers address list.",