Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.CloudSigmaZrhNodeDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.CloudSigmaZrhNodeDriver.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.CloudSigmaZrhNodeDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.CloudSigmaZrhNodeDriver.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,247 @@ + + + + libcloud.compute.drivers.cloudsigma.CloudSigmaZrhNodeDriver : API documentation + + + + + + +

l.c.d.c.CloudSigmaZrhNodeDriver(CloudSigmaBaseNodeDriver) : class documentation

+

+ Part of libcloud.compute.drivers.cloudsigma + View Source + View In Hierarchy +

+
+ +
+
CloudSigma node driver for the Zurich end-point
+ + + +
+ + +

+ Inherited from CloudSigmaBaseNodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodreboot_nodeReboot a node.
Methoddestroy_nodeDestroy a node (all the drives associated with it are NOT +destroyed).
Methodlist_imagesReturn a list of available standard images (this call might take up to +15 seconds to return).
Methodlist_sizesReturn a list of available node sizes.
Methodlist_nodesReturn a list of nodes.
Methodcreate_nodeCreates a CloudSigma instance
Methodex_destroy_node_and_drivesDestroy a node and all the drives associated with it.
Methodex_static_ip_listReturn a list of available static IP addresses.
Methodex_drives_listReturn a list of all the available drives.
Methodex_static_ip_createCreate a new static IP address.
Methodex_static_ip_destroyDestroy a static IP address.
Methodex_drive_destroyDestroy a drive with a specified uuid. If the drive is currently mounted +an exception is thrown.
Methodex_set_node_configurationUpdate a node configuration. Changing most of the parameters requires +node to be stopped.
Methodex_start_nodeStart a node.
Methodex_stop_nodeStop (shutdown) a node.
Methodex_shutdown_nodeStop (shutdown) a node.
Methodex_destroy_driveDestroy a drive.
Method_to_nodeUndocumented
Method_get_nodeUndocumented
Method_get_node_infoUndocumented
+ +

+ Inherited from NodeDriver (via CloudSigmaBaseNodeDriver): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__
Methodlist_locationsList data centers for a provider @return: list of NodeLocation +objects
Methoddeploy_nodeCreate a new node, and start deployment.
Method_wait_until_runningBlock until node is fully booted and has an IP address assigned.
Method_ssh_client_connectTry to connect to the remote SSH server. If a connection times out or is +refused it is retried up to timeout number of seconds.
Method_run_deployment_scriptRun the deployment script on the provided node. At this point it is +assumed that SSH connection has already been established.
Method_get_size_priceUndocumented
+ +

