mirror of
https://github.com/Telecominfraproject/wlan-ucentral-schema.git
synced 2026-01-27 10:23:38 +00:00
WIFI-13798 : Increase MAX MTU to 1600
closes WIFI-13798 : Increase MAX MTU to 1600 Signed-off-by: joydeepbenison <joydeep.ghosh@benisontech.com>
This commit is contained in:
@@ -35,7 +35,7 @@ properties:
|
||||
description:
|
||||
The MTU of this logical interface.
|
||||
type: integer
|
||||
maximum: 1500
|
||||
maximum: 1600
|
||||
minimum: 1280
|
||||
services:
|
||||
description:
|
||||
|
||||
@@ -6422,8 +6422,8 @@ function instantiateInterface(location, value, errors) {
|
||||
|
||||
function parseMtu(location, value, errors) {
|
||||
if (type(value) in [ "int", "double" ]) {
|
||||
if (value > 1500)
|
||||
push(errors, [ location, "must be lower than or equal to 1500" ]);
|
||||
if (value > 1600)
|
||||
push(errors, [ location, "must be lower than or equal to 1600" ]);
|
||||
|
||||
if (value < 1280)
|
||||
push(errors, [ location, "must be bigger than or equal to 1280" ]);
|
||||
|
||||
@@ -856,7 +856,7 @@
|
||||
"mtu": {
|
||||
"description": "The MTU of this logical interface.",
|
||||
"type": "integer",
|
||||
"maximum": 1500,
|
||||
"maximum": 1600,
|
||||
"minimum": 1280
|
||||
},
|
||||
"services": {
|
||||
|
||||
@@ -2296,7 +2296,7 @@
|
||||
},
|
||||
"mtu": {
|
||||
"type": "integer",
|
||||
"maximum": 1500,
|
||||
"maximum": 1600,
|
||||
"minimum": 1280
|
||||
},
|
||||
"services": {
|
||||
|
||||
@@ -2623,7 +2623,7 @@
|
||||
"mtu": {
|
||||
"description": "The MTU of this logical interface.",
|
||||
"type": "integer",
|
||||
"maximum": 1500,
|
||||
"maximum": 1600,
|
||||
"minimum": 1280
|
||||
},
|
||||
"services": {
|
||||
|
||||
Reference in New Issue
Block a user