Revision 24711492 lib/server/noded.py
b/lib/server/noded.py | ||
---|---|---|
631 | 631 |
return backend.HotplugDevice(instance, action, dev_type, device, extra, seq) |
632 | 632 |
|
633 | 633 |
@staticmethod |
634 |
def perspective_hotplug_supported(params): |
|
635 |
"""Checks if hotplug is supported. |
|
636 |
|
|
637 |
""" |
|
638 |
instance = objects.Instance.FromDict(params[0]) |
|
639 |
return backend.HotplugSupported(instance) |
|
640 |
|
|
641 |
@staticmethod |
|
634 | 642 |
def perspective_migration_info(params): |
635 | 643 |
"""Gather information about an instance to be migrated. |
636 | 644 |
|
Also available in: Unified diff