python-novaclient/releasenotes/notes/microversion-v2_85-230931f88c4f1d52.yaml
zhangbailin 4d6c70d25d Microversion 2.85: Change volume-update CLI
This commit add a new CLI
``nova volume-update [--[no-]delete-on-termination]
<server> <src_volume> <dest_volume>`` to update
'delete_on_termination' for an attached volume, that the user can
decide whether to delete attached volumes when destroying the server.

Depends-On: https://review.opendev.org/#/c/711194/

Change-Id: I1fc64fb6e6611c92c6b72265e1bf4b32e9c45f0a
Blueprint: destroy-instance-with-datavolume
2020-04-09 08:52:05 +08:00

17 lines
664 B
YAML

---
features:
- |
Support is added for compute API `microversion 2.85`_. This adds the
ability to update an attached volume with a ``delete_on_termination``,
which specify if the attached volume should be deleted when the server
is destroyed.
- The ``--delete-on-termination`` and ``--no-delete-on-termination``
options are added to the ``nova volume-update`` CLI.
- New kwarg called ``delete_on_termination`` added to the python API
binding:
- ``novaclient.v2.volumes.VolumeManager.update_server_volume()``
.. _microversion 2.85: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id78