Revision 7e950d31 tools/burnin
b/tools/burnin | ||
---|---|---|
675 | 675 |
Log("remove export", indent=2) |
676 | 676 |
self.ExecOrQueue(instance, exp_op, rem_op, imp_op, erem_op) |
677 | 677 |
|
678 |
def StopInstanceOp(self, instance): |
|
678 |
@staticmethod |
|
679 |
def StopInstanceOp(instance): |
|
679 | 680 |
"""Stop given instance.""" |
680 | 681 |
return opcodes.OpShutdownInstance(instance_name=instance) |
681 | 682 |
|
682 |
def StartInstanceOp(self, instance): |
|
683 |
@staticmethod |
|
684 |
def StartInstanceOp(instance): |
|
683 | 685 |
"""Start given instance.""" |
684 | 686 |
return opcodes.OpStartupInstance(instance_name=instance, force=False) |
685 | 687 |
|
686 |
def RenameInstanceOp(self, instance, instance_new): |
|
688 |
@staticmethod |
|
689 |
def RenameInstanceOp(instance, instance_new): |
|
687 | 690 |
"""Rename instance.""" |
688 | 691 |
return opcodes.OpRenameInstance(instance_name=instance, |
689 | 692 |
new_name=instance_new) |
Also available in: Unified diff