libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject svn commit: r1825756 - /libcloud/site/trunk/generated/index.html
Date Sat, 03 Mar 2018 06:53:04 GMT
Author: anthonyshaw
Date: Sat Mar  3 06:53:04 2018
New Revision: 1825756

URL: http://svn.apache.org/viewvc?rev=1825756&view=rev
Log:
update releases

Modified:
    libcloud/site/trunk/generated/index.html

Modified: libcloud/site/trunk/generated/index.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/generated/index.html?rev=1825756&r1=1825755&r2=1825756&view=diff
==============================================================================
--- libcloud/site/trunk/generated/index.html (original)
+++ libcloud/site/trunk/generated/index.html Sat Mar  3 06:53:04 2018
@@ -53,7 +53,7 @@
 
     
 
-    <link href='/assets/global-57b0092d353d0369071e1021782bb38d.css' rel='stylesheet'
type='text/css' />
+    <link href='/assets/global-57b0092d353d0369071e1021782bb38d.css' rel='stylesheet'
type='text/css' />
 
   </head>
 
@@ -169,7 +169,7 @@
     <div class="row section row-2">
       <div class="col-md-6">
         <h3>Installation</h3>
-        <p>Latest stable version: <a href="https://pypi.python.org/pypi/apache-libcloud/2.2.1"
target="_blank">2.2.1</a></p>
+        <p>Latest stable version: <a href="https://pypi.python.org/pypi/apache-libcloud/2.3.0"
target="_blank">2.3.0</a></p>
         <p><code>pip install apache-libcloud</code></p>
         <p>Or <a href="downloads.html">download it from our servers</a>
and install it manually.</p>
       </div>
@@ -188,7 +188,7 @@
           <a href="https://libcloud.readthedocs.org/en/latest/dns/index.html">DNS</a>,
           <a href="https://libcloud.readthedocs.org/en/latest/container/index.html">Container</a>,
           <a href="https://libcloud.readthedocs.org/en/latest/backup/index.html">Backup</a></li>
-          <li>Supports <a href="/about.html#supported-python-versions">Python
2.5, Python 2.6, Python 2.7, PyPy
+          <li>Supports <a href="/about.html#supported-python-versions"> Python
2.7, PyPy, 
             and Python 3</a></li>
         </ul>
       </div>
@@ -198,20 +198,20 @@
     <div class="row section row-3">
       <div class="col-md-6 example" data-example="compute-1">
         <h3>Compute Example - Create a node</h3>
