python-openstackclient/openstackclient
Stephen Finucane 2bdf34dcc3 compute: Auto-configure shared/block live migration
API microversion 2.25 introduced the 'block_migration=auto' value for
the os-migrateLive server action. This is a sensible default that we
should use, allowing users to avoid stating one of the
'--block-migration' or '--shared-migration' parameters explicitly.

While we're here, we take the opportunity to fix up some formatting in
the function, which is really rather messy.

Change-Id: Ieedc77d6dc3d4a3cd93b29672faa97dd4e8c1185
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-01-22 13:00:46 +00:00
..
api Remove usage of six 2020-10-07 02:15:25 +00:00
common Add support '--progress' option for 'image create' 2021-01-04 17:25:34 +00:00
compute compute: Auto-configure shared/block live migration 2021-01-22 13:00:46 +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
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Support remote-address-group in SG rules 2021-01-12 10:55:24 -06:00
object Add storage policy option to create container command 2020-02-19 10:08:48 +13:00
tests compute: Auto-configure shared/block live migration 2021-01-22 13:00:46 +00:00
volume Allow to resize in-use volumes 2020-11-11 09:18:49 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Remove usage of six 2020-10-07 02:15:25 +00:00