diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-03-27 15:00:05 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-03-27 15:00:05 +0000 |
commit | 4f7d897959e4ea3816afc9439e081e049e1824ad (patch) | |
tree | 9ddefd41daab06fa548a27169a616e2393c0d462 | |
parent | 052d5f892fc8a87b91c47b0cce02c285d75a38a4 (diff) | |
parent | ac19f0ab3b7b7525de5378b3de7f13a252a13f99 (diff) | |
download | django_openstack_auth-4f7d897959e4ea3816afc9439e081e049e1824ad.tar.gz |
Merge "Expose keystone client version as a plugin property"
-rw-r--r-- | openstack_auth/plugin/base.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openstack_auth/plugin/base.py b/openstack_auth/plugin/base.py index fed0cc2..83eae09 100644 --- a/openstack_auth/plugin/base.py +++ b/openstack_auth/plugin/base.py @@ -14,6 +14,8 @@ import abc import six +from openstack_auth import utils + __all__ = ['BasePlugin'] @@ -42,3 +44,8 @@ class BasePlugin(object): :rtype: keystoneclient.auth.BaseAuthPlugin """ return None + + @property + def keystone_version(self): + """The Identity API version as specified in the settings file.""" + return utils.get_keystone_version() |