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/11/05 22:57:37 UTC

svn commit: r798170 - /websites/staging/libcloud/trunk/content/docs/

Author: buildbot
Date: Sat Nov  5 21:57:36 2011
New Revision: 798170

Log:
Staging update by buildbot

Added:
    websites/staging/libcloud/trunk/content/docs/dns-base-api.html
    websites/staging/libcloud/trunk/content/docs/dns-examples.html
    websites/staging/libcloud/trunk/content/docs/dns-overview.html
Modified:
    websites/staging/libcloud/trunk/content/docs/components.html
    websites/staging/libcloud/trunk/content/docs/compute-base-api.html
    websites/staging/libcloud/trunk/content/docs/compute-deployment.html
    websites/staging/libcloud/trunk/content/docs/compute-overview.html
    websites/staging/libcloud/trunk/content/docs/debugging.html
    websites/staging/libcloud/trunk/content/docs/index.html
    websites/staging/libcloud/trunk/content/docs/load-balancer-base-api.html
    websites/staging/libcloud/trunk/content/docs/load-balancer-examples.html
    websites/staging/libcloud/trunk/content/docs/load-balancer-overview.html
    websites/staging/libcloud/trunk/content/docs/storage-base-api.html
    websites/staging/libcloud/trunk/content/docs/storage-examples.html
    websites/staging/libcloud/trunk/content/docs/storage-overview.html
    websites/staging/libcloud/trunk/content/docs/using-libcloud-in-multi-threaded-and-async-environments.html
    websites/staging/libcloud/trunk/content/docs/writing-tests-and-using-the-fixture-framework.html

