Revision 007a2f3e daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
325 | 325 |
return backend.StartInstance(instance, extra_args) |
326 | 326 |
|
327 | 327 |
@staticmethod |
328 |
def perspective_instance_reboot(params): |
|
329 |
"""Reboot an instance. |
|
330 |
|
|
331 |
""" |
|
332 |
instance = objects.Instance.FromDict(params[0]) |
|
333 |
reboot_type = params[1] |
|
334 |
extra_args = params[2] |
|
335 |
return backend.RebootInstance(instance, reboot_type, extra_args) |
|
336 |
|
|
337 |
@staticmethod |
|
328 | 338 |
def perspective_instance_info(params): |
329 | 339 |
"""Query instance information. |
330 | 340 |
|
Also available in: Unified diff