diff options
author | Artom Lifshitz <alifshit@redhat.com> | 2023-02-01 10:08:52 -0500 |
---|---|---|
committer | Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com> | 2023-02-02 13:36:52 +0000 |
commit | 85e4f08309490fa2ab6f0b581b3d645d2dbb5c4b (patch) | |
tree | 6a73a2ae2f8792ccd6dc87bd199bb43df9b5324f | |
parent | c7cb02f1f7d508863c5e33f9d4b8e26b1a7ab6c0 (diff) | |
download | python-novaclient-85e4f08309490fa2ab6f0b581b3d645d2dbb5c4b.tar.gz |
Bump microversion to 2.9518.3.0
There are no client-side changes for either 2.94 or 2.95, so just do
the bump and add release notes.
Change-Id: I8c2bfd48526840fc618820b9ae6a12dc98cdef45
-rw-r--r-- | novaclient/__init__.py | 2 | ||||
-rw-r--r-- | novaclient/tests/unit/v2/test_shell.py | 2 | ||||
-rw-r--r-- | releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml | 11 | ||||
-rw-r--r-- | releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml | 10 |
4 files changed, 24 insertions, 1 deletions
diff --git a/novaclient/__init__.py b/novaclient/__init__.py index 2a89e338..de4417d6 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.93") +API_MAX_VERSION = api_versions.APIVersion("2.95") diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py index 84f4fcdc..52738632 100644 --- a/novaclient/tests/unit/v2/test_shell.py +++ b/novaclient/tests/unit/v2/test_shell.py @@ -4700,6 +4700,8 @@ class ShellTest(utils.TestCase): 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. + 94, # There are no version-wrapped shell method changes for this. + 95, # 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_94-5368d5dd7c5f6484.yaml b/releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml new file mode 100644 index 00000000..587969dd --- /dev/null +++ b/releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml @@ -0,0 +1,11 @@ +--- +features: + - | + Added support for `microversion 2.94`_. There are no client-side changes + for this microversion, but sending this microversion allows the + ``hostname`` parameter in the server create, server update, and server + rebuild APIs to be a fully qualified domain name (FQDN). Prior to this + microversion, server-side validation only allows short names as the + ``hostname``. + + .. _microversion 2.94: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id83 diff --git a/releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml b/releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml new file mode 100644 index 00000000..3452f926 --- /dev/null +++ b/releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml @@ -0,0 +1,10 @@ +--- +features: + - | + Added support for `microversion 2.95`_. There are no client-side changes + for this microversion, but sending this microversion triggers evacuated + instances to be stopped on the destination host. Prior to this + microversion, instances were keeping their state from source to + destination host. + + .. _microversion 2.95: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id84 |