Modified: websites/staging/libcloud/trunk/content/docs/components.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/components.html (original)
+++ websites/staging/libcloud/trunk/content/docs/components.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/compute-base-api.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/compute-base-api.html (original)
+++ websites/staging/libcloud/trunk/content/docs/compute-base-api.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/compute-deployment.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/compute-deployment.html (original)
+++ websites/staging/libcloud/trunk/content/docs/compute-deployment.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/compute-overview.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/compute-overview.html (original)
+++ websites/staging/libcloud/trunk/content/docs/compute-overview.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/debugging.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/debugging.html (original)
+++ websites/staging/libcloud/trunk/content/docs/debugging.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Added: websites/staging/libcloud/trunk/content/docs/dns-base-api.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/dns-base-api.html (added)
+++ websites/staging/libcloud/trunk/content/docs/dns-base-api.html Sat Nov  5 21:57:36 2011
@@ -0,0 +1,197 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+  <title>DNS -&gt; Base API | Apache Libcloud Documentation</title>
+  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
+  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
+  <script src="/js/clearlink.js" type="text/javascript"></script>
+  <script src="/js/libcloud.js" type="text/javascript"></script>
+  <link rel="stylesheet" href="/css/screen.css" type="text/css">
+  <link rel="stylesheet" href="/css/libcloud.css" type="text/css">
+  <link rel="stylesheet" href="/css/documentation.css" type="text/css">
+  <link rel="stylesheet" href="/css/code.css" type="text/css">
+  <link rel="icon" type="image/png" href="/images/favicon.png"/>
+</head>
+<body>
+  <div class="container">
+    <div id="header" class="span-24 last">
+      
+      <h1>Apache Libcloud <span>a unified interface to the cloud</span></h1>
+      
+    </div>
+
+    <div id="banner" class="span-24 last">
+      
+      <h2>Libcloud
+                                             Documentation: DNS -&gt; Base API</h2>
+      
+  </div>
+
+    
+    <div id="sidebar" class="span-6 border">
+      
+<ul id="menu">
+    <li><a href="/index.html">Website home</a></li>
+    <li><a href="/docs/index.html">Documentation home</a></li>
+    <li><a href="/docs/components.html">Components</a></li>
+    <ul>
+        <li class="title">Compute</li>
+        <ul>
+            <li><a href="compute-overview.html">Overview</a></li>
+            <li><a href="compute-base-api.html">Base API</a></li>
+            <li><a href="compute-deployment.html">Deployment</a></li>
+        </ul>
+        <li class="title">Storage</li>
+        <ul>
+            <li><a href="storage-overview.html">Overview</a></li>
+            <li><a href="storage-base-api.html">Base API</a></li>
+            <li><a href="storage-examples.html">Examples</a></li>
+        </ul>
+        <li class="title">Load Balancer</li>
+        <ul>
+            <li><a href="load-balancer-overview.html">Overview</a></li>
+            <li><a href="load-balancer-base-api.html">Base API</a></li>
+            <li><a href="load-balancer-examples.html">Examples</a></li>
+        </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
+    </ul>
+    <li>Development</li>
+    <ul>
+        <li><a href="writing-tests-and-using-the-fixture-framework.html">Writing tests and using the fixture framework</a></li>
+    </ul>
+    <li>Other</li>
+    <ul>
+        <li><a href="debugging.html">Debugging</a></li>
+        <li><a href="using-libcloud-in-multi-threaded-and-async-environments.html">Using Libcloud in multi-threaded and async environments</a></li>
+    </ul>
+    <li><a href="/apidocs">Generated API docs</a></li>
+</ul>
+
+
+
+    </div>
+    
+
+    <div id="main" class="span-16 last">
+      
+      <h2 id="base_api">Base API</h2>
+<ul>
+<li><a href="#list_record_types">list_record_types</a></li>
+<li><a href="#list_zones">list_zones</a></li>
+<li><a href="#list_records">list_records</a></li>
+<li><a href="#get_zone">get_zone</a></li>
+<li><a href="#get_record">get_record</a></li>
+<li><a href="#create_zone">create_zone</a></li>
+<li><a href="#update_zone">update_zone</a></li>
+<li><a href="#create_record">create_record</a></li>
+<li><a href="#update_record">update_record</a></li>
+<li><a href="#delete_zone">delete_zone</a></li>
+<li><a href="#delete_record">delete_record</a></li>
+</ul>
+<h3 id="list_record_types">list_record_types</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#list_record_types">driver.list_record_types()</a><br />
+<strong>Description</strong>: Return a list of record types supported by the provider.</p>
+<h3 id="list_zones">list_zones</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#list_zones">driver.list_zones()</a><br />
+<strong>Description</strong>: Return a list of the Zone objects belonging to your account.</p>
+<h3 id="list_records">list_records</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#list_record">driver.list_records(zone)</a>,
+<a href="/apidocs/current/libcloud.dns.base.Zone.html#list_record">zone.list_records()</a><br />
+<strong>Description</strong>: Return a list of Record objects for the specified zone.</p>
+<h3 id="get_zone">get_zone</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#get_zone">driver.get_zone(zone_id)</a><br />
+<strong>Description</strong>: Return a Zone instance. This method is useful if you know the
+zone id and want to perform operations on it.</p>
+<h3 id="get_record">get_record</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#get_record">driver.get_record(zone_id, record_id)</a><br />
+<strong>Description</strong>: Return a Record instance. This method is useful if you know the
+zone and record id and want to perform operations on the record.</p>
+<h3 id="create_zone">create_zone</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#create_zone">driver.create_zone(domain, type='master', ttl, extra)</a><br />
+<strong>Description</strong>: Create a new zone.</p>
+<p>Some of the providers require extra attributes to be provided when creating a
+zone. Good example of this is a Rackspace Cloud DNS API which requires you to
+specify 'email' key in the otherwise optional <code>extra</code> dictionary.</p>
+<h3 id="update_zone">update_zone</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#update_zone">driver.update_zone(zone, domain, type='master', ttl=None, extra=None)</a>,
+<a href="/apidocs/current/libcloud.dns.base.Zone.html#update">zone.update(domain, type='master', ttl=None, extra=None)</a><br />
+<strong>Description</strong>: Update an existing zone. Which attributes can be updated
+depends on the provider. Most of the providers don't allow you to change the
+actual domain name. If you want to change the domain name, you need to first
+delete a zone, create a new one with the wanted domain name and then re-create
+all the old records.</p>
+<h3 id="create_record">create_record</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#create_record">driver.create_record(name, zone, type, data, extra=None)</a>,
+<a href="/apidocs/current/libcloud.dns.base.Zone.html#create_record">zone.create_record(name, type, data, extra=None)</a><br />
+<strong>Description</strong>: Create a new record. To view a list of supported records by the
+provider you can use the list_record_types method.</p>
+<h3 id="update_record">update_record</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#update_record">driver.update_record(record, name, type, data, extra)</a>,
+<a href="/apidocs/current/libcloud.dns.base.Record.html#update">record.update_record(name, type, data, extra)</a><br />
+<strong>Description</strong>: Update an existing record. Similar to the update_zone which
+attributes can be updated depends on the provider.</p>
+<h3 id="delete_zone">delete_zone</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#delete_zone">driver.delete_zone(zone)</a>,
+<a href="/apidocs/current/libcloud.dns.base.Zone.html#zone">zone.delete()</a><br />
+<strong>Description</strong>: Delete a zone.</p>
+<h3 id="delete_record">delete_rcord</h3>
+
+<p><strong>Method signature</strong>:
+<a href="/apidocs/current/libcloud.dns.base.DNSDriver.html#delete_record">driver.delete_rcord(record)</a>,
+<a href="/apidocs/current/libcloud.dns.base.Record.html#delete">record.delete(record)</a><br />
+<strong>Description</strong>: Delete a record.</p>
+      
+    </div>
+
+    <div id="footer" class="span-24">
+    <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="/sitemap.html">Sitemap</a><br /><br />
+
+Copyright © 2009-2011, <a href="http://apache.org/">The Apache Software Foundation</a><br />
+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.
+
+    </div>
+  </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-23580482-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+
+</body>
+</html>

