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
Roque
slapos
Commits
d9192885
Commit
d9192885
authored
Apr 22, 2016
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix resilient instance input schema
parent
7bdaefa1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
20 deletions
+44
-20
software/kvm/instance-kvm-resilient-input-schema.json
software/kvm/instance-kvm-resilient-input-schema.json
+19
-7
software/slaprunner/instance-runner-resilient-input-schema.json
...re/slaprunner/instance-runner-resilient-input-schema.json
+25
-13
No files found.
software/kvm/instance-kvm-resilient-input-schema.json
View file @
d9192885
...
@@ -7,6 +7,13 @@
...
@@ -7,6 +7,13 @@
},
},
{
{
"properties"
:
{
"properties"
:
{
"resilient-clone-number"
:
{
"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."
,
"type"
:
"integer"
,
"default"
:
1
,
"optional"
:
true
},
"-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."
,
...
@@ -19,12 +26,24 @@
...
@@ -19,12 +26,24 @@
"type"
:
"string"
,
"type"
:
"string"
,
"optional"
:
true
"optional"
:
true
},
},
"-sla-pbs1-computer_guid"
:
{
"title"
:
"Target computer for first PBS"
,
"description"
:
"Target computer for first PBS instance."
,
"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
"optional"
:
true
},
},
"-sla-pbs2-computer_guid"
:
{
"title"
:
"Target computer for second PBS"
,
"description"
:
"Target computer for second PBS instance."
,
"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."
,
...
@@ -38,13 +57,6 @@
...
@@ -38,13 +57,6 @@
"default"
:
"2W"
,
"default"
:
"2W"
,
"optional"
:
true
"optional"
:
true
},
},
"resilient-clone-number"
:
{
"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."
,
"type"
:
"integer"
,
"default"
:
1
,
"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)."
,
...
...
software/slaprunner/instance-runner-resilient-input-schema.json
View file @
d9192885
...
@@ -7,21 +7,41 @@
...
@@ -7,21 +7,41 @@
},
},
{
{
"properties"
:
{
"properties"
:
{
"-sla-0-computer_guid"
:
{
"resilient-clone-number"
:
{
"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."
,
"type"
:
"integer"
,
"default"
:
1
,
"enum"
:
[
1
,
2
],
"optional"
:
true
},
"-sla-runner0-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
"optional"
:
true
},
},
"-sla-1-computer_guid"
:
{
"-sla-
runner
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 instance."
,
"type"
:
"string"
,
"optional"
:
true
},
"-sla-pbs1-computer_guid"
:
{
"title"
:
"Target computer for first PBS"
,
"description"
:
"Target computer for first PBS instance."
,
"type"
:
"string"
,
"type"
:
"string"
,
"optional"
:
true
"optional"
:
true
},
},
"-sla-2-computer_guid"
:
{
"-sla-
runner
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 instance."
,
"type"
:
"string"
,
"optional"
:
true
},
"-sla-pbs2-computer_guid"
:
{
"title"
:
"Target computer for second PBS"
,
"description"
:
"Target computer for second PBS instance."
,
"type"
:
"string"
,
"type"
:
"string"
,
"optional"
:
true
"optional"
:
true
},
},
...
@@ -38,14 +58,6 @@
...
@@ -38,14 +58,6 @@
"default"
:
"2W"
,
"default"
:
"2W"
,
"optional"
:
true
"optional"
:
true
},
},
"resilient-clone-number"
:
{
"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."
,
"type"
:
"integer"
,
"default"
:
1
,
"enum"
:
[
1
,
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)."
,
...
...
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