Lines Matching defs:CONF

106 CONF = cfg.CONF
109 CONF.register_group(OPT_GROUP)
110 CONF.register_opts(AI_OPTS, OPT_GROUP)
114 CONF.register_group(SOLARIS_IPMI_GROUP)
115 CONF.register_opts(SOLARIS_IPMI_OPTS, SOLARIS_IPMI_GROUP)
394 (CONF.ipmi.retry_timeout // CONF.ipmi.min_command_interval), 1)
401 args.append(str(CONF.ipmi.min_command_interval))
403 end_time = (time.time() + CONF.ipmi.retry_timeout)
409 time_till_next_poll = CONF.ipmi.min_command_interval - (
637 timeout=int(CONF.solaris_ipmi.imagecache_lock_timeout))
739 temp_uri = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
766 dir=CONF.solaris_ipmi.imagecache_dirname)
774 temp_uri = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
855 dir=CONF.solaris_ipmi.imagecache_dirname)
899 mount_dir = tempfile.mkdtemp(dir=CONF.solaris_ipmi.imagecache_dirname)
991 if CONF.auth_strategy != "keystone":
1050 (CONF.glance.glance_host, CONF.glance.glance_port,
1139 if CONF.auth_strategy != "keystone":
1506 if not CONF.ai.server or CONF.ai.server == "None":
1511 if not CONF.ai.username or CONF.ai.username == "None":
1516 if ((not CONF.ai.password or CONF.ai.password == "None") and
1517 (not CONF.ai.ssh_key_file or CONF.ai.ssh_key_file == "None") and
1518 (not CONF.ai.ssh_key_contents or
1519 CONF.ai.ssh_key_contents == "None")):
1583 CONF.conductor.api_url or keystone.get_service_url()
1635 timer.start(interval=int(CONF.ai.deploy_interval))
1692 if not os.path.exists(CONF.solaris_ipmi.imagecache_dirname):
1693 os.makedirs(CONF.solaris_ipmi.imagecache_dirname)
1850 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
1854 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
1918 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
1922 temp_uar = os.path.join(CONF.solaris_ipmi.imagecache_dirname,
2420 self._derived_manifest = CONF.ai.derived_manifest
2775 if not CONF.ai.server or CONF.ai.server == "None" or \
2776 not CONF.ai.username or CONF.ai.username == "None":
2781 'host': CONF.ai.server,
2782 'username': CONF.ai.username,
2783 'port': int(CONF.ai.port),
2784 'timeout': int(CONF.ai.timeout)
2788 if CONF.ai.ssh_key_contents and CONF.ai.ssh_key_contents != "None":
2789 key_contents = CONF.ai.ssh_key_contents
2790 if CONF.ai.ssh_key_file and CONF.ai.ssh_key_file != "None":
2791 key_filename = CONF.ai.ssh_key_file
2792 if CONF.ai.password and CONF.ai.password != "None":
2793 password = CONF.ai.password