summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2017-07-12 21:29:32 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2017-07-14 21:34:14 -0400
commit66c11374aad1924adc947a3fd94ce56b42013c66 (patch)
treeae34755682e3c2779bba0adb614fd12e586ad771
parent5bfa57a433175b8bae750125b95a73650aa663b1 (diff)
downloadpython-novaclient-66c11374aad1924adc947a3fd94ce56b42013c66.tar.gz
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
-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 0ce0f7c4..d6ebb963 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.50")
+API_MAX_VERSION = api_versions.APIVersion("2.51")
diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py
index 64b7c931..dbda0b7d 100644
--- a/novaclient/tests/unit/v2/test_shell.py
+++ b/novaclient/tests/unit/v2/test_shell.py
@@ -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))