Trees | Indices | Help |
|
---|
|
Create an instance.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
dict |
|
||
tuple; (list, list) or (list, list, list) |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
HPATH = "instance-add"
|
|||
HTYPE = "INSTANCE"
|
|||
REQ_BGL = False
|
|
|||
Inherited from |
|
|||
Inherited from |
|
Check arguments.
|
ExpandNames for CreateInstance. Figure out the right locks for instance creation.
|
Declare LU locking needs for a level While most LUs can just declare their locking needs at ExpandNames time, sometimes there's the need to calculate some locks after having acquired the ones before. This function is called just before acquiring locks at a particular level, but after acquiring the ones at lower levels, and permits such calculations. It can be used to modify self.needed_locks, and by default it does nothing. This function is only called if you have something already set in self.needed_locks for the level.
|
Build hooks env. This runs on master, primary and secondary nodes of the instance.
|
Build hooks nodes.
|
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.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 30 13:42:37 2015 | http://epydoc.sourceforge.net |