Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.MalformedResponseError.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.MalformedResponseError.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.MalformedResponseError.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.MalformedResponseError.html Mon Jul 16 01:49:43 2012 @@ -0,0 +1,115 @@ +<!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#L42">View Source</a> + <a href="classIndex.html#libcloud.common.types.MalformedResponseError">View In Hierarchy</a> + </p> + <div> + + </div> + <div>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.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id634"> + + +<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#__repr__">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.common.types.LibcloudError.html">LibcloudError</a>: + </p> + <table class="children sortable" id="id635"> + + +<tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.types.LibcloudError.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#L47" 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.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L52" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.common.types.LibcloudError.html#__repr__">libcloud.common.types.LibcloudError.__repr__</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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.common.types.html Mon Jul 16 01:49:43 2012 @@ -0,0 +1,71 @@ +<!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="id632"> + + +<tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.LibcloudError.html">LibcloudError</a></td> + <td><span>The base class for other libcloud exceptions</span></td> + </tr><tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.MalformedResponseError.html">MalformedResponseError</a></td> + <td><span>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.</span></td> + </tr><tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.InvalidCredsError.html">InvalidCredsError</a></td> + <td><span>Exception used when invalid credentials are used on a provider.</span></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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.__init__.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.__init__.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.__init__.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.__init__.html Mon Jul 16 01:49:43 2012 @@ -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> + <div>Module for working with Cloud Servers<table class="fieldTable"></table></div> + + + + <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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionKey.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionKey.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionKey.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionKey.html Mon Jul 16 01:49:43 2012 @@ -0,0 +1,153 @@ +<!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#L735">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> + <div>A Base Connection class to derive from, which includes a<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id261"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#__init__">__init__</a></td> + <td><span>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.</span></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.common.base.Connection.html">Connection</a>: + </p> + <table class="children sortable" id="id262"> + + +<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><span>Establish a connection with the API server.</span></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><span>Append a token to a user agent string.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#request">request</a></td> + <td><span>Request a given `action`.</span></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><span>Adds default parameters (such as API key, version, etc.) to the passed +`params`</span></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><span>Adds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`</span></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><span>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.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#encode_data">encode_data</a></td> + <td><span>Encode body data.</span></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#L739" 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> + <div>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.<table class="fieldTable"></table></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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionUserAndKey.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionUserAndKey.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionUserAndKey.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionUserAndKey.html Mon Jul 16 01:49:43 2012 @@ -0,0 +1,153 @@ +<!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#L749">View Source</a> + <a href="classIndex.html#libcloud.compute.base.ConnectionUserAndKey">View In Hierarchy</a> + </p> + <div> + + </div> + <div>Base connection which accepts a user_id and key.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id263"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionUserAndKey.html#__init__">__init__</a></td> + <td><span>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.</span></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="id264"> + + +<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><span>Establish a connection with the API server.</span></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><span>Append a token to a user agent string.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#request">request</a></td> + <td><span>Request a given `action`.</span></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><span>Adds default parameters (such as API key, version, etc.) to the passed +`params`</span></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><span>Adds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`</span></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><span>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.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#encode_data">encode_data</a></td> + <td><span>Encode body data.</span></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#L756" 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> + <div>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.<table class="fieldTable"></table></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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.LibcloudHTTPSConnection.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.LibcloudHTTPSConnection.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.LibcloudHTTPSConnection.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.LibcloudHTTPSConnection.html Mon Jul 16 01:49:43 2012 @@ -0,0 +1,240 @@ +<!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="libcloud.utils.py3.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#L29">View Source</a> + <a href="classIndex.html#libcloud.compute.base.LibcloudHTTPSConnection">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.common.base.LoggingHTTPSConnection.html">libcloud.common.base.LoggingHTTPSConnection</a></p> + </div> + <div>LibcloudHTTPSConnection</p> +<p>Subclass of HTTPSConnection which verifies certificate names if and only +if CA certificates are available.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id265"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#__init__">__init__</a></td> + <td><span>Constructor</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#connect">connect</a></td> + <td><span>Connect</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_setup_verify">_setup_verify</a></td> + <td><span>Setup Verify SSL or not</span></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><span>Setup CA Certs</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_verify_hostname">_verify_hostname</a></td> + <td><span>Verify hostname against peer cert</span></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><span>Get SubjectAltNames</span></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><span>Get Common Name</span></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#L38" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Constructor<table class="fieldTable"></table></div> + </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#L44" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Setup Verify SSL or not</p> +<p>Reads security module's VERIFY_SSL_CERT and toggles whether the class +overrides the connect() class method or runs the inherited +httplib.HTTPSConnection connect()<table class="fieldTable"></table></div> + </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#L59" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Setup CA Certs</p> +<p>Search in CA_CERTS_PATH for valid candidates and return first match. +Otherwise, complain about certs not being available.<table class="fieldTable"></table></div> + </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#L86" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Connect</p> +<p>Checks if verification is toggled; if not, just call +httplib.HTTPSConnection's connect<table class="fieldTable"></table></div> + </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#L113" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Verify hostname against peer cert</p> +<p>Check both commonName and entries in subjectAltName, using a rudimentary +glob to dns regex check to find matches<table class="fieldTable"></table></div> + </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#L139" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Get SubjectAltNames</p> +<p>Retrieve 'subjectAltName' attributes from cert data structure<table class="fieldTable"></table></div> + </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#L152" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Get Common Name</p> +<p>Retrieve 'commonName' attribute from cert data structure<table class="fieldTable"></table></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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.Node.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.Node.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.Node.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.Node.html Mon Jul 16 01:49:43 2012 @@ -0,0 +1,336 @@ +<!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(<a href="libcloud.compute.base.UuidMixin.html">UuidMixin</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#L109">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> + <div><p>Provide a common interface for handling nodes of all types.</p> +<p>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.</p> +<p>You don't normally create a node object yourself; instead you use a +driver and then have that create the node for you.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.drivers.dummy <span class="py-keyword">import</span> DummyNodeDriver +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(0) +<span class="py-prompt">>>> </span>node = driver.create_node() +<span class="py-prompt">>>> </span>node.public_ips[0] +<span class="py-output">'127.0.0.3'</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.name +<span class="py-output">'dummy-3'</span></pre> +<p>You can also get nodes from the driver's list_node function.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>node = driver.list_nodes()[0] +<span class="py-prompt">>>> </span>node.name +<span class="py-output">'dummy-1'</span></pre> +<p>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.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(72) +<span class="py-prompt">>>> </span>node2 = driver.create_node() +<span class="py-prompt">>>> </span>node.driver.creds +<span class="py-output">0</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node2.driver.creds +<span class="py-output">72</span></pre> +<p>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.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>node.extra +<span class="py-output">{'foo': 'bar'}</span></pre><table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id267"> + + +<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#reboot">reboot</a></td> + <td><span>Reboot this node</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#destroy">destroy</a></td> + <td><span>Destroy this node</span></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><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_set_public_ips">_set_public_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_get_public_ips">_get_public_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_set_private_ips">_set_private_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_get_private_ips">_get_private_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.compute.base.UuidMixin.html">UuidMixin</a>: + </p> + <table class="children sortable" id="id268"> + + +<tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.UuidMixin.html#get_uuid">get_uuid</a></td> + <td><span>Unique hash for a node, node image, or node size</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.UuidMixin.html#uuid">uuid</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_ips, private_ips, driver, size=None, image=None, extra=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L155" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.compute.base.UuidMixin.html#__init__">libcloud.compute.base.UuidMixin.__init__</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node._set_public_ips"> + + </a> + <a name="_set_public_ips"> + + </a> + <div class="functionHeader"> + + def + _set_public_ips(self, value): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L171" 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_public_ips"> + + </a> + <a name="_get_public_ips"> + + </a> + <div class="functionHeader"> + + def + _get_public_ips(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L174" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node._set_private_ips"> + + </a> + <a name="_set_private_ips"> + + </a> + <div class="functionHeader"> + + def + _set_private_ips(self, value): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L177" 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_private_ips"> + + </a> + <a name="_get_private_ips"> + + </a> + <div class="functionHeader"> + + def + _get_private_ips(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L180" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</div> + </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#L186" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Reboot this node<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>bool</code> +<p>This calls the node's driver and reboots the node</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.drivers.dummy <span class="py-keyword">import</span> DummyNodeDriver +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(0) +<span class="py-prompt">>>> </span>node = driver.create_node() +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.types <span class="py-keyword">import</span> NodeState +<span class="py-prompt">>>> </span>node.state == NodeState.RUNNING +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.state == NodeState.REBOOTING +<span class="py-output">False</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.reboot() +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.state == NodeState.REBOOTING +<span class="py-output">True</span></pre></td></tr></table></div> + </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#L208" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Destroy this node<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>bool</code> +<p>This calls the node's driver and destroys the node</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.drivers.dummy <span class="py-keyword">import</span> DummyNodeDriver +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(0) +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.types <span class="py-keyword">import</span> NodeState +<span class="py-prompt">>>> </span>node = driver.create_node() +<span class="py-prompt">>>> </span>node.state == NodeState.RUNNING +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.destroy() +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.state == NodeState.RUNNING +<span class="py-output">False</span></pre></td></tr></table></div> + </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#L229" 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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthPassword.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthPassword.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthPassword.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthPassword.html Mon Jul 16 01:49:43 2012 @@ -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#L355">View Source</a> + <a href="classIndex.html#libcloud.compute.base.NodeAuthPassword">View In Hierarchy</a> + </p> + <div> + + </div> + <div>A password to be used for authentication to a node.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id275"> + + +<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#L359" 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#L362" 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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthSSHKey.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthSSHKey.html?rev=1361884&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthSSHKey.html (added) +++ libcloud/site/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthSSHKey.html Mon Jul 16 01:49:43 2012 @@ -0,0 +1,105 @@ +<!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#L334">View Source</a> + <a href="classIndex.html#libcloud.compute.base.NodeAuthSSHKey">View In Hierarchy</a> + </p> + <div> + + </div> + <div><p>An SSH key to be installed for authentication to a node.</p> +<p>This is the actual contents of the users ssh public key which will +normally be installed as root's public key on the node.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>pubkey = <span class="py-string">'...'</span> <span class="py-comment"># read from file</span> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.base <span class="py-keyword">import</span> NodeAuthSSHKey +<span class="py-prompt">>>> </span>k = NodeAuthSSHKey(pubkey) +<span class="py-prompt">>>> </span>k +<span class="py-output"><NodeAuthSSHKey></span></pre><table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id274"> + + +<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#L348" 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#L351" 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 2012-07-15 18:49:10. + </address> + </body> +</html> \ No newline at end of file
