Revision b74de5e8 lib/server/noded.py
b/lib/server/noded.py | ||
---|---|---|
620 | 620 |
return backend.HotplugDevice(instance, action, dev_type, device, extra, seq) |
621 | 621 |
|
622 | 622 |
@staticmethod |
623 |
def perspective_hotplug_supported(params): |
|
624 |
"""Checks if hotplug is supported. |
|
625 |
|
|
626 |
""" |
|
627 |
instance = objects.Instance.FromDict(params[0]) |
|
628 |
return backend.HotplugSupported(instance) |
|
629 |
|
|
630 |
@staticmethod |
|
623 | 631 |
def perspective_migration_info(params): |
624 | 632 |
"""Gather information about an instance to be migrated. |
625 | 633 |
|
Also available in: Unified diff