Added: websites/staging/libcloud/trunk/content/docs/dns-examples.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/dns-examples.html (added)
+++ websites/staging/libcloud/trunk/content/docs/dns-examples.html Sat Nov  5 21:57:36 2011
@@ -0,0 +1,159 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+  <title>DNS -&gt; Examples | Apache Libcloud Documentation</title>
+  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
+  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
+  <script src="/js/clearlink.js" type="text/javascript"></script>
+  <script src="/js/libcloud.js" type="text/javascript"></script>
+  <link rel="stylesheet" href="/css/screen.css" type="text/css">
+  <link rel="stylesheet" href="/css/libcloud.css" type="text/css">
+  <link rel="stylesheet" href="/css/documentation.css" type="text/css">
+  <link rel="stylesheet" href="/css/code.css" type="text/css">
+  <link rel="icon" type="image/png" href="/images/favicon.png"/>
+</head>
+<body>
+  <div class="container">
+    <div id="header" class="span-24 last">
+      
+      <h1>Apache Libcloud <span>a unified interface to the cloud</span></h1>
+      
+    </div>
+
+    <div id="banner" class="span-24 last">
+      
+      <h2>Libcloud
+                                             Documentation: DNS -&gt; Examples</h2>
+      
+  </div>
+
+    
+    <div id="sidebar" class="span-6 border">
+      
+<ul id="menu">
+    <li><a href="/index.html">Website home</a></li>
+    <li><a href="/docs/index.html">Documentation home</a></li>
+    <li><a href="/docs/components.html">Components</a></li>
+    <ul>
+        <li class="title">Compute</li>
+        <ul>
+            <li><a href="compute-overview.html">Overview</a></li>
+            <li><a href="compute-base-api.html">Base API</a></li>
+            <li><a href="compute-deployment.html">Deployment</a></li>
+        </ul>
+        <li class="title">Storage</li>
+        <ul>
+            <li><a href="storage-overview.html">Overview</a></li>
+            <li><a href="storage-base-api.html">Base API</a></li>
+            <li><a href="storage-examples.html">Examples</a></li>
+        </ul>
+        <li class="title">Load Balancer</li>
+        <ul>
+            <li><a href="load-balancer-overview.html">Overview</a></li>
+            <li><a href="load-balancer-base-api.html">Base API</a></li>
+            <li><a href="load-balancer-examples.html">Examples</a></li>
+        </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
+    </ul>
+    <li>Development</li>
+    <ul>
+        <li><a href="writing-tests-and-using-the-fixture-framework.html">Writing tests and using the fixture framework</a></li>
+    </ul>
+    <li>Other</li>
+    <ul>
+        <li><a href="debugging.html">Debugging</a></li>
+        <li><a href="using-libcloud-in-multi-threaded-and-async-environments.html">Using Libcloud in multi-threaded and async environments</a></li>
+    </ul>
+    <li><a href="/apidocs">Generated API docs</a></li>
+</ul>
+
+
+
+    </div>
+    
+
+    <div id="main" class="span-16 last">
+      
+      <h2 id="examples">Examples</h2>
+<ul>
+<li><a href="#create-a-record-for-all-rackspace-nodes">Create an A record for all your Rackspace nodes</a></li>
+</ul>
+<h3 id="create-a-record-for-all-rackspace-nodes">Create an 'A' record for all your nodes</h3>
+
+<p>This example creates a  new "mydomain2.com" zone at Zerigo and an A record for all your
+Rackspace nodes. Value for the A record is the Node's first public IP address.</p>
+<div class="codehilite"><pre><span class="kn">from</span> <span class="nn">pprint</span> <span class="kn">import</span> <span class="n">pprint</span>
+
+<span class="kn">from</span> <span class="nn">libcloud.compute.providers</span> <span class="kn">import</span> <span class="n">get_driver</span> <span class="k">as</span> <span class="n">get_compute_driver</span>
+<span class="kn">from</span> <span class="nn">libcloud.compute.types</span> <span class="kn">import</span> <span class="n">Provider</span> <span class="k">as</span> <span class="n">ComputeProvider</span>
+<span class="kn">from</span> <span class="nn">libcloud.dns.providers</span> <span class="kn">import</span> <span class="n">get_driver</span> <span class="k">as</span> <span class="n">get_dns_driver</span>
+<span class="kn">from</span> <span class="nn">libcloud.dns.types</span> <span class="kn">import</span> <span class="n">Provider</span> <span class="k">as</span> <span class="n">DNSProvider</span><span class="p">,</span> <span class="n">RecordType</span>
+
+<span class="n">CREDENTIALS_RACKSPACE</span> <span class="o">=</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">CREDENTIALS_ZERIGO</span> <span class="o">=</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 class="n">Cls</span> <span class="o">=</span> <span class="n">get_compute_driver</span><span class="p">(</span><span class="n">ComputeProvider</span><span class="o">.</span><span class="n">RACKSPACE</span><span class="p">)</span>
+<span class="n">compute_driver</span> <span class="o">=</span> <span class="n">Cls</span><span class="p">(</span><span class="o">*</span><span class="n">CREDENTIALS_RACKSPACE</span><span class="p">)</span>
+
+<span class="n">Cls</span> <span class="o">=</span> <span class="n">get_dns_driver</span><span class="p">(</span><span class="n">DNSProvider</span><span class="o">.</span><span class="n">ZERIGO</span><span class="p">)</span>
+<span class="n">dns_driver</span> <span class="o">=</span> <span class="n">Cls</span><span class="p">(</span><span class="o">*</span><span class="n">CREDENTIALS_ZERIGO</span><span class="p">)</span>
+
+<span class="c"># Retrieve all the nodes</span>
+<span class="n">nodes</span> <span class="o">=</span> <span class="n">compute_driver</span><span class="o">.</span><span class="n">list_nodes</span><span class="p">()</span>
+
+<span class="c"># Create a new zone</span>
+<span class="n">zone</span> <span class="o">=</span> <span class="n">dns_driver</span><span class="o">.</span><span class="n">create_zone</span><span class="p">(</span><span class="n">domain</span><span class="o">=</span><span class="s">&#39;mydomain2.com&#39;</span><span class="p">)</span>
+
+<span class="n">created</span> <span class="o">=</span> <span class="p">[]</span>
+<span class="k">for</span> <span class="n">node</span> <span class="ow">in</span> <span class="n">nodes</span><span class="p">:</span>
+    <span class="n">name</span> <span class="o">=</span> <span class="n">node</span><span class="o">.</span><span class="n">name</span>
+
+    <span class="n">ips</span> <span class="o">=</span> <span class="n">node</span><span class="o">.</span><span class="n">public_ip</span>
+
+    <span class="k">if</span> <span class="ow">not</span> <span class="n">ips</span><span class="p">:</span>
+        <span class="k">continue</span>
+
+    <span class="n">ip</span> <span class="o">=</span> <span class="n">ips</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span>
+
+    <span class="k">print</span> <span class="s">&#39;Creating </span><span class="si">%s</span><span class="s"> record (data=</span><span class="si">%s</span><span class="s">) for node </span><span class="si">%s</span><span class="s">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="s">&#39;A&#39;</span><span class="p">,</span> <span class="n">ip</span><span class="p">,</span> <span class="n">name</span><span class="p">)</span>
+    <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="n">name</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="n">ip</span><span class="p">)</span>
+    <span class="n">created</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">record</span><span class="p">)</span>
+
+<span class="k">print</span> <span class="s">&#39;Done, created </span><span class="si">%d</span><span class="s"> records&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">created</span><span class="p">))</span>
+<span class="n">pprint</span><span class="p">(</span><span class="n">created</span><span class="p">)</span>
+</pre></div>
+      
+    </div>
+
+    <div id="footer" class="span-24">
+    <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="/sitemap.html">Sitemap</a><br /><br />
+
+Copyright © 2009-2011, <a href="http://apache.org/">The Apache Software Foundation</a><br />
+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.
+
+    </div>
+  </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-23580482-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+
+</body>
+</html>

