openstacksdk/openstack
Monty Taylor 740dbc12c9
Ensure Connection can be made from keyword arguments
Although driving configuration from clouds.yaml and environment
variables is super handy for many use cases, there are also plenty where
avoiding config files or environment variables is important.

Add a flag, "load_envvars" which defaults to True but can be disabled.

Update the Connection constructor to set load_yaml_config and
load_envvars to False if a named cloud is not given.

Update the docs to make it clear which form should be used for which use
case. Also, move the profile backwards compat documentation to its own
document so that it doesn't present needless complexity to users.

Cherry-picked from I6e05da5e73aff4143550e1d18fb0f743d51f2b70

Change-Id: If8a8746a55b7ef5a3ff36bebd99fb1b600049a5c
2018-01-30 12:41:11 -06:00
..
baremetal Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
block_storage Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
cloud Add supported method for checking the network exts 2018-01-27 12:38:53 -06:00
clustering Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
compute Merge "Adds get encrypted password support" 2018-01-24 23:57:10 +00:00
config Ensure Connection can be made from keyword arguments 2018-01-30 12:41:11 -06:00
database Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
identity Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
image Merge "v2 image update fix" 2018-01-25 01:53:22 +00:00
key_manager Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
load_balancer Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
message Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
network Raise error when supplying invalid query params 2018-01-25 12:11:08 +13:00
object_store Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
orchestration Merge "Remove 'conditions' section in heat stack template" 2018-01-27 00:05:47 +00:00
tests Ensure Connection can be made from keyword arguments 2018-01-30 12:41:11 -06:00
workflow Rename resource2 and proxy2 to resource and proxy 2018-01-24 11:02:16 -06:00
__init__.py Ensure Connection can be made from keyword arguments 2018-01-30 12:41:11 -06:00
_adapter.py Migrate object_store to resource2/proxy2 2018-01-17 13:55:27 -06:00
_log.py Rationalize logging helpers and docs 2018-01-16 14:46:44 -06:00
_meta.py Add a descriptor object for each service proxy 2018-01-30 12:40:54 -06:00
connection.py Ensure Connection can be made from keyword arguments 2018-01-30 12:41:11 -06:00
exceptions.py Raise error when supplying invalid query params 2018-01-25 12:11:08 +13:00
format.py Remove type=timestamp usages 2016-06-08 16:17:48 -04:00
profile.py Move profile helper method to openstack.profile 2018-01-27 12:42:17 -06:00
proxy.py Add a descriptor object for each service proxy 2018-01-30 12:40:54 -06:00
proxy2.py Add resource2/proxy2 wrappers with deprecations 2018-01-24 11:02:16 -06:00
resource.py Provide compatibility for people passing raw sessions 2018-01-30 12:38:26 -06:00
resource2.py Add resource2/proxy2 wrappers with deprecations 2018-01-24 11:02:16 -06:00
service_description.py Add a descriptor object for each service proxy 2018-01-30 12:40:54 -06:00
service_filter.py Add a descriptor object for each service proxy 2018-01-30 12:40:54 -06:00
task_manager.py Rationalize logging helpers and docs 2018-01-16 14:46:44 -06:00
utils.py Raise error when supplying invalid query params 2018-01-25 12:11:08 +13:00
version.py Move version definition 2016-06-03 09:32:26 -04:00