Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
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
nexedi
slapos.toolbox
Commits
62fa4ccb
Commit
62fa4ccb
authored
May 27, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import.
parent
41888571
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
slapos/cloudmgr/destroy.py
slapos/cloudmgr/destroy.py
+1
-1
slapos/cloudmgr/getpubliciplist.py
slapos/cloudmgr/getpubliciplist.py
+1
-1
slapos/cloudmgr/list.py
slapos/cloudmgr/list.py
+1
-1
slapos/cloudmgr/start.py
slapos/cloudmgr/start.py
+1
-1
slapos/cloudmgr/stop.py
slapos/cloudmgr/stop.py
+1
-1
slapos/cloudmgr/update.py
slapos/cloudmgr/update.py
+1
-1
No files found.
slapos/cloudmgr/destroy.py
View file @
62fa4ccb
from
slapos.
tool.
cloudmgr.lib
import
getDriverInstance
,
getNode
from
slapos.cloudmgr.lib
import
getDriverInstance
,
getNode
from
libcloud.types
import
NodeState
import
sys
def
destroy
(
key
,
secret
,
service
,
node_uuid
):
...
...
slapos/cloudmgr/getpubliciplist.py
View file @
62fa4ccb
from
slapos.
tool.
cloudmgr.lib
import
getDriverInstance
,
getNode
from
slapos.cloudmgr.lib
import
getDriverInstance
,
getNode
from
libcloud.types
import
NodeState
import
time
import
sys
...
...
slapos/cloudmgr/list.py
View file @
62fa4ccb
# Original work by Cedric de Saint Martin, adapted by Lukasz Nowak
import
sys
from
slapos.
tool.
cloudmgr.lib
import
getDriverInstance
from
slapos.cloudmgr.lib
import
getDriverInstance
def
nodelist
(
key
,
secret
,
service
):
driver
=
getDriverInstance
(
service
,
key
,
secret
)
...
...
slapos/cloudmgr/start.py
View file @
62fa4ccb
from
slapos.
tool.
cloudmgr.lib
import
getDriverInstance
,
getNode
from
slapos.cloudmgr.lib
import
getDriverInstance
,
getNode
import
sys
def
start
(
key
,
secret
,
service
,
node_uuid
):
"""Starts node"""
...
...
slapos/cloudmgr/stop.py
View file @
62fa4ccb
from
getprivatekey
import
getprivatekey
from
libcloud.types
import
NodeState
from
slapos.
tool.
cloudmgr.lib
import
getDriverInstance
,
getSSHConnection
,
getNode
from
slapos.cloudmgr.lib
import
getDriverInstance
,
getSSHConnection
,
getNode
from
paramiko
import
SSHException
import
sys
...
...
slapos/cloudmgr/update.py
View file @
62fa4ccb
from
slapos.
tool.
cloudmgr.lib
import
getDriverInstance
from
slapos.cloudmgr.lib
import
getDriverInstance
import
sys
import
uuid
from
libcloud.types
import
NodeState
...
...
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