1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-15 21:08:55 +00:00

Set defaults for custom cloud nodes.

This commit is contained in:
grossmj 2019-07-10 15:51:06 +02:00
parent b0f74c2a5e
commit 03c7744efd

View File

@ -28,13 +28,15 @@ CLOUD_TEMPLATE_PROPERTIES = {
"remote_console_host": {
"description": "Remote console host or IP",
"type": ["string"],
"minLength": 1
"minLength": 1,
"default": "127.0.0.1"
},
"remote_console_port": {
"description": "Console TCP port",
"minimum": 1,
"maximum": 65535,
"type": "integer"
"type": "integer",
"default": 23
},
"remote_console_type": {
"description": "Console type",
@ -43,7 +45,8 @@ CLOUD_TEMPLATE_PROPERTIES = {
"remote_console_http_path": {
"description": "Path of the remote web interface",
"type": "string",
"minLength": 1
"minLength": 1,
"default": "/"
},
}