Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos
Commits
4e5626f8
Commit
4e5626f8
authored
Oct 17, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add schemas used to validate input/output parameters of a KVM instance.
parent
72a524af
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
0 deletions
+84
-0
software/kvm/instance-kvm-input-schema.json
software/kvm/instance-kvm-input-schema.json
+59
-0
software/kvm/instance-kvm-output-schema.json
software/kvm/instance-kvm-output-schema.json
+25
-0
No files found.
software/kvm/instance-kvm-input-schema.json
0 → 100644
View file @
4e5626f8
{
"name"
:
"Input Parameters"
,
"properties"
:
{
"ram-size"
:
{
"title"
:
"RAM size"
,
"description"
:
"RAM size, in MB."
,
"type"
:
"integer"
,
"default"
:
1024
,
"minimum"
:
128
,
"maximum"
:
16384
},
"disk-size"
:
{
"title"
:
"Disk size"
,
"description"
:
"Disk size, in GB."
,
"type"
:
"integer"
,
"default"
:
10
,
"minimum"
:
1
,
"maximum"
:
80
},
"nbd-ip"
:
{
"title"
:
"NBD hostname"
,
"description"
:
"hostname (or IP) of the NBD server containing the boot image."
,
"type"
:
"string"
,
"format"
:
[
"host-name"
,
"ip-address"
,
"ipv6"
],
"default"
:
"debian.nbd.vifib.net"
},
"nbd-port"
:
{
"title"
:
"NBD port"
,
"description"
:
"Port of the NBD server containing the boot image."
,
"type"
:
"integer"
,
"default"
:
1024
,
"minimum"
:
1
,
"maximum"
:
65535
},
"frontend-instance-guid"
:
{
"title"
:
"Frontend Instance ID"
,
"description"
:
"Unique identifier of the frontend instance, like
\"
SOFTINST-11031
\"
."
,
"type"
:
"string"
,
"default"
:
"SOFTINST-11031"
},
"frontend-software-type"
:
{
"title"
:
"Frontend Software Type"
,
"description"
:
"Type of the frontend instance, like
\"
frontend
\"
."
,
"type"
:
"string"
,
"default"
:
"frontend"
},
"frontend-software-url"
:
{
"title"
:
"Frontend Software URL"
,
"description"
:
"Software Release URL of the frontend instance, like
\"
http://example.com/path/to/software.cfg
\"
."
,
"type"
:
"string"
,
"format"
:
"uri"
,
"default"
:
"http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.92:/software/kvm/software.cfg"
}
}
}
software/kvm/instance-kvm-output-schema.json
0 → 100644
View file @
4e5626f8
{
"name"
:
"Output Parameters"
,
"properties"
:
{
"backend-url"
:
{
"title"
:
"Backend URL"
,
"description"
:
"URL used to connect directly to backend without frontend. Requires IPv6."
,
"type"
:
"uri"
,
"required"
:
true
},
"url"
:
{
"title"
:
"URL"
,
"description"
:
"URL used to connect to the service."
,
"type"
:
"uri"
,
"required"
:
false
},
"password"
:
{
"title"
:
"Password"
,
"description"
:
"Password used to authenticate in the service webpage."
,
"type"
:
"uri"
,
"required"
:
true
}
}
}
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