Revision 56e7640c daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
391 | 391 |
return backend.GetInstanceInfo(params[0], params[1]) |
392 | 392 |
|
393 | 393 |
@staticmethod |
394 |
def perspective_instance_migratable(params): |
|
395 |
"""Query whether the specified instance can be migrated. |
|
396 |
|
|
397 |
""" |
|
398 |
instance = objects.Instance.FromDict(params[0]) |
|
399 |
return backend.GetInstanceMigratable(instance) |
|
400 |
|
|
401 |
@staticmethod |
|
394 | 402 |
def perspective_all_instances_info(params): |
395 | 403 |
"""Query information about all instances. |
396 | 404 |
|
Also available in: Unified diff