module documentation
OpCodes module
Note that this file is autogenerated using @src/hs2py@ with a header from @lib/opcodes.py.in_before@ and a footer from @lib/opcodes.py.in_after@.
This module implements part of the data structures which define the cluster operations - the so-called opcodes.
Every operation which modifies the cluster state is expressed via opcodes.
Class |
|
Export an instance. |
Class |
|
Prepares an instance export. |
Class |
|
Remove an instance's export. |
Class |
|
Activate the master IP on the master node. |
Class |
|
Query cluster configuration values. |
Class |
|
Deactivate the master IP on the master node. |
Class |
|
Destroy the cluster. |
Class |
|
Post cluster initialization. |
Class |
|
Query cluster information. |
Class |
|
Force a full push of the cluster configuration. |
Class |
|
Rename the cluster. |
Class |
|
Renews the cluster node's SSL client certificates. |
Class |
|
Verify the disk sizes of the instances and fixes configuration mismatches. |
Class |
|
Change the parameters of the cluster. |
Class |
|
Submits all jobs necessary to verify the cluster. |
Class |
|
Verify the cluster config. |
Class |
|
Verify the cluster disks. |
Class |
|
Run verify on a node group from the cluster. |
Class |
|
Abstract OpCode. |
Class |
|
Compute the list of external storage providers. |
Class |
|
Add a node group to the cluster. |
Class |
|
Assign nodes to a node group. |
Class |
|
Evacuate a node group in the cluster. |
Class |
|
Remove a node group from the cluster. |
Class |
|
Rename a node group in the cluster. |
Class |
|
Change the parameters of a node group. |
Class |
|
Verifies the status of all disks in a node group. |
Class |
|
Activate an instance's disks. |
Class |
|
Moves an instance to another node group. |
Class |
|
Connect to an instance's console. |
Class |
|
Create an instance. |
Class |
|
Deactivate an instance's disks. |
Class |
|
Failover an instance. |
Class |
|
Grow a disk of an instance. |
Class |
|
Migrate an instance. |
Class |
|
Move an instance. |
Class |
|
Allocates multiple instances. |
Class |
|
Allocates multiple instances. |
Class |
|
Compute the run-time status of instances. |
Class |
|
Reboot an instance. |
Class |
|
Recreate an instance's disks. |
Class |
|
Reinstall an instance's OS. |
Class |
|
Remove an instance. |
Class |
|
Rename an instance. |
Class |
|
Replace the disks of an instance. |
Class |
|
Change the parameters of an instance. |
Class |
|
Shutdown an instance. |
Class |
|
Startup an instance. |
Class |
|
Add an IP network to the cluster. |
Class |
|
Connect a Network to a specific Nodegroup with the defined netparams (mode, link). Nics in this Network will inherit those params. Produce errors if a NIC (that its not already assigned to a network) has an IP that is contained in the Network this will produce error unless --no-conflicts-check is passed. |
Class |
|
Disconnect a Network from a Nodegroup. Produce errors if NICs are present in the Network unless --no-conficts-check option is passed. |
Class |
|
Remove an existing network from the cluster. Must not be connected to any nodegroup. |
Class |
|
Rename a network in the cluster. |
Class |
|
Modify Network's parameters except for IPv4 subnet |
Class |
|
Add a node to the cluster. |
Class |
|
Evacuate instances off a number of nodes. |
Class |
|
Migrate all instances from a node. |
Class |
|
Modifies the properies of a storage unit |
Class |
|
Tries to powercycle a node. |
Class |
|
Get information on storage for node(s). |
Class |
|
Get list of volumes on node. |
Class |
|
Remove a node. |
Class |
|
Change the parameters of a node. |
Class |
|
Interact with OOB. |
Class |
|
Compute the list of guest operating systems. |
Class |
|
Query for resources/items. |
Class |
|
Query for available resource/item fields. |
Class |
|
Repairs the volume group on a node. |
Class |
|
Runs a restricted command on node(s). |
Class |
|
Remove a list of tags from a given object. |
Class |
|
Returns the tags of the given object. |
Class |
|
Searches the tags in the cluster for a given pattern. |
Class |
|
Add a list of tags on a given object. |
Class |
|
Allocator framework testing. |
Class |
|
Sleeps for a configured amount of time. |
Class |
|
Utility opcode used by unittests. |
Class |
|
Utility opcode to test some aspects of the job queue. |
Class |
|
Utility opcode to test secret os parameter transmission. |
Constant | OP |
Undocumented |
Function | _ |
Returns list of all defined opcodes. |