class documentation
class OpBackupExport(OpCode):
Export an instance.
For local exports, the export destination is the node name. For remote exports, the export destination is a list of tuples, each consisting of hostname/IP address, port, magic, HMAC and HMAC salt. The HMAC is calculated using the cluster domain secret over the value "${index}:${hostname}:${port}". The destination X509 CA must be a signed certificate.
| Constant | OP |
Undocumented |
| Constant | OP |
Undocumented |
| Constant | OP |
Undocumented |
| Instance Variable | destination |
Destination X509 CA in PEM format (remote export only) |
| Instance Variable | mode |
Export mode (one of constants.EXPORT_MODES) |
| Instance Variable | target |
Export destination |
| Instance Variable | x509 |
X509 key to use (remote export only) |
Inherited from OpCode:
| Class Method | |
Generic load opcode method. |
| Method | __getstate__ |
Specialized getstate for opcodes. |
| Method | |
Generates a summary description of this opcode. |
| Method | |
Generates a compact summary description of the opcode. |
| Constant | WITH |
Boolean that specifies whether this should be included in mcpu's dispatch table |
| Class Variable | OP |
A callable that should format the OP_DSC_FIELD; if not present, then the field will be simply converted to string |
| Class Variable | OP |
The ID of this opcode. This should be unique amongst all children of this class. |
| Instance Variable | dry |
Whether the LU should be run in dry-run mode, i.e. just the check steps |
| Instance Variable | priority |
Opcode priority for queue |
Inherited from BaseOpCode (via OpCode):
| Class Method | |
Compute list of all parameters for an opcode. |
| Method | __init__ |
Constructor for BaseOpCode. |
| Method | __setstate__ |
Generic unserializer. |
| Method | |
Validate opcode parameters, optionally setting default values. |
Inherited from ValidatedSlots (via OpCode, BaseOpCode):
| Class Method | |
Compute the list of all declared slots for a class. |
| Class Variable | __slots__ |
Undocumented |
OP_PARAMS =
¶
overrides
ganeti.opcodes.OpCode.OP_PARAMSUndocumented
| Value |
|
OP_RESULT =
¶
overrides
ganeti.opcodes.OpCode.OP_RESULTUndocumented
| Value |
|