Add hypervisor_links into hypervisor v2.33

added hypervisor_links into response of hypervisor we need to
add it

Also, verified sample.

Implements: blueprint api-ref-in-rst

Change-Id: I38241f116482a99609e5892a9e20ea5496d89f2b
This commit is contained in:
jichenjc 2016-09-09 10:09:31 +08:00
parent d4b35152c0
commit 6178700598
2 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,4 @@
.. -*- rst -*-
.. needs:example_verification
.. needs:body_verification
==============================
@ -43,6 +42,7 @@ Response
- id: hypervisor_id_body
- state: hypervisor_state
- status: hypervisor_status
- hypervisor_links: hypervisor_links
**Example List Hypervisors: JSON response**
@ -101,6 +101,7 @@ Response
- service.disable_reason: service_disable_reason
- vcpus: hypervisor_vcpus
- vcpus_used: hypervisor_vcpus_used
- hypervisor_links: hypervisor_links
**Example List Hypervisors Details: JSON response**

View File

@ -2272,6 +2272,16 @@ hypervisor_id_body:
in: body
required: true
type: integer
hypervisor_links:
description: |
Links to the hypervisors resource. See `API Guide / Links and
References
<http://developer.openstack.org/api-guide/compute/links_and_references.html>`_
for more info.
in: body
type: array
min_version: 2.33
required: false
hypervisor_service:
description: |
The hypervisor service object.