Lines Matching refs:CONF

110 CONF = cfg.CONF
113 CONF.register_group(OPT_GROUP)
114 CONF.register_opts(AI_OPTS, OPT_GROUP)
115 CONF.register_opts(AUTH_OPTS)
119 CONF.register_group(SOLARIS_IPMI_GROUP)
120 CONF.register_opts(SOLARIS_IPMI_OPTS, SOLARIS_IPMI_GROUP)
365 (CONF.ipmi.retry_timeout // CONF.ipmi.min_command_interval), 1)
372 args.append(str(CONF.ipmi.min_command_interval))
374 end_time = (time.time() + CONF.ipmi.retry_timeout)
380 time_till_next_poll = CONF.ipmi.min_command_interval - (
607 timeout=int(CONF.solaris_ipmi.imagecache_lock_timeout))
709 temp_uri = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
736 dir=CONF.solaris_ipmi.imagecache_dirname)
744 temp_uri = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
825 dir=CONF.solaris_ipmi.imagecache_dirname)
869 mount_dir = tempfile.mkdtemp(dir=CONF.solaris_ipmi.imagecache_dirname)
961 if CONF.auth_strategy != "keystone":
1020 (CONF.glance.glance_host, CONF.glance.glance_port,
1109 if CONF.auth_strategy != "keystone":
1440 if not CONF.ai.server or CONF.ai.server == "None":
1445 if not CONF.ai.username or CONF.ai.username == "None":
1450 if ((not CONF.ai.password or CONF.ai.password == "None") and
1451 (not CONF.ai.ssh_key_file or CONF.ai.ssh_key_file == "None") and
1452 (not CONF.ai.ssh_key_contents or
1453 CONF.ai.ssh_key_contents == "None")):
1517 CONF.conductor.api_url or keystone.get_service_url()
1569 timer.start(interval=int(CONF.ai.deploy_interval))
1626 if not os.path.exists(CONF.solaris_ipmi.imagecache_dirname):
1627 os.makedirs(CONF.solaris_ipmi.imagecache_dirname)
1784 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
1788 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
1852 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
1856 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
2315 self._derived_manifest = CONF.ai.derived_manifest
2670 if not CONF.ai.server or CONF.ai.server == "None" or \
2671 not CONF.ai.username or CONF.ai.username == "None":
2676 'host': CONF.ai.server,
2677 'username': CONF.ai.username,
2678 'port': int(CONF.ai.port),
2679 'timeout': int(CONF.ai.timeout)
2683 if CONF.ai.ssh_key_contents and CONF.ai.ssh_key_contents != "None":
2684 key_contents = CONF.ai.ssh_key_contents
2685 if CONF.ai.ssh_key_file and CONF.ai.ssh_key_file != "None":
2686 key_filename = CONF.ai.ssh_key_file
2687 if CONF.ai.password and CONF.ai.password != "None":
2688 password = CONF.ai.password