api-ref: total/free_capacity should be with postfix _gb

https://developer.openstack.org/api-ref/block-storage/v3/index.html#list-all-back-end-storage-pools
free_capacity and total_capacity in "List all back-end storage pools"
should be free_capacity_gb and total_capacity_gb

Change-Id: Ic0690d12147fa63b903f3442eccde88c1d501711
This commit is contained in:
zhufl 2018-09-28 10:32:08 +08:00
parent 7c2086cb40
commit 8fec696bfd
6 changed files with 14 additions and 14 deletions

View File

@ -37,10 +37,10 @@ Response Parameters
- updated: updated
- QoS_support: QoS_support
- name: name_16
- total_capacity: total_capacity
- total_capacity_gb: total_capacity
- volume_backend_name: volume_backend_name
- capabilities: capabilities
- free_capacity: free_capacity
- free_capacity_gb: free_capacity
- driver_version: driver_version
- reserved_percentage: reserved_percentage
- storage_protocol: storage_protocol

View File

@ -342,7 +342,7 @@ capabilities:
description: |
The capabilities for the back end. The value is
either ``null`` or a string value that indicates the capabilities
for each pool. For example, ``total_capacity`` or ``QoS_support``.
for each pool. For example, ``total_capacity_gb`` or ``QoS_support``.
in: body
required: true
type: object

View File

@ -4,8 +4,8 @@
"name": "pool1",
"capabilities": {
"updated": "2014-10-28T00:00:00-00:00",
"total_capacity": 1024,
"free_capacity": 100,
"total_capacity_gb": 1024,
"free_capacity_gb": 100,
"volume_backend_name": "pool1",
"reserved_percentage": 0,
"driver_version": "1.0.0",
@ -17,8 +17,8 @@
"name": "pool2",
"capabilities": {
"updated": "2014-10-28T00:00:00-00:00",
"total_capacity": 512,
"free_capacity": 200,
"total_capacity_gb": 512,
"free_capacity_gb": 200,
"volume_backend_name": "pool2",
"reserved_percentage": 0,
"driver_version": "1.0.1",

View File

@ -44,10 +44,10 @@ Response Parameters
- updated: updated
- QoS_support: QoS_support
- name: name_20
- total_capacity: total_capacity
- total_capacity_gb: total_capacity
- volume_backend_name: volume_backend_name
- capabilities: capabilities
- free_capacity: free_capacity
- free_capacity_gb: free_capacity
- driver_version: driver_version
- reserved_percentage: reserved_percentage
- storage_protocol: storage_protocol

View File

@ -634,7 +634,7 @@ capabilities:
description: |
The capabilities for the back end. The value is
either ``null`` or a string value that indicates the capabilities
for each pool. For example, ``total_capacity`` or ``QoS_support``.
for each pool. For example, ``total_capacity_gb`` or ``QoS_support``.
in: body
required: true
type: object

View File

@ -4,8 +4,8 @@
"name": "pool1",
"capabilities": {
"updated": "2014-10-28T00:00:00-00:00",
"total_capacity": 1024,
"free_capacity": 100,
"total_capacity_gb": 1024,
"free_capacity_gb": 100,
"volume_backend_name": "pool1",
"reserved_percentage": 0,
"driver_version": "1.0.0",
@ -17,8 +17,8 @@
"name": "pool2",
"capabilities": {
"updated": "2014-10-28T00:00:00-00:00",
"total_capacity": 512,
"free_capacity": 200,
"total_capacity_gb": 512,
"free_capacity_gb": 200,
"volume_backend_name": "pool2",
"reserved_percentage": 0,
"driver_version": "1.0.1",