summaryrefslogtreecommitdiff
path: root/openstackclient/common
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2020-12-03 12:41:25 +0000
committerStephen Finucane <sfinucan@redhat.com>2021-01-12 16:29:07 +0000
commitca7f23d0d1876dc53ef4d5ecbf2c5f367aafe13e (patch)
treeb021530013e735d6d1a202923ce9aa0aac5731d6 /openstackclient/common
parentd33eb3e1da5730f13a539b70bd6eea04725b12e1 (diff)
downloadpython-openstackclient-ca7f23d0d1876dc53ef4d5ecbf2c5f367aafe13e.tar.gz
compute: Add 'server volume update' command
We're not going to expose the ability to swap volumes since that's a things humans should not generally use. From the API docs [1]: When updating volumeId, this API is typically meant to only be used as part of a larger orchestrated volume migration operation initiated in the block storage service via the os-retype or os-migrate_volume volume actions. Direct usage of this API to update volumeId is not recommended and may result in needing to hard reboot the server to update details within the guest such as block storage serial IDs. Furthermore, updating volumeId via this API is only implemented by certain compute drivers. We *do* want users to have the ability to change the delete on termination behavior though, so that's what we expose. [1] https://docs.openstack.org/api-ref/compute/?expanded=update-a-volume-attachment-detail#update-a-volume-attachment Change-Id: I50938e1237b4d298521b26a5f9cb90c018dfebaf Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/common')
0 files changed, 0 insertions, 0 deletions