Return-Path: X-Original-To: apmail-libcloud-commits-archive@www.apache.org Delivered-To: apmail-libcloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D365FDE22 for ; Mon, 16 Jul 2012 01:56:30 +0000 (UTC) Received: (qmail 41058 invoked by uid 500); 16 Jul 2012 01:56:30 -0000 Delivered-To: apmail-libcloud-commits-archive@libcloud.apache.org Received: (qmail 41034 invoked by uid 500); 16 Jul 2012 01:56:30 -0000 Mailing-List: contact commits-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list commits@libcloud.apache.org Received: (qmail 41026 invoked by uid 99); 16 Jul 2012 01:56:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 01:56:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 01:56:26 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4713F2388F0D; Mon, 16 Jul 2012 01:49:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1361882 [22/38] - /libcloud/site/trunk/content/apidocs/0.8.0/ Date: Mon, 16 Jul 2012 01:49:19 -0000 To: commits@libcloud.apache.org From: tomaz@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120716014939.4713F2388F0D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.InstantiateVAppXML.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.InstantiateVAppXML.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.InstantiateVAppXML.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.InstantiateVAppXML.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,409 @@ + + + + libcloud.compute.drivers.vcloud.InstantiateVAppXML : API documentation + + + + + + +

l.c.d.v.InstantiateVAppXML(object) : class documentation

