openstack-python-openstackc.../openstackclient/compute/v2
Stephen Finucane ca7f23d0d1 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>
2021-01-12 16:29:07 +00:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
agent.py trivial: Document removal of support for agents 2020-11-17 11:44:31 +00:00
aggregate.py trivial: Use plural for appended parameters 2021-01-06 12:02:57 +00:00
console.py Switch console url show operations to SDK 2020-10-24 10:19:52 +02:00
flavor.py trivial: Use plural for appended parameters 2021-01-06 12:02:57 +00:00
host.py compute: host: expand kwargs in host_set() call 2018-07-20 10:37:34 +02:00
hypervisor.py compute: Fix 'hypervisor show -f yaml' output 2021-01-06 12:02:25 +00:00
hypervisor_stats.py Replace six.iteritems() with .items() 2020-01-09 18:41:29 +09:00
keypair.py compute: Add missing options for 'keypair list' 2021-01-08 12:14:43 +00:00
server.py compute: Add 'server volume update' command 2021-01-12 16:29:07 +00:00
server_backup.py Remove oslo.utils 2020-10-12 17:29:57 +01:00
server_event.py Replace six.iteritems() with .items() 2020-01-09 18:41:29 +09:00
server_group.py compute: Add 'server group create --rule' option 2021-01-06 12:02:25 +00:00
server_image.py compute: Add missing options for 'server image create' 2021-01-08 12:14:43 +00:00
server_volume.py compute: Add 'server volume update' command 2021-01-12 16:29:07 +00:00
service.py Document 2.53 behavior for compute service list/delete 2019-08-20 15:38:59 +00:00
usage.py compute: Fix 'usage * -f yaml' output 2021-01-06 12:02:25 +00:00