Commit c1c02ff7 authored by Rafael Monnerat's avatar Rafael Monnerat

Update JSON (fix fixes)

parent 539834df
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
"exclusiveMinimum": true "exclusiveMinimum": true
}, },
"cpu-usage-ratio": { "cpu-usage-ratio": {
"title": "CPU Usage Ratio",
"description": "Ratio of the CPU use for compilation, if value is set to n, compilation will use number-of-cpu/n of cpus (need instance restart)", "description": "Ratio of the CPU use for compilation, if value is set to n, compilation will use number-of-cpu/n of cpus (need instance restart)",
"type": "integer", "type": "integer",
"default" : 4 "default" : 4
......
...@@ -3,49 +3,56 @@ ...@@ -3,49 +3,56 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"allOf": [ "allOf": [
{ {
"$ref": "instance-runner-input-schema.json" "$ref": "instance-runner-input-schema.json#/"
}, },
{ {
"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
} }
} }
} }
] ]
} }
\ No newline at end of file
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