Support for none console type (Qemu & Docker only)

This commit is contained in:
grossmj committed 2018-03-23 15:44:16 +07:00
1 parent a40fdb3641
commit b8353bc0d5
6 files changed
+17 -19

No files matched your search

+3 -3
View File
@@ -41,7 +41,7 @@ DOCKER_CREATE_SCHEMA = {
},
"console_type": {
"description": "Console type",
"enum": ["telnet", "vnc", "http", "https"]
"enum": ["telnet", "vnc", "http", "https", "none"]
},
"console_resolution": {
"description": "Console resolution for VNC",
@@ -126,7 +126,7 @@ DOCKER_OBJECT_SCHEMA = {
"description": "Console TCP port",
"minimum": 1,
"maximum": 65535,
"type": "integer"
"type": ["integer", "null"]
},
"console_resolution": {
"description": "Console resolution for VNC",
@@ -135,7 +135,7 @@ DOCKER_OBJECT_SCHEMA = {
},
"console_type": {
"description": "Console type",
"enum": ["telnet", "vnc", "http", "https"]
"enum": ["telnet", "vnc", "http", "https", "none"]
},
"console_http_port": {
"description": "Internal port in the container for the HTTP server",
+1 -1
View File
@@ -144,7 +144,7 @@ NODE_OBJECT_SCHEMA = {
},
"console_type": {
"description": "Console type",
"enum": ["vnc", "telnet", "http", "https", "spice", None]
"enum": ["vnc", "telnet", "http", "https", "spice", "none"]
},
"properties": {
"description": "Properties specific to an emulator",
+4 -4
View File
@@ -63,7 +63,7 @@ QEMU_CREATE_SCHEMA = {
},
"console_type": {
"description": "Console type",
"enum": ["telnet", "vnc", "spice"]
"enum": ["telnet", "vnc", "spice", "none"]
},
"hda_disk_image": {
"description": "QEMU hda disk image path",
@@ -244,7 +244,7 @@ QEMU_UPDATE_SCHEMA = {
},
"console_type": {
"description": "Console type",
"enum": ["telnet", "vnc", "spice"]
"enum": ["telnet", "vnc", "spice", "none"]
},
"linked_clone": {
"description": "Whether the VM is a linked clone or not",
@@ -537,11 +537,11 @@ QEMU_OBJECT_SCHEMA = {
"description": "Console TCP port",
"minimum": 1,
"maximum": 65535,
"type": "integer"
"type": ["integer", "null"]
},
"console_type": {
"description": "Console type",
"enum": ["telnet", "vnc", "spice"]
"enum": ["telnet", "vnc", "spice", "none"]
},
"initrd": {
"description": "QEMU initrd path",