Go to file
Jamie Lennox bc614288b7 Add available flag to plugin loaders
Currently when iterating through plugins all plugins are loaded and
returned to the user. This is confusing for things like the kerberos
plugin where the required dependencies may not be available.

Add an available property on plugin loaders. Plugins that do not wish to
be shown to users can set available to false.

The lack of tests on this patch is unfortunate however any testing
involes a lot of mocking at levels lower than keystoneauth interact with
(i've tried). We would need to mock the pkg_resources layer that
stevedore uses and are essentially testing that EnabledExtensionManager
is doing the right thing.

I encourage people to verify this manually.

Closes-Bug: #1589740
Change-Id: I446441467ef32f7bc916221991388ac528df48f4
2016-06-07 13:30:10 +10:00
2015-12-09 11:46:00 +11:00
2015-11-29 20:05:16 -05:00
2014-05-07 12:12:43 -07:00
2013-05-17 14:43:31 -07:00
2015-12-04 14:18:27 -08:00
2016-06-02 23:30:12 +00:00
2015-09-17 12:12:42 +00:00

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 13 MiB
Languages
Python 100%