Add api-ref for mv 3.55 volume transfer

Adds the api-ref information for the the 3.55 version of the volume
transfer API.

Change-Id: Ib91c2f7018184821437da41bc0f7b0c0b2e69f0c
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2018-08-03 16:38:19 -05:00
parent 4eb6e74204
commit 9a8d738aa3
3 changed files with 19 additions and 19 deletions

View File

@ -27,6 +27,7 @@ Block Storage API V3 (CURRENT)
.. include:: volumes-v3-snapshots-actions.inc .. include:: volumes-v3-snapshots-actions.inc
.. include:: snapshot-manage.inc .. include:: snapshot-manage.inc
.. include:: os-vol-transfer-v3.inc .. include:: os-vol-transfer-v3.inc
.. include:: vol-transfer-v3.inc
.. Now the other random things in alphabetical order. .. Now the other random things in alphabetical order.
.. include:: attachments.inc .. include:: attachments.inc

View File

@ -1,16 +1,16 @@
.. -*- rst -*- .. -*- rst -*-
Volume transfer Volume transfer (3.55 or later)
=============== ===============================
Transfers a volume from one user to another user. Transfers a volume from one user to another user.
This is the new transfer APIs with microversion 3.53. This is the new transfer APIs with microversion 3.55.
Accept a volume transfer Accept a volume transfer
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v3/{project_id}/volume_transfers/{transfer_id}/accept .. rest_method:: POST /v3/{project_id}/volume-transfers/{transfer_id}/accept
Accepts a volume transfer. Accepts a volume transfer.
@ -24,9 +24,6 @@ Response codes
.. rest_status_code:: error ../status.yaml .. rest_status_code:: error ../status.yaml
- 400 - 400
.. rest_status_code:: error ../status.yaml
- 413 - 413
Request Request
@ -65,7 +62,7 @@ Response Example
Create a volume transfer Create a volume transfer
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v3/{project_id}/volume_transfers .. rest_method:: POST /v3/{project_id}/volume-transfers
Creates a volume transfer. Creates a volume transfer.
@ -121,7 +118,7 @@ Response Example
List volume transfers for a project List volume transfers for a project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /v3/{project_id}/volume_transfers .. rest_method:: GET /v3/{project_id}/volume-transfers
Lists volume transfers. Lists volume transfers.
@ -163,7 +160,7 @@ Response Example
Show volume transfer detail Show volume transfer detail
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /v3/{project_id}/volume_transfers/{transfer_id} .. rest_method:: GET /v3/{project_id}/volume-transfers/{transfer_id}
Shows details for a volume transfer. Shows details for a volume transfer.
@ -206,7 +203,7 @@ Response Example
Delete a volume transfer Delete a volume transfer
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: DELETE /v3/{project_id}/volume_transfers/{transfer_id} .. rest_method:: DELETE /v3/{project_id}/volume-transfers/{transfer_id}
Deletes a volume transfer. Deletes a volume transfer.
@ -230,7 +227,7 @@ Request
List volume transfers and details List volume transfers and details
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /v3/{project_id}/volume_transfers/detail .. rest_method:: GET /v3/{project_id}/volume-transfers/detail
Lists volume transfers, with details. Lists volume transfers, with details.

View File

@ -449,13 +449,15 @@ donor, or original owner, creates a transfer request and sends the created
transfer ID and authorization key to the volume recipient. The volume transfer ID and authorization key to the volume recipient. The volume
recipient, or new owner, accepts the transfer by using the ID and key. recipient, or new owner, accepts the transfer by using the ID and key.
In Rocky, Cinder changes the API behavior for V2 and 3.x < 3.55, snapshots will Starting with the Rocky release, Cinder changes the API behavior for the v2 and
be transferred with volume by default. That means if the volume has some v3 API up to microversion 3.55. Snapshots will be transferred with the volume
snapshots, when a user transfers a volume from one owner to another, then those by default. That means if the volume has some snapshots, when a user transfers
snapshots will be transferred with the volume as well. After microversion 3.55, a volume from one owner to another, then those snapshots will be transferred
Cinder supports the ability to transfer volume without snapshots. If users with the volume as well.
don't want to transfer snapshots, they need to specify the new optional
argument `--no_snapshots`. Starting with microversion 3.55 and later, Cinder supports the ability to
transfer volume without snapshots. If users don't want to transfer snapshots,
they need to specify the new optional argument `--no-snapshots`.
.. note:: .. note::