Merge "api-ref: Correct response body type for show host details"

This commit is contained in:
Zuul 2019-02-06 23:25:01 +00:00 committed by Gerrit Code Review
commit 3902a2bf28
4 changed files with 28 additions and 4 deletions

View File

@ -92,9 +92,9 @@ Response
.. rest_parameters:: parameters.yaml
- volume_count: total_count
- total_volume_gb: totalGigabytesUsed
- total_snapshot_gb: totalSnapshotsUsed
- volume_count: total_count_str
- total_volume_gb: totalGigabytesUsedStr
- total_snapshot_gb: totalSnapshotsUsedStr
- project: project_id_2
- host: host_name_1
- snapshot_count: totalSnapshotsUsed

View File

@ -1648,6 +1648,12 @@ total_count:
in: body
required: true
type: integer
total_count_str:
description: |
Total number of volumes.
in: body
required: true
type: string
totalBackupGigabytesUsed:
description: |
The total number of backups gibibytes (GiB) used.
@ -1666,12 +1672,24 @@ totalGigabytesUsed:
in: body
required: true
type: integer
totalGigabytesUsedStr:
description: |
The total number of gibibytes (GiB) used.
in: body
required: true
type: string
totalSnapshotsUsed:
description: |
The total number of snapshots used.
in: body
required: true
type: integer
totalSnapshotsUsedStr:
description: |
The total number of snapshots used.
in: body
required: true
type: string
totalVolumesUsed:
description: |
The total number of volumes used.

View File

@ -95,7 +95,7 @@ Response
- host: host
- volume_count: total_count
- total_volume_gb: totalGigabytesUsed
- total_volume_gb: totalGigabytesUsedStr
- total_snapshot_gb: totalSnapGigabytesUsed
- project: project_id_host
- host: host_name_backend

View File

@ -2784,6 +2784,12 @@ totalGigabytesUsed:
in: body
required: true
type: integer
totalGigabytesUsedStr:
description: |
The total number of gibibytes (GiB) used.
in: body
required: true
type: string
totalSnapGigabytesUsed:
description: |
The total number of gibibytes (GiB) used by snapshots.