deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martha.c.ch...@gmail.com
Subject [PATCH 8/8] Site (CIMI cURL examples) - fixed typos in working with volume templates
Date Wed, 20 Mar 2013 10:12:30 GMT
From: NjeriChelimo <martha.c.chumo@gmail.com>

---
 site/output/cimi-curl/cimi-curl-volumes.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/output/cimi-curl/cimi-curl-volumes.html b/site/output/cimi-curl/cimi-curl-volumes.html
index 8fc2482..d70e5d5 100644
--- a/site/output/cimi-curl/cimi-curl-volumes.html
+++ b/site/output/cimi-curl/cimi-curl-volumes.html
@@ -250,7 +250,7 @@
 
     <p>Create a Volume Template with XML body:</p>
 
-    <pre>curl --user "mockuser:mockpassword" -H "Content-Type: application/xml" -H
"Accept: application/xml" -X POST -d '&lt;VolumeTemplate xmlns="http://schemas.dmtf.org/cimi/1"&gt;
&lt;name&gt; marios_vol_template &lt;/name&gt; &lt;description&gt;
my first volume template &lt;/description&gt; &lt;volumeConfig href="http://localhost:3001/cimi/volume_configurations/1"&gt;
&lt;/volumeConfig&gt; &lt;volumeImage href="http://localhost:3001/cimi/volume_images/snap1"&gt;
&lt;/volumeImage&gt; &lt;/VolumeTemplate&gt;' http://localhost:3001/cimi/volume_templates</pre>
+    <pre>curl -v --user "mockuser:mockpassword" -H "Content-Type: application/xml"
-H "Accept: application/xml" -X POST -d '&lt;VolumeTemplate xmlns="http://schemas.dmtf.org/cimi/1"&gt;
&lt;name&gt; marios_vol_template &lt;/name&gt; &lt;description&gt;
my first volume template &lt;/description&gt; &lt;volumeConfig href="http://localhost:3001/cimi/volume_configurations/1"&gt;
&lt;/volumeConfig&gt; &lt;volumeImage href="http://localhost:3001/cimi/volume_images/snap1"&gt;
&lt;/volumeImage&gt; &lt;/VolumeTemplate&gt;' http://localhost:3001/cimi/volume_templates</pre>
 
     <p>Create a Volume Template with JSON body:</p>
 
-- 
1.7.9.5


Mime
View raw message