Revision bc0a2284 lib/hypervisor/hv_fake.py
b/lib/hypervisor/hv_fake.py | ||
---|---|---|
283 | 283 |
if self._IsAlive(instance.name): |
284 | 284 |
raise errors.HypervisorError("Can't accept instance, already running") |
285 | 285 |
|
286 |
def MigrateInstance(self, instance, target, live): |
|
286 |
def MigrateInstance(self, cluster_name, instance, target, live):
|
|
287 | 287 |
"""Migrate an instance. |
288 | 288 |
|
289 |
@type cluster_name: string |
|
290 |
@param cluster_name: name of the cluster |
|
289 | 291 |
@type instance: L{objects.Instance} |
290 | 292 |
@param instance: the instance to be migrated |
291 | 293 |
@type target: string |
Also available in: Unified diff