From: Alexandre Derumier Date: Wed, 8 Jan 2020 03:31:20 +0000 (+0100) Subject: api2 : network : add mtu X-Git-Url: https://git.proxmox.com/?p=pve-manager.git;a=commitdiff_plain;h=94011309e2168bfa7c11dd7bae28773170f02c98 api2 : network : add mtu min 1280 to handle ipv6 && ipv4 max 65520 (infinibad support it) Signed-off-by: Alexandre Derumier --- diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm index a754c0bf..20e37781 100644 --- a/PVE/API2/Network.pm +++ b/PVE/API2/Network.pm @@ -143,6 +143,13 @@ my $confdesc = { type => 'string', format => 'CIDRv4', optional => 1, }, + mtu => { + description => 'MTU.', + optional => 1, + type => 'integer', + minimum => 1280, + maximum => 65520, + }, gateway6 => { description => 'Default ipv6 gateway address.', type => 'string', format => 'ipv6',