storage_manager.py 255 Bytes
Newer Older
Guba Sándor committed
1 2 3 4 5 6 7 8 9 10
from .mancelery import celery


@celery.task
def deploy(disk, user):
    '''Create new virtual machine from VM class.
    '''
    disk.deploy(task_uuid=deploy.rdiskd, user=user)


Guba Sándor committed
11
@celery.task
Guba Sándor committed
12 13 14 15
def delete():
    pass


Guba Sándor committed
16
@celery.task
Guba Sándor committed
17 18
def save_as():
    pass