api-ref: cleanup PUT /os-hypervisors/statistics docs

There are two changes here:

1. It is important to state that this API only returns a summary
   of compute node/service statistics for *enabled* nova-compute
   services. The DB API query filters out disabled compute services.

2. Fixes a typo in the description of the hypervisor_statistics
   parameter.

Change-Id: Iee28147b701ab42eb07d344cd2f4cb157b74b2f2
This commit is contained in:
Matt Riedemann 2017-06-14 11:28:56 -04:00
parent 736f504c5d
commit 298565a762
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ Show Hypervisor Statistics
.. rest_method:: GET /os-hypervisors/statistics
Shows summary statistics for all hypervisors over all compute nodes.
Shows summary statistics for all enabled hypervisors over all compute nodes.
Policy defaults enable only users with the administrative role to perform
this operation. Cloud providers can change these permissions through

View File

@ -2823,7 +2823,7 @@ hypervisor_state:
type: string
hypervisor_statistics:
description: |
The object of the hypervisors' statics.
The hypervisors statistics summary object.
in: body
required: true
type: object