deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martha.c.ch...@gmail.com
Subject [PATCH 1/8] Edited site - CIMI cURL examles for creating a volumeImage. Added :bootable. It's required to create volumeImage.
Date Wed, 20 Mar 2013 10:12:23 GMT
From: NjeriChelimo <martha.c.chumo@gmail.com>

---
 site/content/cimi-curl/cimi-curl-volumes.md  |    4 +--
 site/output/cimi-curl/cimi-curl-volumes.html |    4 +--
 site/output/contact.html                     |   48 ++++++++------------------
 3 files changed, 19 insertions(+), 37 deletions(-)

diff --git a/site/content/cimi-curl/cimi-curl-volumes.md b/site/content/cimi-curl/cimi-curl-volumes.md
index 8692d60..a2c67ea 100644
--- a/site/content/cimi-curl/cimi-curl-volumes.md
+++ b/site/content/cimi-curl/cimi-curl-volumes.md
@@ -98,12 +98,12 @@ title: CIMI cURL Examples - Volume Resources
 
     <p>Create a Volume Image from an existing Volume, XML body:</p>
 
-    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/xml"
-H "Accept: application/xml" -X POST -d '&lt;VolumeImage xmlns="http://schemas.dmtf.org/cimi/1"&gt;&lt;name&gt;
my_vol_image &lt;/name&gt;&lt;description&gt; marios first volume image &lt;/description&gt;&lt;imageLocation
href="http://localhost:3001/cimi/volumes/vol1"/&gt;&lt;/VolumeImage&gt;' http://localhost:3001/cimi/volume_images
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/xml"
-H "Accept: application/xml" -X POST -d '&lt;VolumeImage xmlns="http://schemas.dmtf.org/cimi/1"&gt;&lt;name&gt;
my_vol_image &lt;/name&gt;&lt;description&gt; marios first volume image &lt;/description&gt;&lt;bootable&gt;
True &lt;/bootable&gt;&lt;imageLocation href="http://localhost:3001/cimi/volumes/vol1"/&gt;&lt;/VolumeImage&gt;'
http://localhost:3001/cimi/volume_images
     </pre>
 
     <p>Create a Volume Image from an existing Volume, JSON body:</p>
 
-    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/json"
-H "Accept: application/xml" -X POST -d  '{ "resourceURI": "http://schemas.dmtf.org/cimi/1/VolumeImage","name":
"some_name", "description": "marios first volume image", "imageLocation": { "href": "http://localhost:3001/cimi/volumes/vol1"}}'
http://localhost:3001/cimi/volume_images</pre>
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/json"
-H "Accept: application/xml" -X POST -d  '{ "resourceURI": "http://schemas.dmtf.org/cimi/1/VolumeImage","name":
"some_name", "description": "marios first volume image", "bootable": true, "imageLocation":
{ "href": "http://localhost:3001/cimi/volumes/vol1"}}' http://localhost:3001/cimi/volume_images</pre>
 
     <p>Delete a Volume Image:</p>
 
diff --git a/site/output/cimi-curl/cimi-curl-volumes.html b/site/output/cimi-curl/cimi-curl-volumes.html
index aa95be7..b6a6d7d 100644
--- a/site/output/cimi-curl/cimi-curl-volumes.html
+++ b/site/output/cimi-curl/cimi-curl-volumes.html
@@ -190,12 +190,12 @@
 
     <p>Create a Volume Image from an existing Volume, XML body:</p>
 
