api-ref: docs for microversion v2.28

Part of bp nova-api-hypervsor-cpu-info
Part of bp api-ref-in-rst

Change-Id: I48a5824c653825b9fdc6cd4d5a2f6ade03fff011
This commit is contained in:
Pavel Kholkin 2016-06-20 18:42:54 +03:00
parent 466efbf468
commit ebe8fd945b
2 changed files with 16 additions and 4 deletions

View File

@ -84,7 +84,11 @@ Response
**Example List Hypervisors Details: JSON request**
.. literalinclude:: ../../doc/api_samples/os-hypervisors/hypervisors-detail-resp.json
.. note::
This API sample is actual since microversion v2.28
.. literalinclude:: ../../doc/api_samples/os-hypervisors/v2.28/hypervisors-detail-resp.json
:language: javascript
Show Hypervisor Statistics
@ -177,7 +181,11 @@ Response
**Example Show Hypervisor Details: JSON response**
.. literalinclude:: ../../doc/api_samples/os-hypervisors/hypervisors-show-resp.json
.. note::
This API sample is actual since microversion v2.28
.. literalinclude:: ../../doc/api_samples/os-hypervisors/v2.28/hypervisors-show-resp.json
:language: javascript
Show Hypervisor Uptime

View File

@ -1072,8 +1072,12 @@ cores_quota_optional:
type: integer
cpu_info:
description: |
The cpu information object. The content of this field is hypervisor
specific.
A dictionary that contains cpu information like ``arch``, ``model``,
``vendor``, ``features`` and ``topology``. The content of this field is
hypervisor specific.
NOTE: Since version 2.28 ``cpu_info`` field is returned as a dictionary
instead of string.
in: body
required: true
type: object