openstack-python-openstackc.../openstackclient/tests/common
Matthieu Huin 0c77a9fe8b Support for keystone auth plugins
This patch allows the user to choose which authentication plugin
to use with the CLI. The arguments needed by the auth plugins are
automatically added to the argument parser. Some examples with
the currently available authentication plugins::

  OS_USERNAME=admin OS_PROJECT_NAME=admin OS_AUTH_URL=http://keystone:5000/v2.0 \
  OS_PASSWORD=admin openstack user list

  OS_USERNAME=admin OS_PROJECT_DOMAIN_NAME=default OS_USER_DOMAIN_NAME=default \
  OS_PROJECT_NAME=admin OS_AUTH_URL=http://keystone:5000/v3 OS_PASSWORD=admin \
  OS_IDENTITY_API_VERSION=3 OS_AUTH_PLUGIN=v3password openstack project list

  OS_TOKEN=1234 OS_URL=http://service_url:35357/v2.0 \
  OS_IDENTITY_API_VERSION=2.0 openstack user list

The --os-auth-plugin option can be omitted; if so the CLI will attempt to
guess which plugin to use from the other options.

Change-Id: I330c20ddb8d96b3a4287c68b57c36c4a0f869669
Co-Authored-By: Florent Flament <florent.flament-ext@cloudwatt.com>
2014-10-09 12:34:47 +02:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
test_clientmanager.py Support for keystone auth plugins 2014-10-09 12:34:47 +02:00
test_commandmanager.py Update for cliff commandmanager >=1.6.1 2014-10-08 18:05:43 -05:00
test_extension.py Add network extension list 2014-07-26 15:57:48 -06:00
test_module.py Add module list command 2013-12-03 17:53:55 -06:00
test_parseractions.py Fixed several typos throughout the codebase 2014-05-21 07:47:52 -07:00
test_timing.py Add basic timing support 2014-07-08 02:04:00 -05:00
test_utils.py Unordered dicts and lists causes variable results 2014-09-06 23:55:31 -04:00