-        <div class="highlight"><pre><code class="python"><span id="line-1"><span
class="kn">from</span> <span class="nn">libcloud.compute.types</span>
<span class="kn">import</span> <span class="n">Provider</span>
-</span><span id="line-2"><span class="kn">from</span> <span class="nn">libcloud.compute.providers</span>
<span class="kn">import</span> <span class="n">get_driver</span>
-</span><span id="line-3">
-</span><span id="line-4"><span class="n">cls</span> <span class="o">=</span>
<span class="n">get_driver</span><span class="p">(</span><span
class="n">Provider</span><span class="o">.</span><span class="n">RACKSPACE</span><span
class="p">)</span>
-</span><span id="line-5"><span class="n">driver</span> <span class="o">=</span>
<span class="n">cls</span><span class="p">(</span><span class="s">&#39;username&#39;</span><span
class="p">,</span> <span class="s">&#39;api key&#39;</span><span
class="p">,</span> <span class="n">region</span><span class="o">=</span><span
class="s">&#39;iad&#39;</span><span class="p">)</span>
-</span><span id="line-6">
-</span><span id="line-7"><span class="n">sizes</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">list_sizes</span><span
class="p">()</span>
-</span><span id="line-8"><span class="n">images</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">list_images</span><span
class="p">()</span>
-</span><span id="line-9">
-</span><span id="line-10"><span class="n">size</span> <span class="o">=</span>
<span class="p">[</span><span class="n">s</span> <span class="k">for</span>
<span class="n">s</span> <span class="ow">in</span> <span class="n">sizes</span>
<span class="k">if</span> <span class="n">s</span><span class="o">.</span><span
class="n">id</span> <span class="o">==</span> <span class="s">&#39;performance1-1&#39;</span><span
class="p">][</span><span class="mi">0</span><span class="p">]</span>
-</span><span id="line-11"><span class="n">image</span> <span class="o">=</span>
<span class="p">[</span><span class="n">i</span> <span class="k">for</span>
<span class="n">i</span> <span class="ow">in</span> <span class="n">images</span>
<span class="k">if</span> <span class="s">&#39;Ubuntu 12.04&#39;</span>
<span class="ow">in</span> <span class="n">i</span><span class="o">.</span><span
class="n">name</span><span class="p">][</span><span class="mi">0</span><span
class="p">]</span>
-</span><span id="line-12">
-</span><span id="line-13"><span class="n">node</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">create_node</span><span
class="p">(</span><span class="n">name</span><span class="o">=</span><span
class="s">&#39;libcloud&#39;</span><span class="p">,</span> <span
class="n">size</span><span class="o">=</span><span class="n">size</span><span
class="p">,</span> <span class="n">image</span><span class="o">=</span><span
class="n">image</span><span class="p">)</span>
-</span><span id="line-14"><span class="k">print</span><span class="p">(</span><span
class="n">node</span><span class="p">)</span>
+        <div class="highlight"><pre><code class="python"><span id="line-1"><span
class="kn">from</span> <span class="nn">libcloud.compute.types</span>
<span class="kn">import</span> <span class="n">Provider</span>
+</span><span id="line-2"><span class="kn">from</span> <span class="nn">libcloud.compute.providers</span>
<span class="kn">import</span> <span class="n">get_driver</span>
+</span><span id="line-3">
+</span><span id="line-4"><span class="n">cls</span> <span class="o">=</span>
<span class="n">get_driver</span><span class="p">(</span><span
class="n">Provider</span><span class="o">.</span><span class="n">RACKSPACE</span><span
class="p">)</span>
+</span><span id="line-5"><span class="n">driver</span> <span class="o">=</span>
<span class="n">cls</span><span class="p">(</span><span class="s">&#39;username&#39;</span><span
class="p">,</span> <span class="s">&#39;api key&#39;</span><span
class="p">,</span> <span class="n">region</span><span class="o">=</span><span
class="s">&#39;iad&#39;</span><span class="p">)</span>
+</span><span id="line-6">
+</span><span id="line-7"><span class="n">sizes</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">list_sizes</span><span
class="p">()</span>
+</span><span id="line-8"><span class="n">images</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">list_images</span><span
class="p">()</span>
+</span><span id="line-9">
+</span><span id="line-10"><span class="n">size</span> <span class="o">=</span>
<span class="p">[</span><span class="n">s</span> <span class="k">for</span>
<span class="n">s</span> <span class="ow">in</span> <span class="n">sizes</span>
<span class="k">if</span> <span class="n">s</span><span class="o">.</span><span
class="n">id</span> <span class="o">==</span> <span class="s">&#39;performance1-1&#39;</span><span
class="p">][</span><span class="mi">0</span><span class="p">]</span>
+</span><span id="line-11"><span class="n">image</span> <span class="o">=</span>
<span class="p">[</span><span class="n">i</span> <span class="k">for</span>
<span class="n">i</span> <span class="ow">in</span> <span class="n">images</span>
<span class="k">if</span> <span class="s">&#39;Ubuntu 12.04&#39;</span>
<span class="ow">in</span> <span class="n">i</span><span class="o">.</span><span
class="n">name</span><span class="p">][</span><span class="mi">0</span><span
class="p">]</span>
+</span><span id="line-12">
+</span><span id="line-13"><span class="n">node</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">create_node</span><span
class="p">(</span><span class="n">name</span><span class="o">=</span><span
class="s">&#39;libcloud&#39;</span><span class="p">,</span> <span
class="n">size</span><span class="o">=</span><span class="n">size</span><span
class="p">,</span> <span class="n">image</span><span class="o">=</span><span
class="n">image</span><span class="p">)</span>
+</span><span id="line-14"><span class="k">print</span><span class="p">(</span><span
class="n">node</span><span class="p">)</span>
 </span></code></pre></div>
         <p>For information on what the code does, click or hover over the line.</p>
         <p>For more compute examples, see <a href="https://libcloud.readthedocs.org/en/latest/compute/examples.html">documentation</a>.</p>
@@ -219,17 +219,17 @@
 
       <div class="col-md-6 example" data-example="dns-1">
         <h3>DNS Example - Create a DNS record</h3>
-        <div class="highlight"><pre><code class="python"><span id="line-1"><span
class="kn">from</span> <span class="nn">libcloud.dns.types</span> <span
class="kn">import</span> <span class="n">Provider</span><span class="p">,</span>
<span class="n">RecordType</span>
-</span><span id="line-2"><span class="kn">from</span> <span class="nn">libcloud.dns.providers</span>
<span class="kn">import</span> <span class="n">get_driver</span>
-</span><span id="line-3">
-</span><span id="line-4"><span class="n">cls</span> <span class="o">=</span>
<span class="n">get_driver</span><span class="p">(</span><span
class="n">Provider</span><span class="o">.</span><span class="n">ZERIGO</span><span
class="p">)</span>
-</span><span id="line-5"><span class="n">driver</span> <span class="o">=</span>
<span class="n">cls</span><span class="p">(</span><span class="s">&#39;email&#39;</span><span
class="p">,</span> <span class="s">&#39;api key&#39;</span><span
class="p">)</span>
-</span><span id="line-6">
-</span><span id="line-7"><span class="n">zones</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">list_zones</span><span
class="p">()</span>
-</span><span id="line-8"><span class="n">zone</span> <span class="o">=</span>
<span class="p">[</span><span class="n">zone</span> <span class="k">for</span>
<span class="n">zone</span> <span class="ow">in</span> <span class="n">zones</span>
<span class="k">if</span> <span class="n">zone</span><span class="o">.</span><span
class="n">domain</span> <span class="o">==</span> <span class="s">&#39;mydomain.com&#39;</span><span
class="p">][</span><span class="mi">0</span><span class="p">]</span>
-</span><span id="line-9">
-</span><span id="line-10"><span class="n">record</span> <span
class="o">=</span> <span class="n">zone</span><span class="o">.</span><span
class="n">create_record</span><span class="p">(</span><span class="n">name</span><span
class="o">=</span><span class="s">&#39;www&#39;</span><span
class="p">,</span> <span class="nb">type</span><span class="o">=</span><span
class="n">RecordType</span><span class="o">.</span><span class="n">A</span><span
class="p">,</span> <span class="n">data</span><span class="o">=</span><span
class="s">&#39;127.0.0.1&#39;</span><span class="p">)</span>
-</span><span id="line-11"><span class="k">print</span><span class="p">(</span><span
class="n">record</span><span class="p">)</span>
+        <div class="highlight"><pre><code class="python"><span id="line-1"><span
class="kn">from</span> <span class="nn">libcloud.dns.types</span> <span
class="kn">import</span> <span class="n">Provider</span><span class="p">,</span>
<span class="n">RecordType</span>
+</span><span id="line-2"><span class="kn">from</span> <span class="nn">libcloud.dns.providers</span>
<span class="kn">import</span> <span class="n">get_driver</span>
+</span><span id="line-3">
+</span><span id="line-4"><span class="n">cls</span> <span class="o">=</span>
<span class="n">get_driver</span><span class="p">(</span><span
class="n">Provider</span><span class="o">.</span><span class="n">ZERIGO</span><span
class="p">)</span>
+</span><span id="line-5"><span class="n">driver</span> <span class="o">=</span>
<span class="n">cls</span><span class="p">(</span><span class="s">&#39;email&#39;</span><span
class="p">,</span> <span class="s">&#39;api key&#39;</span><span
class="p">)</span>
+</span><span id="line-6">
+</span><span id="line-7"><span class="n">zones</span> <span class="o">=</span>
<span class="n">driver</span><span class="o">.</span><span class="n">list_zones</span><span
class="p">()</span>
+</span><span id="line-8"><span class="n">zone</span> <span class="o">=</span>
<span class="p">[</span><span class="n">zone</span> <span class="k">for</span>
<span class="n">zone</span> <span class="ow">in</span> <span class="n">zones</span>
<span class="k">if</span> <span class="n">zone</span><span class="o">.</span><span
class="n">domain</span> <span class="o">==</span> <span class="s">&#39;mydomain.com&#39;</span><span
class="p">][</span><span class="mi">0</span><span class="p">]</span>
+</span><span id="line-9">
+</span><span id="line-10"><span class="n">record</span> <span
class="o">=</span> <span class="n">zone</span><span class="o">.</span><span
class="n">create_record</span><span class="p">(</span><span class="n">name</span><span
class="o">=</span><span class="s">&#39;www&#39;</span><span
class="p">,</span> <span class="nb">type</span><span class="o">=</span><span
class="n">RecordType</span><span class="o">.</span><span class="n">A</span><span
class="p">,</span> <span class="n">data</span><span class="o">=</span><span
class="s">&#39;127.0.0.1&#39;</span><span class="p">)</span>
+</span><span id="line-11"><span class="k">print</span><span class="p">(</span><span
class="n">record</span><span class="p">)</span>
 </span></code></pre></div>
       <p>For information on what the code does, click or hover over the line.</p>
       <p>For more DNS examples, see <a href="https://libcloud.readthedocs.org/en/latest/dns/examples.html">documentation</a>.</p>
@@ -317,18 +317,18 @@
       <footer>
         <div class="row">
           <div class="col-lg-12 text-center">
-            <div class="footer-links">
-  <p><a href="http://www.apache.org/licenses/">License</a> | <a
-  href="/security.html">Security</a> | <a
-  href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a> |
-  <a href="http://www.apache.org/foundation/thanks.html">Thanks</a> |
-  <a href="/credits.html">Credits</a> | <a href="/media.html">Media</a>
-</div>
-
-<div class="footer-text">
-  <p class="">Copyright &copy; 2009-2017 <a href="https://www.apache.org/" target="_blank">The
Apache Software Foundation</a></p>
-  <p class="">Apache Libcloud, Libcloud, Apache, the Apache feather, and the Apache
Libcloud project logo are trademarks of the Apache Software Foundation. All other marks mentioned
may be trademarks or registered trademarks of their respective owners.</p>
-</div>
+            <div class="footer-links">
+  <p><a href="http://www.apache.org/licenses/">License</a> | <a
+  href="/security.html">Security</a> | <a
+  href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a> |
+  <a href="http://www.apache.org/foundation/thanks.html">Thanks</a> |
+  <a href="/credits.html">Credits</a> | <a href="/media.html">Media</a>
+</div>
+
+<div class="footer-text">
+  <p class="">Copyright &copy; 2009-2017 <a href="https://www.apache.org/" target="_blank">The
Apache Software Foundation</a></p>
+  <p class="">Apache Libcloud, Libcloud, Apache, the Apache feather, and the Apache
Libcloud project logo are trademarks of the Apache Software Foundation. All other marks mentioned
may be trademarks or registered trademarks of their respective owners.</p>
+</div>
 
           </div>
         </div>
@@ -337,25 +337,25 @@
     </div><!-- /.container -->
 
     <!-- JavaScript -->
-    <script src='/assets/global-14c8e0124e6d563413005cb909342e2a.js' type='text/javascript'></script>
+    <script src='/assets/global-14c8e0124e6d563413005cb909342e2a.js' type='text/javascript'></script>
 
 
     
-      <script src='/assets/index-326436a009a390ecdd6ea59e13a2e1bc.js' type='text/javascript'></script>
+      <script src='/assets/index-326436a009a390ecdd6ea59e13a2e1bc.js' type='text/javascript'></script>
 
     
 
-    <script type="text/javascript">
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', 'UA-23580482-1']);
-  _gaq.push(['_trackPageview']);
-
-  (function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-  })();
-</script>
+    <script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-23580482-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+</script>
 
   </body>
 </html>



Mime
View raw message