Docker VNC support

Ref https://github.com/GNS3/gns3-gui/issues/947
This commit is contained in:
Julien Duponchelle committed 2016-02-29 23:09:47 +01:00
1 parent 9d28f4c0c3
commit 03ffce0a75
5 files changed
+168 -66

No files matched your search

+13 -1
View File
@@ -39,6 +39,10 @@ DOCKER_CREATE_SCHEMA = {
"maximum": 65535,
"type": ["integer", "null"]
},
"console_type": {
"description": "console type",
"enum": ["telnet", "vnc"]
},
"aux": {
"description": "auxilary TCP port",
"minimum": 1,
@@ -88,6 +92,10 @@ DOCKER_UPDATE_SCHEMA = {
"maximum": 65535,
"type": ["integer", "null"]
},
"console_type": {
"description": "console type",
"enum": ["telnet", "vnc"]
},
"aux": {
"description": "auxilary TCP port",
"minimum": 1,
@@ -143,6 +151,10 @@ DOCKER_OBJECT_SCHEMA = {
"maximum": 65535,
"type": ["integer", "null"]
},
"console_type": {
"description": "console type",
"enum": ["telnet", "vnc"]
},
"container_id": {
"description": "Docker container ID",
"type": "string",
@@ -184,7 +196,7 @@ DOCKER_OBJECT_SCHEMA = {
}
},
"additionalProperties": False,
"required": ["vm_id", "project_id", "image", "container_id", "adapters", "aux", "console", "start_command", "environment", "vm_directory"]
"required": ["vm_id", "project_id", "image", "container_id", "adapters", "aux", "console", "console_type", "start_command", "environment", "vm_directory"]
}