deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1236157 - in /deltacloud/trunk/site: content/_credentials.haml content/_drivers.mdown lib/provider_support.rb output/drivers.html output/index.html
Date Thu, 26 Jan 2012 12:24:36 GMT
Author: mfojtik
Date: Thu Jan 26 12:24:36 2012
New Revision: 1236157

URL: http://svn.apache.org/viewvc?rev=1236157&view=rev
Log:
Site: Updated RHEV-M instruction and added OpenStack and vSphere sections

Modified:
    deltacloud/trunk/site/content/_credentials.haml
    deltacloud/trunk/site/content/_drivers.mdown
    deltacloud/trunk/site/lib/provider_support.rb
    deltacloud/trunk/site/output/drivers.html
    deltacloud/trunk/site/output/index.html

Modified: deltacloud/trunk/site/content/_credentials.haml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/content/_credentials.haml?rev=1236157&r1=1236156&r2=1236157&view=diff
==============================================================================
--- deltacloud/trunk/site/content/_credentials.haml (original)
+++ deltacloud/trunk/site/content/_credentials.haml Thu Jan 26 12:24:36 2012
@@ -172,3 +172,19 @@ filter:
     %td
       Password
     %td
+  %tr
+    %td
+      %strong VMware vSphere
+    %td
+      %tt vsphere
+    %td vSphere user
+    %td vSphere user password
+    %td Set environment variable API_PROVIDER to the hostname of the vSphere server
+  %tr
+    %td
+      %strong OpenStack
+    %td
+      %tt openstack
+    %td OpenStack user
+    %td OpenStack user password
+    %td Set environment variable API_PROVIDER to the URL of OpenStack API entrypoint

Modified: deltacloud/trunk/site/content/_drivers.mdown
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/content/_drivers.mdown?rev=1236157&r1=1236156&r2=1236157&view=diff
==============================================================================
--- deltacloud/trunk/site/content/_drivers.mdown (original)
+++ deltacloud/trunk/site/content/_drivers.mdown Thu Jan 26 12:24:36 2012
@@ -82,16 +82,53 @@ that installation by passing the request
 
 ### RHEV-M Driver
 
-The RHEV-M driver needs to be installed on a Windows machine which has the
-RHEV-M Powershell API installed and configured. Assuming the directory
-structure above is followed, you should copy the file
-deltacloud/deltacloud-driver-rhevm/config/rhevm_config.yaml.EXAMPLE to be
-rhevm_config.yaml and edit the file woith the domain you are logging into.
-The username and pasword is provided via the API.
-
-The actual RHEVM instance you are connecting to is controlled by
-the RHEVM.dll.config file which is referenced from the profile.ps1
-file located in My Documents/WindowsPowershell directory
+The RHEV-M driver supports latest release of <a href="http://www.redhat.com/virtualization/rhev/server/"
+target="_blank">Red Hat Enterprise Virtualization Manager</a> (3.0 currently).
+In order to make the driver work with this provider, you need to set an/the
+API_PROVIDER environment variable or use the 'X-Deltacloud-Provider' request
+header to the URL of the RHEV-M REST API entry point. The usual URL looks like:
+
+    API_PROVIDER="https://rhevm.hostname.com:8443/rhevm-api;645e425e-66fe-4ac9-8874-537bd10ef08d"

+
+Note: To make sure that you have right credentials, you can try to access 
+<a href="">https://rhevm.hostname.com:8443/rhevm-api</a> in your browser.
+If you're able to authenticate within the browser, then the crendentials you used
+are valid Deltacloud credentials.
+
+Note: In order to make RHEV-M driver work properly, you need to set the RHEV-M
+<a href="http://markmc.fedorapeople.org/rhevm-api/en-US/html-single/index.html#chap-REST_API_Guide-Data_Centers"
+target="_blank">Data Center</a> UUID you want to speak with in API_PROVIDER url
(see the example
+above). To obtain a list of all Data Centers you can choose from, start Deltacloud API without
+specifying a datacenter in the API_PROVIDER URL and do this request:
+
+    GET /api/drivers/rhevm?format=xml
+
+The list of possible datacenters will appear in the 'providers' section.
+
+------------------------------------------------
+
+### VMware vSphere Driver
+
+For details on how to make the VMware vSphere driver work with Deltacloud API,
+please refer to <a href="https://www.aeolusproject.org/redmine/projects/aeolus/wiki/VSphere_Setup"
+target="_blank">vSphere Setup</a> in Aeolus project wiki.
+
+In order to connect to vSphere, you need to set the API_PROVIDER environment
+variable or use the 'X-Deltacloud-Provider' HTTP header in the request to the vSphere
+host you want to use. Example:
+
+    API_PROVIDER="vsphere.hostname.com"
+
+The username and password in 401 challenge should be (your???) the same as in vSphere Control
+Center in the vSphere box(clen nechat, ak sa boxom mysli nejaky checkbox, a nepatri to k
nazvu).
+
+------------------------------------------------
+
+### OpenStack Driver
+
+To connect to OpenStack API, you will need to set the API_provider environment
+variable or the 'X-Deltacloud-Provider' HTTP header to a valid OpenStack API
+entrypoint. 
 
 ------------------------------------------------
 

