Пример #1
0
class HADES_CELERY_WORKER_HOSTNAME(Option):
    """
    Hostname of the hades-agent Celery worker.
    """
    default = compute.deferred_format('{}.{}', HADES_SITE_NAME,
                                      HADES_SITE_NODE_ID)
    type = str
Пример #2
0
class HADES_CELERY_NODE_ROUTING_KEY(Option):
    default = compute.deferred_format('{}.{}', HADES_SITE_NAME,
                                      HADES_SITE_NODE_ID)
    type = str
Пример #3
0
class HADES_CELERY_NODE_QUEUE(Option):
    default = compute.deferred_format('hades.{}.{}', HADES_SITE_NAME,
                                      HADES_SITE_NODE_ID)
    type = str
Пример #4
0
class HADES_PORTAL_URL(Option):
    """URL of the landing page of the captive portal"""
    default = compute.deferred_format("http://{}/", HADES_PORTAL_DOMAIN)
    type = str