Commit f79946dd by Guba Sándor

refactor

parent 82d78359
from mancelery import celery
@celery.task
def deploy(instance, user):
'''Create new virtual machine from VM class.
'''
instance.deploy(task_uuid=deploy.request.id, user=user)
def delete():
pass
def save_as():
pass
def suspend():
pass
def resume():
pass
def restart():
pass
def reset():
pass
def migrate():
pass
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 sign in to comment