diff options
author | zhangbailin <zhangbailin@inspur.com> | 2019-09-06 18:44:08 +0800 |
---|---|---|
committer | Eric Fried <openstack@fried.cc> | 2020-02-19 19:12:21 +0000 |
commit | dcac6825c582d7c4d314e386c3572b389824a973 (patch) | |
tree | 9ed8866b142ad23c6a88503cd0a3d5fd7a69b136 /api-ref/source | |
parent | 9fa3600fcaef74660aadae56ecc5f766f1093f14 (diff) | |
download | nova-dcac6825c582d7c4d314e386c3572b389824a973.tar.gz |
Follow-up: Add delete_on_termination to volume-attach API
Some comment mainly from gmann and takashin in [1] PS15.
Add some tests in test_volumes.py, and fix some docs error.
[1]https://review.opendev.org/#/c/673133/15/nova/tests/unit/api/openstack/compute/test_volumes.py@1902
Depends-On: https://review.opendev.org/#/c/673133/
Part of blueprint support-delete-on-termination-in-server-attach-volume
Change-Id: I8dfa61f03ce927a1e86d42f8fb03bf4cb3e48160
Diffstat (limited to 'api-ref/source')
-rw-r--r-- | api-ref/source/os-volume-attachments.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api-ref/source/os-volume-attachments.inc b/api-ref/source/os-volume-attachments.inc index 68db210c2b..de73f95ea1 100644 --- a/api-ref/source/os-volume-attachments.inc +++ b/api-ref/source/os-volume-attachments.inc @@ -46,9 +46,9 @@ Response .. literalinclude:: ../../doc/api_samples/os-volumes/list-volume-attachments-resp.json :language: javascript -**Example List tagged volume attachments for an instance (v2.70): JSON response** +**Example List tagged volume attachments for an instance (v2.79): JSON response** -.. literalinclude:: ../../doc/api_samples/os-volumes/v2.70/list-volume-attachments-resp.json +.. literalinclude:: ../../doc/api_samples/os-volumes/v2.79/list-volume-attachments-resp.json :language: javascript Attach a volume to an instance @@ -162,9 +162,9 @@ Response .. literalinclude:: ../../doc/api_samples/os-volumes/volume-attachment-detail-resp.json :language: javascript -**Example Show a detail of a tagged volume attachment (v2.70): JSON response** +**Example Show a detail of a tagged volume attachment (v2.79): JSON response** -.. literalinclude:: ../../doc/api_samples/os-volumes/v2.70/volume-attachment-detail-resp.json +.. literalinclude:: ../../doc/api_samples/os-volumes/v2.79/volume-attachment-detail-resp.json :language: javascript Update a volume attachment |