Commit 62fa4ccb authored by Łukasz Nowak's avatar Łukasz Nowak

Fix import.

parent 41888571
from slapos.tool.cloudmgr.lib import getDriverInstance, getNode from slapos.cloudmgr.lib import getDriverInstance, getNode
from libcloud.types import NodeState from libcloud.types import NodeState
import sys import sys
def destroy(key, secret, service, node_uuid): def destroy(key, secret, service, node_uuid):
......
from slapos.tool.cloudmgr.lib import getDriverInstance, getNode from slapos.cloudmgr.lib import getDriverInstance, getNode
from libcloud.types import NodeState from libcloud.types import NodeState
import time import time
import sys import sys
......
# Original work by Cedric de Saint Martin, adapted by Lukasz Nowak # Original work by Cedric de Saint Martin, adapted by Lukasz Nowak
import sys import sys
from slapos.tool.cloudmgr.lib import getDriverInstance from slapos.cloudmgr.lib import getDriverInstance
def nodelist(key, secret, service): def nodelist(key, secret, service):
driver = getDriverInstance(service, key, secret) driver = getDriverInstance(service, key, secret)
......
from slapos.tool.cloudmgr.lib import getDriverInstance, getNode from slapos.cloudmgr.lib import getDriverInstance, getNode
import sys import sys
def start(key, secret, service, node_uuid): def start(key, secret, service, node_uuid):
"""Starts node""" """Starts node"""
......
from getprivatekey import getprivatekey from getprivatekey import getprivatekey
from libcloud.types import NodeState 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 from paramiko import SSHException
import sys import sys
......
from slapos.tool.cloudmgr.lib import getDriverInstance from slapos.cloudmgr.lib import getDriverInstance
import sys import sys
import uuid import uuid
from libcloud.types import NodeState from libcloud.types import NodeState
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment