module documentation
Logical units dealing with nodes.
Class |
|
Logical unit for adding node to the cluster. |
Class |
|
Evacuates instances off a list of nodes. |
Class |
|
Migrate all instances from a node. |
Class |
|
Logical unit for modifying a storage volume on a node. |
Class |
|
Powercycles a node. |
Class |
|
Logical unit for getting information on storage units on node(s). |
Class |
|
Logical unit for getting volumes on node(s). |
Class |
|
Logical unit for removing a node. |
Class |
|
Modifies the parameters of a node. |
Class |
|
Repairs the volume group on a node. |
Function | _ |
Ensure that a node has the given secondary ip. |
Function | _ |
Checks whether all selected fields are valid according to fields. |
Function | _ |
Decide whether I should promote myself as a master candidate. |
Function | _ |
Returns a list of all primary and secondary instances on a node. |
Function | _ |
Undocumented |
Function | _ |
Returns primary instances on a node. |
Function | _ |
Returns secondary instances on a node. |
Function | _ |
Returns the arguments for a storage type. |
Ensure that a node has the given secondary ip.
Parameters | |
lu:LogicalUnit | the LU on behalf of which we make the check |
node:objects.Node | the node to check |
secondary | the ip to check |
prereq:boolean | whether to throw a prerequisite or an execute error |
Raises | |
errors.OpPrereqError | if the node doesn't have the ip, and prereq=True |
errors.OpExecError | if the node doesn't have the ip, and prereq=False |
Checks whether all selected fields are valid according to fields.
Parameters | |
fields:utils.FieldSet | fields set |
selected:utils.FieldSet | fields set |