Revision 07813a9e lib/rpc.py

b/lib/rpc.py
425 425
    """
426 426
    return self._SingleNodeCall(node, "bridges_exist", [bridges_list])
427 427

  
428
  def call_instance_start(self, node, instance, extra_args):
428
  def call_instance_start(self, node, instance):
429 429
    """Starts an instance.
430 430

  
431 431
    This is a single-node call.
432 432

  
433 433
    """
434 434
    return self._SingleNodeCall(node, "instance_start",
435
                                [self._InstDict(instance), extra_args])
435
                                [self._InstDict(instance)])
436 436

  
437 437
  def call_instance_shutdown(self, node, instance):
438 438
    """Stops an instance.
......
515 515
    return self._SingleNodeCall(node, "instance_migrate",
516 516
                                [self._InstDict(instance), target, live])
517 517

  
518
  def call_instance_reboot(self, node, instance, reboot_type, extra_args):
518
  def call_instance_reboot(self, node, instance, reboot_type):
519 519
    """Reboots an instance.
520 520

  
521 521
    This is a single-node call.
522 522

  
523 523
    """
524 524
    return self._SingleNodeCall(node, "instance_reboot",
525
                                [self._InstDict(instance), reboot_type,
526
                                 extra_args])
525
                                [self._InstDict(instance), reboot_type])
527 526

  
528 527
  def call_instance_os_add(self, node, inst):
529 528
    """Installs an OS on the given instance.

Also available in: Unified diff