Add support for the 2.51 microversion

The 2.51 microversion adds the 'volume-extended' server
external event to the os-server-external-events API.

This is an admin-only API by default and this event is
currently only used by Cinder as part of extending the
size of an attached volume, and therefore does not
have any CLI or python API binding impacts in the client.

Part of blueprint nova-support-attached-volume-extend

Change-Id: I8293704dbb4f75306fe32d3a0118d5bf42c8457e
This commit is contained in:
Matt Riedemann 2017-07-12 21:29:32 -04:00
parent 5bfa57a433
commit 66c11374aa
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.50")
API_MAX_VERSION = api_versions.APIVersion("2.51")

View File

@ -3019,6 +3019,7 @@ class ShellTest(utils.TestCase):
47, # NOTE(cfriesen): 47 adds support for flavor details embedded
# within the server details
48, # There are no version-wrapped shell method changes for this.
51, # There are no version-wrapped shell method changes for this.
])
versions_supported = set(range(0,
novaclient.API_MAX_VERSION.ver_minor + 1))