diff --git a/schema/interface.yml b/schema/interface.yml index e4eb6e8..830f970 100644 --- a/schema/interface.yml +++ b/schema/interface.yml @@ -35,7 +35,7 @@ properties: description: The MTU of this logical interface. type: integer - maximum: 1500 + maximum: 1600 minimum: 1280 services: description: diff --git a/schemareader.uc b/schemareader.uc index b373dea..cf1815a 100644 --- a/schemareader.uc +++ b/schemareader.uc @@ -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" ]); diff --git a/ucentral.schema.full.json b/ucentral.schema.full.json index e806ecb..ede0941 100644 --- a/ucentral.schema.full.json +++ b/ucentral.schema.full.json @@ -856,7 +856,7 @@ "mtu": { "description": "The MTU of this logical interface.", "type": "integer", - "maximum": 1500, + "maximum": 1600, "minimum": 1280 }, "services": { diff --git a/ucentral.schema.json b/ucentral.schema.json index 9584050..e79e989 100644 --- a/ucentral.schema.json +++ b/ucentral.schema.json @@ -2296,7 +2296,7 @@ }, "mtu": { "type": "integer", - "maximum": 1500, + "maximum": 1600, "minimum": 1280 }, "services": { diff --git a/ucentral.schema.pretty.json b/ucentral.schema.pretty.json index fa28d00..5ba195f 100644 --- a/ucentral.schema.pretty.json +++ b/ucentral.schema.pretty.json @@ -2623,7 +2623,7 @@ "mtu": { "description": "The MTU of this logical interface.", "type": "integer", - "maximum": 1500, + "maximum": 1600, "minimum": 1280 }, "services": {