def stop(request):
    if 'host' in request.DATA:
        host = request.DATA['host']
        my_task = tasks.async_stop_exports.delay(host)
        logger.info("Scheduled stop of NFS exports for host=%s: taskqueue_id=%s", host, my_task.id)
    else:
        my_task = tasks.async_stop_exports.delay()
        logger.info("Scheduled stop of NFS exports: taskqueue_id=%s", my_task.id)
    return Response({'taskqueue_id': my_task.id})