예제 #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