python-novaclient/novaclient/tests/unit/v2
Matt Riedemann b269aa4d7f Fix host-evacuate-live for 2.25 microversion
Change I01b22593724616bc0a7793c509ecabf095d6927d made the
live_migrate() method in the ServerManager conditional on the
API version requested. This broke the host-evacuate-live
command which is calling ServerManager.live_migrate() directly
with one too many arguments for the v2.25 version of the method.

This updates the host-evacuate-live shell to behave like the
live-migration method and be aware of the API version when
calling the live_migrate() method.

Related to blueprint making-live-migration-api-friendly

Conflicts:
        novaclient/v2/contrib/host_evacuate_live.py

NOTE(mriedem): The conflict is due to
93913c84b6 not being in stable/mitaka.
Also note that this is not for a blueprint, it's just related
to a blueprint that landed in mitaka but introduced a regression
here when support was added for that blueprint with the 2.25
microversion.

Change-Id: I4dbeb6ebe03f03799b706be2d787d21484b5c664
Closes-Bug: #1561938
(cherry picked from commit 90fbbb2956)
2016-03-29 17:08:47 -04:00
..
contrib Add two server-migration commands and bump migration-list command 2016-03-01 12:27:54 +00:00
__init__.py Rename v1_1 to v2 2015-02-04 17:40:46 +02:00
fakes.py [microversion] Bump to 2.25 2016-03-02 17:24:17 +08:00
test_agents.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_aggregates.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_auth.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_availability_zone.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_certs.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_client.py Test: Clean v2 client userwarning 2016-01-12 12:05:50 +08:00
test_cloudpipe.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_fixed_ips.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_flavor_access.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_flavors.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_floating_ip_dns.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_floating_ip_pools.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_floating_ips.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_floating_ips_bulk.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_fping.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_hosts.py Provide user with coherent interface to get request_ids 2016-02-15 09:49:33 +00:00
test_hypervisors.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_images.py Add return-request-id-to-caller function(2/5) 2016-01-27 02:45:22 +00:00
test_keypairs.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_limits.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_networks.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_quota_classes.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_quotas.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_security_group_rules.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_security_groups.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_server_groups.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_server_migrations.py Support for abort an ongoing live migration 2016-03-01 13:43:33 +00:00
test_servers.py Merge "Provide user with coherent interface to get request_ids" 2016-03-02 13:05:05 +00:00
test_services.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_shell.py Fix host-evacuate-live for 2.25 microversion 2016-03-29 17:08:47 -04:00
test_usage.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_versions.py Add return-request-id-to-caller function(3/5) 2016-01-28 11:22:00 +00:00
test_volumes.py Add return-request-id-to-caller function(5/5) 2016-01-28 11:24:03 +00:00
testfile.txt Rename v1_1 to v2 2015-02-04 17:40:46 +02:00