mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +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",
|
||||
"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"]
|
||||
|
Loading…
Reference in New Issue
Block a user