Added: websites/staging/libcloud/trunk/content/docs/dns-overview.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/dns-overview.html (added)
+++ websites/staging/libcloud/trunk/content/docs/dns-overview.html Sat Nov  5 21:57:36 2011
@@ -0,0 +1,122 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+  <title>DNS -&gt; Overview | Apache Libcloud Documentation</title>
+  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
+  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
+  <script src="/js/clearlink.js" type="text/javascript"></script>
+  <script src="/js/libcloud.js" type="text/javascript"></script>
+  <link rel="stylesheet" href="/css/screen.css" type="text/css">
+  <link rel="stylesheet" href="/css/libcloud.css" type="text/css">
+  <link rel="stylesheet" href="/css/documentation.css" type="text/css">
+  <link rel="stylesheet" href="/css/code.css" type="text/css">
+  <link rel="icon" type="image/png" href="/images/favicon.png"/>
+</head>
+<body>
+  <div class="container">
+    <div id="header" class="span-24 last">
+      
+      <h1>Apache Libcloud <span>a unified interface to the cloud</span></h1>
+      
+    </div>
+
+    <div id="banner" class="span-24 last">
+      
+      <h2>Libcloud
+                                             Documentation: DNS -&gt; Overview</h2>
+      
+  </div>
+
+    
+    <div id="sidebar" class="span-6 border">
+      
+<ul id="menu">
+    <li><a href="/index.html">Website home</a></li>
+    <li><a href="/docs/index.html">Documentation home</a></li>
+    <li><a href="/docs/components.html">Components</a></li>
+    <ul>
+        <li class="title">Compute</li>
+        <ul>
+            <li><a href="compute-overview.html">Overview</a></li>
+            <li><a href="compute-base-api.html">Base API</a></li>
+            <li><a href="compute-deployment.html">Deployment</a></li>
+        </ul>
+        <li class="title">Storage</li>
+        <ul>
+            <li><a href="storage-overview.html">Overview</a></li>
+            <li><a href="storage-base-api.html">Base API</a></li>
+            <li><a href="storage-examples.html">Examples</a></li>
+        </ul>
+        <li class="title">Load Balancer</li>
+        <ul>
+            <li><a href="load-balancer-overview.html">Overview</a></li>
+            <li><a href="load-balancer-base-api.html">Base API</a></li>
+            <li><a href="load-balancer-examples.html">Examples</a></li>
+        </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
+    </ul>
+    <li>Development</li>
+    <ul>
+        <li><a href="writing-tests-and-using-the-fixture-framework.html">Writing tests and using the fixture framework</a></li>
+    </ul>
+    <li>Other</li>
+    <ul>
+        <li><a href="debugging.html">Debugging</a></li>
+        <li><a href="using-libcloud-in-multi-threaded-and-async-environments.html">Using Libcloud in multi-threaded and async environments</a></li>
+    </ul>
+    <li><a href="/apidocs">Generated API docs</a></li>
+</ul>
+
+
+
+    </div>
+    
+
+    <div id="main" class="span-16 last">
+      
+      <h2 id="overview">Overview</h2>
+<p>DNS API allows you to manage DNS as A Service and services such as
+<a href="http://www.zerigo.com/managed-dns">Zerigo DNS</a>, <a href="http://www.rackspace.com/cloud/cloud_hosting_products/dns/">Rackspace Cloud DNS</a> and
+<a href="/supported_providers.html">others</a>.</p>
+<h3 id="terminology">Terminology</h3>
+<ul>
+<li><strong>Zone</strong> - represents a DNS zone or so called domain.</li>
+<li><strong>Record</strong> - represents a DNS record. Each record belongs to a Zone and has a
+record type and data field. Data depends on the record type.</li>
+<li><strong>RecordType</strong> - represents a record type (A, AAAA, MX, TXT, etc.).</li>
+</ul>
+      
+    </div>
+
+    <div id="footer" class="span-24">
+    <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="/sitemap.html">Sitemap</a><br /><br />
+
+Copyright © 2009-2011, <a href="http://apache.org/">The Apache Software Foundation</a><br />
+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.
+
+    </div>
+  </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-23580482-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+
+</body>
+</html>

