summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-01-12 17:18:56 +0000
committerStephen Finucane <stephenfin@redhat.com>2021-03-02 12:14:12 +0000
commit54d4da112a6e84db5bda497364a49b9debfc2904 (patch)
tree5f6624791c0c6fab0dbdf64e0727fbfb937ccd02 /releasenotes
parente45953927898b639de9dbcba8edb6d07bcb4cba3 (diff)
downloadpython-novaclient-54d4da112a6e84db5bda497364a49b9debfc2904.tar.gz
Add support for microversion v2.8817.4.0
The key change here is that the 'GET /os-hypervisors/{id}/uptime' API will now returns a HTTP 404 starting in 2.88. The 'GET /os-hypervisors/{id}' will instead now include an 'uptime' value. The 'novaclient.v2.hypervisors.HypervisorManager.uptime' method is updated to handle this. Change-Id: Ib99fbd820a586c14527ff64b319df0b7a44e1b8b Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/microversion-v2_88-d91136020e3a3621.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/releasenotes/notes/microversion-v2_88-d91136020e3a3621.yaml b/releasenotes/notes/microversion-v2_88-d91136020e3a3621.yaml
new file mode 100644
index 00000000..994c6802
--- /dev/null
+++ b/releasenotes/notes/microversion-v2_88-d91136020e3a3621.yaml
@@ -0,0 +1,16 @@
+---
+features:
+ - |
+ Added support for `microversion 2.88`_. The
+ ``novaclient.v2.hypervisors.HypervisorManager.uptime`` method will now
+ transparently switch between the ``/os-hypervisors/{id}/uptime`` API,
+ which is deprecated in 2.88, and the ``/os-hypervisors/{id}`` API, which
+ now includes uptime information, based on the microversion.
+
+ .. _microversion 2.88: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id80
+deprecations:
+ - |
+ The ``nova hypervisor-stats`` command and underlying
+ ``novaclient.v2.hypervisors.HypervisorStatsManager.statistics`` API are
+ deprecated starting in microversion 2.88 and will return an error starting
+ on this version.