-    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/xml"
-H "Accept: application/xml" -X POST -d '&lt;VolumeImage xmlns="http://schemas.dmtf.org/cimi/1"&gt;&lt;name&gt;
my_vol_image &lt;/name&gt;&lt;description&gt; marios first volume image &lt;/description&gt;&lt;imageLocation
href="http://localhost:3001/cimi/volumes/vol1"/&gt;&lt;/VolumeImage&gt;' http://localhost:3001/cimi/volume_images
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/xml"
-H "Accept: application/xml" -X POST -d '&lt;VolumeImage xmlns="http://schemas.dmtf.org/cimi/1"&gt;&lt;name&gt;
my_vol_image &lt;/name&gt;&lt;description&gt; marios first volume image &lt;/description&gt;&lt;bootable&gt;
True &lt;/bootable&gt;&lt;imageLocation href="http://localhost:3001/cimi/volumes/vol1"/&gt;&lt;/VolumeImage&gt;'
http://localhost:3001/cimi/volume_images
     </pre>
 
     <p>Create a Volume Image from an existing Volume, JSON body:</p>
 
-    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/json"
-H "Accept: application/xml" -X POST -d  '{ "resourceURI": "http://schemas.dmtf.org/cimi/1/VolumeImage","name":
"some_name", "description": "marios first volume image", "imageLocation": { "href": "http://localhost:3001/cimi/volumes/vol1"}}'
http://localhost:3001/cimi/volume_images</pre>
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/json"
-H "Accept: application/xml" -X POST -d  '{ "resourceURI": "http://schemas.dmtf.org/cimi/1/VolumeImage","name":
"some_name", "description": "marios first volume image", "bootable": true, "imageLocation":
{ "href": "http://localhost:3001/cimi/volumes/vol1"}}' http://localhost:3001/cimi/volume_images</pre>
 
     <p>Delete a Volume Image:</p>
 
diff --git a/site/output/contact.html b/site/output/contact.html
index c41c18c..f56e3d4 100644
--- a/site/output/contact.html
+++ b/site/output/contact.html
@@ -106,13 +106,9 @@
   </li>
   <li>The <a href="http://webchat.freenode.net/">#deltacloud</a> irc channel
on Freenode is a place where the developers hang out and where you can usually get the fastest
answers to your questions.
   </li>
-</ul>
-
-<p>Please don't hesitate to get in touch if you have any questions about the project,
if you've had any issues with installing or using Deltacloud or even just to tell us how great
you think Deltacloud is!</p>
+</ul><p>Please don't hesitate to get in touch if you have any questions about
the project, if you've had any issues with installing or using Deltacloud or even just to
tell us how great you think Deltacloud is!</p>
 
-<hr>
-
-<h2>Deltacloud Community Calls</h2>
+<hr><h2>Deltacloud Community Calls</h2>
 
 <p>We have weekly community calls that are open to anyone that is interested in Deltacloud
- please contact us if you’d like to join the next call.</p>
 
@@ -122,74 +118,60 @@
 
 <h3>Past Calls:</h3>
 
-<p><br>
-<a href="http://youtu.be/89bu_Rf_t9Y">Deltacloud Community Call #14</a></p>
+<p><br><a href="http://youtu.be/89bu_Rf_t9Y">Deltacloud Community Call
#14</a></p>
 
 <p>Using the Create models in CIMI, Split CIMI models to Model/Service, deltacloud-client
revamp <br>
 Notes@http://openetherpad.org/DeltacloudCall</p>
 
-<p><br>
-<a href="http://youtu.be/74KvoLUOmYw">Deltacloud Community Call #13</a></p>
+<p><br><a href="http://youtu.be/74KvoLUOmYw">Deltacloud Community Call
#13</a></p>
 
 <p>Regions support in the Deltacloud Openstack driver.</p>
 
-<p><br>
-<a href="http://youtu.be/zTCGRDO_3dU">Deltacloud Community Call #12</a></p>
+<p><br><a href="http://youtu.be/zTCGRDO_3dU">Deltacloud Community Call
#12</a></p>
 
 <p>Working with patches revisited - basics of rebasing and how to contribute via patch
review.
 The ‘white box’ unit tests revisited - updating vcr fixtures</p>
 
-<p><br>
-<a href="http://youtu.be/HQ5aPdRSLHo">Deltacloud Community Call #11</a></p>
+<p><br><a href="http://youtu.be/HQ5aPdRSLHo">Deltacloud Community Call
#11</a></p>
 
 <p>An introduction/overview of sinatra-rabbit</p>
 
