diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-07-29 15:46:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-07-29 15:46:34 +0000 |
| commit | 9c492b742d1128bfb8ac291889e1e5d6c9d25b88 (patch) | |
| tree | ecbe2687b45b4d270dfa0140b4523a1dfb90c1dd /openstackclient | |
| parent | ead9a40e0297f317eeff5da6a0d7658bf79b92eb (diff) | |
| parent | 15fe0fae179b8b1f8c83144b22542d9b379d39ad (diff) | |
| download | python-openstackclient-9c492b742d1128bfb8ac291889e1e5d6c9d25b88.tar.gz | |
Merge "Add plugin interface version"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/common/clientmanager.py | 4 |
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): |
