mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Success to add a dynamips with apiv2
This commit is contained in:
8 files changed
+114
-13
No files matched your search
@@ -135,6 +135,10 @@ VM_CREATE_SCHEMA = {
|
||||
"minimum": 1,
|
||||
"maximum": 65535
|
||||
},
|
||||
"console_type": {
|
||||
"description": "console type",
|
||||
"enum": ["telnet"]
|
||||
},
|
||||
"aux": {
|
||||
"description": "auxiliary console TCP port",
|
||||
"type": "integer",
|
||||
@@ -361,6 +365,10 @@ VM_UPDATE_SCHEMA = {
|
||||
"minimum": 1,
|
||||
"maximum": 65535
|
||||
},
|
||||
"console_type": {
|
||||
"description": "console type",
|
||||
"enum": ["telnet"]
|
||||
},
|
||||
"aux": {
|
||||
"description": "auxiliary console TCP port",
|
||||
"type": "integer",
|
||||
@@ -609,6 +617,10 @@ VM_OBJECT_SCHEMA = {
|
||||
"minimum": 1,
|
||||
"maximum": 65535
|
||||
},
|
||||
"console_type": {
|
||||
"description": "console type",
|
||||
"enum": ["telnet"]
|
||||
},
|
||||
"aux": {
|
||||
"description": "auxiliary console TCP port",
|
||||
"type": ["integer", "null"],
|
||||
@@ -737,7 +749,7 @@ VM_OBJECT_SCHEMA = {
|
||||
},
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["name", "vm_id", "project_id", "dynamips_id"]
|
||||
"required": ["name", "vm_id", "project_id", "dynamips_id", "console", "console_type"]
|
||||
}
|
||||
|
||||
VM_CONFIGS_SCHEMA = {
|
||||
|
||||
Reference in new issue
Block a user