summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorzhangbailin <zhangbailin@inspur.com>2020-03-12 18:44:36 +0800
committerzhangbailin <zhangbailin@inspur.com>2020-04-09 08:52:05 +0800
commit4d6c70d25df99a4f28f263cd3160c74ccf1343e3 (patch)
tree64ab8962905dee361f94d2b417081d1e77e5971b /releasenotes
parentea092b29880e71f0ba2d8e1eb93a9cf73edee2a2 (diff)
downloadpython-novaclient-4d6c70d25df99a4f28f263cd3160c74ccf1343e3.tar.gz
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
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/microversion-v2_85-230931f88c4f1d52.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/releasenotes/notes/microversion-v2_85-230931f88c4f1d52.yaml b/releasenotes/notes/microversion-v2_85-230931f88c4f1d52.yaml
new file mode 100644
index 00000000..859534c4
--- /dev/null
+++ b/releasenotes/notes/microversion-v2_85-230931f88c4f1d52.yaml
@@ -0,0 +1,16 @@
+---
+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