You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2011/11/09 02:55:49 UTC

svn commit: r798339 - in /websites/production/libcloud: ./ content/driver-features.html content/getting-started.html content/upgrade-notes-0-6.html

Author: tomaz
Date: Wed Nov  9 01:55:49 2011
New Revision: 798339

Log:
Publishing merge to libcloud site by tomaz

Modified:
    websites/production/libcloud/   (props changed)
    websites/production/libcloud/content/driver-features.html
    websites/production/libcloud/content/getting-started.html
    websites/production/libcloud/content/upgrade-notes-0-6.html

Propchange: websites/production/libcloud/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Nov  9 01:55:49 2011
@@ -1 +1 @@
-/websites/staging/libcloud/trunk:787380-798172
+/websites/staging/libcloud/trunk:787380-798338

Modified: websites/production/libcloud/content/driver-features.html
==============================================================================
--- websites/production/libcloud/content/driver-features.html (original)
+++ websites/production/libcloud/content/driver-features.html Wed Nov  9 01:55:49 2011
@@ -97,7 +97,7 @@
 <h3 id="a_namesizessizesa"><a name="sizes">sizes</a></h3>
 <p>Returns a list of available node sizes. A size represents server configuration (CPU speed, number of cores, amount of RAM, disk size, etc.)</p>
 <h3 id="a_namedeploydeploya"><a name="deploy">deploy</a></h3>
-<p>Allows user to run arbitrary shell script on the node after if has been provisioned.</p>
+<p>Allows user to run arbitrary shell script on the node after it has been provisioned.</p>
       
     </div>
 

Modified: websites/production/libcloud/content/getting-started.html
==============================================================================
--- websites/production/libcloud/content/getting-started.html (original)
+++ websites/production/libcloud/content/getting-started.html Wed Nov  9 01:55:49 2011
@@ -86,6 +86,12 @@
 </pre></div>
 
 
+<h2 id="upgrading">Upgrading</h2>
+<p>If you used pip to install the library you can also use it to upgrade it:</p>
+<div class="codehilite"><pre>pip install --upgrade apache-libcloud
+</pre></div>
+
+
 <h2 id="api_reference_documentation">API Reference Documentation</h2>
 <p>Available at <a href="http://libcloud.apache.org/apidocs/">http://libcloud.apache.org/apidocs/</a>.</p>
 <h2 id="example_connecting_with_a_driver">Example: Connecting with a Driver</h2>

Modified: websites/production/libcloud/content/upgrade-notes-0-6.html
==============================================================================
--- websites/production/libcloud/content/upgrade-notes-0-6.html (original)
+++ websites/production/libcloud/content/upgrade-notes-0-6.html Wed Nov  9 01:55:49 2011
@@ -106,6 +106,17 @@ vulnerable to a man-in-the-middle attack
 </pre></div>
 
 
+<ul>
+<li>OpenNebula driver now defaults to using OpenNebula 3.0 API</li>
+</ul>
+<p>To preserve the old behavior and use OpenNebula 1.4 API, pass
+<code>api_version='1.4'</code> keyword argument to the driver constructor.</p>
+<p>For example:</p>
+<div class="codehilite"><pre><span class="n">Cls</span> <span class="o">=</span> <span class="n">get_provider</span><span class="p">(</span><span class="n">Provider</span><span class="o">.</span><span class="n">OPENNEBULA</span><span class="p">)</span>
+<span class="n">driver</span> <span class="o">=</span> <span class="n">Cls</span><span class="p">(</span><span class="s">&#39;key&#39;</span><span class="p">,</span> <span class="s">&#39;secret&#39;</span><span class="p">,</span> <span class="n">api_version</span><span class="o">=</span><span class="s">&#39;1.4&#39;</span><span class="p">)</span>
+</pre></div>
+
+
 <p>For a whole list of the changes, please refer to the <a href="https://svn.apache.org/viewvc/libcloud/tags/0.6.0-beta1/CHANGES?revision=1186097&amp;view=markup">Changelog</a>.</p>
       
     </div>