Revision 07813a9e daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
400 | 400 |
|
401 | 401 |
""" |
402 | 402 |
instance = objects.Instance.FromDict(params[0]) |
403 |
extra_args = params[1] |
|
404 |
return backend.StartInstance(instance, extra_args) |
|
403 |
return backend.StartInstance(instance) |
|
405 | 404 |
|
406 | 405 |
@staticmethod |
407 | 406 |
def perspective_migration_info(params): |
... | ... | |
445 | 444 |
""" |
446 | 445 |
instance = objects.Instance.FromDict(params[0]) |
447 | 446 |
reboot_type = params[1] |
448 |
extra_args = params[2] |
|
449 |
return backend.InstanceReboot(instance, reboot_type, extra_args) |
|
447 |
return backend.InstanceReboot(instance, reboot_type) |
|
450 | 448 |
|
451 | 449 |
@staticmethod |
452 | 450 |
def perspective_instance_info(params): |
Also available in: Unified diff