diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-03-01 14:54:02 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-03-01 14:54:02 +0000 |
commit | b8cb99bf1de2e84342a44bc5a3db296173628a89 (patch) | |
tree | ca40ed90870b752f7313d39428af4e8726661f11 | |
parent | e483abccbb84a9dd49b266105309610ca0924fb2 (diff) | |
parent | 9752febeb6abd7d975af53e95ef1aed7c7d4cb56 (diff) | |
download | os-client-config-b8cb99bf1de2e84342a44bc5a3db296173628a89.tar.gz |
Merge "Allow keystone validation bypass for noauth usage"
-rw-r--r-- | os_client_config/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py index 7c50b5d..1be57ce 100644 --- a/os_client_config/config.py +++ b/os_client_config/config.py @@ -294,6 +294,10 @@ class OpenStackConfig(object): if type(config[key]) is not bool: config[key] = get_boolean(config[key]) + if 'auth_plugin' in config: + if config['auth_plugin'] in ('', 'None', None): + validate = False + if validate and ksc_auth: config = self._validate_auth(config) |