ironic/ironic/conf
Pavlo Shchelokovskyy 308e414a57 Introduce keystoneauth adapters for clients
Currently ironic explicitly or implicitly sets the API urls
for most services in the config.
This is quite fragile and we should move to discovery from
the keystone catalog eventually.

To support this, this patch registers `keystoneauth1.adapter.Adapter`
options to all config sections for service clients auth.
Among others it exports `interfaces` option that we set to
['internal', 'public'] by default.
Other exported options are `service_type`, `service_name`, `region_name`
and `endpoint_override`.
The latter will eventually be used by all clients to specify a specific
endpoint to use (for example in noauth mode).

Effectively this patch starts to move all clients code to load client
configuration from config for all of auth, session and adapter.

The first to move is [service_catalog] section, with [conductor]api_url
option being deprecated in favor of [service_catalog]endpoint_override.
A sane default of 'service_type' = 'baremetal' is set for this config
section as well.

More patches moving other clients to consume these new options and
deprecate some other options will follow.

Change-Id: I1283ef3b4d736ac089df0cc74a5850a93b24b6ab
Partial-Bug: #1699547
Related-Bug: #1699542
2017-08-22 06:07:19 +00:00
..
__init__.py Remove SSH-based driver interfaces and drivers 2017-08-01 12:39:39 +00:00
agent.py Merge "Collect deployment logs from IPA" 2016-08-06 00:33:12 +00:00
api.py Promote agent vendor passthru to core API 2016-08-05 12:31:32 +02:00
audit.py Fix default value of "ignore_req_list" config option 2016-12-09 16:14:21 +02:00
auth.py Introduce keystoneauth adapters for clients 2017-08-22 06:07:19 +00:00
cinder.py Fix description for [cinder] action_retries option 2017-05-29 12:10:56 -04:00
cisco.py Centralize Config Options - patch merge, cleanup 2016-08-25 11:08:00 -07:00
conductor.py Introduce keystoneauth adapters for clients 2017-08-22 06:07:19 +00:00
console.py Make IP address of socat console configurable 2017-07-07 13:14:03 +08:00
database.py Remove overwriting the default value of db_max_retries. 2017-03-10 10:41:27 -08:00
default.py Remove WARNING from pin_release_version's help 2017-08-02 21:31:24 -04:00
deploy.py Config drive support for ceph radosgw 2017-04-12 17:21:50 +00:00
dhcp.py Centralize config options - [dhcp] 2016-06-16 17:11:14 -07:00
drac.py DRAC RAID configuration 2016-08-30 10:23:03 +02:00
glance.py Fetch Glance endpoint from Keystone if it's not provided in the configuration 2017-06-23 16:42:40 +02:00
ilo.py Remove deprecated [ilo]/clean_priority_erase_devices config 2017-03-30 01:59:24 -04:00
inspector.py Do not fail in Inspector.__init__ if [inspector]enabled is False 2017-01-17 14:10:08 +01:00
ipmi.py Update comments related to ipmi & old BMCs 2017-07-13 10:37:27 -04:00
irmc.py Adds clean step 'restore_irmc_bios_config' to iRMC drivers 2017-06-29 10:06:20 +00:00
iscsi.py Centralize config options - [iscsi] 2016-08-12 06:56:25 -07:00
keystone.py Centralize config options - [keystone] 2016-06-27 10:23:09 -07:00
metrics.py Pass agent metrics config via conductor 2016-08-02 17:56:43 +00:00
metrics_statsd.py Pass agent metrics config via conductor 2016-08-02 17:56:43 +00:00
neutron.py Update help for 'provisioning_network' option 2016-12-06 10:19:40 -05:00
oneview.py Add Dynamic Allocation feature for the OneView drivers 2016-08-04 13:10:02 -03:00
opts.py Remove SSH-based driver interfaces and drivers 2017-08-01 12:39:39 +00:00
pxe.py Add a note for specifying octal value of permission 2017-06-06 13:59:30 +05:30
redfish.py Add redfish driver 2017-04-21 11:06:24 +01:00
service_catalog.py Introduce keystoneauth adapters for clients 2017-08-22 06:07:19 +00:00
snmp.py Make SNMP UDP transport settings configurable 2017-08-18 14:42:21 +00:00
swift.py Migrate to using keystoneauth Sessions 2016-08-03 11:24:21 -07:00