Modified: deltacloud/trunk/site/lib/provider_support.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/lib/provider_support.rb?rev=1236157&r1=1236156&r2=1236157&view=diff
==============================================================================
--- deltacloud/trunk/site/lib/provider_support.rb (original)
+++ deltacloud/trunk/site/lib/provider_support.rb Thu Jan 26 12:24:36 2012
@@ -19,8 +19,10 @@ module ProviderSupportHelper
         :list => { :hardware_profiles => true, :realms => true, :images => true,
:instances => true} },
       {:name => "Terremark", :driver => true, :instance => { :create => true,
:start => true, :stop => true, :reboot => true, :destroy => true },
         :list => { :hardware_profiles => true, :realms => true, :images => true,
:instances => true} },
-      {:name => "vSphere", :driver => false, :instance => { :create => true,
:start => true, :stop => true, :reboot => true, :destroy => true },
+      {:name => "vSphere", :driver => true, :instance => { :create => true, :start
=> true, :stop => true, :reboot => true, :destroy => true },
         :list => { :hardware_profiles => true, :realms => true, :images => true,
:instances => true} },
+      {:name => "OpenStack", :driver => true, :instance => { :create => true,
:start => true, :stop => true, :reboot => true, :destroy => true },
+        :list => { :hardware_profiles => true, :realms => true, :images => true,
:instances => true} }
     ]
   end
 
@@ -42,8 +44,9 @@ module ProviderSupportHelper
        :container => { :create => true, :update => true },
        :blob => { :create => true, :update => true, :rw => true,
          :rw_attr => true } },
-     { :name => "Google Storage", :driver => false,
-       :container => { }, :blob => { } },
+     { :name => "Google Storage", :driver => true,
+      :blob => { :create => true, :update => true, :rw => true,
+                :rw_attr => true } },
     ]
   end
 

Modified: deltacloud/trunk/site/output/drivers.html
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/output/drivers.html?rev=1236157&r1=1236156&r2=1236157&view=diff
==============================================================================
--- deltacloud/trunk/site/output/drivers.html (original)
+++ deltacloud/trunk/site/output/drivers.html Thu Jan 26 12:24:36 2012
@@ -99,16 +99,22 @@
         <a href="#h3_3">RHEV-M Driver</a>
         </li>
         <li>
-        <a href="#h3_4">Rackspace Driver</a>
+        <a href="#h3_4">VMware vSphere Driver</a>
         </li>
         <li>
-        <a href="#h3_5">RimuHosting</a>
+        <a href="#h3_5">OpenStack Driver</a>
         </li>
         <li>
-        <a href="#h3_6">OpenNebula</a>
+        <a href="#h3_6">Rackspace Driver</a>
         </li>
         <li>
-        <a href="#h3_7">IBM Smartcloud Driver</a>
+        <a href="#h3_7">RimuHosting</a>
+        </li>
+        <li>
+        <a href="#h3_8">OpenNebula</a>
+        </li>
+        <li>
+        <a href="#h3_9">IBM Smartcloud Driver</a>
         </li>
         </ul></li></ul>
         <!-- = rest -->
@@ -331,7 +337,20 @@
           <tr>
             <td class='provider'>
               vSphere
-              <span>coming soon</span>
+            </td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+            <td class="supported">yes</td>
+          </tr>
+          <tr>
+            <td class='provider'>
+              OpenStack
             </td>
             <td class="supported">yes</td>
             <td class="supported">yes</td>
@@ -673,6 +692,28 @@
             </td>
             <td></td>
           </tr>
+          <tr>
+            <td>
+              <strong>VMware vSphere</strong>
+            </td>
+            <td>
+              <tt>vsphere</tt>
+            </td>
+            <td>vSphere user</td>
+            <td>vSphere user password</td>
+            <td>Set environment variable API_PROVIDER to the hostname of the vSphere
server</td>
+          </tr>
+          <tr>
+            <td>
+              <strong>OpenStack</strong>
+            </td>
+            <td>
+              <tt>openstack</tt>
+            </td>
+            <td>OpenStack user</td>
+            <td>OpenStack user password</td>
+            <td>Set environment variable API_PROVIDER to the URL of OpenStack API entrypoint</td>
+          </tr>
         </table>
         
         
@@ -711,20 +752,54 @@
         
         <h3 id="h3_3">RHEV-M Driver</h3>
         
