Commit 242e94db authored by Rafael Monnerat's avatar Rafael Monnerat

kvm: Fix resilient json schema

parent c1c02ff7
{ {
"type": "object", "type": "object",
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"items": {
"allOf": [ "allOf": [
{ {
"$ref": "instance-kvm-input-schema.json" "$ref": "instance-kvm-input-schema.json#/"
} },
], {
"title": "Input Parameters",
"properties": { "properties": {
"-sla-0-computer_guid": { "-sla-0-computer_guid": {
"title": "Target computer for main instance", "title": "Target computer for main instance",
"description": "Target computer GUID for main instance.", "description": "Target computer GUID for main instance.",
"type": "string" "type": "string",
"optional": true
}, },
"-sla-1-computer_guid": { "-sla-1-computer_guid": {
"title": "Target computer for first clone", "title": "Target computer for first clone",
"description": "Target computer for first clone and PBS.", "description": "Target computer for first clone and PBS.",
"type": "string" "type": "string",
"optional": true
}, },
"-sla-2-computer_guid": { "-sla-2-computer_guid": {
"title": "Target computer for second clone", "title": "Target computer for second clone",
"description": "Target computer for second clone and PBS.", "description": "Target computer for second clone and PBS.",
"type": "string" "type": "string",
"optional": true
}, },
"resiliency-backup-periodicity": { "resiliency-backup-periodicity": {
"title": "Periodicity of backup", "title": "Periodicity of backup",
"description": "Periodicity of backup, in cron format.", "description": "Periodicity of backup, in cron format.",
"type": "string" "type": "string",
"optional": true
}, },
"remove-backup-older-than": { "remove-backup-older-than": {
"title": "Remove backups older than...", "title": "Remove backups older than...",
"description": "Remove all the backups in PBS that are older than specified value. It should be rdiff-backup-compatible.", "description": "Remove all the backups in PBS that are older than specified value. It should be rdiff-backup-compatible.",
"type": "string", "type": "string",
"default": "3B" "default": "3B",
"optional": true
}, },
"resilient-clone-number": { "resilient-clone-number": {
"title": "Amount of backup(s) to create", "title": "Amount of backup(s) to create",
"description": "Amount of backup(s) to create. Each backup consists of a Pull Backup Server and a clone.", "description": "Amount of backup(s) to create. Each backup consists of a Pull Backup Server and a clone.",
"type": "integer", "type": "integer",
"default": 2 "default": 2,
"optional": true
}, },
"ignore-known-hosts-file": { "ignore-known-hosts-file": {
"title": "Ignore known_hosts file", "title": "Ignore known_hosts file",
"description": "Set either to fill known_hosts file for ssh or not. Useful if main instance and PBS are using the same IP (slapos proxy, webrunner).", "description": "Set either to fill known_hosts file for ssh or not. Useful if main instance and PBS are using the same IP (slapos proxy, webrunner).",
"type": "boolean", "type": "boolean",
"default": false "default": false,
"optional": true
} }
} }
} }
]
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment