Trees | Indices | Help |
|
---|
|
Ganeti RAPI client.
|
|||
|
|||
|
|||
str |
|
||
int |
|
||
list |
|
||
list of str |
|
||
dict |
|
||
|
|||
int |
|
||
list of str |
|
||
int |
|
||
|
|||
list of dict or list of str |
|
||
dict |
|
||
string |
|
||
int |
|
||
int |
|
||
int |
|
||
|
|||
|
|||
int |
|
||
list of str |
|
||
int |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
int |
|
||
string |
|
||
string |
|
||
|
|||
|
|||
|
|||
list of int |
|
||
dict |
|
||
|
|||
|
|||
list of dict or str |
|
||
dict |
|
||
list |
|
||
int |
|
||
str |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
list of str |
|
||
int |
|
||
int |
|
||
list of dict or str |
|
||
dict |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
int |
|
||
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.
|
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.
|
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.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 27 14:19:30 2011 | http://epydoc.sourceforge.net |