Dmitry Tantsur 72288d3b18 Make new-style single endpoint version discovery actually work for ironic
For (unclear) historical reasons the root single version endpoint also
contains "id" and "links" fields. This makes the current workaround
for old-style endpoints take priority over the correct algorithm.
This change reorders the code, so that if "version" is present, it
always take priority over the workaround.

The unit tests are updated to be closer to real output from ironic.

Change-Id: I743b954c6c5b2f986c213acb6ec6af7e08c9f5f8
2018-10-23 14:26:34 +02:00
2018-10-16 14:21:45 -05:00
2015-12-09 11:46:00 +11:00
2017-09-20 15:47:15 -05:00
2014-05-07 12:12:43 -07:00
2017-09-20 15:47:15 -05:00
2018-04-19 09:54:28 +02:00
2017-09-20 15:47:15 -05:00
2018-08-15 15:47:52 +08:00
2018-04-19 09:54:28 +02:00
2017-03-08 22:46:11 +00:00
2018-06-06 15:27:00 -04:00

Team and repository tags

image

keystoneauth

Latest Version

Downloads

This package contains tools for authenticating to an OpenStack-based cloud. These tools include:

  • Authentication plugins (password, token, and federation based)
  • Discovery mechanisms to determine API version support
  • A session that is used to maintain client settings across requests (based on the requests Python library)

Further information:

Description
OpenStack Identity Authentication Library
Readme 12 MiB
Languages
Python 100%