Bump client microversion to 2.38

Commit 984d00919ffe5ac5d41edb194740f6f33ca3e78f in nova added
microversion 2.38: "Return HTTP 400 on list for invalid status". This
microversion doesn't otherwise require changes in python-novaclient.

Change-Id: Ia1afe22130258b0efc7f869230ce45a43f8dc60e
This commit is contained in:
Diana Clarke 2016-11-08 13:50:50 -05:00
parent 09e82e8a24
commit c5cb80b278
3 changed files with 7 additions and 1 deletions

View File

@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersion("2.1")
# when client supported the max version, and bumped sequentially, otherwise
# the client may break due to server side new version may include some
# backward incompatible change.
API_MAX_VERSION = api_versions.APIVersion("2.37")
API_MAX_VERSION = api_versions.APIVersion("2.38")

View File

@ -3080,6 +3080,7 @@ class ShellTest(utils.TestCase):
# novaclient
34, # doesn't require any changes in novaclient
37, # There are no versioned wrapped shell method changes for this
38, # doesn't require any changes in novaclient
])
versions_supported = set(range(0,
novaclient.API_MAX_VERSION.ver_minor + 1))

View File

@ -0,0 +1,5 @@
---
upgrade:
- Support for microversion 2.38 added. As of microversion 2.38, invalid
statuses passed to 'nova list --status invalid_status' will result in a
HTTP 400 Bad Request error response.