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
This commit is contained in:
Dean Troyer
2012-05-10 15:47:59 -05:00
parent 9d224b3bf8
commit 712a8c7f9c
6 changed files with 40 additions and 13 deletions

@ -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