-<p><br>
-<a href="http://www.youtube.com/watch?v=HzRbBA8BJ-Q">Deltacloud Community Call #10</a></p>
+<p><br><a href="http://www.youtube.com/watch?v=HzRbBA8BJ-Q">Deltacloud
Community Call #10</a></p>
 
 <p>How to use Deltacloud driver “features”</p>
 
-<p><br>
-<a href="http://youtu.be/XWSG2knVvZI">Deltacloud Community Call #9</a></p>
+<p><br><a href="http://youtu.be/XWSG2knVvZI">Deltacloud Community Call
#9</a></p>
 
 <p>Demo of how to use CIMI $select and $expand parameters - Introduction/overview of
a deltacloud driver</p>
 
-<p><br>
-<a href="http://youtu.be/KvN0xEVc_N0">Deltacloud Community Call #8</a></p>
+<p><br><a href="http://youtu.be/KvN0xEVc_N0">Deltacloud Community Call
#8</a></p>
 
 <p>Deep dive into a Deltacloud API call, a look at the Deltacloud server gemspec -
gems used as clients to cloud providers</p>
 
-<p><br>
-<a href="http://www.youtube.com/watch?v=YbAsWrj6UEY">Deltacloud Community Call #7</a></p>
+<p><br><a href="http://www.youtube.com/watch?v=YbAsWrj6UEY">Deltacloud
Community Call #7</a></p>
 
 <p>The Deltacloud website - how it works, how to submit changes etc  -  Deltacloud
exceptions and error handling introduction, how to catch provider errors and raise specific
HTTP response codes.</p>
 
-<p><br>
-<a href="http://www.youtube.com/watch?v=oP__wuCqFxQ">Deltacloud Community Call #5</a></p>
+<p><br><a href="http://www.youtube.com/watch?v=oP__wuCqFxQ">Deltacloud
Community Call #5</a></p>
 
 <p>How to file bug reports for Deltacloud - process, what to report, following up and
CIMI resourceMetadata (implementation, why it is important?) - testing scenarios.</p>
 
-<p><br>
-<a href="http://www.youtube.com/watch?v=TGYTrVRxcGE">Deltacloud Community Call #4</a></p>
+<p><br><a href="http://www.youtube.com/watch?v=TGYTrVRxcGE">Deltacloud
Community Call #4</a></p>
 
 <p>Debugging deltacloud - how to chase a bug - common steps, debugging tools. Mailing
list questions: i) ovirt and the User Level API, ii) Plans for CIMI back-end driver?</p>
 
-<p><br>
-<a href="http://www.youtube.com/watch?v=YOMK8jrhGoo">Deltacloud Community Call #3</a></p>
+<p><br><a href="http://www.youtube.com/watch?v=YOMK8jrhGoo">Deltacloud
Community Call #3</a></p>
 
 <p>Adding state to Deltacloud for the CIMI frontend - Datamapper</p>
 
-<p><br>
-<a href="http://www.youtube.com/watch?v=CMf73mtsIfs">Deltacloud Community Call #2</a></p>
+<p><br><a href="http://www.youtube.com/watch?v=CMf73mtsIfs">Deltacloud
Community Call #2</a></p>
 
 <p>Networking API discussion, Writing Deltacloud API tests</p>
 
-<p><br>
-<a href="http://www.youtube.com/watch?v=cUC96SdQjaE">Deltacloud Community Call #1</a></p>
+<p><br><a href="http://www.youtube.com/watch?v=cUC96SdQjaE">Deltacloud
Community Call #1</a></p>
 
 <p>Working with Deltacloud API clients, Contributing patches, review process, etc</p>
 
-
       <footer class="footer">
         <p class="pull-right"><span class='icon-circle-arrow-up'>&nbsp;</span><a
href="#">Back to top</a></p>
         <div class='row'>
-- 
1.7.9.5


Mime
View raw message