Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.HostingComConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.HostingComConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.HostingComConnection.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,164 @@ + + + + libcloud.drivers.vcloud.HostingComConnection : API documentation + + + + + + +

l.d.v.HostingComConnection(VCloudConnection) : class documentation

+

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

+
+ +
+
vCloud connection subclass for Hosting.com
+ + + +
+ + + + + + + + + + + +
Method_get_auth_headershosting.com doesn't follow the standard vCloud authentication API
+ +

+ Inherited from VCloudConnection: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodrequestRequest a given `action`.
Methodcheck_orgUndocumented
Methodadd_default_headersAdds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`
Method_get_auth_tokenUndocumented
+ +

+ Inherited from ConnectionUserAndKey (via VCloudConnection): +

+ + + + + + + + + + + +
Method__init__Initialize `user_id` and `key`; set `secure` to an int +based on passed value.
+ +

+ Inherited from ConnectionKey (via VCloudConnection, ConnectionUserAndKey): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodconnectEstablish a connection with the API server.
Methoduser_agent_appendAppend a token to a user agent string.
Methodadd_default_paramsAdds default parameters (such as API key, version, etc.) to the passed +`params`
Methodencode_dataEncode body data.
Method_user_agentUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + _get_auth_headers(self): + + + (source) + +
+
+ +
hosting.com doesn't follow the standard vCloud authentication API
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.HostingComDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.HostingComDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.HostingComDriver.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,174 @@ + + + + libcloud.drivers.vcloud.HostingComDriver : API documentation + + + + + + +

l.d.v.HostingComDriver(VCloudNodeDriver) : class documentation

+

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

+
+ +
+
vCloud node driver for Hosting.com
+ + + +
+ + +

+ Inherited from VCloudNodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodvdcsUndocumented
MethodnetworksUndocumented
Methoddestroy_nodeDestroy a node.
Methodreboot_nodeReboot a node. @return: bool True if the reboot was +successful, otherwise False
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider @return: list of NodeSize objects
Methodlist_imagesList images on a provider @return: list of NodeImage objects
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__
Methodlist_locationsList data centers for a provider @return: list of NodeLocation +objects
Methoddeploy_nodeCreate a new node, and start deployment.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.InstantiateVAppXML.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.InstantiateVAppXML.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.InstantiateVAppXML.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,409 @@ + + + + libcloud.drivers.vcloud.InstantiateVAppXML : API documentation + + + + + + +

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

+

+ Part of libcloud.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:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.TerremarkConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.TerremarkConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.TerremarkConnection.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,139 @@ + + + + libcloud.drivers.vcloud.TerremarkConnection : API documentation + + + + + + +

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

+

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

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

+ Inherited from VCloudConnection: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodrequestRequest a given `action`.
Methodcheck_orgUndocumented
Methodadd_default_headersAdds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`
Method_get_auth_headersSome providers need different headers than others
Method_get_auth_tokenUndocumented
+ +

+ Inherited from ConnectionUserAndKey (via VCloudConnection): +

+ + + + + + + + + + + +
Method__init__Initialize `user_id` and `key`; set `secure` to an int +based on passed value.
+ +

+ Inherited from ConnectionKey (via VCloudConnection, ConnectionUserAndKey): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodconnectEstablish a connection with the API server.
Methoduser_agent_appendAppend a token to a user agent string.
Methodadd_default_paramsAdds default parameters (such as API key, version, etc.) to the passed +`params`
Methodencode_dataEncode body data.
Method_user_agentUndocumented
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.TerremarkDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.TerremarkDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.TerremarkDriver.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,201 @@ + + + + libcloud.drivers.vcloud.TerremarkDriver : API documentation + + + + + + +

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

+

+ Part of libcloud.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. @return: bool True if the reboot was +successful, otherwise False
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider @return: list of NodeSize objects
Methodlist_imagesList images on a provider @return: list of NodeImage objects
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.
+ + +
+ + + + +
+ + + + + + +
+ + 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:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudConnection.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,240 @@ + + + + libcloud.drivers.vcloud.VCloudConnection : API documentation + + + + + + +

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

+

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

+
+

Known subclasses: libcloud.drivers.vcloud.HostingComConnection, libcloud.drivers.vcloud.TerremarkConnection

