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 CA99ADD1E for ; Mon, 16 Jul 2012 01:50:45 +0000 (UTC) Received: (qmail 18812 invoked by uid 500); 16 Jul 2012 01:50:45 -0000 Delivered-To: apmail-libcloud-commits-archive@libcloud.apache.org Received: (qmail 18790 invoked by uid 500); 16 Jul 2012 01:50:45 -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 18783 invoked by uid 99); 16 Jul 2012 01:50:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 01:50:45 +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:50:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 27FBD2388CD7 for ; Mon, 16 Jul 2012 01:47:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r825924 [16/32] - in /websites/staging/libcloud/trunk/content: ./ apidocs/0.6.0-beta1/ Date: Mon, 16 Jul 2012 01:46:44 -0000 To: commits@libcloud.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120716014703.27FBD2388CD7@eris.apache.org> Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.openstack.OpenStack_Response.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.openstack.OpenStack_Response.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.openstack.OpenStack_Response.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,149 @@ + + + + libcloud.compute.drivers.openstack.OpenStack_Response : API documentation + + + + + + +

l.c.d.o.OpenStack_Response(Response) : class documentation

+

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

+ +
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodsuccessUndocumented
Methodhas_content_typeUndocumented
Methodparse_bodyUndocumented
Methodparse_errorUndocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + success(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + has_content_type(self, content_type): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + parse_body(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + parse_error(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.openstack.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.openstack.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.openstack.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,111 @@ + + + + libcloud.compute.drivers.openstack : API documentation + + + + + + +

l.c.d.openstack : module documentation

+

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

+
+ +
+
OpenStack driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassOpenStack_ResponseUndocumented
ClassOpenStackComputeConnectionUndocumented
ClassOpenStackNodeDriverUndocumented
ClassOpenStack_1_0_ResponseUndocumented
ClassOpenStack_1_0_ConnectionUndocumented
ClassOpenStack_1_0_NodeDriverOpenStack node driver.
ClassOpenStack_1_0_SharedIpGroupShared IP group info.
ClassOpenStack_1_0_NodeIpAddressesList of public and private IP addresses of a Node.
ClassOpenStack_1_1_ResponseUndocumented
ClassOpenStack_1_1_ConnectionUndocumented
ClassOpenStack_1_1_NodeDriverOpenStack node driver.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceAPIException.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceAPIException.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceAPIException.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,123 @@ + + + + libcloud.compute.drivers.opsource.OpsourceAPIException : API documentation + + + + + + +

l.c.d.o.OpsourceAPIException(LibcloudError) : class documentation

+

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

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__str__Undocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, code, msg, driver): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __str__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceConnection.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,183 @@ + + + + libcloud.compute.drivers.opsource.OpsourceConnection : API documentation + + + + + + +

l.c.d.o.OpsourceConnection(ConnectionUserAndKey) : class documentation

+

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

+
+ +
+
Connection class for the Opsource driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodadd_default_headersUndocumented
MethodrequestUndocumented
Methodrequest_with_orgIdUndocumented
Methodget_resource_paththis method returns a resource path which is necessary for referencing +resources that require a full path instead of just an ID, such as networks, +and customer snapshots.
Method_get_orgIdsend the /myaccount API request to opsource cloud and parse the 'orgId' +from the XML response object. We need the orgId to use most of the other +API functions
+ + +
+ + + + +
+ + + + + + +
+ + def + add_default_headers(self, headers): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + request(self, action, params=None, data='', headers=None, method='GET'): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + request_with_orgId(self, action, params=None, data='', headers=None, method='GET'): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + get_resource_path(self): + + + (source) + +
+
+ +
this method returns a resource path which is necessary for referencing +resources that require a full path instead of just an ID, such as networks, +and customer snapshots.
+
+
+ + + + + + +
+ + def + _get_orgId(self): + + + (source) + +
+
+ +
send the /myaccount API request to opsource cloud and parse the 'orgId' +from the XML response object. We need the orgId to use most of the other +API functions
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceNetwork.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceNetwork.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceNetwork.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,97 @@ + + + + libcloud.compute.drivers.opsource.OpsourceNetwork : API documentation + + + + + + +

l.c.d.o.OpsourceNetwork(object) : class documentation

+

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

+
+ +
+
Opsource network with location
+ + + +
+ + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, id, name, description, location, privateNet, multicast, status): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceNodeDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceNodeDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceNodeDriver.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,688 @@ + + + + libcloud.compute.drivers.opsource.OpsourceNodeDriver : API documentation + + + + + + +

l.c.d.o.OpsourceNodeDriver(NodeDriver) : class documentation

+

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

+
+ +
+
Opsource node driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_nodesList all nodes @return: list of Node objects
Methodlist_sizesList sizes on a provider @return: list of NodeSize +objects
Methodlist_imagesreturn a list of available images Currently only returns the default +'base OS images' provided by opsource. Customer images (snapshots) are not +yet supported.
Methodlist_locationslist locations (datacenters) available for instantiating servers and +networks.
Methodcreate_nodeCreate a new opsource node
Methodreboot_nodereboots the node
Methoddestroy_nodeDestroys the node
Methodex_start_nodePowers on an existing deployed server
Methodex_shutdown_gracefulNo summary
Methodex_power_offNo summary
Methodex_list_networksList networks deployed across all data center locations for your +organization. The response includes the location of each network.
Methodex_get_location_by_idUndocumented
Method_to_networksUndocumented
Method_to_networkUndocumented
Method_to_locationsUndocumented
Method_to_locationUndocumented
Method_to_nodesUndocumented
Method_to_nodeUndocumented
Method_to_base_imagesUndocumented
Method_to_base_imageUndocumented
Method_to_statusUndocumented
+ +

+ 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 + list_nodes(self): + + + (source) + +
+
+ +
List all nodes
Returnslist of Node objects
+
+
+ + + + + + +
+ + def + list_sizes(self, location=None): + + + (source) + +
+
+ +
List sizes on a provider
Returnslist of NodeSize +objects
+
+
+ + + + + + +
+ + def + list_images(self, location=None): + + + (source) + +
+
+ +
return a list of available images Currently only returns the default +'base OS images' provided by opsource. Customer images (snapshots) are not +yet supported.
+
+
+ + + + + + +
+ + def + list_locations(self): + + + (source) + +
+
+ +
list locations (datacenters) available for instantiating servers and +networks.
+
+
+ + + + + + +
+ + def + create_node(self, **kwargs): + + + (source) + +
+
+ +
Create a new opsource node

+

Standard keyword arguments from NodeDriver.create_node:
ParametersnameString with a name for this new node (required) (type: str)
imageOS Image to boot on node. (required) (type: NodeImage)
authInitial authentication information for the node (required) (type: NodeAuthPassword +

Non-standard keyword arguments:

)
ex_descriptiondescription for this node (required) (type: str)
ex_networkNetwork to create the node within (required) (type: OpsourceNetwork)
ex_isStartedStart server after creation? default true (required) (type: bool)
ReturnsThe newly created Node. NOTE: +Opsource does not provide a way to determine the ID of the server that was +just created, so the returned Node is not +guaranteed to be the same one that was created. This is only the case when +multiple nodes with the same name exist.

+
+
+ + + + + + +
+ + def + reboot_node(self, node): + + + (source) + +
+
+ +
reboots the node
+
+
+ + + + + + +
+ + def + destroy_node(self, node): + + + (source) + +
+
+ +
Destroys the node
+
+
+ + + + + + +
+ + def + ex_start_node(self, node): + + + (source) + +
+
+ +
Powers on an existing deployed server
+
+
+ + + + + + +
+ + def + ex_shutdown_graceful(self, node): + + + (source) + +
+
+ +
This function will attempt to "gracefully" stop a server by +initiating a shutdown sequence within the guest operating system. A +successful response on this function means the system has successfully +passed the request into the operating system.
+
+
+ + + + + + +
+ + def + ex_power_off(self, node): + + + (source) + +
+
+ +
This function will abruptly power-off a server. Unlike +ex_shutdown_graceful, success ensures the node will stop but some OS and +application configurations may be adversely affected by the equivalent of +pulling the power plug out of the machine.
+
+
+ + + + + + +
+ + def + ex_list_networks(self): + + + (source) + +
+
+ +
List networks deployed across all data center locations for your +organization. The response includes the location of each network.

+

Returns a list of OpsourceNetwork objects

+
+
+ + + + + + +
+ + def + ex_get_location_by_id(self, id): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_networks(self, object): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_network(self, element): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_locations(self, object): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_location(self, element): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_nodes(self, object): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_node(self, element): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_base_images(self, object): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_base_image(self, element): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_status(self, element): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceResponse.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceResponse.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceResponse.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,121 @@ + + + + libcloud.compute.drivers.opsource.OpsourceResponse : API documentation + + + + + + +

l.c.d.o.OpsourceResponse(Response) : class documentation

+

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

+
+ +
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + +
Methodparse_bodyParse response body.
Methodparse_errorParse the error messages.
+ +

+ Inherited from Response: +

+ + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodsuccessDetermine if our request was successful.
+ + +
+ + + + +
+ + + + + + +
+ + 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.

+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceStatus.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceStatus.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.OpsourceStatus.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,99 @@ + + + + libcloud.compute.drivers.opsource.OpsourceStatus : API documentation + + + + + + +

l.c.d.o.OpsourceStatus(object) : class documentation

+

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

+
+ +
+
Opsource API pending operation status class
+action, requestTime, username, numberOfSteps, updateTime,
+step.name, step.number, step.percentComplete, failureReason,
+ + + +
+ + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method__repr__Undocumented
+ + +
+ + + + +
+ + + + + + +
+ + def + __init__(self, action=None, requestTime=None, userName=None, numberOfSteps=None, updateTime=None, step_name=None, step_number=None, step_percentComplete=None, failureReason=None): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + __repr__(self): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.opsource.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,83 @@ + + + + libcloud.compute.drivers.opsource : API documentation + + + + + + +

l.c.d.opsource : module documentation

+

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

+
+ +
+
Opsource Driver
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassOpsourceResponseUndocumented
ClassOpsourceAPIExceptionUndocumented
ClassOpsourceConnectionConnection class for the Opsource driver
ClassOpsourceStatusOpsource API pending operation status class action, requestTime, +username, numberOfSteps, updateTime, step.name, step.number, +step.percentComplete, failureReason,
ClassOpsourceNetworkOpsource network with location
ClassOpsourceNodeDriverOpsource node driver
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.rackspace.RackspaceConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.rackspace.RackspaceConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.rackspace.RackspaceConnection.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,179 @@ + + + + libcloud.compute.drivers.rackspace.RackspaceConnection : API documentation + + + + + + +

l.c.d.r.RackspaceConnection(OpenStack_1_0_Connection) : class documentation

+

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

+ +
Connection class for the Rackspace driver
+ + + +
+ + +

+ Inherited from OpenStackComputeConnection (via OpenStack_1_0_Connection): +

+ + + + + + + + + + + +
MethodrequestRequest a given `action`.
+ +

+ Inherited from OpenStackBaseConnection (via OpenStack_1_0_Connection, OpenStackComputeConnection): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Initialize `user_id` and `key`; set `secure` to an int +based on passed value.
Methodadd_default_headersAdds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`
Methodmorph_actionUndocumented
Methodbase_urlUndocumented
Method_get_base_urlUndocumented
Method_get_default_regionUndocumented
Method_populate_hosts_and_request_pathsOpenStack uses a separate host for API calls which is only provided +after an initial authentication request. If we haven't made that request +yet, do it here. Otherwise, just return the management host.
+ +

+ Inherited from Connection (via OpenStack_1_0_Connection, OpenStackComputeConnection, OpenStackBaseConnection, ConnectionUserAndKey, ConnectionKey): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodset_contextUndocumented
MethodconnectEstablish a connection with the API server.
Methoduser_agent_appendAppend a token to a user agent string.
Methodmorph_action_hookUndocumented
Methodadd_default_paramsAdds default parameters (such as API key, version, etc.) to the passed +`params`
Methodpre_connect_hookA hook which is called before connecting to the remote server. This hook +can perform a final manipulation on the params, headers and url +parameters.
Methodencode_dataEncode body data.
Method_tuple_from_urlUndocumented
Method_user_agentUndocumented
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:45:43. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.rackspace.RackspaceNodeDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.rackspace.RackspaceNodeDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.drivers.rackspace.RackspaceNodeDriver.html Mon Jul 16 01:46:35 2012 @@ -0,0 +1,404 @@ + + + + libcloud.compute.drivers.rackspace.RackspaceNodeDriver : API documentation + + + + + + +

l.c.d.r.RackspaceNodeDriver(OpenStack_1_0_NodeDriver) : class documentation

+

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

+ +
No class docstring
+ + + +
+ + + + + + + + + + + +
Methodlist_locationsLists available locations
+ +

+ Inherited from OpenStack_1_0_NodeDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__
Methodex_set_passwordSets the Node's root password.
Methodex_set_server_nameSets the Node's name.
Methodcreate_nodeCreate a new node
Methodex_resizeChange an existing server flavor / scale the server up or down.
Methodex_confirm_resizeConfirm a resize request which is currently in progress. If a resize +request is not explicitly confirmed or reverted it's automatically +confirmed after 24 hours.
Methodex_revert_resizeRevert a resize request which is currently in progress. All resizes are +automatically confirmed after 24 hours if they have not already been +confirmed explicitly or reverted.
Methodex_rebuildUndocumented
Methodex_create_ip_groupUndocumented
Methodex_list_ip_groupsUndocumented
Methodex_delete_ip_groupUndocumented
Methodex_share_ipUndocumented
Methodex_unshare_ipUndocumented
Methodex_list_ip_addressesUndocumented
Methodex_limitsNo summary
Methodex_save_imageCreate an image for node.
Methodex_delete_imageDelete an image for node.
Method_change_password_or_nameUndocumented
Method_metadata_to_xmlUndocumented
Method_files_to_xmlUndocumented
Method_reboot_nodeUndocumented
Method_node_actionUndocumented
Method_to_nodesUndocumented
Method_fixxpathUndocumented
Method_findallUndocumented
Method_to_node_from_objUndocumented
Method_to_nodeUndocumented
Method_to_sizesUndocumented
Method_to_sizeUndocumented
Method_to_imagesUndocumented
Method_to_imageUndocumented
Method_to_shared_ip_groupUndocumented
Method_to_ip_addressesUndocumented
Method_get_size_priceUndocumented
+ +

+ Inherited from OpenStackNodeDriver (via OpenStack_1_0_NodeDriver): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__new__Undocumented
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
Methodex_get_node_detailsUndocumented
Methoddestroy_nodeDestroy a node.
Methodex_soft_reboot_nodeUndocumented
Methodex_hard_reboot_nodeUndocumented
Methodreboot_nodeReboot a node. @return: bool True if the reboot was +successful, otherwise False
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the +Connection class constructor.
+ +

+ Inherited from NodeDriver (via OpenStack_1_0_NodeDriver, OpenStackNodeDriver): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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.
+ + +
+ + + + +
+ + + + + + +
+ + def + list_locations(self): + + + (source) + +
+
+ +
Lists available locations

+

Locations cannot be set or retrieved via the API, but currently there +are two locations, DFW and ORD.

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