You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by ma...@apache.org on 2013/03/07 08:47:38 UTC
svn commit: r1453722 [3/3] - in /deltacloud/trunk/site: content/
layouts/partials/default/ output/ output/cimi-curl/ output/cimi-rest/
Modified: deltacloud/trunk/site/output/supported-providers.html
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/output/supported-providers.html?rev=1453722&r1=1453721&r2=1453722&view=diff
==============================================================================
--- deltacloud/trunk/site/output/supported-providers.html (original)
+++ deltacloud/trunk/site/output/supported-providers.html Thu Mar 7 07:47:37 2013
@@ -44,7 +44,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/about.html">What is Deltacloud?</a></li>
- <li><a href="/supported-providers.html">Supported Providers</a></li>
+ <li><a href="/drivers.html#drivers">Supported Providers</a></li>
</ul>
</li>
<li><a href="/download.html">Download</a></li>
@@ -100,9 +100,8 @@
<h4>Compute Driver Functionality</h4>
<table class="table-bordered table-striped table-condensed">
- <thead>
- <tr>
- <th class="emptycell">Â </th>
+<thead><tr>
+<th class="emptycell">Â </th>
<th>
Create new instances
</th>
@@ -130,11 +129,10 @@
<th>
List all/get details about instances
</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="provider">
+ </tr></thead>
+<tbody>
+<tr>
+<td class="provider">
<strong>Amazon EC2</strong>
</td>
<td>yes</td>
@@ -148,8 +146,8 @@
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Eucalyptus</strong>
</td>
<td>yes</td>
@@ -162,8 +160,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>IBM SmartCloud</strong>
</td>
<td>yes</td>
@@ -176,8 +174,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>GoGrid</strong>
</td>
<td>yes</td>
@@ -190,8 +188,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>OpenNebula</strong>
</td>
<td>yes</td>
@@ -204,8 +202,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Rackspace</strong>
</td>
<td>yes</td>
@@ -218,8 +216,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>RHEV-M</strong>
</td>
<td>yes</td>
@@ -232,8 +230,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>RimuHosting</strong>
</td>
<td>yes</td>
@@ -246,8 +244,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Terremark</strong>
</td>
<td>yes</td>
@@ -260,8 +258,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>vSphere</strong>
</td>
<td>yes</td>
@@ -274,8 +272,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>OpenStack</strong>
</td>
<td>yes</td>
@@ -288,8 +286,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>FGCP</strong>
</td>
<td>yes</td>
@@ -302,8 +300,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Arubacloud</strong>
</td>
<td>yes</td>
@@ -316,14 +314,12 @@
<td>yes</td>
<td>yes</td>
</tr>
- </tbody>
-</table>
-<p><br></p>
+</tbody>
+</table><p><br></p>
<h4>Storage Driver Functionality</h4>
<table class="table-bordered table-striped table-condensed">
- <thead>
- <tr>
- <th class="emptycell">Â </th>
+<thead><tr>
+<th class="emptycell">Â </th>
<th>
Create new buckets
</th>
@@ -342,11 +338,10 @@
<th>
Read/write individual blob attributes
</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="provider">
+ </tr></thead>
+<tbody>
+<tr>
+<td class="provider">
<strong>Amazon S3</strong>
</td>
<td>yes</td>
@@ -356,8 +351,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Eucalyptus Walrus</strong>
</td>
<td>yes</td>
@@ -367,8 +362,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Rackspace CloudFiles</strong>
</td>
<td>yes</td>
@@ -378,8 +373,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Microsoft Azure</strong>
</td>
<td>yes</td>
@@ -389,8 +384,8 @@
<td>yes</td>
<td>yes</td>
</tr>
- <tr>
- <td class="provider">
+<tr>
+<td class="provider">
<strong>Google Storage</strong>
</td>
<td>yes</td>
@@ -400,25 +395,21 @@
<td>yes</td>
<td>yes</td>
</tr>
- </tbody>
-</table>
-
-<p><br></p>
+</tbody>
+</table><p><br></p>
<h4 id="credentials">Cloud provider credentials</h4>
<table class="table-bordered table-striped table-condensed">
- <thead>
- <tr>
- <th>Cloud</th>
+<thead><tr>
+<th>Cloud</th>
<th>Driver</th>
<th>Username</th>
<th>Password</th>
<th>Notes</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td style="text-align:left">
+ </tr></thead>
+<tbody>
+<tr>
+<td style="text-align:left">
<strong>mock</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">mock</span></td>
@@ -426,8 +417,8 @@
<td style="text-align:left"><span style="font-size:x-small">mockpassword</span></td>
<td style="text-align:left">The mock driver doesn't talk to any cloud; it just pretends to be a cloud.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>Amazon EC2/S3</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">ec2</span></td>
@@ -435,8 +426,8 @@
<td style="text-align:left">Secret Access Key</td>
<td style="text-align:left">This information can be found on the <a href="http://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key">Security Credentials</a> page in your AWS account.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>Eucalyptus</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">eucalyptus</span></td>
@@ -444,8 +435,8 @@
<td style="text-align:left">Secret Access Key</td>
<td style="text-align:left"></td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>GoGrid</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">gogrid</span></td>
@@ -453,8 +444,8 @@
<td style="text-align:left">Shared Secret</td>
<td style="text-align:left">Go to <span style="font-size:x-small">My Account > API Keys</span> for <a href="https://my.gogrid.com/gogrid/com.servepath.gogrid.GoGrid/index.html">your account</a> and click on the key you want to use to find the shared secret.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>IBM SmartCloud</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">sbc</span></td>
@@ -462,8 +453,8 @@
<td style="text-align:left">Password</td>
<td style="text-align:left"></td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>Microsoft Azure (Storage Account only)</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">azure</span></td>
@@ -471,8 +462,8 @@
<td style="text-align:left">Primary Access Key</td>
<td style="text-align:left">The Storage Account Name is chosen when you create the service (e.g. name in http://name.blob.core.windows.net/). This and the access key are available from the service control panel.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>OpenNebula</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">opennebula</span></td>
@@ -480,8 +471,8 @@
<td style="text-align:left">OpenNebula password</td>
<td style="text-align:left">Set the environment variable OCCI_URL to the address on which OpenNebula's OCCI server is listening.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>Rackspace Cloud Servers/Cloud Files</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">rackspace</span></td>
@@ -489,8 +480,8 @@
<td style="text-align:left">API Key</td>
<td style="text-align:left">Obtain the key from the <a href="https://manage.rackspacecloud.com/APIAccess.do">API Access</a> page in your control panel.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>RHEV-M</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">rhevm</span></td>
@@ -500,8 +491,8 @@
<td style="text-align:left">RHEV-M password</td>
<td style="text-align:left">Set environment variable API_PROVIDER to the URL of the RHEV-M REST API endpoint. </td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>Rimuhosting</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">rimuhosting</span></td>
@@ -509,8 +500,8 @@
<td style="text-align:left">API Key</td>
<td style="text-align:left"></td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>Terremark</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">terremark</span></td>
@@ -518,8 +509,8 @@
<td style="text-align:left">Password</td>
<td style="text-align:left"></td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>VMware vSphere</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">vsphere</span></td>
@@ -527,8 +518,8 @@
<td style="text-align:left">vSphere user password</td>
<td style="text-align:left">Set environment variable API_PROVIDER to the hostname of the vSphere server.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>OpenStack</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">openstack</span></td>
@@ -536,8 +527,8 @@
<td style="text-align:left">OpenStack user password</td>
<td style="text-align:left">Set environment variable API_PROVIDER to the URL of OpenStack API entrypoint.</td>
</tr>
- <tr>
- <td style="text-align:left">
+<tr>
+<td style="text-align:left">
<strong>Arubacloud</strong>
</td>
<td style="text-align:left"><span style="font-size:x-small">arubacloud</span></td>
@@ -545,10 +536,9 @@
<td style="text-align:left">Password</td>
<td style="text-align:left"></td>
</tr>
- </tbody>
+</tbody>
</table>
-
<footer class="footer">
<p class="pull-right"><span class='icon-circle-arrow-up'> </span><a href="#">Back to top</a></p>
<div class='row'>
Modified: deltacloud/trunk/site/output/usage.html
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/output/usage.html?rev=1453722&r1=1453721&r2=1453722&view=diff
==============================================================================
--- deltacloud/trunk/site/output/usage.html (original)
+++ deltacloud/trunk/site/output/usage.html Thu Mar 7 07:47:37 2013
@@ -44,7 +44,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/about.html">What is Deltacloud?</a></li>
- <li><a href="/supported-providers.html">Supported Providers</a></li>
+ <li><a href="/drivers.html#drivers">Supported Providers</a></li>
</ul>
</li>
<li><a href="/download.html">Download</a></li>
@@ -153,10 +153,7 @@ openstack = client.with_config(:driver =
<a class="btn btn-inverse btn-large" style="float: right" href="ruby-client.html">Work with the Ruby client</a>
-<br>
-<br>
-
-<h3>HTTP clients - cURL</h3>
+<br><br><h3>HTTP clients - cURL</h3>
<p>
Basically, you interact with the Deltacloud server via HTTP calls, so you can use any HTTP client to talk to Deltacloud using the <a href="rest-api.html">Deltacloud REST API</a>.
@@ -225,10 +222,7 @@ The <strong>'-iv'</strong> flags will en
<a class="btn btn-inverse btn-large" style="float: right" href="curl-examples.html">Working with cURL</a>
-<br>
-<br>
-
-<h3>Libdeltacloud Client (C library)</h3>
+<br><br><h3>Libdeltacloud Client (C library)</h3>
<p>
Libdeltacloud is a C/C++ library for accessing the Deltacloud API. It exports convenient structures and functions for manipulating cloud objects through the Deltacloud API.
</p>
@@ -250,8 +244,6 @@ Due to the magic of libtool versioning,
<br>
-
-
<footer class="footer">
<p class="pull-right"><span class='icon-circle-arrow-up'> </span><a href="#">Back to top</a></p>
<div class='row'>
Modified: deltacloud/trunk/site/output/use-the-api.html
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/output/use-the-api.html?rev=1453722&r1=1453721&r2=1453722&view=diff
==============================================================================
--- deltacloud/trunk/site/output/use-the-api.html (original)
+++ deltacloud/trunk/site/output/use-the-api.html Thu Mar 7 07:47:37 2013
@@ -44,7 +44,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/about.html">What is Deltacloud?</a></li>
- <li><a href="/supported-providers.html">Supported Providers</a></li>
+ <li><a href="/drivers.html#drivers">Supported Providers</a></li>
</ul>
</li>
<li><a href="/download.html">Download</a></li>
@@ -97,7 +97,6 @@
-
<footer class="footer">
<p class="pull-right"><span class='icon-circle-arrow-up'> </span><a href="#">Back to top</a></p>
<div class='row'>
Modified: deltacloud/trunk/site/output/write-new-driver.html
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/output/write-new-driver.html?rev=1453722&r1=1453721&r2=1453722&view=diff
==============================================================================
--- deltacloud/trunk/site/output/write-new-driver.html (original)
+++ deltacloud/trunk/site/output/write-new-driver.html Thu Mar 7 07:47:37 2013
@@ -44,7 +44,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/about.html">What is Deltacloud?</a></li>
- <li><a href="/supported-providers.html">Supported Providers</a></li>
+ <li><a href="/drivers.html#drivers">Supported Providers</a></li>
</ul>
</li>
<li><a href="/download.html">Download</a></li>
@@ -98,19 +98,16 @@
<p><br></p>
<ul class="breadcrumb">
- <li>
+<li>
<a href="how-to-contribute.html#how">How to contribute?</a> <span class="divider">/</span>
</li>
<li class="active">Write a provider driver</li>
-</ul>
-
-<h3 id="driver">Write a provider driver</h3>
+</ul><h3 id="driver">Write a provider driver</h3>
<p>The deltacloud drivers are stored in <strong>deltacloud/server/lib/deltacloud/drivers</strong>.</p>
<ol>
-
- <li>
+<li>
<p>
To add a driver for a hypotetical <strong>Foo</strong> cloud, add a directory into /drivers/ and then add a file for a driver itself:
@@ -149,9 +146,7 @@ end
</p>
</li>
-</ol>
-
-<p>Thus, your driver for the cloud provider Foo may look like:</p>
+</ol><p>Thus, your driver for the cloud provider Foo may look like:</p>
<pre>
require 'deltacloud/base_driver'
@@ -218,30 +213,26 @@ The voodoo used here (i.e. definition of
<p>Valid states are:</p>
<ul>
- <li><strong>:begin</strong></li>
+<li><strong>:begin</strong></li>
<li><strong>:pending</strong></li>
<li><strong>:running</strong></li>
<li><strong>:shutting_down</strong></li>
<li><strong>:stopped</strong></li>
<li><strong>:end</strong></li>
-</ul>
-
-<p>The instance is located in the<strong>:begin</strong> state before being created. Immediately after being destroyed the instance is removed to the <strong>:end</strong> state.</p>
+</ul><p>The instance is located in the<strong>:begin</strong> state before being created. Immediately after being destroyed the instance is removed to the <strong>:end</strong> state.</p>
<p>Valid transition actions are:</p>
<ul>
- <li><strong>:stop</strong></li>
+<li><strong>:stop</strong></li>
<li><strong>:start</strong></li>
<li><strong>:reboot</strong></li>
-</ul>
-
-<p>The action <strong>:automatically</strong> may be used to indicate a tranisition that may occur without an action being triggered (see the example above).</p>
+</ul><p>The action <strong>:automatically</strong> may be used to indicate a tranisition that may occur without an action being triggered (see the example above).</p>
<p>You can implement some other methods according to the collections you will be supporting:</p>
<ul>
- <li><strong>hardware_profiles(credentials, opts=nil)</strong></li>
+<li><strong>hardware_profiles(credentials, opts=nil)</strong></li>
<li><strong>images(credentials, opts=nil)</strong></li>
<li><strong>realms(credentials, opts=nil)</strong></li>
<li><strong>instances(credentials, opts=nil)</strong></li>
@@ -249,9 +240,7 @@ The voodoo used here (i.e. definition of
<li><strong>reboot_instance(credentials, id)</strong></li>
<li><strong>stop_instance(credentials, id)</strong></li>
<li><strong>destroy_instance(credentials, id)</strong></li>
-</ul>
-
-<p>
+</ul><p>
The <strong>hardware_profiles(...)</strong> method should return an array of HardwareProfile objects. The <strong>opts</strong> hash, if present, must be inspected for <strong>:id</strong> and <strong>:architecture</strong> keys. If these keys are available, the results should be filtered by the value associated with each key. The <strong>filter_on(...)</strong> helper method is used for the filtering and as you can see from existing driver method definitions, is invoked in many of the driver collection methods:
</p>
@@ -336,7 +325,6 @@ $ cucumber ../tests/ec2
</div>
</div>
-
<footer class="footer">
<p class="pull-right"><span class='icon-circle-arrow-up'> </span><a href="#">Back to top</a></p>
<div class='row'>