Trees | Indices | Help |
|
---|
|
Ganeti RAPI client.
|
|||
|
|||
|
|||
str |
|
||
int |
|
||
list |
|
||
list of str |
|
||
dict |
|
||
string |
|
||
string |
|
||
list of str |
|
||
string |
|
||
string |
|
||
list of dict or list of str |
|
||
dict |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
list of str |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
dict |
|
||
list of int |
|
||
dict |
|
||
bool |
|
||
dict |
|
||
tuple |
|
||
list of dict or str |
|
||
dict |
|
||
string, or a list for pre-2.5 results |
|
||
string |
|
||
str |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
list of str |
|
||
string |
|
||
string |
|
||
list of dict or str |
|
||
dict |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
list of strings |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
Inherited from |
|
|||
list |
|
|
|||
USER_AGENT = "Ganeti RAPI Client"
|
|||
_json_encoder = simplejson.JSONEncoder(sort_keys= True)
|
|
|||
Inherited from |
|
Initializes this class.
|
Encode query values for RAPI URL.
|
Sends an HTTP request. This constructs a full URL, encodes and decodes HTTP bodies, and handles invalid responses in a pythonic way.
|
Gets the Remote API version running on the cluster.
|
Gets the list of optional features supported by RAPI server.
|
Gets the Operating Systems running in the Ganeti cluster.
|
Gets info about the cluster.
|
Tells the cluster to redistribute its configuration files.
|
Modifies cluster parameters. More details for parameters can be found in the RAPI documentation.
|
Gets the cluster tags.
|
Adds tags to the cluster.
|
Deletes tags from the cluster.
|
Gets information about instances on the cluster.
|
Gets information about an instance.
|
Gets information about an instance.
|
Creates a new instance. More details for parameters can be found in the RAPI documentation.
|
Deletes an instance.
|
Modifies an instance. More details for parameters can be found in the RAPI documentation.
|
Activates an instance's disks.
|
Deactivates an instance's disks.
|
Grows a disk of an instance. More details for parameters can be found in the RAPI documentation.
|
Gets tags for an instance.
|
Adds tags to an instance.
|
Deletes tags from an instance.
|
Reboots an instance.
|
Shuts down an instance.
|
Starts up an instance.
|
Reinstalls an instance.
|
Replaces disks on an instance.
|
Prepares an instance for an export.
|
Exports an instance.
|
Migrates an instance.
|
Does a failover of an instance.
|
Changes the name of an instance.
|
Request information for connecting to instance's console.
|
Gets all jobs for the cluster.
|
Gets the status of a job.
|
Polls cluster for job status until completion. Completion is defined as any of the following states listed in JOB_STATUS_FINALIZED.
Deprecated: It is recommended to use WaitForJobChange wherever possible; WaitForJobChange returns immediately after a job changed and does not use polling |
Waits for job changes.
|
Cancels a job.
|
Gets all nodes in the cluster.
|
Gets information about a node.
|
Evacuates instances from a Ganeti node.
|
Migrates all primary instances from a node.
|
Gets the current role for a node.
|
Sets the role for a node.
|
Gets the storage units for a node.
|
Modifies parameters of storage units on the node.
|
Repairs a storage unit on the node.
|
Gets the tags for a node.
|
Adds tags to a node.
|
Delete tags from a node.
|
Gets all node groups in the cluster.
|
Gets information about a node group.
|
Creates a new node group.
|
Modifies a node group. More details for parameters can be found in the RAPI documentation.
|
Deletes a node group.
|
Changes the name of a node group.
|
Assigns nodes to a group.
|
Gets tags for a node group.
|
Adds tags to a node group.
|
Deletes tags from a node group.
|
Retrieves information about resources.
|
Retrieves available fields for a resource.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 16:51:30 2012 | http://epydoc.sourceforge.net |