def default_template_name(): return default_value('LIBVIRT_DEFAULT_TEMPLATE', 'default_template.tmpl')
def libvirt_uuid_file(): def_value = '{0}/.libvirt_uuid'.format(Config.home()) return default_value('LIBVIRT_UUID_FILE', def_value)
def template_dirs(): default = path.join(path.dirname(__file__)) return default_value('LIBVIRT_TEMPLATE_DIR', default).split()
def docker_host_ip(): return default_value('DOCKER_HOST_IP', Config.agent_ip())
def pool_directories(): return default_value('LIBVIRT_POOL_DIRECTORIES', path.join(Config.home(), 'pools/libvirt')).split()
def docker_home(): return default_value('DOCKER_HOME', '/var/lib/docker')
def api_version(): return default_value('DOCKER_API_VERSION', '1.8')
def docker_enabled(): return default_value('DOCKER_ENABLED', 'true') == 'true'
def url_base(): return default_value('DOCKER_URL_BASE', None)
def docker_uuid_file(): def_value = '{0}/.docker_uuid'.format(Config.home()) return default_value('DOCKER_UUID_FILE', def_value)
def pool_drivers(): return default_value('LIBVIRT_POOL_DRIVERS', 'directory').split()