diff options
| author | Ivan Kolodyazhny <e0ne@e0ne.info> | 2017-01-31 14:33:32 +0200 |
|---|---|---|
| committer | Ivan Kolodyazhny <e0ne@e0ne.info> | 2017-03-24 13:24:50 +0200 |
| commit | 60f92db7049b4f66e5198b86bfecc1029b6cdccd (patch) | |
| tree | 632f138c58ac784dec276e8c0c29e240fd425397 /setup.cfg | |
| parent | 29d29a7cd4c31fd96157beae90cb483403afe1af (diff) | |
| download | python-cinderclient-60f92db7049b4f66e5198b86bfecc1029b6cdccd.tar.gz | |
Fix noauth support
This patch includes several improvements:
1. Use keystoneauth1 plugin mechanism for auth plugins.
2. Implements CinderNoAuthPlugin.
3. Deletes non-working cinderclient.auth_plugin module.
4. Deprecates --bypass-url in flavor of --os-endpoint to be consistent
with keystoneauth1 plugins.
5. Deprecates in --os-auth-system in falvor of --os-auth-type to be
consistent with keystoneauth1 plugins.
Both bypass_url and os_auth_system params are not changed for client
objects to not break backward compatibility for Python API.
How to use noauth with cinderclient CLI:
OS_USER_ID=userid OS_PROJECT_ID=projectis cinder --os-auth-type noauth
--os-endpoint=http://localhost:8776/v2 list
Change-Id: I3be59a5a39235acbc3334e0a0b797081507a5c88
Closes-Bug: #1657156
Diffstat (limited to 'setup.cfg')
| -rw-r--r-- | setup.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -34,6 +34,9 @@ packages = console_scripts = cinder = cinderclient.shell:main +keystoneauth1.plugin = + noauth = cinderclient.contrib.noauth:CinderNoAuthLoader + [build_sphinx] all_files = 1 source-dir = doc/source |
