e5b47543cf
Add the 'delete_on_termination' field to the volume attach API to support configuring whether to delete the data volume when the instance is destroyed. To avoid upgrade impact issues with older computes, the 'delete_on_termination' field is set in the API rather than when the BDM is created in the compute service. Implements: blueprint support-delete-on-termination-in-server-attach-volume Change-Id: I55731b1822a4e32909665a2872d80895cb5b12f7
15 lines
583 B
YAML
15 lines
583 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.
|
|
|
|
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}``
|