+
+
Connection class for the vCloud driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodrequestRequest a given `action`.
Methodcheck_orgUndocumented
Methodadd_default_headersAdds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`
Method_get_auth_headersSome providers need different headers than others
Method_get_auth_tokenUndocumented
+ +

+ Inherited from ConnectionUserAndKey: +

+ + + + + + + + + + + +
Method__init__Initialize `user_id` and `key`; set `secure` to an int +based on passed value.
+ +

+ Inherited from ConnectionKey (via ConnectionUserAndKey): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodconnectEstablish a connection with the API server.
Methoduser_agent_appendAppend a token to a user agent string.
Methodadd_default_paramsAdds default parameters (such as API key, version, etc.) to the passed +`params`
Methodencode_dataEncode body data.
Method_user_agentUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + request(self, *args, **kwargs): + + + (source) + +
+
+ +
Request a given `action`.

+

Basically a wrapper around the connection object's `request` that does +some helpful pre-processing.
ParametersactionA path (type: str)
paramsOptional mapping of additional parameters to send. If None, leave as an +empty dict. (type: dict)
dataA body of data to send with the request. (type: unicode)
headersExtra headers to add to the request None, leave as an empty +dict. (type: dict)
methodAn HTTP method such as "GET" or "POST". (type: str)
ReturnsAn instance of type responseCls

+
+
+ + + + + + +
+ + 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) + +
+
+ +
Adds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`

+

Should return a dictionary.

+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudNodeDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudNodeDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudNodeDriver.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,480 @@ + + + + libcloud.drivers.vcloud.VCloudNodeDriver : API documentation + + + + + + +

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

+

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

+
+

Known subclasses: libcloud.drivers.vcloud.HostingComDriver, libcloud.drivers.vcloud.TerremarkDriver

+
+
vCloud node driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodvdcsUndocumented
MethodnetworksUndocumented
Methoddestroy_nodeDestroy a node.
Methodreboot_nodeReboot a node. @return: bool True if the reboot was +successful, otherwise False
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider @return: list of NodeSize objects
Methodlist_imagesList images on a provider @return: list of NodeImage objects
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.
+ + +
+ + + + +
+ + + + + + +
+ @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.
Returnsbool True if the destroy was successful, otherwise False

+
+
+ + + + + + +
+ + def + reboot_node(self, node): + + + (source) + +
+
+ +
Reboot a 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
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
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:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudResponse.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudResponse.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.VCloudResponse.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,143 @@ + + + + libcloud.drivers.vcloud.VCloudResponse : API documentation + + + + + + +

l.d.v.VCloudResponse(Response) : class documentation

+

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

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

+ Inherited from Response: +

+ + + + + + + + + + + +
Method__init__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:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.vcloud.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,145 @@ + + + + libcloud.drivers.vcloud : API documentation + + + + + + +

l.d.vcloud : module documentation

+

+ Part of libcloud.drivers + View Source + +

+
+ +
+
VMware vCloud driver.
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functionget_url_pathUndocumented
FunctionfixxpathElementTree wants namespaces in its xpaths, so here we add them.
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 + get_url_path(url): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + fixxpath(root, xpath): + + + (source) + +
+
+ +
ElementTree wants namespaces in its xpaths, so here we add them.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:44:33. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.voxel.VoxelConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.voxel.VoxelConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.4.1/libcloud.drivers.voxel.VoxelConnection.html Mon Jul 16 01:44:57 2012 @@ -0,0 +1,138 @@ + + + + libcloud.drivers.voxel.VoxelConnection : API documentation + + + + + + +

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

+

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

+
+ +
+
Connection class for the Voxel driver
+ + + +
+ + + + + + + + + + + +
Methodadd_default_paramsAdds default parameters (such as API key, version, etc.) to the passed +`params`
+ +

+ Inherited from ConnectionUserAndKey: +

+ + + + + + + + + + + +
Method__init__Initialize `user_id` and `key`; set `secure` to an int +based on passed value.
+ +

+ Inherited from ConnectionKey (via ConnectionUserAndKey): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodconnectEstablish a connection with the API server.
Methoduser_agent_appendAppend a token to a user agent string.
MethodrequestRequest a given `action`.
Methodadd_default_headersAdds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`
Methodencode_dataEncode body data.
Method_user_agentUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + add_default_params(self, params): + + + (source) + +
+
+ +
Adds default parameters (such as API key, version, etc.) to the passed +`params`

+

Should return a dictionary.

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