Add missing default values in Cloud schema.

pull/1643/head
grossmj 5 years ago
parent 6626bf37a6
commit 7c07d0b4bd

@ -23,7 +23,8 @@ from .port import PORT_OBJECT_SCHEMA
CLOUD_TEMPLATE_PROPERTIES = { CLOUD_TEMPLATE_PROPERTIES = {
"ports_mapping": { "ports_mapping": {
"type": "array", "type": "array",
"items": [PORT_OBJECT_SCHEMA] "items": [PORT_OBJECT_SCHEMA],
"default": []
}, },
"remote_console_host": { "remote_console_host": {
"description": "Remote console host or IP", "description": "Remote console host or IP",
@ -40,7 +41,8 @@ CLOUD_TEMPLATE_PROPERTIES = {
}, },
"remote_console_type": { "remote_console_type": {
"description": "Console type", "description": "Console type",
"enum": ["telnet", "vnc", "spice", "http", "https", "none"] "enum": ["telnet", "vnc", "spice", "http", "https", "none"],
"default": "none"
}, },
"remote_console_http_path": { "remote_console_http_path": {
"description": "Path of the remote web interface", "description": "Path of the remote web interface",

Loading…
Cancel
Save