remote_tasks.py 545 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
from manager.mancelery import celery


@celery.task(name='firewall.reload_dns')
def reload_dns(data):
    pass


@celery.task(name='firewall.reload_firewall')
def reload_firewall(data4, data6):
    pass


14 15 16 17 18
@celery.task(name='firewall.reload_firewall_vlan')
def reload_firewall_vlan(data):
    pass


19 20 21 22 23 24 25 26 27 28 29 30 31
@celery.task(name='firewall.reload_dhcp')
def reload_dhcp(data):
    pass


@celery.task(name='firewall.reload_blacklist')
def reload_blacklist(data):
    pass


@celery.task(name='firewall.get_dhcp_clients')
def get_dhcp_clients(data):
    pass