diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-10-15 17:21:01 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-10-15 17:21:01 +0000 |
commit | d4e4aaa0f9209b6338d24d2ed6ff87d768fe453f (patch) | |
tree | 50ec544a5a477ebc6b96a319b4bd20eb1505f7ed | |
parent | 6d73d089962579fd7295435e8226ef700603c166 (diff) | |
parent | f6681a83192386fcf27479c820998691a43e8b79 (diff) | |
download | os-client-config-d4e4aaa0f9209b6338d24d2ed6ff87d768fe453f.tar.gz |
Merge "Fix documentation around regions"
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | os_client_config/config.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -247,7 +247,7 @@ Get a named cloud. import os_client_config cloud_config = os_client_config.OpenStackConfig().get_one_cloud( - 'hp', 'region-b.geo-1') + 'hp', region_name='region-b.geo-1') print(cloud_config.name, cloud_config.region, cloud_config.config) Or, get all of the clouds. diff --git a/os_client_config/config.py b/os_client_config/config.py index 6d37835..bff2f5c 100644 --- a/os_client_config/config.py +++ b/os_client_config/config.py @@ -551,6 +551,7 @@ class OpenStackConfig(object): An argparse Namespace object; allows direct passing in of argparse options to be added to the cloud config. Values of None and '' will be removed. + :param region_name: Name of the region of the cloud. :param kwargs: Additional configuration options :raises: keystoneauth1.exceptions.MissingRequiredOptions |