Revision 1410fa8d lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
653 | 653 |
__slots__ = ["nodes", "use_locking"] |
654 | 654 |
|
655 | 655 |
|
656 |
class OpPrepareExport(OpCode): |
|
657 |
"""Prepares an instance export. |
|
658 |
|
|
659 |
@ivar instance_name: Instance name |
|
660 |
@ivar mode: Export mode (one of L{constants.EXPORT_MODES}) |
|
661 |
|
|
662 |
""" |
|
663 |
OP_ID = "OP_BACKUP_PREPARE" |
|
664 |
OP_DSC_FIELD = "instance_name" |
|
665 |
__slots__ = [ |
|
666 |
"instance_name", "mode", |
|
667 |
] |
|
668 |
|
|
669 |
|
|
656 | 670 |
class OpExportInstance(OpCode): |
657 | 671 |
"""Export an instance.""" |
658 | 672 |
OP_ID = "OP_BACKUP_EXPORT" |
Also available in: Unified diff