Trees | Indices | Help |
|
---|
|
Create an instance.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
HPATH = "instance-add"
|
|||
HTYPE = "INSTANCE"
|
|||
_OP_PARAMS = [_PInstanceName, ("mode", ht.NoDefault, ht.TElemO a list of opcode attributes, their defaults values they should get if not already defined, and types they must match |
|||
REQ_BGL = False
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Check arguments.
|
ExpandNames for CreateInstance. Figure out the right locks for instance creation.
|
Build hooks env. This runs on master, primary and secondary nodes of the instance.
|
Reads the export information from disk. It will override the opcode source node and path with the actual information, if these two were not specified before.
|
Use export parameters as defaults. In case the opcode doesn't specify (as in override) some instance parameters, then try to use them from the export information, if that declares them. |
Check prerequisites.
|
Create and add the instance to the cluster.
|
|
_OP_PARAMSa list of opcode attributes, their defaults values they should get if not already defined, and types they must match
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:42 2010 | http://epydoc.sourceforge.net |