Modified: websites/staging/libcloud/trunk/content/docs/index.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/index.html (original)
+++ websites/staging/libcloud/trunk/content/docs/index.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/load-balancer-base-api.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/load-balancer-base-api.html (original)
+++ websites/staging/libcloud/trunk/content/docs/load-balancer-base-api.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/load-balancer-examples.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/load-balancer-examples.html (original)
+++ websites/staging/libcloud/trunk/content/docs/load-balancer-examples.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/load-balancer-overview.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/load-balancer-overview.html (original)
+++ websites/staging/libcloud/trunk/content/docs/load-balancer-overview.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/storage-base-api.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/storage-base-api.html (original)
+++ websites/staging/libcloud/trunk/content/docs/storage-base-api.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/storage-examples.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/storage-examples.html (original)
+++ websites/staging/libcloud/trunk/content/docs/storage-examples.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/storage-overview.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/storage-overview.html (original)
+++ websites/staging/libcloud/trunk/content/docs/storage-overview.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/using-libcloud-in-multi-threaded-and-async-environments.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/using-libcloud-in-multi-threaded-and-async-environments.html (original)
+++ websites/staging/libcloud/trunk/content/docs/using-libcloud-in-multi-threaded-and-async-environments.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>

Modified: websites/staging/libcloud/trunk/content/docs/writing-tests-and-using-the-fixture-framework.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/writing-tests-and-using-the-fixture-framework.html (original)
+++ websites/staging/libcloud/trunk/content/docs/writing-tests-and-using-the-fixture-framework.html Sat Nov  5 21:57:36 2011
@@ -54,6 +54,12 @@
             <li><a href="load-balancer-base-api.html">Base API</a></li>
             <li><a href="load-balancer-examples.html">Examples</a></li>
         </ul>
+        <li class="title">DNS (new in 0.6.0)</li>
+        <ul>
+            <li><a href="dns-overview.html">Overview</a></li>
+            <li><a href="dns-base-api.html">Base API</a></li>
+            <li><a href="dns-examples.html">Examples</a></li>
+        </ul>
     </ul>
     <li>Development</li>
     <ul>