Revision 9bf56d77 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
460 | 460 |
# instance opcodes |
461 | 461 |
|
462 | 462 |
class OpCreateInstance(OpCode): |
463 |
"""Create an instance.""" |
|
463 |
"""Create an instance. |
|
464 |
|
|
465 |
@ivar instance_name: Instance name |
|
466 |
@ivar mode: Instance creation mode (one of L{constants.INSTANCE_CREATE_MODES}) |
|
467 |
@ivar source_handshake: Signed handshake from source (remote import only) |
|
468 |
@ivar source_x509_ca: Source X509 CA in PEM format (remote import only) |
|
469 |
@ivar source_instance_name: Previous name of instance (remote import only) |
|
470 |
|
|
471 |
""" |
|
464 | 472 |
OP_ID = "OP_INSTANCE_CREATE" |
465 | 473 |
OP_DSC_FIELD = "instance_name" |
466 | 474 |
__slots__ = [ |
... | ... | |
473 | 481 |
"file_storage_dir", "file_driver", |
474 | 482 |
"iallocator", |
475 | 483 |
"hypervisor", "hvparams", "beparams", |
484 |
"source_handshake", |
|
485 |
"source_x509_ca", |
|
486 |
"source_instance_name", |
|
476 | 487 |
"dry_run", |
477 | 488 |
] |
478 | 489 |
|
Also available in: Unified diff