nova/doc/api_samples
Stephen Finucane 1f67ce2496 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>
2021-01-08 10:10:21 +00:00
..
consoles Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
extension-info "nova list-extensions" not showing summary for all 2016-07-26 16:45:30 +00:00
flavor-access Enable all extension for Flavor API sample tests 2016-06-09 10:25:21 +09:00
flavor-extra-specs trivial: Use recognized extra specs in tests 2020-02-19 08:24:31 +00:00
flavor-manage Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
flavors trivial: Use recognized extra specs in tests 2020-02-19 08:24:31 +00:00
images Transform compute_task notifications 2018-11-21 16:23:28 +09:00
limits nova-net: Remove remaining nova-network quotas 2019-12-02 17:39:23 +00:00
os-admin-actions Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-admin-password Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-agents api-ref: Example verification for os-agents.inc 2016-06-27 21:29:26 +09:00
os-aggregates Add image caching API for aggregates 2019-10-15 21:22:31 -04:00
os-assisted-volume-snapshots Fix wrong JSON format in API samples 2016-07-08 10:15:29 +09:00
os-attach-interfaces Add microversion to expose virtual device tags 2019-02-21 13:38:51 +00:00
os-availability-zone nova-net: Migrate 'test_availability_zone' functional tests 2019-10-03 21:04:39 +00:00
os-baremetal-nodes Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-cells Remove '/os-cells' REST APIs 2019-04-16 18:26:13 +01:00
os-certificates Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-cloudpipe nova-net: Stop mocking the instance network cache 2019-10-05 15:40:28 +01:00
os-console-auth-tokens Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-console-output Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-create-backup 2.45: Remove Location header from createImage and createBackup responses 2017-04-25 15:52:14 -04:00
os-deferred-delete Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-evacuate Fix the api sample docs for microversion 2.68 2019-02-27 16:25:16 +01:00
os-fixed-ips Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-floating-ip-dns Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ip-pools Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-floating-ips nova-net: Migrate 'test_floating_ips' functional tests 2019-10-09 16:24:16 +01:00
os-floating-ips-bulk Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-fping Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
os-hosts nova-net: Migrate 'test_hosts' functional tests 2019-10-04 15:44:38 +00:00
os-hypervisors api: Drop statistics-style fields from os-hypervisors 2021-01-08 10:10:21 +00:00
os-instance-actions Add instance actions v284 samples test 2020-03-30 03:02:31 +00:00
os-instance-usage-audit-log api-ref: Improve os-instance_usage_audit_log samples 2016-06-21 20:30:11 +09:00
os-keypairs trivial: Rename directory for os-keypairs samples 2020-03-06 16:57:46 +00:00
os-lock-server Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
os-migrate-server API: Remove evacuate/live-migrate 'force' parameter 2019-02-08 17:05:19 -05:00
os-migrations Filter migrations by user_id/project_id 2019-10-14 11:35:11 -07:00
os-multinic api-ref: Fix examples for add/removeFixedIp action 2017-05-15 01:19:54 +00:00
os-multiple-create Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
os-networks Remove (most) '/os-networks' REST APIs 2019-11-18 16:25:47 +00:00
os-networks-associate Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-pause-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-preserve-ephemeral-rebuild nova-net: Stop mocking the instance network cache 2019-10-05 15:40:28 +01:00
os-quota-class-sets nova-net: Remove remaining nova-network quotas 2019-12-02 17:39:23 +00:00
os-quota-sets nova-net: Remove remaining nova-network quotas 2019-12-02 17:39:23 +00:00
os-quota-sets-noop nova-net: Migrate 'test_quota_sets' functional tests 2019-10-04 15:22:27 +00:00
os-remote-consoles Reduce scope of 'path' query parameter to noVNC consoles 2019-09-27 13:50:52 +00:00
os-rescue functional: Enable real policy fixture by default 2020-09-16 11:31:23 +01:00
os-security-group-default-rules Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-security-groups Use plain routes list for os-security-group-rules instead of stevedore 2017-07-12 20:58:26 +08:00
os-server-diagnostics Standardization of VM diagnostics info API. 2017-06-05 07:45:51 +00:00
os-server-external-events Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-groups Microversion 2.64 - Use new format policy in server group 2018-07-13 10:43:42 +08:00
os-server-password Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-server-tags/v2.26 functional: Enable real policy fixture by default 2020-09-16 11:31:23 +01:00
os-server-topology/v2.78 Add server sub-resource topology API 2019-08-30 10:04:56 +08:00
os-services API microversion 2.69: Handles Down Cells 2019-02-15 14:39:20 -05:00
os-shelve Specify availability_zone to unshelve 2019-08-27 12:57:10 -04:00
os-simple-tenant-usage Fix os-simple-tenant-usage result order 2018-10-26 14:47:52 +00:00
os-suspend-server Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
os-tenant-networks Remove '/os-tenant-networks' REST API 2019-11-22 16:03:11 +00:00
os-virtual-interfaces Expose VIF net-id attribute in os-virtual-interfaces 2015-08-27 16:50:44 +09:00
os-volumes Allow PUT volume attachments API to modify delete_on_termination 2020-04-02 09:26:55 -07:00
server-ips nova-net: Stop mocking the instance network cache 2019-10-05 15:40:28 +01:00
server-metadata Move the v2 api_sample functional tests 2015-08-18 15:25:41 +08:00
server-migrations Filter migrations by user_id/project_id 2019-10-14 11:35:11 -07:00
servers functional: Enable real policy fixture by default 2020-09-16 11:31:23 +01:00
servers-sort Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
versions api: Drop statistics-style fields from os-hypervisors 2021-01-08 10:10:21 +00:00