mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
Fixes WICs port number validation error.
This commit is contained in:
parent
b54e554497
commit
97e19ac7a5
@ -496,7 +496,7 @@ VM_ADD_NIO_SCHEMA = {
|
|||||||
"description": "Port number",
|
"description": "Port number",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 15
|
"maximum": 49 # maximum is 16 for regular port numbers, WICs port numbers start at 16, 32 or 48
|
||||||
},
|
},
|
||||||
"nio": {
|
"nio": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@ -534,7 +534,7 @@ VM_DELETE_NIO_SCHEMA = {
|
|||||||
"description": "Port number",
|
"description": "Port number",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 15
|
"maximum": 49 # maximum is 16 for regular port numbers, WICs port numbers start at 16, 32 or 48
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"required": ["id", "slot", "port"]
|
"required": ["id", "slot", "port"]
|
||||||
|
Loading…
Reference in New Issue
Block a user