summaryrefslogtreecommitdiff
path: root/openstackclient/compute
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-14 22:05:31 +0000
committerGerrit Code Review <review@openstack.org>2015-04-14 22:05:31 +0000
commit520cae655ed603b4bcb963f8ef49b3b6074c5fef (patch)
tree1de7f0538f2b015a178c0dbcb937aca91c7af311 /openstackclient/compute
parente60bf28ae3bdb34b65316249f0e7615048aa1f95 (diff)
parenta0fe37e189948b74ee8c2f8ec529ca175efc8449 (diff)
downloadpython-openstackclient-520cae655ed603b4bcb963f8ef49b3b6074c5fef.tar.gz
Merge "Add warning message if unknown version supplied"
Diffstat (limited to 'openstackclient/compute')
-rw-r--r--openstackclient/compute/client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py
index 7ca08a4f..bdba4dca 100644
--- a/openstackclient/compute/client.py
+++ b/openstackclient/compute/client.py
@@ -30,6 +30,9 @@ LOG = logging.getLogger(__name__)
DEFAULT_COMPUTE_API_VERSION = '2'
API_VERSION_OPTION = 'os_compute_api_version'
API_NAME = 'compute'
+API_VERSIONS = {
+ "2": "novaclient.client",
+}
def make_client(instance):