+ Inherited from BaseDriver (via CloudSigmaBaseNodeDriver, NodeDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the +Connection class constructor.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudsigma.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,106 @@ + + + + libcloud.compute.drivers.cloudsigma : API documentation + + + + + + +

l.c.d.cloudsigma : module documentation

+

+ Part of libcloud.compute.drivers + View Source + +

+
+ +
+
CloudSigma Driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassCloudSigmaExceptionUndocumented
ClassCloudSigmaInsufficientFundsExceptionUndocumented
ClassCloudSigmaResponseUndocumented
ClassCloudSigmaNodeSizeUndocumented
ClassCloudSigmaBaseConnectionUndocumented
ClassCloudSigmaBaseNodeDriverNo class docstring; 17/20 methods documented
ClassCloudSigmaZrhConnectionConnection class for the CloudSigma driver for the Zurich end-point
ClassCloudSigmaZrhNodeDriverCloudSigma node driver for the Zurich end-point
ClassCloudSigmaLvsConnectionConnection class for the CloudSigma driver for the Las Vegas +end-point
ClassCloudSigmaLvsNodeDriverCloudSigma node driver for the Las Vegas end-point
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackAddress.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackAddress.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackAddress.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackAddress.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,149 @@ + + + + libcloud.compute.drivers.cloudstack.CloudStackAddress : API documentation + + + + + + +

l.c.d.c.CloudStackAddress(object) : class documentation

+

+ Part of libcloud.compute.drivers.cloudstack + View Source + View In Hierarchy +

+
+ +
+
A public IP address.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodreleaseUndocumented
Method__str__Undocumented
Method__eq__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, node, id, address): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + release(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __eq__(self, other): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackForwardingRule.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackForwardingRule.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackForwardingRule.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackForwardingRule.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,123 @@ + + + + libcloud.compute.drivers.cloudstack.CloudStackForwardingRule : API documentation + + + + + + +

l.c.d.c.CloudStackForwardingRule(object) : class documentation

+

+ Part of libcloud.compute.drivers.cloudstack + View Source + View In Hierarchy +

+
+ +
+
A NAT/firewall forwarding rule.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethoddeleteUndocumented
Method__eq__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, node, id, address, protocol, start_port, end_port=None): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + delete(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __eq__(self, other): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNode.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNode.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNode.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNode.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,229 @@ + + + + libcloud.compute.drivers.cloudstack.CloudStackNode : API documentation + + + + + + +

l.c.d.c.CloudStackNode(Node) : class documentation

+

+ Part of libcloud.compute.drivers.cloudstack + View Source + View In Hierarchy +

+
+ +
+
Subclass of Node so we can expose our extension methods.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodex_allocate_public_ipAllocate a public IP and bind it to this node.
Methodex_release_public_ipRelease a public IP that this node holds.
Methodex_add_ip_forwarding_ruleAdd a NAT/firewall forwarding rule for a port or ports.
Methodex_delete_ip_forwarding_ruleDelete a NAT/firewall rule.
+ +

+ Inherited from Node: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodrebootReboot this node
MethoddestroyDestroy this node
Method__repr__Undocumented
Method_set_public_ipsUndocumented
Method_get_public_ipsUndocumented
Method_set_private_ipsUndocumented
Method_get_private_ipsUndocumented
+ +

+ Inherited from UuidMixin (via Node): +

+ + + + + + + + + + + + + + + + + +
Methodget_uuidUnique hash for a node, node image, or node size
MethoduuidUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + ex_allocate_public_ip(self): + + + (source) + +
+
+ +
Allocate a public IP and bind it to this node.
+
+
+ + + + + + +
+ + def + ex_release_public_ip(self, address): + + + (source) + +
+
+ +
Release a public IP that this node holds.
+
+
+ + + + + + +
+ + def + ex_add_ip_forwarding_rule(self, address, protocol, start_port, end_port=None): + + + (source) + +
+
+ +
Add a NAT/firewall forwarding rule for a port or ports.
+
+
+ + + + + + +
+ + def + ex_delete_ip_forwarding_rule(self, rule): + + + (source) + +
+
+ +
Delete a NAT/firewall rule.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,517 @@ + + + + libcloud.compute.drivers.cloudstack.CloudStackNodeDriver : API documentation + + + + + + +

l.c.d.c.CloudStackNodeDriver(CloudStackDriverMixIn, NodeDriver) : class documentation

+

+ Part of libcloud.compute.drivers.cloudstack + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.compute.drivers.ninefold.NinefoldNodeDriver

+
+
Driver for the CloudStack API.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Class VariablehostThe host where the API can be reached.
Class VariablepathThe path where the API can be reached.
Class Variableasync_poll_frequencyHow often (in seconds) to poll for async job completion. (type: int)
Method__init__
Methodlist_imagesList images on a provider
Methodlist_locationsList data centers for a provider @return: list of NodeLocation +objects
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider
Methodcreate_nodeCreate a new node instance.
Methoddestroy_nodeDestroy a node.
Methodreboot_nodeReboot a node.
Methodex_allocate_public_ipAllocate a public IP and bind it to a node.
Methodex_release_public_ipRelease a public IP.
Methodex_add_ip_forwarding_ruleAdd a NAT/firewall forwarding rule.
Methodex_delete_ip_forwarding_ruleRemove a NAT/firewall forwading rule.
+ +

+ Inherited from CloudStackDriverMixIn: +

+ + + + + + + + + + + + + + + + + +
Method_sync_requestUndocumented
Method_async_requestUndocumented
+ +

+ Inherited from NodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methoddeploy_nodeCreate a new node, and start deployment.
Method_wait_until_runningBlock until node is fully booted and has an IP address assigned.
Method_ssh_client_connectTry to connect to the remote SSH server. If a connection times out or is +refused it is retried up to timeout number of seconds.
Method_run_deployment_scriptRun the deployment script on the provided node. At this point it is +assumed that SSH connection has already been established.
Method_get_size_priceUndocumented
+ +

+ Inherited from BaseDriver (via NodeDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the +Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ host = +
+
+ The host where the API can be reached. +
+
+ + + + + + +
+ path = +
+
+ The path where the API can be reached. +
+
+ + + + + + +
+ async_poll_frequency = +
+
+ How often (in seconds) to poll for async job completion. (type: int) +
+
+ + + + + + +
+ + def + __init__(self, key, *args, secret=None, secure=True, host=None, path=None, port=None, **kwargs): + + + (source) + +
+
+ +
ParameterskeyAPI key or username to used (type: str)
secretSecret password to be used (type: str)
secureWeither to use HTTPS or HTTP. Note: Some providers only support HTTPS, and +it is on by default. (type: bool)
hostOverride hostname used for connections. (type: str)
portOverride port used for connections. (type: int)
api_versionOptional API version. Only used by drivers which support multiple API +versions. (type: str)
+
+
+ + + + + + +
+ + def + list_images(self, location=None): + + + (source) + +
+
+ +
List images on a provider
ParameterslocationThe location at which to list images (type: NodeLocation)
Returnslist of NodeImage +objects
+
+
+ + + + + + +
+ + def + list_locations(self): + + + (source) + +
+
+ +
List data centers for a provider
Returnslist of NodeLocation +objects
+
+
+ + + + + + +
+ + def + list_nodes(self): + + + (source) + +
+
+ +
List all nodes
Returnslist of Node objects
+
+
+ + + + + + +
+ + def + list_sizes(self, location=None): + + + (source) + +
+
+ +
List sizes on a provider
ParameterslocationThe location at which to list sizes (type: NodeLocation)
Returnslist of NodeSize +objects
+
+
+ + + + + + +
+ + def + create_node(self, name, size, image, location=None, **kwargs): + + + (source) + +
+
+ +
Create a new node instance.
ParametersnameString with a name for this new node (required) (type: str)
sizeThe size of resources allocated to this node. (required) (type: NodeSize)
imageOS Image to boot on node. (required) (type: NodeImage)
locationWhich data center to create a node in. If empty, undefined behavoir will be +selected. (optional) (type: NodeLocation)
authInitial authentication information for the node (optional) (type: NodeAuthSSHKey +or NodeAuthPassword)
ReturnsThe newly created Node.
+
+
+ + + + + + +
+ + def + destroy_node(self, node): + + + (source) + +
+
+ +
Destroy a node.

+

Depending upon the provider, this may destroy all data associated with +the node, including backups.
ParametersnodeThe node to be destroyed (type: Node)
Returnsbool True if the destroy was successful, otherwise False

+
+
+ + + + + + +
+ + def + reboot_node(self, node): + + + (source) + +
+
+ +
Reboot a node.
ParametersnodeThe node to be rebooted (type: Node)
Returnsbool True if the reboot was successful, otherwise False
+
+
+ + + + + + +
+ + def + ex_allocate_public_ip(self, node): + + + (source) + +
+
+ +
Allocate a public IP and bind it to a node.
+
+
+ + + + + + +
+ + def + ex_release_public_ip(self, node, address): + + + (source) + +
+
+ +
Release a public IP.
+
+
+ + + + + + +
+ + def + ex_add_ip_forwarding_rule(self, node, address, protocol, start_port, end_port=None): + + + (source) + +
+
+ +
Add a NAT/firewall forwarding rule.
+
+
+ + + + + + +
+ + def + ex_delete_ip_forwarding_rule(self, node, rule): + + + (source) + +
+
+ +
Remove a NAT/firewall forwading rule.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.cloudstack.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,69 @@ + + + + libcloud.compute.drivers.cloudstack : API documentation + + + + + + +

l.c.d.cloudstack : module documentation

+

+ Part of libcloud.compute.drivers + View Source + +

+
+ +
+
No module docstring
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassCloudStackNodeSubclass of Node so we can expose our extension methods.
ClassCloudStackAddressA public IP address.
ClassCloudStackForwardingRuleA NAT/firewall forwarding rule.
ClassCloudStackNodeDriverDriver for the CloudStack API.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostAPIException.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostAPIException.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostAPIException.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostAPIException.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,97 @@ + + + + libcloud.compute.drivers.dreamhost.DreamhostAPIException : API documentation + + + + + + +

l.c.d.d.DreamhostAPIException(Exception) : class documentation

+

+ Part of libcloud.compute.drivers.dreamhost + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + +
Method__str__Undocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __str__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostConnection.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostConnection.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostConnection.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostConnection.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,73 @@ + + + + libcloud.compute.drivers.dreamhost.DreamhostConnection : API documentation + + + + + + +

l.c.d.d.DreamhostConnection(ConnectionKey) : class documentation

+

+ Part of libcloud.compute.drivers.dreamhost + View Source + View In Hierarchy +

+
+ +
+
Connection class to connect to DreamHost's API servers
+ + + +
+ + + + + + + + + + + +
Methodadd_default_paramsAdd key and format parameters to the request. Eventually should add +unique_id to prevent re-execution of a single request.
+ + +
+ + + + +
+ + + + + + +
+ + def + add_default_params(self, params): + + + (source) + +
+
+ +
Add key and format parameters to the request. Eventually should add +unique_id to prevent re-execution of a single request.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,361 @@ + + + + libcloud.compute.drivers.dreamhost.DreamhostNodeDriver : API documentation + + + + + + +

l.c.d.d.DreamhostNodeDriver(NodeDriver) : class documentation

+

+ Part of libcloud.compute.drivers.dreamhost + View Source + View In Hierarchy +

+
+ +
+
Node Driver for DreamHost PS
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodcreate_nodeCreate a new Dreamhost node
Methoddestroy_nodeDestroy a node.
Methodreboot_nodeReboot a node.
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_imagesList images on a provider
Methodlist_sizesList sizes on a provider
Methodlist_locationsList data centers for a provider @return: list of NodeLocation +objects
Method_resize_nodeUndocumented
Method_to_nodeConvert the data from a DreamhostResponse object into a Node
+ +

+ Inherited from NodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__
Methoddeploy_nodeCreate a new node, and start deployment.
Method_wait_until_runningBlock until node is fully booted and has an IP address assigned.
Method_ssh_client_connectTry to connect to the remote SSH server. If a connection times out or is +refused it is retried up to timeout number of seconds.
Method_run_deployment_scriptRun the deployment script on the provided node. At this point it is +assumed that SSH connection has already been established.
Method_get_size_priceUndocumented
+ +

+ Inherited from BaseDriver (via NodeDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the +Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ + def + create_node(self, **kwargs): + + + (source) + +
+
+ +
Create a new Dreamhost node

+

See NodeDriver.create_node +for more keyword args.
Parametersex_movedataCopy all your existing users to this new PS (type: str)

+
+
+ + + + + + +
+ + def + destroy_node(self, node): + + + (source) + +
+
+ +
Destroy a node.

+

Depending upon the provider, this may destroy all data associated with +the node, including backups.
ParametersnodeThe node to be destroyed (type: Node)
Returnsbool True if the destroy was successful, otherwise False

+
+
+ + + + + + +
+ + def + reboot_node(self, node): + + + (source) + +
+
+ +
Reboot a node.
ParametersnodeThe node to be rebooted (type: Node)
Returnsbool True if the reboot was successful, otherwise False
+
+
+ + + + + + +
+ + def + list_nodes(self, **kwargs): + + + (source) + +
+
+ +
List all nodes
Returnslist of Node objects
+
+
+ + + + + + +
+ + def + list_images(self, **kwargs): + + + (source) + +
+
+ +
List images on a provider
ParameterslocationThe location at which to list images (type: NodeLocation)
Returnslist of NodeImage +objects
+
+
+ + + + + + +
+ + def + list_sizes(self, **kwargs): + + + (source) + +
+
+ +
List sizes on a provider
ParameterslocationThe location at which to list sizes (type: NodeLocation)
Returnslist of NodeSize +objects
+
+
+ + + + + + +
+ + def + list_locations(self, **kwargs): + + + (source) + +
+
+ +
List data centers for a provider
Returnslist of NodeLocation +objects
+
+
+ + + + + + +
+ + def + _resize_node(self, node, size): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_node(self, data): + + + (source) + +
+
+ +
Convert the data from a DreamhostResponse object into a Node
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostResponse.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostResponse.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostResponse.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.DreamhostResponse.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,153 @@ + + + + libcloud.compute.drivers.dreamhost.DreamhostResponse : API documentation + + + + + + +

l.c.d.d.DreamhostResponse(JsonResponse) : class documentation

+

+ Part of libcloud.compute.drivers.dreamhost + View Source + View In Hierarchy +

+
+ +
+
Response class for DreamHost PS
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodparse_bodyParse response body.
Methodparse_errorParse the error messages.
Method_api_parse_errorUndocumented
+ +

+ Inherited from Response (via JsonResponse): +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodsuccessDetermine if our request was successful.
Method_decompress_responseDecompress a response body if it is using deflate or gzip encoding.
+ + +
+ + + + +
+ + + + + + +
+ + def + parse_body(self): + + + (source) + +
+
+ +
Parse response body.

+

Override in a provider's subclass.
ReturnsParsed body.

+
+
+ + + + + + +
+ + def + parse_error(self): + + + (source) + +
+
+ +
Parse the error messages.

+

Override in a provider's subclass.
ReturnsParsed error.

+
+
+ + + + + + +
+ + def + _api_parse_error(self, response): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.dreamhost.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,69 @@ + + + + libcloud.compute.drivers.dreamhost : API documentation + + + + + + +

l.c.d.dreamhost : module documentation

+

+ Part of libcloud.compute.drivers + View Source + +

+
+ +
+
DreamHost Driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassDreamhostAPIExceptionUndocumented
ClassDreamhostResponseResponse class for DreamHost PS
ClassDreamhostConnectionConnection class to connect to DreamHost's API servers
ClassDreamhostNodeDriverNode Driver for DreamHost PS
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file