Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
snf-occi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
itminedu
snf-occi
Commits
62e198ba
Commit
62e198ba
authored
Oct 17, 2016
by
Stavros Sachtouris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docstrings in compute.py
parent
c9a95681
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
soi/compute.py
soi/compute.py
+2
-2
No files found.
soi/compute.py
View file @
62e198ba
...
...
@@ -133,7 +133,7 @@ def snf_create_server(cls, req, name, image, flavor, **kwargs):
def
snf_delete_server
(
cls
,
req
,
server_id
):
print
'Deleting VM with id {0}'
.
format
(
server_id
)
"""Synnefo: delete server"""
req
.
environ
[
'service_type'
]
=
'compute'
req
.
environ
[
'method_name'
]
=
'servers_delete'
req
.
environ
[
'kwargs'
]
=
{
'server_id'
:
server_id
}
...
...
@@ -141,7 +141,7 @@ def snf_delete_server(cls, req, server_id):
def
snf_run_action
(
cls
,
req
,
action
,
server_id
):
print
"Performing action {0} on VM with id {1}"
.
format
(
action
,
server_id
)
"""Synnefo: server actions"""
actions_map
=
{
"stop"
:
{
"kwargs"
:
{
"server_id"
:
server_id
,
...
...
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