-        <p>The RHEV-M driver needs to be installed on a Windows machine which has the
-        RHEV-M Powershell API installed and configured. Assuming the directory
-        structure above is followed, you should copy the file
-        deltacloud/deltacloud-driver-rhevm/config/rhevm_config.yaml.EXAMPLE to be
-        rhevm_config.yaml and edit the file woith the domain you are logging into.
-        The username and pasword is provided via the API.</p>
+        <p>The RHEV-M driver supports latest release of <a href="http://www.redhat.com/virtualization/rhev/server/"
target="_blank">Red Hat Enterprise Virtualization Manager</a> (3.0 currently).
+        In order to make the driver work with this provider, you need to set an/the
+        API_PROVIDER environment variable or use the 'X-Deltacloud-Provider' request
+        header to the URL of the RHEV-M REST API entry point. The usual URL looks like:</p>
+        
+        <pre><code>API_PROVIDER="https://rhevm.hostname.com:8443/rhevm-api;645e425e-66fe-4ac9-8874-537bd10ef08d"
&#x000A;</code></pre>
+        
+        <p>Note: To make sure that you have right credentials, you can try to access
+        <a href="">https://rhevm.hostname.com:8443/rhevm-api</a> in your browser.
+        If you're able to authenticate within the browser, then the crendentials you used
+        are valid Deltacloud credentials.</p>
+        
+        <p>Note: In order to make RHEV-M driver work properly, you need to set the
RHEV-M
+        <a href="http://markmc.fedorapeople.org/rhevm-api/en-US/html-single/index.html#chap-REST_API_Guide-Data_Centers"
target="_blank">Data Center</a> UUID you want to speak with in API_PROVIDER url (see
the example
+        above). To obtain a list of all Data Centers you can choose from, start Deltacloud
API without
+        specifying a datacenter in the API_PROVIDER URL and do this request:</p>
+        
+        <pre><code>GET /api/drivers/rhevm?format=xml&#x000A;</code></pre>
+        
+        <p>The list of possible datacenters will appear in the 'providers' section.</p>
+        
+        <hr />
+        
+        <h3 id="h3_4">VMware vSphere Driver</h3>
+        
+        <p>For details on how to make the VMware vSphere driver work with Deltacloud
API,
+        please refer to <a href="https://www.aeolusproject.org/redmine/projects/aeolus/wiki/VSphere_Setup"
target="_blank">vSphere Setup</a> in Aeolus project wiki.</p>
+        
+        <p>In order to connect to vSphere, you need to set the API_PROVIDER environment
+        variable or use the 'X-Deltacloud-Provider' HTTP header in the request to the vSphere
+        host you want to use. Example:</p>
+        
+        <pre><code>API_PROVIDER="vsphere.hostname.com"&#x000A;</code></pre>
+        
+        <p>The username and password in 401 challenge should be (your???) the same
as in vSphere Control
+        Center in the vSphere box(clen nechat, ak sa boxom mysli nejaky checkbox, a nepatri
to k nazvu).</p>
+        
+        <hr />
+        
+        <h3 id="h3_5">OpenStack Driver</h3>
         
-        <p>The actual RHEVM instance you are connecting to is controlled by
-        the RHEVM.dll.config file which is referenced from the profile.ps1
-        file located in My Documents/WindowsPowershell directory</p>
+        <p>To connect to OpenStack API, you will need to set the API_provider environment
+        variable or the 'X-Deltacloud-Provider' HTTP header to a valid OpenStack API
+        entrypoint.</p>
         
         <hr />
         
-        <h3 id="h3_4">Rackspace Driver</h3>
+        <h3 id="h3_6">Rackspace Driver</h3>
         
         <p>When using the Rackspace-cloud driver (Rackspace cloud used to be called
         "Mosso") - the password in a HTTP 401 challenge should be your API key, NOT
@@ -733,13 +808,13 @@
         
         <hr />
         
-        <h3 id="h3_5">RimuHosting</h3>
+        <h3 id="h3_7">RimuHosting</h3>
         
         <p>Further details coming soon.</p>
         
         <hr />
         
-        <h3 id="h3_6">OpenNebula</h3>
+        <h3 id="h3_8">OpenNebula</h3>
         
         <p>When using the <a href="http://www.opennebula.org/">OpenNebula</a>
driver, the
         credentials passed in response to the HTTP 401 authentication challenge
@@ -750,7 +825,7 @@
         
         <hr />
         
-        <h3 id="h3_7">IBM Smartcloud Driver</h3>
+        <h3 id="h3_9">IBM Smartcloud Driver</h3>
         
         <p>When using the IBM SmartCloud driver, the credentials passed in response
to
         the HTTP 401 authentication challenge should be your IBM SmartCloud

Modified: deltacloud/trunk/site/output/index.html
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/output/index.html?rev=1236157&r1=1236156&r2=1236157&view=diff
==============================================================================
--- deltacloud/trunk/site/output/index.html (original)
+++ deltacloud/trunk/site/output/index.html Thu Jan 26 12:24:36 2012
@@ -299,7 +299,20 @@
               <tr>
                 <td class='provider'>
                   vSphere
-                  <span>coming soon</span>
+                </td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+                <td class="supported">yes</td>
+              </tr>
+              <tr>
+                <td class='provider'>
+                  OpenStack
                 </td>
                 <td class="supported">yes</td>
                 <td class="supported">yes</td>



Mime
View raw message