summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwhoami-rajat <rajatdhasmana@gmail.com>2022-01-31 23:54:27 +0530
committerwhoami-rajat <rajatdhasmana@gmail.com>2022-09-06 16:42:08 +0530
commit94d3445e10711ff965e0ec141aaa0d0828dc43f0 (patch)
treef9e35e8439d7a2019d9ef463318af797b432f836
parentbe9517cb027d960caf4c9c8171b3ad2568bedae9 (diff)
downloadpython-novaclient-94d3445e10711ff965e0ec141aaa0d0828dc43f0.tar.gz
MV 2.93 - Add support to rebuild boot volume
This patch bumps the API microversion to 2.93 to allow rebuilding a volume backed instance. Implements: blueprint volume-backed-server-rebuild Depends-On: https://review.opendev.org/c/openstack/nova/+/830883 Change-Id: Ie46df7ad76082e7631bb26243abed4dc3b1f40ac
-rw-r--r--novaclient/__init__.py2
-rw-r--r--novaclient/tests/unit/v2/test_shell.py1
-rw-r--r--releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml8
3 files changed, 10 insertions, 1 deletions
diff --git a/novaclient/__init__.py b/novaclient/__init__.py
index afffde0f..2a89e338 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.92")
+API_MAX_VERSION = api_versions.APIVersion("2.93")
diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py
index da70e3cc..84f4fcdc 100644
--- a/novaclient/tests/unit/v2/test_shell.py
+++ b/novaclient/tests/unit/v2/test_shell.py
@@ -4699,6 +4699,7 @@ class ShellTest(utils.TestCase):
86, # doesn't require any changes in novaclient.
87, # doesn't require any changes in novaclient.
89, # There are no version-wrapped shell method changes for this.
+ 93, # There are no version-wrapped shell method changes for this.
])
versions_supported = set(range(0,
novaclient.API_MAX_VERSION.ver_minor + 1))
diff --git a/releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml b/releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml
new file mode 100644
index 00000000..b9e2054e
--- /dev/null
+++ b/releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml
@@ -0,0 +1,8 @@
+---
+features:
+ - |
+ Added support for `microversion 2.93`_.
+ This microversion provides the ability to rebuild a volume
+ backed instance.
+
+ .. _microversion 2.93: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#microversion-2-93