2.46: match nova API version

This just bumps API_MAX_VERSION to match nova.  In this microversion nova
just adds a new header to the response, no client changes are needed.

Change-Id: I4c9a37c2a6f79388259032ba90c328d195051f94
This commit is contained in:
Chris Friesen 2017-06-02 13:10:26 -06:00
parent 461135665f
commit 2cb8d85781
2 changed files with 2 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.45")
API_MAX_VERSION = api_versions.APIVersion("2.46")

View File

@ -2939,6 +2939,7 @@ class ShellTest(utils.TestCase):
43, # There are no version-wrapped shell method changes for this.
44, # There are no version-wrapped shell method changes for this.
45, # There are no version-wrapped shell method changes for this.
46, # There are no version-wrapped shell method changes for this.
])
versions_supported = set(range(0,
novaclient.API_MAX_VERSION.ver_minor + 1))