Add support for microversion 2.60 - volume multiattach

There are no client-side changes for this, we're just
registering the microversion support. Someone would have
to use this microversion when trying to attach a multiattach
capable volume to a server.

Related nova API change: I02120ef8767c3f9c9497bff67101e57e204ed6f4

Part of blueprint multi-attach-volume

Change-Id: Iff590954e7e12ee630140024f70c98d3cfa14a31
This commit is contained in:
Matt Riedemann 2018-01-22 18:26:21 -05:00
parent ad0c036fb6
commit 4e94fe5361
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.59")
API_MAX_VERSION = api_versions.APIVersion("2.60")

View File

@ -3310,6 +3310,7 @@ class ShellTest(utils.TestCase):
52, # There are no version-wrapped shell method changes for this.
54, # There are no version-wrapped shell method changes for this.
57, # There are no version-wrapped shell method changes for this.
60, # There are no client-side changes for volume multiattach.
])
versions_supported = set(range(0,
novaclient.API_MAX_VERSION.ver_minor + 1))