From 533d5df5168123578da5eb5380efb64096aa3c43 Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Wed, 6 Mar 2024 18:25:47 +0530 Subject: [PATCH] Bump microversion to 2.96 This change bumps to microversion 2.96 and add release notes. Change-Id: I3b9775f1adecdca121a68a4caa6cd25e312dec2f --- novaclient/__init__.py | 2 +- novaclient/tests/unit/v2/test_shell.py | 1 + .../notes/microversion-v2_96-a50af976133de0ab.yaml | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml diff --git a/novaclient/__init__.py b/novaclient/__init__.py index de4417d63..bf021c6ac 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.95") +API_MAX_VERSION = api_versions.APIVersion("2.96") diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py index 52738632e..3f7bc3960 100644 --- a/novaclient/tests/unit/v2/test_shell.py +++ b/novaclient/tests/unit/v2/test_shell.py @@ -4702,6 +4702,7 @@ class ShellTest(utils.TestCase): 93, # There are no version-wrapped shell method changes for this. 94, # There are no version-wrapped shell method changes for this. 95, # There are no version-wrapped shell method changes for this. + 96, # 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/microversion-v2_96-a50af976133de0ab.yaml b/releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml new file mode 100644 index 000000000..510548720 --- /dev/null +++ b/releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + The `microversion 2.96`_ has been added. This microversion adds + pinned_availability_zone in ``server show`` and + ``server list --long`` responses. + + .. _microversion 2.96: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#microversion-2-96