Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
c1c02ff7
Commit
c1c02ff7
authored
Mar 20, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update JSON (fix fixes)
parent
539834df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
software/slaprunner/instance-runner-input-schema.json
software/slaprunner/instance-runner-input-schema.json
+1
-0
software/slaprunner/instance-runner-resilient-input-schema.json
...re/slaprunner/instance-runner-resilient-input-schema.json
+16
-9
No files found.
software/slaprunner/instance-runner-input-schema.json
View file @
c1c02ff7
...
@@ -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
...
...
software/slaprunner/instance-runner-resilient-input-schema.json
View file @
c1c02ff7
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment