deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1439470 - in /deltacloud/trunk/site: content/cimi-curl/cimi-curl-machines.md output/cimi-curl/cimi-curl-machines.html
Date Mon, 28 Jan 2013 16:10:05 GMT
Author: marios
Date: Mon Jan 28 16:10:04 2013
New Revision: 1439470

URL: http://svn.apache.org/viewvc?rev=1439470&view=rev
Log:
SITE - typo - DTACLOUD-435

https://issues.apache.org/jira/browse/DTACLOUD-435

Modified:
    deltacloud/trunk/site/content/cimi-curl/cimi-curl-machines.md
    deltacloud/trunk/site/output/cimi-curl/cimi-curl-machines.html

Modified: deltacloud/trunk/site/content/cimi-curl/cimi-curl-machines.md
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/content/cimi-curl/cimi-curl-machines.md?rev=1439470&r1=1439469&r2=1439470&view=diff
==============================================================================
--- deltacloud/trunk/site/content/cimi-curl/cimi-curl-machines.md (original)
+++ deltacloud/trunk/site/content/cimi-curl/cimi-curl-machines.md Mon Jan 28 16:10:04 2013
@@ -55,7 +55,7 @@ title: CIMI cURL Examples - Machine Reso
 <p>Create a new Machine with the message body in XML format:</p>
 
 <pre>
-curl -v --user "mockuser:mockpassword" -X POST -H "Content-Type: application/xml" -H "Accept:
application/xml" -d '&lt;MachineCreate xmlns="http://schemas.dmtf.org/cimi/1"&gt;
&lt;name&gt; myMachine1 &lt;/name&gt; &lt;description&gt; my machine
description &lt;/description&gt; &lt;machineTemplate&gt; &lt;machineConfig
href="http://localhost:3001/cimi/machine_configurations/m1-small"&gt; &lt;/machineConfig&gt;
&lt;machineImage href="http://localhost:3001/cimi/machine_images/img1"&gt; &lt;/machineImage&gt;
&lt;/machineTemplate&gt; &lt;/MachineCreate&gt;'
+curl -v --user "mockuser:mockpassword" -X POST -H "Content-Type: application/xml" -H "Accept:
application/xml" -d '&lt;MachineCreate xmlns="http://schemas.dmtf.org/cimi/1"&gt;
&lt;name&gt; myMachine1 &lt;/name&gt; &lt;description&gt; my machine
description &lt;/description&gt; &lt;machineTemplate&gt; &lt;machineConfig
href="http://localhost:3001/cimi/machine_configurations/m1-small"&gt; &lt;/machineConfig&gt;
&lt;machineImage href="http://localhost:3001/cimi/machine_images/img1"&gt; &lt;/machineImage&gt;
&lt;/machineTemplate&gt; &lt;/MachineCreate&gt;' http://localhost:3001/cimi/machines
 </pre>
 
 <p>Alternatively, specifying the message body in JSON:</p>

Modified: deltacloud/trunk/site/output/cimi-curl/cimi-curl-machines.html
URL: http://svn.apache.org/viewvc/deltacloud/trunk/site/output/cimi-curl/cimi-curl-machines.html?rev=1439470&r1=1439469&r2=1439470&view=diff
==============================================================================
--- deltacloud/trunk/site/output/cimi-curl/cimi-curl-machines.html (original)
+++ deltacloud/trunk/site/output/cimi-curl/cimi-curl-machines.html Mon Jan 28 16:10:04 2013
@@ -143,7 +143,7 @@
 <p>Create a new Machine with the message body in XML format:</p>
 
 <pre>
-curl -v --user "mockuser:mockpassword" -X POST -H "Content-Type: application/xml" -H "Accept:
application/xml" -d '&lt;MachineCreate xmlns="http://schemas.dmtf.org/cimi/1"&gt;
&lt;name&gt; myMachine1 &lt;/name&gt; &lt;description&gt; my machine
description &lt;/description&gt; &lt;machineTemplate&gt; &lt;machineConfig
href="http://localhost:3001/cimi/machine_configurations/m1-small"&gt; &lt;/machineConfig&gt;
&lt;machineImage href="http://localhost:3001/cimi/machine_images/img1"&gt; &lt;/machineImage&gt;
&lt;/machineTemplate&gt; &lt;/MachineCreate&gt;'
+curl -v --user "mockuser:mockpassword" -X POST -H "Content-Type: application/xml" -H "Accept:
application/xml" -d '&lt;MachineCreate xmlns="http://schemas.dmtf.org/cimi/1"&gt;
&lt;name&gt; myMachine1 &lt;/name&gt; &lt;description&gt; my machine
description &lt;/description&gt; &lt;machineTemplate&gt; &lt;machineConfig
href="http://localhost:3001/cimi/machine_configurations/m1-small"&gt; &lt;/machineConfig&gt;
&lt;machineImage href="http://localhost:3001/cimi/machine_images/img1"&gt; &lt;/machineImage&gt;
&lt;/machineTemplate&gt; &lt;/MachineCreate&gt;' http://localhost:3001/cimi/machines
 </pre>
 
 <p>Alternatively, specifying the message body in JSON:</p>



Mime
View raw message