86ad9debd1
This commit enables SDK consumers using oslo.config for keystoneauth1 Adapter settings by introducing a method: openstack.config.cloud_region.from_conf This accepts: - An oslo.config ConfigOpts containing Adapter options in sections named according to project (e.g. [nova], not [compute]). Current behavior is to use defaults if no such section exists, which may not be what we want long term. - A Session. This is currently required - if unspecified, a ConfigException is raised - but in the future we probably want to support creating one (and an auth) from the conf. - Other kwargs to be passed to the CloudRegion constructor. The method returns a CloudRegion that can be used to create a Connection. Needed-By: blueprint openstacksdk-in-nova Co-Authored-By: Eric Fried <openstack@fried.cc> Change-Id: I05fb4da39d2eefc91828ace02db2741b62a2cb0a
7 lines
221 B
YAML
7 lines
221 B
YAML
---
|
|
features:
|
|
- |
|
|
Added the ability to create a ``Connection`` from an ``oslo.config``
|
|
``CONF`` object. This is primarily intended to be used by OpenStack
|
|
services using SDK for inter-service communication.
|