agent_tasks.py 458 Bytes
Newer Older
Bach Dániel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
from manager.mancelery import celery


@celery.task(name='agent.change_password')
def change_password(vm, password):
    pass


@celery.task(name='agent.restart_networking')
def restart_networking(vm):
    pass


@celery.task(name='agent.set_time')
def set_time(vm, time):
    pass


@celery.task(name='agent.set_hostname')
def set_hostname(vm, time):
    pass
Bach Dániel committed
22 23 24 25 26


@celery.task(name='agent.mount_store')
def mount_store(vm, host, username, password):
    pass