You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by bu...@apache.org on 2011/10/19 13:29:46 UTC
svn commit: r797197 [5/30] - in
/websites/staging/libcloud/trunk/content/apidocs: ./ 0.6.0-beta1/
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.common.types.MalformedResponseError.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.common.types.MalformedResponseError.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.common.types.MalformedResponseError.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,99 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.common.types.MalformedResponseError : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.t.MalformedResponseError(<a href="libcloud.common.types.LibcloudError.html">LibcloudError</a>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.common.html">common</a>.<a href="libcloud.common.types.html">types</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L39">View Source</a>
+ <a href="classIndex.html#libcloud.common.types.MalformedResponseError">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <pre>Exception for the cases when a provider returns a malformed
+response, e.g. you request JSON and provider returns
+'<h3>something</h3>' due to some error on their side.</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id55">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.types.MalformedResponseError.html#__init__">__init__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.types.MalformedResponseError.html#__str__">__str__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.common.types.MalformedResponseError.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, value, body=None, driver=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L44" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overrides <a href="libcloud.common.types.LibcloudError.html#__init__">libcloud.common.types.LibcloudError.__init__</a></div>
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.common.types.MalformedResponseError.__str__">
+
+ </a>
+ <a name="__str__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __str__(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L49" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overrides <a href="libcloud.common.types.LibcloudError.html#__str__">libcloud.common.types.LibcloudError.__str__</a></div>
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.common.types.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.common.types.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.common.types.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,69 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.common.types : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="module">l.c.types : module documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.common.html">common</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py">View Source</a>
+
+ </p>
+ <div>
+
+ </div>
+ <div class="undocumented">No module docstring</div>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id53">
+
+
+<tr class="class">
+
+
+ <td>Class</td>
+ <td><a href="libcloud.common.types.LibcloudError.html">LibcloudError</a></td>
+ <td><tt>The base class for other libcloud exceptions</tt></td>
+ </tr><tr class="class">
+
+
+ <td>Class</td>
+ <td><a href="libcloud.common.types.MalformedResponseError.html">MalformedResponseError</a></td>
+ <td><tt>Exception for the cases when a provider returns a malformed response, e.g. you request JSON and provider returns '<h3>something</h3>' due to some error on their side.</tt></td>
+ </tr><tr class="class">
+
+
+ <td>Class</td>
+ <td><a href="libcloud.common.types.InvalidCredsError.html">InvalidCredsError</a></td>
+ <td><tt>Exception used when invalid credentials are used on a provider.</tt></td>
+ </tr><tr class="class">
+
+
+ <td>Class</td>
+ <td><a href="libcloud.common.types.LazyList.html">LazyList</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.__init__.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.__init__.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.__init__.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,40 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.__init__ : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="module">l.c.__init__ : module documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/__init__.py">View Source</a>
+
+ </p>
+ <div>
+
+ </div>
+ <pre>Module for working with Cloud Servers</pre>
+
+
+
+ <div id="splitTables">
+
+
+
+ </div>
+
+
+
+
+
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.ConnectionKey.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.ConnectionKey.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.ConnectionKey.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,148 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.ConnectionKey : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.ConnectionKey(<a href="libcloud.common.base.Connection.html">Connection</a>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L491">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.ConnectionKey">View In Hierarchy</a>
+ </p>
+ <div>
+ <p>Known subclasses: <a href="libcloud.compute.base.ConnectionUserAndKey.html">libcloud.compute.base.ConnectionUserAndKey</a></p>
+ </div>
+ <pre>A Base Connection class to derive from, which includes a</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id60">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.ConnectionKey.html#__init__">__init__</a></td>
+ <td><tt>Initialize `user_id` and `key`; set `secure` to an C{int} based on passed value.</tt></td>
+ </tr>
+
+</table>
+
+ <p>
+ Inherited from <a href="libcloud.common.base.Connection.html">Connection</a>:
+ </p>
+ <table class="children sortable" id="id61">
+
+
+<tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#set_context">set_context</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#connect">connect</a></td>
+ <td><tt>Establish a connection with the API server.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#user_agent_append">user_agent_append</a></td>
+ <td><tt>Append a token to a user agent string.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#request">request</a></td>
+ <td><tt>Request a given `action`.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#morph_action_hook">morph_action_hook</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#add_default_params">add_default_params</a></td>
+ <td><tt>Adds default parameters (such as API key, version, etc.) to the passed `params`</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#add_default_headers">add_default_headers</a></td>
+ <td><tt>Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#pre_connect_hook">pre_connect_hook</a></td>
+ <td><tt>A hook which is called before connecting to the remote server. This hook can perform a final manipulation on the params, headers and url parameters.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#encode_data">encode_data</a></td>
+ <td><tt>Encode body data.</tt></td>
+ </tr><tr class="basemethod private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#_tuple_from_url">_tuple_from_url</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="basemethod private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#_user_agent">_user_agent</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.common.base.ConnectionKey.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, key, secure=True, host=None, port=None, url=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L495" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overrides <a href="libcloud.common.base.Connection.html#__init__">libcloud.common.base.Connection.__init__</a></div><div class="interfaceinfo">overridden in <a href="libcloud.compute.base.ConnectionUserAndKey.html">libcloud.compute.base.ConnectionUserAndKey</a></div>
+ <pre>Initialize `user_id` and `key`; set `secure` to an C{int} based on
+passed value.</pre>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.ConnectionUserAndKey.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.ConnectionUserAndKey.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.ConnectionUserAndKey.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,148 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.ConnectionUserAndKey : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.ConnectionUserAndKey(<a href="libcloud.compute.base.ConnectionKey.html">ConnectionKey</a>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L503">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.ConnectionUserAndKey">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <pre>Base connection which accepts a user_id and key</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id62">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.ConnectionUserAndKey.html#__init__">__init__</a></td>
+ <td><tt>Initialize `user_id` and `key`; set `secure` to an C{int} based on passed value.</tt></td>
+ </tr>
+
+</table>
+
+ <p>
+ Inherited from <a href="libcloud.common.base.Connection.html">Connection</a> (via <a href="libcloud.compute.base.ConnectionKey.html">ConnectionKey</a>):
+ </p>
+ <table class="children sortable" id="id63">
+
+
+<tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#set_context">set_context</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#connect">connect</a></td>
+ <td><tt>Establish a connection with the API server.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#user_agent_append">user_agent_append</a></td>
+ <td><tt>Append a token to a user agent string.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#request">request</a></td>
+ <td><tt>Request a given `action`.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#morph_action_hook">morph_action_hook</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#add_default_params">add_default_params</a></td>
+ <td><tt>Adds default parameters (such as API key, version, etc.) to the passed `params`</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#add_default_headers">add_default_headers</a></td>
+ <td><tt>Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#pre_connect_hook">pre_connect_hook</a></td>
+ <td><tt>A hook which is called before connecting to the remote server. This hook can perform a final manipulation on the params, headers and url parameters.</tt></td>
+ </tr><tr class="basemethod">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#encode_data">encode_data</a></td>
+ <td><tt>Encode body data.</tt></td>
+ </tr><tr class="basemethod private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#_tuple_from_url">_tuple_from_url</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="basemethod private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.Connection.html#_user_agent">_user_agent</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.common.base.ConnectionUserAndKey.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, user_id, key, secure=True, host=None, port=None, url=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L510" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overrides <a href="libcloud.compute.base.ConnectionKey.html#__init__">libcloud.common.base.ConnectionKey.__init__</a></div>
+ <pre>Initialize `user_id` and `key`; set `secure` to an C{int} based on
+passed value.</pre>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.LibcloudHTTPSConnection.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.LibcloudHTTPSConnection.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.LibcloudHTTPSConnection.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,249 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.LibcloudHTTPSConnection : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.LibcloudHTTPSConnection(<span title="httplib.HTTPSConnection">httplib.HTTPSConnection</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L28">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.LibcloudHTTPSConnection">View In Hierarchy</a>
+ </p>
+ <div>
+ <p>Known subclasses: <a href="libcloud.base.LoggingHTTPSConnection.html">libcloud.base.LoggingHTTPSConnection</a></p>
+ </div>
+ <pre>LibcloudHTTPSConnection
+
+Subclass of HTTPSConnection which verifies certificate names
+if and only if CA certificates are available.</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id64">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#__init__">__init__</a></td>
+ <td><tt>Constructor</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#connect">connect</a></td>
+ <td><tt>Connect</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_setup_verify">_setup_verify</a></td>
+ <td><tt>Setup Verify SSL or not</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_setup_ca_cert">_setup_ca_cert</a></td>
+ <td><tt>Setup CA Certs</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_verify_hostname">_verify_hostname</a></td>
+ <td><tt>Verify hostname against peer cert</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_get_subject_alt_names">_get_subject_alt_names</a></td>
+ <td><tt>Get SubjectAltNames</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_get_common_name">_get_common_name</a></td>
+ <td><tt>Get Common Name</tt></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, *args, **kwargs):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L37" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Constructor
+ </pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._setup_verify">
+
+ </a>
+ <a name="_setup_verify">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _setup_verify(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L43" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Setup Verify SSL or not
+
+Reads security module's VERIFY_SSL_CERT and toggles whether
+the class overrides the connect() class method or runs the
+inherited httplib.HTTPSConnection connect()</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._setup_ca_cert">
+
+ </a>
+ <a name="_setup_ca_cert">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _setup_ca_cert(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L58" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Setup CA Certs
+
+Search in CA_CERTS_PATH for valid candidates and
+return first match. Otherwise, complain about certs
+not being available.</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection.connect">
+
+ </a>
+ <a name="connect">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ connect(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L83" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Connect
+
+Checks if verification is toggled; if not, just call
+httplib.HTTPSConnection's connect</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._verify_hostname">
+
+ </a>
+ <a name="_verify_hostname">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _verify_hostname(self, hostname, cert):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L110" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Verify hostname against peer cert
+
+Check both commonName and entries in subjectAltName, using a
+rudimentary glob to dns regex check to find matches</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._get_subject_alt_names">
+
+ </a>
+ <a name="_get_subject_alt_names">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _get_subject_alt_names(self, cert):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L138" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Get SubjectAltNames
+
+Retrieve 'subjectAltName' attributes from cert data structure</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._get_common_name">
+
+ </a>
+ <a name="_get_common_name">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _get_common_name(self, cert):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L151" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Get Common Name
+
+Retrieve 'commonName' attribute from cert data structure</pre>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.Node.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.Node.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.Node.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,265 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.Node : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.Node(<span title="object">object</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L66">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.Node">View In Hierarchy</a>
+ </p>
+ <div>
+ <p>Known subclasses: <a href="libcloud.compute.drivers.cloudstack.CloudStackNode.html">libcloud.compute.drivers.cloudstack.CloudStackNode</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNode.html">libcloud.compute.drivers.gogrid.GoGridNode</a></p>
+ </div>
+ <pre>Provide a common interface for handling nodes of all types.
+
+The Node object provides the interface in libcloud through which
+we can manipulate nodes in different cloud providers in the same
+way. Node objects don't actually do much directly themselves,
+instead the node driver handles the connection to the node.
+
+You don't normally create a node object yourself; instead you use
+a driver and then have that create the node for you.
+
+>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
+>>> driver = DummyNodeDriver(0)
+>>> node = driver.create_node()
+>>> node.public_ip[0]
+'127.0.0.3'
+>>> node.name
+'dummy-3'
+
+You can also get nodes from the driver's list_node function.
+
+>>> node = driver.list_nodes()[0]
+>>> node.name
+'dummy-1'
+
+the node keeps a reference to its own driver which means that we
+can work on nodes from different providers without having to know
+which is which.
+
+>>> driver = DummyNodeDriver(72)
+>>> node2 = driver.create_node()
+>>> node.driver.creds
+0
+>>> node2.driver.creds
+72
+
+Althrough Node objects can be subclassed, this isn't normally
+done. Instead, any driver specific information is stored in the
+"extra" proproperty of the node.
+
+>>> node.extra
+{'foo': 'bar'}</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id65">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.Node.html#__init__">__init__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.Node.html#get_uuid">get_uuid</a></td>
+ <td><tt>Unique hash for this node</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.Node.html#reboot">reboot</a></td>
+ <td><tt>Reboot this node</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.Node.html#destroy">destroy</a></td>
+ <td><tt>Destroy this node</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.Node.html#__repr__">__repr__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.compute.base.Node.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, id, name, state, public_ip, private_ip, driver, size=None, image=None, extra=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L112" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.Node.get_uuid">
+
+ </a>
+ <a name="get_uuid">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_uuid(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L125" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.gogrid.GoGridNode.html">libcloud.compute.drivers.gogrid.GoGridNode</a></div>
+ <pre>Unique hash for this node
+
+@return: C{string}
+
+The hash is a function of an SHA1 hash of the node's ID and
+its driver which means that it should be unique between all
+nodes. In some subclasses (e.g. GoGrid) there is no ID
+available so the public IP address is used. This means that,
+unlike a properly done system UUID, the same UUID may mean a
+different system install at a different time
+
+>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
+>>> driver = DummyNodeDriver(0)
+>>> node = driver.create_node()
+>>> node.get_uuid()
+'d3748461511d8b9b0e0bfa0d4d3383a619a2bb9f'
+
+Note, for example, that this example will always produce the
+same UUID!</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.Node.reboot">
+
+ </a>
+ <a name="reboot">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ reboot(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L148" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Reboot this node
+
+@return: C{bool}
+
+This calls the node's driver and reboots the node
+
+>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
+>>> driver = DummyNodeDriver(0)
+>>> node = driver.create_node()
+>>> from libcloud.compute.types import NodeState
+>>> node.state == NodeState.RUNNING
+True
+>>> node.state == NodeState.REBOOTING
+False
+>>> node.reboot()
+True
+>>> node.state == NodeState.REBOOTING
+True</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.Node.destroy">
+
+ </a>
+ <a name="destroy">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ destroy(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L170" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Destroy this node
+
+@return: C{bool}
+
+This calls the node's driver and destroys the node
+
+>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
+>>> driver = DummyNodeDriver(0)
+>>> from libcloud.compute.types import NodeState
+>>> node = driver.create_node()
+>>> node.state == NodeState.RUNNING
+True
+>>> node.destroy()
+True
+>>> node.state == NodeState.RUNNING
+False</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.Node.__repr__">
+
+ </a>
+ <a name="__repr__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __repr__(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L191" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeAuthPassword.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeAuthPassword.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeAuthPassword.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,97 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.NodeAuthPassword : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.NodeAuthPassword(<span title="object">object</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L315">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.NodeAuthPassword">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <pre>A password to be used for authentication to a node.</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id70">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeAuthPassword.html#__init__">__init__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeAuthPassword.html#__repr__">__repr__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.compute.base.NodeAuthPassword.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, password):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L319" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeAuthPassword.__repr__">
+
+ </a>
+ <a name="__repr__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __repr__(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L322" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeAuthSSHKey.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeAuthSSHKey.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeAuthSSHKey.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,106 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.NodeAuthSSHKey : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.NodeAuthSSHKey(<span title="object">object</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L294">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.NodeAuthSSHKey">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <pre>An SSH key to be installed for authentication to a node.
+
+This is the actual contents of the users ssh public key which will
+normally be installed as root's public key on the node.
+
+>>> pubkey = '...' # read from file
+>>> from libcloud.compute.base import NodeAuthSSHKey
+>>> k = NodeAuthSSHKey(pubkey)
+>>> k
+<NodeAuthSSHKey></pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id69">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeAuthSSHKey.html#__init__">__init__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeAuthSSHKey.html#__repr__">__repr__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.compute.base.NodeAuthSSHKey.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, pubkey):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L308" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeAuthSSHKey.__repr__">
+
+ </a>
+ <a name="__repr__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __repr__(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L311" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeDriver.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeDriver.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeDriver.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,539 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.NodeDriver : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.NodeDriver(<a href="libcloud.common.base.BaseDriver.html">BaseDriver</a>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L326">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.NodeDriver">View In Hierarchy</a>
+ </p>
+ <div>
+ <p>Known subclasses: <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.brightbox.BrightboxNodeDriver.html">libcloud.compute.drivers.brightbox.BrightboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver.html">libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud.compute.drivers.e
cp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStackNodeDriver.html">libcloud.compute.drivers.openstack.OpenStackNodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">libcloud.compute.driv
ers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slicehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.VCloudNodeDriver.html">libcloud.compute.drivers.vcloud.VCloudNodeDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></p>
+ </div>
+ <pre>A base NodeDriver class to derive from
+
+This class is always subclassed by a specific driver. For
+examples of base behavior of most functions (except deploy node)
+see the dummy driver.</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id71">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#__init__">__init__</a></td>
+ <td><tt>@keyword key: API key or username to used @type key: str</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#create_node">create_node</a></td>
+ <td><tt>Create a new node instance.</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#destroy_node">destroy_node</a></td>
+ <td><tt>Destroy a node.</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#reboot_node">reboot_node</a></td>
+ <td><tt>Reboot a node. @return: C{bool} True if the reboot was successful, otherwise False</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#list_nodes">list_nodes</a></td>
+ <td><tt>List all nodes @return: C{list} of L{Node} objects</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#list_images">list_images</a></td>
+ <td><tt>List images on a provider @return: C{list} of L{NodeImage} objects</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#list_sizes">list_sizes</a></td>
+ <td><tt>List sizes on a provider @return: C{list} of L{NodeSize} objects</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#list_locations">list_locations</a></td>
+ <td><tt>List data centers for a provider @return: C{list} of L{NodeLocation} objects</tt></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#deploy_node">deploy_node</a></td>
+ <td><tt>Create a new node, and start deployment.</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#_wait_until_running">_wait_until_running</a></td>
+ <td><tt>Block until node is fully booted and has an IP address assigned.</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#_ssh_client_connect">_ssh_client_connect</a></td>
+ <td><tt>Try to connect to the remote SSH server. If a connection times out or is refused it is retried up to timeout number of seconds.</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#_run_deployment_script">_run_deployment_script</a></td>
+ <td><tt>Run the deployment script on the provided node. At this point it is assumed that SSH connection has already been established.</tt></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeDriver.html#_get_size_price">_get_size_price</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+ <p>
+ Inherited from <a href="libcloud.common.base.BaseDriver.html">BaseDriver</a>:
+ </p>
+ <table class="children sortable" id="id72">
+
+
+<tr class="basemethod private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.BaseDriver.html#_ex_connection_class_kwargs">_ex_connection_class_kwargs</a></td>
+ <td><tt>Return extra connection keyword arguments which are passed to the Connection class constructor.</tt></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.compute.base.NodeDriver.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, key, secret=None, secure=True, host=None, port=None, api_version=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L354" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overrides <a href="libcloud.common.base.BaseDriver.html#__init__">libcloud.common.base.BaseDriver.__init__</a></div><div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EucNodeDriver.html">libcloud.compute.drivers.ec2.EucNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStack_1_0_NodeDriver.html">libcloud.compute.drivers.openstack.OpenStack_1_0_NodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver.html">libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.S
oftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a></div>
+ <pre>@keyword key: API key or username to used
+@type key: str
+
+@keyword secret: Secret password to be used
+@type secret: str
+
+@keyword secure: Weither to use HTTPS or HTTP. Note: Some providers
+ only support HTTPS, and it is on by default.
+@type secure: bool
+
+@keyword host: Override hostname used for connections.
+@type host: str
+
+@keyword port: Override port used for connections.
+@type port: int
+
+@keyword api_version: Optional API version. Only used by drivers
+ which support multiple API versions.
+@type api_version: str</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.create_node">
+
+ </a>
+ <a name="create_node">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ create_node(self, **kwargs):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L360" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.brightbox.BrightboxNodeDriver.html">libcloud.compute.drivers.brightbox.BrightboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver.html">libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud
.compute.drivers.ecp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStack_1_0_NodeDriver.html">libcloud.compute.drivers.openstack.OpenStack_1_0_NodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStack_1_1_Nod
eDriver.html">libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">libcloud.compute.drivers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slicehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.VCloudNodeDriver.html">libcloud.compute.drivers.vcloud.VCloudNodeDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></div>
+ <pre>Create a new node instance.
+
+@keyword name: String with a name for this new node (required)
+@type name: str
+
+@keyword size: The size of resources allocated to this node.
+ (required)
+@type size: L{NodeSize}
+
+@keyword image: OS Image to boot on node. (required)
+@type image: L{NodeImage}
+
+@keyword location: Which data center to create a node in. If empty,
+ undefined behavoir will be selected. (optional)
+@type location: L{NodeLocation}
+
+@keyword auth: Initial authentication information for the node
+ (optional)
+@type auth: L{NodeAuthSSHKey} or L{NodeAuthPassword}
+
+@return: The newly created L{Node}.</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.destroy_node">
+
+ </a>
+ <a name="destroy_node">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ destroy_node(self, node):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L386" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.brightbox.BrightboxNodeDriver.html">libcloud.compute.drivers.brightbox.BrightboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver.html">libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud
.compute.drivers.ecp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStackNodeDriver.html">libcloud.compute.drivers.openstack.OpenStackNodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">lib
cloud.compute.drivers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slicehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.VCloudNodeDriver.html">libcloud.compute.drivers.vcloud.VCloudNodeDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></div>
+ <pre>Destroy a node.
+
+Depending upon the provider, this may destroy all data associated with
+the node, including backups.
+
+@return: C{bool} True if the destroy was successful, otherwise False</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.reboot_node">
+
+ </a>
+ <a name="reboot_node">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ reboot_node(self, node):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L397" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver.html">libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud.compute.drivers.ecp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.c
ompute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStackNodeDriver.html">libcloud.compute.drivers.openstack.OpenStackNodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">libcloud.compute.drivers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">l
ibcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slicehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.VCloudNodeDriver.html">libcloud.compute.drivers.vcloud.VCloudNodeDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></div>
+ <pre>Reboot a node.
+@return: C{bool} True if the reboot was successful, otherwise False</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.list_nodes">
+
+ </a>
+ <a name="list_nodes">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ list_nodes(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L405" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.brightbox.BrightboxNodeDriver.html">libcloud.compute.drivers.brightbox.BrightboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver.html">libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud
.compute.drivers.ecp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStackNodeDriver.html">libcloud.compute.drivers.openstack.OpenStackNodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">lib
cloud.compute.drivers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slicehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.VCloudNodeDriver.html">libcloud.compute.drivers.vcloud.VCloudNodeDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></div>
+ <pre>List all nodes
+@return: C{list} of L{Node} objects</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.list_images">
+
+ </a>
+ <a name="list_images">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ list_images(self, location=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L413" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.brightbox.BrightboxNodeDriver.html">libcloud.compute.drivers.brightbox.BrightboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver.html">libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud
.compute.drivers.ecp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStackNodeDriver.html">libcloud.compute.drivers.openstack.OpenStackNodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">lib
cloud.compute.drivers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slicehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.VCloudNodeDriver.html">libcloud.compute.drivers.vcloud.VCloudNodeDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></div>
+ <pre>List images on a provider
+@return: C{list} of L{NodeImage} objects</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.list_sizes">
+
+ </a>
+ <a name="list_sizes">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ list_sizes(self, location=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L421" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.brightbox.BrightboxNodeDriver.html">libcloud.compute.drivers.brightbox.BrightboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver.html">libcloud.compute.drivers.cloudsigma.CloudSigmaBaseNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud
.compute.drivers.ecp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStackNodeDriver.html">libcloud.compute.drivers.openstack.OpenStackNodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">lib
cloud.compute.drivers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slicehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.VCloudNodeDriver.html">libcloud.compute.drivers.vcloud.VCloudNodeDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></div>
+ <pre>List sizes on a provider
+@return: C{list} of L{NodeSize} objects</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.list_locations">
+
+ </a>
+ <a name="list_locations">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ list_locations(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L429" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.bluebox.BlueboxNodeDriver.html">libcloud.compute.drivers.bluebox.BlueboxNodeDriver</a>, <a href="libcloud.compute.drivers.brightbox.BrightboxNodeDriver.html">libcloud.compute.drivers.brightbox.BrightboxNodeDriver</a>, <a href="libcloud.compute.drivers.cloudstack.CloudStackNodeDriver.html">libcloud.compute.drivers.cloudstack.CloudStackNodeDriver</a>, <a href="libcloud.compute.drivers.dreamhost.DreamhostNodeDriver.html">libcloud.compute.drivers.dreamhost.DreamhostNodeDriver</a>, <a href="libcloud.compute.drivers.dummy.DummyNodeDriver.html">libcloud.compute.drivers.dummy.DummyNodeDriver</a>, <a href="libcloud.compute.drivers.ec2.EC2NodeDriver.html">libcloud.compute.drivers.ec2.EC2NodeDriver</a>, <a href="libcloud.compute.drivers.ecp.ECPNodeDriver.html">libcloud.compute.drivers.ecp.ECPNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNode
Driver</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNodeDriver.html">libcloud.compute.drivers.gogrid.GoGridNodeDriver</a>, <a href="libcloud.compute.drivers.ibm_sbc.IBMNodeDriver.html">libcloud.compute.drivers.ibm_sbc.IBMNodeDriver</a>, <a href="libcloud.compute.drivers.linode.LinodeNodeDriver.html">libcloud.compute.drivers.linode.LinodeNodeDriver</a>, <a href="libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver.html">libcloud.compute.drivers.opennebula.OpenNebulaNodeDriver</a>, <a href="libcloud.compute.drivers.opsource.OpsourceNodeDriver.html">libcloud.compute.drivers.opsource.OpsourceNodeDriver</a>, <a href="libcloud.compute.drivers.rackspace.RackspaceNodeDriver.html">libcloud.compute.drivers.rackspace.RackspaceNodeDriver</a>, <a href="libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver.html">libcloud.compute.drivers.rimuhosting.RimuHostingNodeDriver</a>, <a href="libcloud.compute.drivers.slicehost.SlicehostNodeDriver.html">libcloud.compute.drivers.slic
ehost.SlicehostNodeDriver</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerNodeDriver.html">libcloud.compute.drivers.softlayer.SoftLayerNodeDriver</a>, <a href="libcloud.compute.drivers.vcloud.TerremarkDriver.html">libcloud.compute.drivers.vcloud.TerremarkDriver</a>, <a href="libcloud.compute.drivers.voxel.VoxelNodeDriver.html">libcloud.compute.drivers.voxel.VoxelNodeDriver</a>, <a href="libcloud.compute.drivers.vpsnet.VPSNetNodeDriver.html">libcloud.compute.drivers.vpsnet.VPSNetNodeDriver</a></div>
+ <pre>List data centers for a provider
+@return: C{list} of L{NodeLocation} objects</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver.deploy_node">
+
+ </a>
+ <a name="deploy_node">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ deploy_node(self, **kwargs):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L437" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver.html">libcloud.compute.drivers.elasticstack.ElasticStackBaseNodeDriver</a>, <a href="libcloud.compute.drivers.gandi.GandiNodeDriver.html">libcloud.compute.drivers.gandi.GandiNodeDriver</a></div>
+ <pre>Create a new node, and start deployment.
+
+Depends on a Provider Driver supporting either using a specific
+password or returning a generated password.
+
+This function may raise a L{DeploymentException}, if a create_node
+call was successful, but there is a later error (like SSH failing or
+timing out). This exception includes a Node object which you may want
+to destroy if incomplete deployments are not desirable.
+
+@keyword deploy: Deployment to run once machine is online and
+ availble to SSH.
+@type deploy: L{Deployment}
+
+@keyword ssh_username: Optional name of the account which is used
+ when connecting to
+ SSH server (default is root)
+@type ssh_username: C{str}
+
+@keyword ssh_port: Optional SSH server port (default is 22)
+@type ssh_port: C{int}
+
+@keyword ssh_timeout: Optional SSH connection timeout in seconds
+ (default is None)
+@type ssh_timeout: C{float}
+
+@keyword auth: Initial authentication information for the node
+ (optional)
+@type auth: L{NodeAuthSSHKey} or L{NodeAuthPassword}
+
+See L{NodeDriver.create_node} for more keyword args.
+
+>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
+>>> from libcloud.deployment import ScriptDeployment
+>>> from libcloud.deployment import MultiStepDeployment
+>>> from libcloud.compute.base import NodeAuthSSHKey
+>>> driver = DummyNodeDriver(0)
+>>> key = NodeAuthSSHKey('...') # read from file
+>>> script = ScriptDeployment("yum -y install emacs strace tcpdump")
+>>> msd = MultiStepDeployment([key, script])
+>>> def d():
+... try:
+... node = driver.deploy_node(deploy=msd)
+... except NotImplementedError:
+... print "not implemented for dummy driver"
+>>> d()
+not implemented for dummy driver
+
+Deploy node is typically not overridden in subclasses. The
+existing implementation should be able to handle most such.</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver._wait_until_running">
+
+ </a>
+ <a name="_wait_until_running">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _wait_until_running(self, node, wait_period=3, timeout=600):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L542" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Block until node is fully booted and has an IP address assigned.
+
+@keyword node: Node instance.
+@type node: C{Node}
+
+@keyword wait_period: How many seconds to between each loop
+ iteration (default is 3)
+@type wait_period: C{int}
+
+@keyword timeout: How many seconds to wait before timing out
+ (default is 600)
+@type timeout: C{int}
+
+@return: C{Node} Node instance on success.</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver._ssh_client_connect">
+
+ </a>
+ <a name="_ssh_client_connect">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _ssh_client_connect(self, ssh_client, timeout=300):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L589" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Try to connect to the remote SSH server. If a connection times out or
+is refused it is retried up to timeout number of seconds.
+
+@keyword ssh_client: A configured SSHClient instance
+@type ssh_client: C{SSHClient}
+
+@keyword timeout: How many seconds to wait before timing out
+ (default is 600)
+@type timeout: C{int}
+
+@return: C{SSHClient} on success</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver._run_deployment_script">
+
+ </a>
+ <a name="_run_deployment_script">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _run_deployment_script(self, task, node, ssh_client, max_tries=3):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L620" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <pre>Run the deployment script on the provided node. At this point it is
+assumed that SSH connection has already been established.
+
+@keyword task: Deployment task to run on the node.
+@type task: C{Deployment}
+
+@keyword node: Node to operate one
+@type node: C{Node}
+
+@keyword ssh_client: A configured and connected SSHClient instance
+@type ssh_client: C{SSHClient}
+
+@keyword max_tries: How many times to retry if a deployment fails
+ before giving up (default is 3)
+@type max_tries: C{int}
+
+@return: C{Node} Node instance on success.</pre>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeDriver._get_size_price">
+
+ </a>
+ <a name="_get_size_price">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _get_size_price(self, size_id):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L653" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.openstack.OpenStack_1_0_NodeDriver.html">libcloud.compute.drivers.openstack.OpenStack_1_0_NodeDriver</a>, <a href="libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver.html">libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver</a></div>
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeImage.html
==============================================================================
--- websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeImage.html (added)
+++ websites/staging/libcloud/trunk/content/apidocs/0.6.0-beta1/libcloud.compute.base.NodeImage.html Wed Oct 19 11:29:37 2011
@@ -0,0 +1,114 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.compute.base.NodeImage : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.c.b.NodeImage(<span title="object">object</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L238">View Source</a>
+ <a href="classIndex.html#libcloud.compute.base.NodeImage">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <pre>An operating system image.
+
+NodeImage objects are typically returned by the driver for the
+cloud provider in response to the list_images function
+
+>>> from libcloud.compute.drivers.dummy import DummyNodeDriver
+>>> driver = DummyNodeDriver(0)
+>>> image = driver.list_images()[0]
+>>> image.name
+'Ubuntu 9.10'
+
+Apart from name and id, there is no further standard information;
+other parameters are stored in a driver specific "extra" variable
+
+When creating a node, a node image should be given as an argument
+to the create_node function to decide which OS image to use.
+
+>>> node = driver.create_node(image=image)</pre>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id67">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeImage.html#__init__">__init__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.compute.base.NodeImage.html#__repr__">__repr__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.compute.base.NodeImage.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, id, name, driver, extra=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L261" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.compute.base.NodeImage.__repr__">
+
+ </a>
+ <a name="__repr__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __repr__(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L267" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2011-10-19 13:20:39.
+ </address>
+ </body>
+</html>
\ No newline at end of file