python-novaclient/releasenotes/notes/microversion-v2_79-f13bc0414743dc16.yaml
zhangbailin cd396b8b61 Microversion 2.79: Add delete_on_termination to volume-attach API
Support add 'delete_on_termination' field to the voume attach API to
support configuring whether to delete the data volume when the server
is destroyed.

* Updating the ``nova volume-attachments`` command to show the
  ``delete_on_termination`` value if 2.79 or greater is used.
* The '--delete-on-termination' option is added to the `nova volume-attach`
  CLI.

Depends-On: https://review.opendev.org/#/c/673133/
Part of blueprint support-delete-on-termination-in-server-attach-volume

Change-Id: I8dcf2fd21a2fd99ca4e05bd953fbbe026be3a619
2019-09-09 12:43:42 -04:00

17 lines
571 B
YAML

---
features:
- |
Added support for `microversion 2.79`_ which includes the following
changes:
- The ``--delete-on-termination`` option is added to the
``nova volume-attach`` CLI.
- A ``DELETE ON TERMINATION`` column is added to the
``nova volume-attachments`` table.
- New kwarg called ``delete_on_termination`` added to the python API
binding:
- ``novaclient.v2.volumes.VolumeManager.create_server_volume()``
.. _microversion 2.79: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id71