+

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

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodtostringUndocumented
Method_build_xmltreeUndocumented
Method_make_instantiation_rootUndocumented
Method_add_vapp_templateUndocumented
Method_make_product_sectionUndocumented
Method_add_propertyUndocumented
Method_make_virtual_hardwareUndocumented
Method_add_cpuUndocumented
Method_add_memoryUndocumented
Method_add_instance_idUndocumented
Method_add_resource_typeUndocumented
Method_add_virtual_quantityUndocumented
Method_add_network_associationUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, name, template, net_href, cpus, memory, password=None, row=None, group=None): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + tostring(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _build_xmltree(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _make_instantiation_root(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_vapp_template(self, parent): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _make_product_section(self, parent): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_property(self, parent, ovfkey, ovfvalue): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _make_virtual_hardware(self, parent): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_cpu(self, parent): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_memory(self, parent): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_instance_id(self, parent, id): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_resource_type(self, parent, type): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_virtual_quantity(self, parent, amount): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _add_network_association(self, parent): + + + (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.vcloud.TerremarkConnection.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.TerremarkConnection.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.TerremarkConnection.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.TerremarkConnection.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,80 @@ + + + + libcloud.compute.drivers.vcloud.TerremarkConnection : API documentation + + + + + + +

l.c.d.v.TerremarkConnection(VCloudConnection) : class documentation

+

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

+
+ +
+
vCloud connection subclass for Terremark
+ + + +
+ + +

+ Inherited from VCloudConnection: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodrequestUndocumented
Methodcheck_orgUndocumented
Methodadd_default_headersUndocumented
Method_get_auth_headersSome providers need different headers than others
Method_get_auth_tokenUndocumented
+ + +
+ + + + + +
+ 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.vcloud.TerremarkDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.TerremarkDriver.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.TerremarkDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.TerremarkDriver.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,241 @@ + + + + libcloud.compute.drivers.vcloud.TerremarkDriver : API documentation + + + + + + +

l.c.d.v.TerremarkDriver(VCloudNodeDriver) : class documentation

+

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

+
+ +
+
vCloud node driver for Terremark
+ + + +
+ + + + + + + + + + + +
Methodlist_locationsList data centers for a provider @return: list of NodeLocation +objects
+ +

+ Inherited from VCloudNodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodvdcsUndocumented
MethodnetworksUndocumented
Methoddestroy_nodeDestroy a node.
Methodreboot_nodeReboot a node.
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider
Methodlist_imagesList images on a provider
Methodcreate_nodeCreates and returns node.
Method_to_imageUndocumented
Method_to_nodeUndocumented
Method_get_catalog_hrefsUndocumented
Method_wait_for_task_completionUndocumented
Method_to_sizeUndocumented
Method_get_catalogitems_hrefsGiven a catalog href returns contained catalog item hrefs
Method_get_catalogitemGiven a catalog item href returns elementree
+ +

+ Inherited from NodeDriver (via VCloudNodeDriver): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 VCloudNodeDriver, NodeDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the +Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ + def + list_locations(self): + + + (source) + +
+
+ +
List data centers for a provider
Returnslist of NodeLocation +objects
+
+
+
+ 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.vcloud.VCloudConnection.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudConnection.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudConnection.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudConnection.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,175 @@ + + + + libcloud.compute.drivers.vcloud.VCloudConnection : API documentation + + + + + + +

l.c.d.v.VCloudConnection(ConnectionUserAndKey) : class documentation

+

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

+ +
Connection class for the vCloud driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodrequestUndocumented
Methodcheck_orgUndocumented
Methodadd_default_headersUndocumented
Method_get_auth_headersSome providers need different headers than others
Method_get_auth_tokenUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + request(self, *args, **kwargs): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + check_org(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_auth_headers(self): + + + (source) + +
+
+ +
Some providers need different headers than others
+
+
+ + + + + + +
+ + def + _get_auth_token(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + add_default_headers(self, headers): + + + (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.vcloud.VCloudNodeDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudNodeDriver.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudNodeDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudNodeDriver.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,524 @@ + + + + libcloud.compute.drivers.vcloud.VCloudNodeDriver : API documentation + + + + + + +

l.c.d.v.VCloudNodeDriver(NodeDriver) : class documentation

+

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

+ +
vCloud node driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodvdcsUndocumented
MethodnetworksUndocumented
Methoddestroy_nodeDestroy a node.
Methodreboot_nodeReboot a node.
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider
Methodlist_imagesList images on a provider
Methodcreate_nodeCreates and returns node.
Method_to_imageUndocumented
Method_to_nodeUndocumented
Method_get_catalog_hrefsUndocumented
Method_wait_for_task_completionUndocumented
Method_to_sizeUndocumented
Method_get_catalogitems_hrefsGiven a catalog href returns contained catalog item hrefs
Method_get_catalogitemGiven a catalog item href returns elementree
+ +

+ Inherited from NodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 NodeDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the +Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ @property
+ def + vdcs(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ @property
+ def + networks(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_image(self, image): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_node(self, name, elm): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_catalog_hrefs(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _wait_for_task_completion(self, task_href, timeout=DEFAULT_TASK_COMPLETION_TIMEOUT): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + 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): + + + (source) + +
+
+ +
List all nodes
Returnslist of Node objects
+
+
+ + + + + + +
+ + def + _to_size(self, ram): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + 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 + _get_catalogitems_hrefs(self, catalog): + + + (source) + +
+
+ +
Given a catalog href returns contained catalog item hrefs
+
+
+ + + + + + +
+ + def + _get_catalogitem(self, catalog_item): + + + (source) + +
+
+ +
Given a catalog item href returns elementree
+
+
+ + + + + + +
+ + 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 + create_node(self, **kwargs): + + + (source) + +
+
+ +
Creates and returns node.

+

See NodeDriver.create_node +for more keyword args.

+

Non-standard optional keyword arguments:
Parametersex_networklink to a "Network" e.g., +"https://services.vcloudexpress.terremark.com/api/v0.8/network/7" (type: string)
ex_vdclink to a "VDC" e.g., +"https://services.vcloudexpress.terremark.com/api/v0.8/vdc/1" (type: string)
ex_cpusnumber of virtual cpus (limit depends on provider) (type: int)
row???? (type: ????)
group???? (type: ????)

+
+
+
+ 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.vcloud.VCloudResponse.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudResponse.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudResponse.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.VCloudResponse.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,117 @@ + + + + libcloud.compute.drivers.vcloud.VCloudResponse : API documentation + + + + + + +

l.c.d.v.VCloudResponse(XmlResponse) : class documentation

+

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

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + +
MethodsuccessDetermine if our request was successful.
+ +

+ Inherited from XmlResponse: +

+ + + + + + + + + + + +
Methodparse_bodyParse response body.
+ +

+ Inherited from Response (via XmlResponse): +

+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodparse_errorParse the error messages.
Method_decompress_responseDecompress a response body if it is using deflate or gzip encoding.
+ + +
+ + + + +
+ + + + + + +
+ + def + success(self): + + + (source) + +
+
+ +
Determine if our request was successful.

+

The meaning of this can be arbitrary; did we receive OK status? Did the +node get created? Were we authenticated?
ReturnsTrue or False

+
+
+
+ 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.vcloud.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.vcloud.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,145 @@ + + + + libcloud.compute.drivers.vcloud : API documentation + + + + + + +

l.c.d.vcloud : module documentation

+

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

+
+ +
+
VMware vCloud driver.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FunctionfixxpathElementTree wants namespaces in its xpaths, so here we add them.
Functionget_url_pathUndocumented
ClassInstantiateVAppXMLUndocumented
ClassVCloudResponseUndocumented
ClassVCloudConnectionConnection class for the vCloud driver
ClassVCloudNodeDrivervCloud node driver
ClassHostingComConnectionvCloud connection subclass for Hosting.com
ClassHostingComDrivervCloud node driver for Hosting.com
ClassTerremarkConnectionvCloud connection subclass for Terremark
ClassTerremarkDrivervCloud node driver for Terremark
+ + +
+ + + + +
+ + + + + + +
+ + def + fixxpath(root, xpath): + + + (source) + +
+
+ +
ElementTree wants namespaces in its xpaths, so here we add them.
+
+
+ + + + + + +
+ + def + get_url_path(url): + + + (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.voxel.VoxelConnection.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelConnection.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelConnection.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelConnection.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,71 @@ + + + + libcloud.compute.drivers.voxel.VoxelConnection : API documentation + + + + + + +

l.c.d.v.VoxelConnection(ConnectionUserAndKey) : class documentation

+

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

+
+ +
+
Connection class for the Voxel driver
+ + + +
+ + + + + + + + + + + +
Methodadd_default_paramsUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + add_default_params(self, params): + + + (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.voxel.VoxelNodeDriver.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelNodeDriver.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelNodeDriver.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelNodeDriver.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,438 @@ + + + + libcloud.compute.drivers.voxel.VoxelNodeDriver : API documentation + + + + + + +

l.c.d.v.VoxelNodeDriver(NodeDriver) : class documentation

+

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

+
+ +
+
Voxel VoxCLOUD node driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider
Methodlist_imagesList images on a provider
Methodcreate_nodeCreate Voxel Node
Methodreboot_nodeReboot the node by passing in the node object
Methoddestroy_nodeDestroy node by passing in the node object
Methodlist_locationsList data centers for a provider @return: list of NodeLocation +objects
Method_initialize_instance_typesUndocumented
Method_getstatusUndocumented
Method_to_locationsUndocumented
Method_to_nodesUndocumented
Method_to_imagesUndocumented
+ +

+ 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 + _initialize_instance_types(): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + 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 + 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 + create_node(self, **kwargs): + + + (source) + +
+
+ +
Create Voxel Node
Parametersnamethe name to assign the node (mandatory) (type: str)
imagedistribution to deploy (type: NodeImage)
sizethe plan size to create (mandatory) Requires size.disk (GB) to be set +manually (type: NodeSize)
locationwhich datacenter to create the node in (type: NodeLocation)
ex_privateipBackend IP address to assign to node; must be chosen from the customer's +private VLAN assignment. (type: str)
ex_publicipPublic-facing IP address to assign to node; must be chosen from the +customer's public VLAN assignment. (type: str)
ex_rootpassPassword for root access; generated if unset. (type: str)
ex_consolepassPassword for remote console; generated if unset. (type: str)
ex_sshuserUsername for SSH access (type: str)
ex_sshpassPassword for SSH access; generated if unset. (type: str)
ex_voxel_accessAllow access Voxel administrative access. Defaults to False. (type: bool)
+
+
+ + + + + + +
+ + def + reboot_node(self, node): + + + (source) + +
+
+ +
Reboot the node by passing in the node object
+
+
+ + + + + + +
+ + def + destroy_node(self, node): + + + (source) + +
+
+ +
Destroy node by passing in the node object
+
+
+ + + + + + +
+ + def + list_locations(self): + + + (source) + +
+
+ +
List data centers for a provider
Returnslist of NodeLocation +objects
+
+
+ + + + + + +
+ + def + _getstatus(self, element): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_locations(self, object): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_nodes(self, object): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_images(self, object): + + + (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.voxel.VoxelResponse.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelResponse.html?rev=1361882&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelResponse.html (added) +++ libcloud/site/trunk/content/apidocs/0.8.0/libcloud.compute.drivers.voxel.VoxelResponse.html Mon Jul 16 01:49:07 2012 @@ -0,0 +1,169 @@ + + + + libcloud.compute.drivers.voxel.VoxelResponse : API documentation + + + + + + +

l.c.d.v.VoxelResponse(XmlResponse) : class documentation

+

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

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Methodparse_bodyParse response body.
Methodparse_errorParse the error messages.
MethodsuccessDetermine if our request was successful.
+ +

+ Inherited from Response (via XmlResponse): +

+ + + + + + + + + + + +
Method_decompress_responseDecompress a response body if it is using deflate or gzip encoding.
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, response, connection): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + 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 + success(self): + + + (source) + +
+
+ +
Determine if our request was successful.

+

The meaning of this can be arbitrary; did we receive OK status? Did the +node get created? Were we authenticated?
ReturnsTrue or False

+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:48:28. +
+ + \ No newline at end of file