openstack-python-openstackc.../openstackclient/tests/unit
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
..
api Make container list --all work 2020-05-16 14:40:28 +00:00
common Add support '--progress' option for 'image create' 2021-01-04 17:25:34 +00:00
compute compute: Add 'server volume update' command 2021-01-12 16:29:07 +00:00
identity Merge "Add name and enabled param in ListDomain parser" 2020-12-22 13:30:59 +00:00
image Merge "image: Unset properties rather than setting to None" 2021-01-06 11:16:25 +00:00
integ Remove os-client-config references 2020-06-08 16:20:28 -05:00
network Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00
object Remove usage of six 2020-10-07 02:15:25 +00:00
volume Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py Remove usage of six 2020-10-07 02:15:25 +00:00
test_shell.py Remove oslo.utils 2020-10-12 17:29:57 +01:00
utils.py Make use of comparable 'FormattableColumn' subclasses 2020-12-09 15:17:25 +00:00