Fix error in api-ref about host

This patch adds the missing parameter "host_list" in api-ref.

Change-Id: I9dab7333b386675a2d9ae80c17f21e1f970a28c2
Closes-Bug: #1712466
This commit is contained in:
miaohb 2017-08-22 21:12:25 -07:00
parent bd0d0de761
commit d8c66a8be3
2 changed files with 13 additions and 6 deletions

View File

@ -31,12 +31,6 @@ Response Parameters
- X-Openstack-Request-Id: request_id
- hosts: host_list
- uuid: uuid
- hostname: hostname
- mem_total: mem_total
- cpus: cpus
- os: os
- labels: labels
Response Example
----------------

View File

@ -101,6 +101,19 @@ host:
in: body
required: true
type: string
host_ident:
description: |
The UUID or name of host in Zun.
in: body
required: true
type: string
host_list:
description: |
The host information list, including hostname, uuid, links, labels,
cpus, mem_total and os.
in: body
required: true
type: array
hostname:
description: |
The host where container is running.