From: NjeriChelimo <[email protected]>
---
site/content/cimi-curl/cimi-curl-volumes.md | 4 ++--
site/output/cimi-curl/cimi-curl-volumes.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/site/content/cimi-curl/cimi-curl-volumes.md
b/site/content/cimi-curl/cimi-curl-volumes.md
index 1de48a5..e897258 100644
--- a/site/content/cimi-curl/cimi-curl-volumes.md
+++ b/site/content/cimi-curl/cimi-curl-volumes.md
@@ -158,11 +158,11 @@ title: CIMI cURL Examples - Volume Resources
<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 '<VolumeTemplate
xmlns="http://schemas.dmtf.org/cimi/1"> <name> marios_vol_template
</name> <description> my first volume template </description>
<volumeConfig href="http://localhost:3001/cimi/volume_configs/1">
</volumeConfig> </VolumeTemplate>'
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 '<VolumeTemplate
xmlns="http://schemas.dmtf.org/cimi/1"> <name> marios_vol_template
</name> <description> my first volume template </description>
<volumeConfig href="http://localhost:3001/cimi/volume_configurations/1">
</volumeConfig> <volumeImage
href="http://localhost:3001/cimi/volume_images/snap1"> </volumeImage>
</VolumeTemplate>' http://localhost:3001/cimi/volume_templates</pre>
<p>Create a Volume Template with 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/VolumeTemplate","name": "marios_vol_template",
"description": "my first volume template", "volumeConfig": { "href":
"http://localhost:3001/cimi/volume_configs/1"} }'
http://localhost:3001/cimi/volume_templates </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/VolumeTemplate","name": "marios_vol_template",
"description": "my first volume template", "volumeConfig": { "href":
"http://localhost:3001/cimi/volume_configurations/1"}, "volumeImage": { "href":
"http://localhost:3001/cimi/volume_images/snap1"} }'
http://localhost:3001/cimi/volume_templates </pre>
<p>Delete a Volume Template:</p>
diff --git a/site/output/cimi-curl/cimi-curl-volumes.html
b/site/output/cimi-curl/cimi-curl-volumes.html
index fa21a0e..8fc2482 100644
--- a/site/output/cimi-curl/cimi-curl-volumes.html
+++ b/site/output/cimi-curl/cimi-curl-volumes.html
@@ -250,11 +250,11 @@
<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 '<VolumeTemplate
xmlns="http://schemas.dmtf.org/cimi/1"> <name> marios_vol_template
</name> <description> my first volume template </description>
<volumeConfig href="http://localhost:3001/cimi/volume_configs/1">
</volumeConfig> </VolumeTemplate>'
http://localhost:3001/cimi/volume_templates</pre>
+ <pre>curl --user "mockuser:mockpassword" -H "Content-Type:
application/xml" -H "Accept: application/xml" -X POST -d '<VolumeTemplate
xmlns="http://schemas.dmtf.org/cimi/1"> <name> marios_vol_template
</name> <description> my first volume template </description>
<volumeConfig href="http://localhost:3001/cimi/volume_configurations/1">
</volumeConfig> <volumeImage
href="http://localhost:3001/cimi/volume_images/snap1"> </volumeImage>
</VolumeTemplate>' http://localhost:3001/cimi/volume_templates</pre>
<p>Create a Volume Template with 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/VolumeTemplate","name": "marios_vol_template",
"description": "my first volume template", "volumeConfig": { "href":
"http://localhost:3001/cimi/volume_configs/1"} }'
http://localhost:3001/cimi/volume_templates </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/VolumeTemplate","name": "marios_vol_template",
"description": "my first volume template", "volumeConfig": { "href":
"http://localhost:3001/cimi/volume_configurations/1"}, "volumeImage": { "href":
"http://localhost:3001/cimi/volume_images/snap1"} }'
http://localhost:3001/cimi/volume_templates </pre>
<p>Delete a Volume Template:</p>
--
1.7.9.5