72288d3b18

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
Team and repository tags
keystoneauth
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:
- Free software: Apache license
- Documentation: https://docs.openstack.org/keystoneauth/latest/
- Source: https://git.openstack.org/cgit/openstack/keystoneauth
- Bugs: https://bugs.launchpad.net/keystoneauth
- Release notes: https://docs.openstack.org/releasenotes/keystoneauth/
Description
Languages
Python
100%