Revision 56e7640c lib/rpc.py

b/lib/rpc.py
468 468
    """
469 469
    return self._SingleNodeCall(node, "instance_info", [instance, hname])
470 470

  
471
  def call_instance_migratable(self, node, instance):
472
    """Checks whether the given instance can be migrated.
473

  
474
    This is a single-node call.
475

  
476
    @param node: the node to query
477
    @type instance: L{objects.Instance}
478
    @param instance: the instance to check
479

  
480

  
481
    """
482
    return self._SingleNodeCall(node, "instance_migratable",
483
                                [self._InstDict(instance)])
484

  
471 485
  def call_all_instances_info(self, node_list, hypervisor_list):
472 486
    """Returns information about all instances on the given nodes.
473 487

  

Also available in: Unified diff