From b3058b972159415831b0ecea4864606a830d63bf Mon Sep 17 00:00:00 2001 From: "Mauro S. M. Rodrigues" Date: Thu, 25 Oct 2012 15:52:46 -0400 Subject: Add live migration helper methods to fake hypervisor driver These methods were necessary to api samples tests. Change-Id: I49315a7376b4165d0a51f4110711ccd16bc83aa0 --- nova/virt/fake.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nova/virt/fake.py b/nova/virt/fake.py index 3527ac19b..f739a5b66 100644 --- a/nova/virt/fake.py +++ b/nova/virt/fake.py @@ -272,6 +272,19 @@ class FakeDriver(driver.ComputeDriver): migrate_data=None): return + def check_can_live_migrate_destination_cleanup(self, ctxt, + dest_check_data): + return + + def check_can_live_migrate_destination(self, ctxt, instance_ref, + block_migration=False, + disk_over_commit=False): + return + + def check_can_live_migrate_source(self, ctxt, instance_ref, + dest_check_data): + return + def finish_migration(self, context, migration, instance, disk_info, network_info, image_meta, resize_instance, block_device_info=None): -- cgit