summaryrefslogtreecommitdiff
path: root/openstackclient/shell.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2012-05-10 15:47:59 -0500
committerDean Troyer <dtroyer@gmail.com>2012-05-10 15:52:15 -0500
commit712a8c7f9c5c89071f7f3d87a8d4484921581cf6 (patch)
tree956d2609e54436b72e02cda56918d55aae111f46 /openstackclient/shell.py
parent9d224b3bf811c9c0b41246b7bfe937dd172ed95e (diff)
downloadpython-openstackclient-712a8c7f9c5c89071f7f3d87a8d4484921581cf6.tar.gz
Add API versioning support
* Specific versions supported are managed in XXXXXX.client.py with a mapping from version to client class. This is based on the scheme that is included in novaclient; none of the other client libs have that capability. Change-Id: I930b197f1189e7f52c3b0096e73e0773cf925542
Diffstat (limited to 'openstackclient/shell.py')
-rw-r--r--openstackclient/shell.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index 8ffe81fd..94d7c496 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -172,9 +172,7 @@ class OpenStackShell(App):
username=self.options.os_username,
password=self.options.os_password,
region_name=self.options.os_region_name,
- identity_api_version=self.options.os_identity_api_version,
- compute_api_version=self.options.os_compute_api_version,
- image_api_version=self.options.os_image_api_version,
+ api_version=self.api_version,
)
return