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
0
Merge Requests
0
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
Xavier Thompson
slapos.core
Commits
be61101e
Commit
be61101e
authored
Feb 16, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve slapconsole documentation
parent
2d04ef4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
slapos/README.console.txt
slapos/README.console.txt
+14
-2
No files found.
slapos/README.console.txt
View file @
be61101e
...
@@ -68,9 +68,21 @@ Examples
...
@@ -68,9 +68,21 @@ Examples
=====
=====
>>> # Request instance
>>> # Request instance
>>> request(kvm, "myuniquekvm")
>>> request(kvm, "myuniquekvm")
>>> # Request instance on specific computer
>>> request(kvm, "myotheruniquekvm",
filter_kw={ "computer_guid": "COMP-12345" })
>>> # Request instance, specifying parameters (here nbd_ip and nbd_port)
>>> request(kvm, "mythirduniquekvm",
partition_parameter_kw={"nbd_ip":"2a01:e35:2e27:460:e2cb:4eff:fed9:48dc",
"nbd_port":"1024"})
>>> # Request software installation on owned computer
>>> # Request software installation on owned computer
>>> supply(kvm, "mycomputer")
>>> supply(kvm, "mycomputer")
>>> # Fetch instance status
>>> # Fetch existing instance status
>>> request(kvm, "myuniquekvm").getState()
>>> request(kvm, "myuniquekvm").getState()
>>> # Fetch instance informations on already launched instance
>>> # Fetch instance informations on already launched instance
>>> request(kvm, "myuniquekvm").getConnectionParameter("url")
>>> request(kvm, "myuniquekvm").getConnectionParameter("url")
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