dcac6825c5
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
16 lines
695 B
YAML
16 lines
695 B
YAML
---
|
|
features:
|
|
- |
|
|
Microversion 2.79 adds support for specifying the ``delete_on_termination``
|
|
field in the request body when attaching a volume to a server, to support
|
|
configuring whether to delete the data volume when the server is destroyed.
|
|
Also, ``delete_on_termination`` is added to the GET responses when showing
|
|
attached volumes, and the ``delete_on_termination`` field is contained
|
|
in the POST API response body when attaching a volume.
|
|
|
|
The affected APIs are as follows:
|
|
|
|
* ``POST /servers/{server_id}/os-volume_attachments``
|
|
* ``GET /servers/{server_id}/os-volume_attachments``
|
|
* ``GET /servers/{server_id}/os-volume_attachments/{volume_id}``
|