Revision ebe466d8 lib/server/noded.py
b/lib/server/noded.py | ||
---|---|---|
622 | 622 |
return backend.InstanceReboot(instance, reboot_type, shutdown_timeout) |
623 | 623 |
|
624 | 624 |
@staticmethod |
625 |
def perspective_instance_balloon_memory(params): |
|
626 |
"""Modify instance runtime memory. |
|
627 |
|
|
628 |
""" |
|
629 |
instance_dict, memory = params |
|
630 |
instance = objects.Instance.FromDict(instance_dict) |
|
631 |
return backend.InstanceBalloonMemory(instance, memory) |
|
632 |
|
|
633 |
@staticmethod |
|
625 | 634 |
def perspective_instance_info(params): |
626 | 635 |
"""Query instance information. |
627 | 636 |
|
Also available in: Unified diff