From: Michal Fojtik <[email protected]>

Signed-off-by: Michal fojtik <[email protected]>
---
 server/support/cimi/machine.json          | 4 ++--
 server/support/cimi/machine.xml           | 9 +++++++++
 server/support/cimi/machine_from_temp.xml | 6 ++++++
 server/support/cimi/machine_template.json | 4 ++--
 server/support/cimi/machine_template.xml  | 7 +++++++
 5 files changed, 26 insertions(+), 4 deletions(-)
 create mode 100644 server/support/cimi/machine.xml
 create mode 100644 server/support/cimi/machine_from_temp.xml
 create mode 100644 server/support/cimi/machine_template.xml

diff --git a/server/support/cimi/machine.json b/server/support/cimi/machine.json
index e2564d9..edc4cdb 100644
--- a/server/support/cimi/machine.json
+++ b/server/support/cimi/machine.json
@@ -7,7 +7,7 @@
     "life": "is life"
   },
   "machineTemplate": {
-    "machineConfig": { "href": " 
http://localhost:3001/cimi/machine_configurations/m1-small"; },
-    "machineImage": { "href": " 
http://localhost:3001/cimi/machine_images/img1"; }
+    "machineConfig": { "href": 
"http://localhost:3001/cimi/machine_configurations/m1-small"; },
+    "machineImage": { "href": "http://localhost:3001/cimi/machine_images/img1"; 
}
   }
 }
diff --git a/server/support/cimi/machine.xml b/server/support/cimi/machine.xml
new file mode 100644
index 0000000..6242e08
--- /dev/null
+++ b/server/support/cimi/machine.xml
@@ -0,0 +1,9 @@
+<MachineCreate>
+  <name>myMachineXML123</name>
+  <description>Description of my new Machine</description>
+  <machineTemplate>
+    <machineConfig 
href="http://localhost:3001/cimi/machine_configurations/m1-small"/>
+    <machineImage href="http://localhost:3001/cimi/machine_images/img1"/>
+  </machineTemplate>
+  <property name="test">value</property>
+</MachineCreate>
diff --git a/server/support/cimi/machine_from_temp.xml 
b/server/support/cimi/machine_from_temp.xml
new file mode 100644
index 0000000..a5a8dfc
--- /dev/null
+++ b/server/support/cimi/machine_from_temp.xml
@@ -0,0 +1,6 @@
+<MachineCreate>
+  <name>myMachineXML123</name>
+  <description>Description of my new Machine</description>
+  <machineTemplate href="http://localhost:3001/cimi/machine_templates/1"/>
+  <property name="test">value</property>
+</MachineCreate>
diff --git a/server/support/cimi/machine_template.json 
b/server/support/cimi/machine_template.json
index a8e27ae..3f219dc 100644
--- a/server/support/cimi/machine_template.json
+++ b/server/support/cimi/machine_template.json
@@ -2,8 +2,8 @@
   "resourceURI": "http://schemas.dmtf.org/cimi/1/MachineTemplateCreate";,
   "name": "myMachineDemoTemplate",
   "description": "My very loved machine template",
-  "machineConfig": { "href": " 
http://localhost:3001/cimi/machine_configurations/m1-xlarge"; },
-  "machineImage": { "href": " http://localhost:3001/cimi/machine_images/img3"; 
},
+  "machineConfig": { "href": 
"http://localhost:3001/cimi/machine_configurations/m1-xlarge"; },
+  "machineImage": { "href": "http://localhost:3001/cimi/machine_images/img3"; },
   "properties": {
     "foo": "bar",
     "life": "is life"
diff --git a/server/support/cimi/machine_template.xml 
b/server/support/cimi/machine_template.xml
new file mode 100644
index 0000000..85bc3b0
--- /dev/null
+++ b/server/support/cimi/machine_template.xml
@@ -0,0 +1,7 @@
+<MachineTemplateCreate>
+  <name>myXmlTestMachineTemplate1</name>
+  <description>Description of my MachineTemplate</description>
+  <property name="test">value</property>
+  <machineConfig 
href="http://localhost:3001/cimi/machine_configurations/m1-xlarge"/>
+  <machineImage href="http://localhost:3001/cimi/machine_images/img3"/>
+</MachineTemplateCreate>
-- 
1.8.0

Reply via email to