summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-10-29 19:09:47 +0000
committerGerrit Code Review <review@openstack.org>2012-10-29 19:09:47 +0000
commit2ab47ca4a23755d70802b4f8f5201d16d2af3042 (patch)
treee5b3d59d0e5744eda706e0594ec76df1c379dc12
parent49c7ea2d01d1bca80b146b53188b1e351097a9c5 (diff)
parentb3058b972159415831b0ecea4864606a830d63bf (diff)
downloadnova-2ab47ca4a23755d70802b4f8f5201d16d2af3042.tar.gz
nova-2ab47ca4a23755d70802b4f8f5201d16d2af3042.tar.xz
nova-2ab47ca4a23755d70802b4f8f5201d16d2af3042.zip
Merge "Add live migration helper methods to fake hypervisor driver"
-rw-r--r--nova/virt/fake.py13
1 files changed, 13 insertions, 0 deletions
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):