Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
6071d384
Commit
6071d384
authored
Mar 28, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
documentation: Small update on the documentation.
parent
c66aabc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
15 deletions
+34
-15
documentation/source/slapos.usage.rst
documentation/source/slapos.usage.rst
+31
-15
documentation/source/tioformat.rst
documentation/source/tioformat.rst
+3
-0
No files found.
documentation/source/slapos.usage.rst
View file @
6071d384
...
...
@@ -85,7 +85,11 @@ Examples
* Request a kvm instance specifying the full URL, with default settings::
$ slapos request mykvm \
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.156:/software/kvm/software.cfg
https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56/software/kvm/software.cfg
* Request a kvm instance specifying an alias from SlapOS Master, with default settings::
$ slapos request mykvm product.kvm
..
XXX update me
...
...
@@ -135,11 +139,16 @@ Nodes will then be ready to accept instances of specified software.
Examples
* Ask installation of wordpress Software Release on COMP-12345::
* Ask installation of kvm Software Release on COMP-12345::
$ slapos supply kvm COMP-12345
* Ask installation of kvm Software Relase on COMP-12345, using alias from SlapOS Master::
$ slapos supply product.kvm COMP-12345
$ slapos supply wordpress COMP-12345
In this example, ``
wordpress
`` is an alias for the full URL, and is defined in :file:`slapos-client.cfg`.
In this example, ``
kvm
`` is an alias for the full URL, and is defined in :file:`slapos-client.cfg`.
remove
~~~~~~
...
...
@@ -153,11 +162,11 @@ Ask removal of a software from a specific node or group of nodes. Existing insta
Examples
* Ask installation of
wordpress
Software Release on COMP-12345::
* Ask installation of
kvm
Software Release on COMP-12345::
$ slapos supply
wordpress
COMP-12345
$ slapos supply
kvm
COMP-12345
In this example, ``
wordpress
`` is an alias for the full URL, and is defined in :file:`slapos-client.cfg`.
In this example, ``
kvm
`` is an alias for the full URL, and is defined in :file:`slapos-client.cfg`.
..
autosupply
...
...
@@ -218,14 +227,9 @@ This will register the current node, and generate the SlapOS configuration file.
The command requires an authentication token, either provided as an argument,
or given at the interactive prompt.
Go to the SlapOS Master web page, click ``My Space``, then ``My Account``, then
``Generate a computer security token``.
Go to the SlapOS Master web page, click ``Servers`` and them ``Token``.
A token is valid for a single ``node register`` command and will expire after one day.
The deprecated ``--login`` and ``--password`` options can be used with old SlapOS servers
that have no support for the token.
..
XXX-Cedric should be like this: If desired node name is already taken, will raise an error.
XXX-Cedric: --master-url-web url will disappear in REST API. Currently, "register" uses
...
...
@@ -298,6 +302,19 @@ Return values:
* 2 At least one promise has failed.
node collect
~~~~~~~~~~~~~
.. program-output:: python slapos help node collect
Return values:
**************
* 0 Everything went fine.
* 1 Fail to collect computer information.
node report
~~~~~~~~~~~
...
...
@@ -386,8 +403,7 @@ from the SlapOS Master. They will be used for all the "slapos client" commands.
The command requires an authentication token, either provided as an argument,
or given at the interactive prompt.
Go to the SlapOS Master web page, click ``My Space``, then ``My Account``, then
``Generate a credential security token``.
Go to the SlapOS Master web page, click ``Account``, then ``Token``.
A token is valid for a single ``configure client`` command and will expire after one day.
...
...
documentation/source/tioformat.rst
View file @
6071d384
...
...
@@ -7,6 +7,9 @@ What is TioFormat?
TIO is a data format used to provide informations about consumption, invoicing
and state history.
This innformation is used by SlapOS Master to generated invoices and/or utilisation
reports.
XSD
---
...
...
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