python-ironicclient/ironicclient
Vladyslav Drok 58c39b7a80 Switch to none auth for standalone mode
Currently, during the ironic shell client construction, if only
os_auth_token and endpoint arguments are passed, custom
HTTPClient class based on requests' sessions is used. This is
unnecessary, as there is admin_token auth type in keystoneauth
that does basically the same, eliminating the need for our
custom implementation. Apart from that, there is a none auth,
which requires only passing the desired endpoint to use, so we
can use it too without having to specify fake token strings
anymore. Let's use these auth methods instead and deprecate
HTTPClient.

Also this patch deprecates a bunch of arguments to client.get_client
function, changing them to the standard keystoneauth naming.

DocImpact
Story: 1696791
Task:  11836
Depends-On: https://review.openstack.org/559116
Change-Id: Ifc7b45d047c8882a41021e1604b74d17eac2e6e8
2018-05-07 13:52:45 +00:00
..
common Switch to none auth for standalone mode 2018-05-07 13:52:45 +00:00
osc Switch to none auth for standalone mode 2018-05-07 13:52:45 +00:00
tests Switch to none auth for standalone mode 2018-05-07 13:52:45 +00:00
v1 Switch to none auth for standalone mode 2018-05-07 13:52:45 +00:00
__init__.py Fix pep8 stderr warning regarding __all__ defined as list 2016-03-28 11:02:27 -07:00
client.py Switch to none auth for standalone mode 2018-05-07 13:52:45 +00:00
exc.py Add --wait flag for provision actions and wait_for_provision_state function 2016-08-19 15:48:13 +02:00
shell.py Switch to none auth for standalone mode 2018-05-07 13:52:45 +00:00