diff options
| author | qtang <qtang@vmware.com> | 2016-09-28 16:49:59 +0800 |
|---|---|---|
| committer | Qiang Tang <qtang@vmware.com> | 2016-09-28 14:02:00 +0000 |
| commit | c9fd35a49675027eea430b72e1c1f756da093b21 (patch) | |
| tree | 2407010efc6f92ff1c7f476ab83298f56fd0d896 /openstackclient/compute/client.py | |
| parent | 81a2b9a6bc40e6d815a41c23a0324f474612118b (diff) | |
| download | python-openstackclient-c9fd35a49675027eea430b72e1c1f756da093b21.tar.gz | |
Update default nova api version to 2.1
Ref:https://review.openstack.org/#/c/311653/
We should use 2.1 as the default nova version now
The API_MIN_VERSION of novaclient has already changed to 2.1
Change-Id: I9ff16cf052556e5d3756f81e02a8e76e8f315df5
Closes-bug: #1588171
Diffstat (limited to 'openstackclient/compute/client.py')
| -rw-r--r-- | openstackclient/compute/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py index 4cc3be98..c5b364b2 100644 --- a/openstackclient/compute/client.py +++ b/openstackclient/compute/client.py @@ -23,11 +23,12 @@ from openstackclient.i18n import _ LOG = logging.getLogger(__name__) -DEFAULT_API_VERSION = '2' +DEFAULT_API_VERSION = '2.1' API_VERSION_OPTION = 'os_compute_api_version' API_NAME = 'compute' API_VERSIONS = { "2": "novaclient.client", + "2.1": "novaclient.client", } # Save the microversion if in use |
