summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-29 15:46:34 +0000
committerGerrit Code Review <review@openstack.org>2015-07-29 15:46:34 +0000
commit9c492b742d1128bfb8ac291889e1e5d6c9d25b88 (patch)
treeecbe2687b45b4d270dfa0140b4523a1dfb90c1dd /openstackclient
parentead9a40e0297f317eeff5da6a0d7658bf79b92eb (diff)
parent15fe0fae179b8b1f8c83144b22542d9b379d39ad (diff)
downloadpython-openstackclient-9c492b742d1128bfb8ac291889e1e5d6c9d25b88.tar.gz
Merge "Add plugin interface version"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/common/clientmanager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/common/clientmanager.py b/openstackclient/common/clientmanager.py
index d8e7e1a9..55c6fe53 100644
--- a/openstackclient/common/clientmanager.py
+++ b/openstackclient/common/clientmanager.py
@@ -49,6 +49,10 @@ class ClientCache(object):
class ClientManager(object):
"""Manages access to API clients, including authentication."""
+
+ # A simple incrementing version for the plugin to know what is available
+ PLUGIN_INTERFACE_VERSION = "2"
+
identity = ClientCache(identity_client.make_client)
def __getattr__(self, name):