Revision 254d4709 lib/server/noded.py

b/lib/server/noded.py
619 619
    return backend.HotplugDevice(instance, action, dev_type, device, extra, seq)
620 620

  
621 621
  @staticmethod
622
  def perspective_hotplug_supported(params):
623
    """Checks if hotplug is supported.
624

  
625
    """
626
    instance = objects.Instance.FromDict(params[0])
627
    return backend.HotplugSupported(instance)
628

  
629
  @staticmethod
622 630
  def perspective_migration_info(params):
623 631
    """Gather information about an instance to be migrated.
624 632

  

Also available in: Unified diff