summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-01-22 18:26:21 -0500
committerMatt Riedemann <mriedem.os@gmail.com>2018-01-22 18:26:21 -0500
commit4e94fe53618638c37285d61c322b663192678bfb (patch)
treebca14eb0823f18c2bc295cd960a75cccba72ac8d
parentad0c036fb6102a91e66d4004c78f034a21afd8e6 (diff)
downloadpython-novaclient-4e94fe53618638c37285d61c322b663192678bfb.tar.gz
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
-rw-r--r--novaclient/__init__.py2
-rw-r--r--novaclient/tests/unit/v2/test_shell.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/novaclient/__init__.py b/novaclient/__init__.py
index 3392aabc..c114e5b9 100644
--- a/novaclient/__init__.py
+++ b/novaclient/__init__.py
@@ -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")
diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py
index bba9f753..34c6717b 100644
--- a/novaclient/tests/unit/v2/test_shell.py
+++ b/novaclient/tests/unit/v2/test_shell.py
@@ -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))