Trees | Indices | Help |
|
---|
|
Ganeti RAPI client.
|
|||
|
|||
|
|||
str |
|
||
int |
|
||
list |
|
||
list of str |
|
||
dict |
|
||
list of str |
|
||
int |
|
||
|
|||
list of dict or list of str |
|
||
dict |
|
||
string |
|
||
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 |
|
||
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.
|
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.
|
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.
|
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.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 9 15:55:55 2010 | http://epydoc.sourceforge.net |