1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 08:18:30 +00:00

Fixes WICs port number validation error.

This commit is contained in:
grossmj 2014-04-30 11:06:45 -06:00
parent b54e554497
commit 97e19ac7a5

View File

@ -496,7 +496,7 @@ VM_ADD_NIO_SCHEMA = {
"description": "Port number",
"type": "integer",
"minimum": 0,
"maximum": 15
"maximum": 49 # maximum is 16 for regular port numbers, WICs port numbers start at 16, 32 or 48
},
"nio": {
"type": "object",
@ -534,7 +534,7 @@ VM_DELETE_NIO_SCHEMA = {
"description": "Port number",
"type": "integer",
"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"]