Revision 313bcead lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
530 | 530 |
__slots__ = OpCode.__slots__ + ["instance_name", "live", "cleanup"] |
531 | 531 |
|
532 | 532 |
|
533 |
class OpMoveInstance(OpCode): |
|
534 |
"""Move an instance. |
|
535 |
|
|
536 |
This move (with shutting down an instance and data copying) to an |
|
537 |
arbitrary node. |
|
538 |
|
|
539 |
@ivar instance_name: the name of the instance |
|
540 |
@ivar target_node: the destination node |
|
541 |
|
|
542 |
""" |
|
543 |
OP_ID = "OP_INSTANCE_MOVE" |
|
544 |
OP_DSC_FIELD = "instance_name" |
|
545 |
__slots__ = OpCode.__slots__ + ["instance_name", "target_node"] |
|
546 |
|
|
547 |
|
|
533 | 548 |
class OpConnectConsole(OpCode): |
534 | 549 |
"""Connect to an instance's console.""" |
535 | 550 |
OP_ID = "OP_INSTANCE_CONSOLE" |
Also available in: Unified diff