summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2020-09-29 17:32:56 +0100
committerStephen Finucane <stephenfin@redhat.com>2021-01-08 10:10:21 +0000
commit1f67ce24961a156dba56cacc75cbdd0800a7feee (patch)
tree0bb74f06d411299270524ac844e00c89886eea1b /tox.ini
parentef7598ac2896d08a89e50ccb82a47244e63d6248 (diff)
downloadnova-1f67ce24961a156dba56cacc75cbdd0800a7feee.tar.gz
api: Drop statistics-style fields from os-hypervisors
Introduce API microversion 2.88, which makes the following changes to a number of 'os-hypervisors'. Specifically, the following fields are dropped from both the '/os-hypervisors/detail' (detailed list) and '/os-hypervisors/{hypervisor_id}' (show) APIs: - current_workload - cpu_info - vcpus - vcpus_used - free_disk_gb - local_gb - local_gb_used - disk_available_least - free_ram_mb - memory_mb - memory_mb_used - running_vms In addition, the '/os-hypervisors/statistics' API, which provided a summary of the above stats but for all hypervisors in the deployment, is dropped entirely. Finally, the '/os-hypervisors/{hypervisor}/uptime' API, which provided a similar response to the '/os-hypervisors/{hypervisor}' API but with an additional 'uptime' field, has been removed in favour of including this field in the primary '/os-hypervisors/{hypervisor}' API. A small tweak to 'tox.ini' that allows us to share some venvs is included. Part of blueprint modernize-os-hypervisors-api Change-Id: I515e484ade6c6455f82a3067940a418a0d7d965a Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 05293e8f13..0f7b076e97 100644
--- a/tox.ini
+++ b/tox.ini
@@ -126,6 +126,7 @@ commands =
{[testenv:functional]commands}
[testenv:api-samples]
+envdir = {toxworkdir}/functional
setenv =
{[testenv]setenv}
GENERATE_SAMPLES=True