From bdf13836a8b3659e337737b63275341183800274 Mon Sep 17 00:00:00 2001 From: wanghao Date: Thu, 15 Jun 2017 09:32:18 +0800 Subject: [PATCH] [api-ref]Fix the wrong description in volume API Cinder is using the description of volume transfer for 'id', 'name' and 'links' in querying volume response parameters and elsewhere. That is incorrect, so fix it soon. Change-Id: I8cc0e7a9ae82dab462dfd7234af76fbd7a188bea Closes-Bug: #1698034 --- api-ref/source/v3/volumes-v3-volumes.inc | 34 ++++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/api-ref/source/v3/volumes-v3-volumes.inc b/api-ref/source/v3/volumes-v3-volumes.inc index cbb22ecff1d..e27a967cf9a 100644 --- a/api-ref/source/v3/volumes-v3-volumes.inc +++ b/api-ref/source/v3/volumes-v3-volumes.inc @@ -93,7 +93,7 @@ Response Parameters - migration_status: migration_status - attachments: attachments - - links: links + - links: links_3 - availability_zone: availability_zone - os-vol-host-attr:host: os-vol-host-attr:host - encrypted: encrypted @@ -101,7 +101,7 @@ Response Parameters - os-volume-replication:extended_status: os-volume-replication:extended_status - replication_status: replication_status - snapshot_id: snapshot_id - - id: id + - id: id_5 - size: size - user_id: user_id - os-vol-tenant-attr:tenant_id: os-vol-tenant-attr:tenant_id @@ -113,7 +113,7 @@ Response Parameters - source_volid: source_volid - consistencygroup_id: consistencygroup_id - os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id - - name: name + - name: name_13 - bootable: bootable_response - created_at: created_at - os-volume-replication:driver_data: os-volume-replication:driver_data @@ -181,7 +181,7 @@ Request - multiattach: multiattach - availability_zone: availability_zone - source_volid: source_volid - - name: name + - name: name_13 - volume: volume - consistencygroup_id: consistencygroup_id - volume_type: volume_type @@ -206,13 +206,13 @@ Response Parameters - migration_status: migration_status - attachments: attachments - - links: links + - links: links_3 - availability_zone: availability_zone - encrypted: encrypted - updated_at: updated_at - replication_status: replication_status - snapshot_id: snapshot_id - - id: id + - id: id_5 - size: size - user_id: user_id - metadata: metadata @@ -222,7 +222,7 @@ Response Parameters - source_volid: source_volid - volume: volume - consistencygroup_id: consistencygroup_id - - name: name + - name: name_13 - bootable: bootable_response - created_at: created_at - volume_type: volume_type @@ -264,9 +264,9 @@ Response Parameters .. rest_parameters:: parameters.yaml - volumes: volumes - - id: id - - links: links - - name: name + - id: id_5 + - links: links_3 + - name: name_13 @@ -311,7 +311,7 @@ Response Parameters - migration_status: migration_status - attachments: attachments - - links: links + - links: links_3 - availability_zone: availability_zone - os-vol-host-attr:host: os-vol-host-attr:host - encrypted: encrypted @@ -319,7 +319,7 @@ Response Parameters - os-volume-replication:extended_status: os-volume-replication:extended_status - replication_status: replication_status - snapshot_id: snapshot_id - - id: id + - id: id_5 - size: size - user_id: user_id - os-vol-tenant-attr:tenant_id: os-vol-tenant-attr:tenant_id @@ -332,7 +332,7 @@ Response Parameters - volume: volume - consistencygroup_id: consistencygroup_id - os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id - - name: name + - name: name_13 - bootable: bootable_response - created_at: created_at - os-volume-replication:driver_data: os-volume-replication:driver_data @@ -368,7 +368,7 @@ Request - volume: volume - description: description - - name: name + - name: name_13 - metadata: metadata - project_id: project_id_path - volume_id: volume_id @@ -388,13 +388,13 @@ Response Parameters - migration_status: migration_status - attachments: attachments - - links: links + - links: links_3 - availability_zone: availability_zone - encrypted: encrypted - updated_at: updated_at - replication_status: replication_status - snapshot_id: snapshot_id - - id: id + - id: id_5 - size: size - user_id: user_id - metadata: metadata @@ -404,7 +404,7 @@ Response Parameters - source_volid: source_volid - volume: volume - consistencygroup_id: consistencygroup_id - - name: name + - name: name_13 - bootable: bootable_response - created_at: created_at - volume_type: volume_type