summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/examples/test_examples.py
diff options
context:
space:
mode:
authorRikimaru Honjo <honjo.rikimaru@po.ntts.co.jp>2017-02-23 16:59:26 +0900
committerRikimaru Honjo <honjo.rikimaru@po.ntts.co.jp>2017-03-01 17:37:39 +0900
commit7063ffb3cacadbaf2e47c4e6d7b2cf8d694c83a7 (patch)
tree43dbd9d64023ef59fea42c8851dad5f2ff0aed22 /openstackclient/tests/functional/examples/test_examples.py
parentc8435f2d5a31731e3f25f9ed14fa54f8cb372eee (diff)
downloadpython-openstackclient-7063ffb3cacadbaf2e47c4e6d7b2cf8d694c83a7.tar.gz
Add a validation about options for server migrate command
The behavior of server migrate command are different depending on whether user specify --live option or not. server migrate command will call live migration API if user specify --live option. Ohterwise server migrate command will call migration(cold migration) API. Now then, "--block-migraiton" option and "--disk-overcommit" option only affect live-migration. But, openstackclient doesn't warn user if user specify these options without "--live". But, user can't recognize that specifying options are ignored. This patch adds a validation that checks whether or not user specify these options without "--live". Change-Id: Ifa278abb23ecdba4b13f3742998359ac74eb7ad4 Closes-bug: #1662755
Diffstat (limited to 'openstackclient/tests/functional/examples/test_examples.py')
0 files changed, 0 insertions, 0 deletions