deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1234797 [6/7] - in /deltacloud/trunk/server/tests/drivers: rackspace/fixtures/ rhevm/ rhevm/fixtures/
Date Mon, 23 Jan 2012 13:55:03 GMT
Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-13130c2bcc09d0eaf32b8e6451581e030bcb623e.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-13130c2bcc09d0eaf32b8e6451581e030bcb623e.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-13130c2bcc09d0eaf32b8e6451581e030bcb623e.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-13130c2bcc09d0eaf32b8e6451581e030bcb623e.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,461 @@
+--- 
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=disks; detail=nics; detail=hosts
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:23 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2864"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <vm id="42d60684-a07b-4dbf-9bd6-8b4f0c52dedb" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb">
+          <name>dc-webmock-2</name>
+          <actions>
+              <link rel="shutdown" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/shutdown"/>
+              <link rel="start" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/start"/>
+              <link rel="stop" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/stop"/>
+              <link rel="suspend" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/suspend"/>
+              <link rel="detach" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/detach"/>
+              <link rel="export" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/export"/>
+              <link rel="move" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/move"/>
+              <link rel="ticket" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/ticket"/>
+              <link rel="migrate" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/migrate"/>
+          </actions>
+          <link rel="disks" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/disks"/>
+          <link rel="nics" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/nics"/>
+          <link rel="cdroms" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/cdroms"/>
+          <link rel="snapshots" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/snapshots"/>
+          <link rel="tags" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/tags"/>
+          <link rel="permissions" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/permissions"/>
+          <link rel="statistics" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/statistics"/>
+          <type>server</type>
+          <status>DOWN</status>
+          <memory>536870912</memory>
+          <cpu>
+              <topology cores="1" sockets="1"/>
+          </cpu>
+          <os type="RHEL_6X64">
+              <boot dev="hd"/>
+              <kernel></kernel>
+              <initrd></initrd>
+              <cmdline></cmdline>
+          </os>
+          <high_availability>
+              <enabled>false</enabled>
+              <priority>1</priority>
+          </high_availability>
+          <display>
+              <type>spice</type>
+              <monitors>1</monitors>
+          </display>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+          <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d"/>
+          <start_time>2012-01-23T12:51:24.114Z</start_time>
+          <creation_time>2012-01-23T13:51:09.707+01:00</creation_time>
+          <origin>rhevm</origin>
+          <stateless>false</stateless>
+          <placement_policy>
+              <affinity>MIGRATABLE</affinity>
+          </placement_policy>
+          <memory_policy>
+              <guaranteed>536870912</guaranteed>
+          </memory_policy>
+          <usb>
+              <enabled>false</enabled>
+          </usb>
+      </vm>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    body: 
+    headers: 
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:23 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "704"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d">
+          <name>engops-nfs</name>
+          <description></description>
+          <link rel="storagedomains" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains"/>
+          <link rel="permissions" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions"/>
+          <storage_type>nfs</storage_type>
+          <storage_format>v1</storage_format>
+          <version minor="0" major="3"/>
+          <supported_versions>
+              <version minor="0" major="3"/>
+          </supported_versions>
+          <status>UP</status>
+      </data_center>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/clusters
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=datacenters
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:23 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "1839"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <clusters>
+          <cluster id="99408929-82cf-4dc7-a532-9d998063fa95" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95">
+              <name>Backup30</name>
+              <description>The default server cluster</description>
+              <link rel="networks" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702">
+              <name>engops-nfs</name>
+              <link rel="networks" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+      </clusters>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=disks; detail=nics; detail=hosts
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:23 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2864"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <vm id="42d60684-a07b-4dbf-9bd6-8b4f0c52dedb" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb">
+          <name>dc-webmock-2</name>
+          <actions>
+              <link rel="shutdown" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/shutdown"/>
+              <link rel="start" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/start"/>
+              <link rel="stop" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/stop"/>
+              <link rel="suspend" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/suspend"/>
+              <link rel="detach" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/detach"/>
+              <link rel="export" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/export"/>
+              <link rel="move" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/move"/>
+              <link rel="ticket" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/ticket"/>
+              <link rel="migrate" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/migrate"/>
+          </actions>
+          <link rel="disks" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/disks"/>
+          <link rel="nics" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/nics"/>
+          <link rel="cdroms" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/cdroms"/>
+          <link rel="snapshots" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/snapshots"/>
+          <link rel="tags" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/tags"/>
+          <link rel="permissions" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/permissions"/>
+          <link rel="statistics" href="/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/statistics"/>
+          <type>server</type>
+          <status>DOWN</status>
+          <memory>536870912</memory>
+          <cpu>
+              <topology cores="1" sockets="1"/>
+          </cpu>
+          <os type="RHEL_6X64">
+              <boot dev="hd"/>
+              <kernel></kernel>
+              <initrd></initrd>
+              <cmdline></cmdline>
+          </os>
+          <high_availability>
+              <enabled>false</enabled>
+              <priority>1</priority>
+          </high_availability>
+          <display>
+              <type>spice</type>
+              <monitors>1</monitors>
+          </display>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+          <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d"/>
+          <start_time>2012-01-23T12:51:24.669Z</start_time>
+          <creation_time>2012-01-23T13:51:09.707+01:00</creation_time>
+          <origin>rhevm</origin>
+          <stateless>false</stateless>
+          <placement_policy>
+              <affinity>MIGRATABLE</affinity>
+          </placement_policy>
+          <memory_policy>
+              <guaranteed>536870912</guaranteed>
+          </memory_policy>
+          <usb>
+              <enabled>false</enabled>
+          </usb>
+      </vm>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    body: 
+    headers: 
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:24 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "704"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d">
+          <name>engops-nfs</name>
+          <description></description>
+          <link rel="storagedomains" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains"/>
+          <link rel="permissions" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions"/>
+          <storage_type>nfs</storage_type>
+          <storage_format>v1</storage_format>
+          <version minor="0" major="3"/>
+          <supported_versions>
+              <version minor="0" major="3"/>
+          </supported_versions>
+          <status>UP</status>
+      </data_center>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/clusters
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=datacenters
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:24 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "1839"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <clusters>
+          <cluster id="99408929-82cf-4dc7-a532-9d998063fa95" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95">
+              <name>Backup30</name>
+              <description>The default server cluster</description>
+              <link rel="networks" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702">
+              <name>engops-nfs</name>
+              <link rel="networks" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+      </clusters>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :post
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/vms/42d60684-a07b-4dbf-9bd6-8b4f0c52dedb/start
+    body: <action/>
+    headers: 
+      content-type: 
+      - application/xml
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+      content-length: 
+      - "9"
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:24 GMT
+      content-length: 
+      - "105"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <action>
+          <status>COMPLETE</status>
+      </action>
+
+    http_version: "1.1"

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-38065b4c69edc93ae14f345fc47814bbe5c5af5a.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-38065b4c69edc93ae14f345fc47814bbe5c5af5a.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-38065b4c69edc93ae14f345fc47814bbe5c5af5a.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-38065b4c69edc93ae14f345fc47814bbe5c5af5a.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,702 @@
+--- 
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d
+    body: 
+    headers: 
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:06 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "1871"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d">
+          <name>f15-minimal-2</name>
+          <description>Fedora 15 minimal</description>
+          <actions>
+              <link rel="export" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/export"/>
+          </actions>
+          <link rel="disks" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/disks"/>
+          <link rel="nics" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/nics"/>
+          <link rel="cdroms" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/cdroms"/>
+          <link rel="snapshots" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/snapshots"/>
+          <link rel="tags" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/tags"/>
+          <link rel="permissions" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/permissions"/>
+          <link rel="statistics" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/statistics"/>
+          <type>server</type>
+          <status>OK</status>
+          <memory>1073741824</memory>
+          <cpu>
+              <topology cores="1" sockets="1"/>
+          </cpu>
+          <os type="RHEL_6X64">
+              <boot dev="hd"/>
+              <kernel></kernel>
+              <initrd></initrd>
+              <cmdline></cmdline>
+          </os>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+          <creation_time>2011-10-18T17:27:27.808+02:00</creation_time>
+          <origin>rhevm</origin>
+          <high_availability>
+              <enabled>false</enabled>
+              <priority>1</priority>
+          </high_availability>
+          <display>
+              <type>vnc</type>
+              <monitors>1</monitors>
+          </display>
+          <stateless>false</stateless>
+          <usb>
+              <enabled>false</enabled>
+          </usb>
+      </template>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/templates
+    body: 
+    headers: 
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      transfer-encoding: 
+      - chunked
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:06 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <templates>
+          <template id="354455c9-d075-46f7-bf41-7df48d0fe925" href="/rhevm-api/templates/354455c9-d075-46f7-bf41-7df48d0fe925">
+              <name>1be3e772-b994-4905-8977-46ebdfde9cf4</name>
+              <description>Template by iwhd</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/354455c9-d075-46f7-bf41-7df48d0fe925/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/354455c9-d075-46f7-bf41-7df48d0fe925/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/354455c9-d075-46f7-bf41-7df48d0fe925/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/354455c9-d075-46f7-bf41-7df48d0fe925/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/354455c9-d075-46f7-bf41-7df48d0fe925/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>536870912</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="OTHER_LINUX">
+                  <boot dev="cdrom"/>
+                  <boot dev="hd"/>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-12-12T16:34:20.000+01:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>0</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>true</enabled>
+              </usb>
+          </template>
+          <template id="20d968b0-9428-48ec-ae25-26cc22a55ad1" href="/rhevm-api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1">
+              <name>38b0c757-3db9-413f-b11d-05adcee959b7</name>
+              <description>Template by iwhd</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>536870912</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="OTHER_LINUX">
+                  <boot dev="cdrom"/>
+                  <boot dev="hd"/>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-12-12T16:46:18.000+01:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>0</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>true</enabled>
+              </usb>
+          </template>
+          <template id="a90de8a2-0619-4625-b72e-db0ff65ef927" href="/rhevm-api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927">
+              <name>6fd96121-1c8c-4bb6-8dbd-e33c470d7769</name>
+              <description>Template by iwhd</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>536870912</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="OTHER_LINUX">
+                  <boot dev="cdrom"/>
+                  <boot dev="hd"/>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2012-01-17T12:33:41.000+01:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>0</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>true</enabled>
+              </usb>
+          </template>
+          <template id="747ce281-e9dd-4dd7-b560-e65c732f31e0" href="/rhevm-api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0">
+              <name>8a757c49-64d2-438f-9fa1-a3d16ce0c260</name>
+              <description>Template by iwhd</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>536870912</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="OTHER_LINUX">
+                  <boot dev="cdrom"/>
+                  <boot dev="hd"/>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-11-30T14:37:16.000+01:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>0</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>true</enabled>
+              </usb>
+          </template>
+          <template id="00000000-0000-0000-0000-000000000000" href="/rhevm-api/templates/00000000-0000-0000-0000-000000000000">
+              <name>Blank</name>
+              <description>Blank template</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/00000000-0000-0000-0000-000000000000/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/00000000-0000-0000-0000-000000000000/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/00000000-0000-0000-0000-000000000000/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/00000000-0000-0000-0000-000000000000/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/00000000-0000-0000-0000-000000000000/permissions"/>
+              <type>desktop</type>
+              <status>OK</status>
+              <memory>536870912</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="UNASSIGNED">
+                  <boot dev="hd"/>
+              </os>
+              <cluster id="99408929-82cf-4dc7-a532-9d998063fa95" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95"/>
+              <creation_time>2008-04-01T00:00:00.000+02:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>0</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>true</enabled>
+              </usb>
+          </template>
+          <template id="a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467" href="/rhevm-api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467">
+              <name>cef85154-552e-4a2f-8f1a-a2f47d21ec0c</name>
+              <description>Template by iwhd</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>536870912</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="OTHER_LINUX">
+                  <boot dev="cdrom"/>
+                  <boot dev="hd"/>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-12-12T17:56:41.000+01:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>0</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>true</enabled>
+              </usb>
+          </template>
+          <template id="6cc20fad-a895-41af-badd-52730ec235b2" href="/rhevm-api/templates/6cc20fad-a895-41af-badd-52730ec235b2">
+              <name>dca57e63-114d-452a-b57b-5c297a4970af</name>
+              <description>Template by iwhd</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/6cc20fad-a895-41af-badd-52730ec235b2/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/6cc20fad-a895-41af-badd-52730ec235b2/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/6cc20fad-a895-41af-badd-52730ec235b2/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/6cc20fad-a895-41af-badd-52730ec235b2/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/6cc20fad-a895-41af-badd-52730ec235b2/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>536870912</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="OTHER_LINUX">
+                  <boot dev="cdrom"/>
+                  <boot dev="hd"/>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-12-07T16:24:53.000+01:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>0</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>true</enabled>
+              </usb>
+          </template>
+          <template id="5f411ae4-a3cf-48a8-8bca-d049ddd51f0b" href="/rhevm-api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b">
+              <name>f15-minimal</name>
+              <description>Fedora 15 Minimal</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>1073741824</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="RHEL_6X64">
+                  <boot dev="network"/>
+                  <boot dev="hd"/>
+                  <kernel></kernel>
+                  <initrd></initrd>
+                  <cmdline></cmdline>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-10-18T15:41:53.962+02:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>1</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>false</enabled>
+              </usb>
+          </template>
+          <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d">
+              <name>f15-minimal-2</name>
+              <description>Fedora 15 minimal</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>1073741824</memory>
+              <cpu>
+                  <topology cores="1" sockets="1"/>
+              </cpu>
+              <os type="RHEL_6X64">
+                  <boot dev="hd"/>
+                  <kernel></kernel>
+                  <initrd></initrd>
+                  <cmdline></cmdline>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-10-18T17:27:27.808+02:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>1</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>false</enabled>
+              </usb>
+          </template>
+          <template id="dfa924b7-83e8-4a5c-9d5c-1270fd0c0872" href="/rhevm-api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872">
+              <name>rhel61-network</name>
+              <description>RHEL 6.1 with networking</description>
+              <actions>
+                  <link rel="export" href="/rhevm-api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/export"/>
+              </actions>
+              <link rel="disks" href="/rhevm-api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/disks"/>
+              <link rel="nics" href="/rhevm-api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/nics"/>
+              <link rel="cdroms" href="/rhevm-api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/cdroms"/>
+              <link rel="permissions" href="/rhevm-api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/permissions"/>
+              <type>server</type>
+              <status>OK</status>
+              <memory>2147483648</memory>
+              <cpu>
+                  <topology cores="2" sockets="1"/>
+              </cpu>
+              <os type="RHEL_6X64">
+                  <boot dev="hd"/>
+                  <kernel></kernel>
+                  <initrd></initrd>
+                  <cmdline></cmdline>
+              </os>
+              <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+              <creation_time>2011-10-06T13:31:30.467+02:00</creation_time>
+              <origin>rhevm</origin>
+              <high_availability>
+                  <enabled>false</enabled>
+                  <priority>1</priority>
+              </high_availability>
+              <display>
+                  <type>vnc</type>
+                  <monitors>1</monitors>
+              </display>
+              <stateless>false</stateless>
+              <usb>
+                  <enabled>false</enabled>
+              </usb>
+          </template>
+      </templates>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    body: 
+    headers: 
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:07 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "704"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d">
+          <name>engops-nfs</name>
+          <description></description>
+          <link rel="storagedomains" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains"/>
+          <link rel="permissions" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions"/>
+          <storage_type>nfs</storage_type>
+          <storage_format>v1</storage_format>
+          <version minor="0" major="3"/>
+          <supported_versions>
+              <version minor="0" major="3"/>
+          </supported_versions>
+          <status>UP</status>
+      </data_center>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/clusters
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=datacenters
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:07 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "1839"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <clusters>
+          <cluster id="99408929-82cf-4dc7-a532-9d998063fa95" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95">
+              <name>Backup30</name>
+              <description>The default server cluster</description>
+              <link rel="networks" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702">
+              <name>engops-nfs</name>
+              <link rel="networks" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+      </clusters>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :post
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/vms
+    body: |-
+      <vm>
+        <name>dc-webmock-1</name>
+        <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d"/>
+        <cluster id="3c8af388-cff6-11e0-9267-52540013f702"/>
+        <type>desktop</type>
+        <memory>536870912</memory>
+        <cpu>
+          <topology sockets="1" cores="1"/>
+        </cpu>
+      </vm>
+    headers: 
+      content-type: 
+      - application/xml
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+      content-length: 
+      - "256"
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 202
+      message: Accepted
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:07 GMT
+      content-length: 
+      - "3066"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <vm id="0ee9cbe7-8868-4250-9528-5534bd554ab1" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1">
+          <name>dc-webmock-1</name>
+          <actions>
+              <link rel="shutdown" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/shutdown"/>
+              <link rel="start" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/start"/>
+              <link rel="stop" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/stop"/>
+              <link rel="suspend" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/suspend"/>
+              <link rel="detach" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/detach"/>
+              <link rel="export" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/export"/>
+              <link rel="move" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/move"/>
+              <link rel="ticket" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/ticket"/>
+              <link rel="migrate" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/migrate"/>
+          </actions>
+          <creation_status>PENDING</creation_status>
+          <link rel="disks" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/disks"/>
+          <link rel="nics" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/nics"/>
+          <link rel="cdroms" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/cdroms"/>
+          <link rel="snapshots" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/snapshots"/>
+          <link rel="tags" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/tags"/>
+          <link rel="permissions" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/permissions"/>
+          <link rel="statistics" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/statistics"/>
+          <link rel="creation_status" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/creation_status/f294cc4a-afa1-40c9-a1f2-c566309022e9"/>
+          <type>desktop</type>
+          <status>IMAGE_LOCKED</status>
+          <memory>536870912</memory>
+          <cpu>
+              <topology cores="1" sockets="1"/>
+          </cpu>
+          <os type="RHEL_6X64">
+              <boot dev="hd"/>
+              <kernel></kernel>
+              <initrd></initrd>
+              <cmdline></cmdline>
+          </os>
+          <high_availability>
+              <enabled>false</enabled>
+              <priority>1</priority>
+          </high_availability>
+          <display>
+              <type>spice</type>
+              <monitors>1</monitors>
+          </display>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+          <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d"/>
+          <start_time>2012-01-23T12:51:08.436Z</start_time>
+          <creation_time>2012-01-23T13:51:08.221+01:00</creation_time>
+          <origin>rhevm</origin>
+          <stateless>false</stateless>
+          <placement_policy>
+              <affinity>MIGRATABLE</affinity>
+          </placement_policy>
+          <memory_policy>
+              <guaranteed>536870912</guaranteed>
+          </memory_policy>
+          <usb>
+              <enabled>false</enabled>
+          </usb>
+      </vm>
+
+    http_version: "1.1"

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-977eeb202a4d20f22790ad2098e768f226312e13.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-977eeb202a4d20f22790ad2098e768f226312e13.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-977eeb202a4d20f22790ad2098e768f226312e13.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/post-977eeb202a4d20f22790ad2098e768f226312e13.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,471 @@
+--- 
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=disks; detail=nics; detail=hosts
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:52:39 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2979"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <vm id="0ee9cbe7-8868-4250-9528-5534bd554ab1" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1">
+          <name>dc-webmock-1</name>
+          <actions>
+              <link rel="shutdown" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/shutdown"/>
+              <link rel="start" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/start"/>
+              <link rel="stop" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/stop"/>
+              <link rel="suspend" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/suspend"/>
+              <link rel="detach" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/detach"/>
+              <link rel="export" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/export"/>
+              <link rel="move" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/move"/>
+              <link rel="ticket" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/ticket"/>
+              <link rel="migrate" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/migrate"/>
+          </actions>
+          <link rel="disks" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/disks"/>
+          <link rel="nics" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/nics"/>
+          <link rel="cdroms" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/cdroms"/>
+          <link rel="snapshots" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/snapshots"/>
+          <link rel="tags" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/tags"/>
+          <link rel="permissions" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/permissions"/>
+          <link rel="statistics" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/statistics"/>
+          <type>desktop</type>
+          <status>UP</status>
+          <memory>536870912</memory>
+          <cpu>
+              <topology cores="1" sockets="1"/>
+          </cpu>
+          <os type="RHEL_6X64">
+              <boot dev="hd"/>
+              <kernel></kernel>
+              <initrd></initrd>
+              <cmdline></cmdline>
+          </os>
+          <high_availability>
+              <enabled>false</enabled>
+              <priority>1</priority>
+          </high_availability>
+          <display>
+              <type>spice</type>
+              <address>10.34.32.183</address>
+              <port>5906</port>
+              <monitors>1</monitors>
+          </display>
+          <host>
+              <name>dell1</name>
+          </host>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+          <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d"/>
+          <start_time>2012-01-23T12:51:27.070Z</start_time>
+          <creation_time>2012-01-23T13:51:08.221+01:00</creation_time>
+          <origin>rhevm</origin>
+          <stateless>false</stateless>
+          <placement_policy>
+              <affinity>MIGRATABLE</affinity>
+          </placement_policy>
+          <memory_policy>
+              <guaranteed>536870912</guaranteed>
+          </memory_policy>
+          <usb>
+              <enabled>false</enabled>
+          </usb>
+      </vm>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    body: 
+    headers: 
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:52:39 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "704"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d">
+          <name>engops-nfs</name>
+          <description></description>
+          <link rel="storagedomains" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains"/>
+          <link rel="permissions" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions"/>
+          <storage_type>nfs</storage_type>
+          <storage_format>v1</storage_format>
+          <version minor="0" major="3"/>
+          <supported_versions>
+              <version minor="0" major="3"/>
+          </supported_versions>
+          <status>UP</status>
+      </data_center>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/clusters
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=datacenters
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:52:39 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "1839"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <clusters>
+          <cluster id="99408929-82cf-4dc7-a532-9d998063fa95" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95">
+              <name>Backup30</name>
+              <description>The default server cluster</description>
+              <link rel="networks" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702">
+              <name>engops-nfs</name>
+              <link rel="networks" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+      </clusters>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=disks; detail=nics; detail=hosts
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:52:39 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2979"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <vm id="0ee9cbe7-8868-4250-9528-5534bd554ab1" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1">
+          <name>dc-webmock-1</name>
+          <actions>
+              <link rel="shutdown" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/shutdown"/>
+              <link rel="start" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/start"/>
+              <link rel="stop" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/stop"/>
+              <link rel="suspend" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/suspend"/>
+              <link rel="detach" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/detach"/>
+              <link rel="export" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/export"/>
+              <link rel="move" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/move"/>
+              <link rel="ticket" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/ticket"/>
+              <link rel="migrate" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/migrate"/>
+          </actions>
+          <link rel="disks" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/disks"/>
+          <link rel="nics" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/nics"/>
+          <link rel="cdroms" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/cdroms"/>
+          <link rel="snapshots" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/snapshots"/>
+          <link rel="tags" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/tags"/>
+          <link rel="permissions" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/permissions"/>
+          <link rel="statistics" href="/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/statistics"/>
+          <type>desktop</type>
+          <status>UP</status>
+          <memory>536870912</memory>
+          <cpu>
+              <topology cores="1" sockets="1"/>
+          </cpu>
+          <os type="RHEL_6X64">
+              <boot dev="hd"/>
+              <kernel></kernel>
+              <initrd></initrd>
+              <cmdline></cmdline>
+          </os>
+          <high_availability>
+              <enabled>false</enabled>
+              <priority>1</priority>
+          </high_availability>
+          <display>
+              <type>spice</type>
+              <address>10.34.32.183</address>
+              <port>5906</port>
+              <monitors>1</monitors>
+          </display>
+          <host>
+              <name>dell1</name>
+          </host>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702"/>
+          <template id="3e82e2d5-913f-4095-ae72-ebcfa9d0571d" href="/rhevm-api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d"/>
+          <start_time>2012-01-23T12:51:27.558Z</start_time>
+          <creation_time>2012-01-23T13:51:08.221+01:00</creation_time>
+          <origin>rhevm</origin>
+          <stateless>false</stateless>
+          <placement_policy>
+              <affinity>MIGRATABLE</affinity>
+          </placement_policy>
+          <memory_policy>
+              <guaranteed>536870912</guaranteed>
+          </memory_policy>
+          <usb>
+              <enabled>false</enabled>
+          </usb>
+      </vm>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    body: 
+    headers: 
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:52:39 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "704"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d">
+          <name>engops-nfs</name>
+          <description></description>
+          <link rel="storagedomains" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains"/>
+          <link rel="permissions" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions"/>
+          <storage_type>nfs</storage_type>
+          <storage_format>v1</storage_format>
+          <version minor="0" major="3"/>
+          <supported_versions>
+              <version minor="0" major="3"/>
+          </supported_versions>
+          <status>UP</status>
+      </data_center>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/clusters
+    body: 
+    headers: 
+      accept: 
+      - application/xml; detail=datacenters
+      accept-encoding: 
+      - gzip, deflate
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:52:39 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "1839"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <clusters>
+          <cluster id="99408929-82cf-4dc7-a532-9d998063fa95" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95">
+              <name>Backup30</name>
+              <description>The default server cluster</description>
+              <link rel="networks" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+          <cluster id="3c8af388-cff6-11e0-9267-52540013f702" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702">
+              <name>engops-nfs</name>
+              <link rel="networks" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/networks"/>
+              <link rel="permissions" href="/rhevm-api/clusters/3c8af388-cff6-11e0-9267-52540013f702/permissions"/>
+              <cpu id="Intel Conroe Family"/>
+              <data_center id="645e425e-66fe-4ac9-8874-537bd10ef08d" href="/rhevm-api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d"/>
+              <memory_policy>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
+              </memory_policy>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
+          </cluster>
+      </clusters>
+
+    http_version: "1.1"
+- !ruby/struct:VCR::HTTPInteraction 
+  request: !ruby/struct:VCR::Request 
+    method: :post
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/rhevm-api/vms/0ee9cbe7-8868-4250-9528-5534bd554ab1/shutdown
+    body: <action/>
+    headers: 
+      content-type: 
+      - application/xml
+      accept: 
+      - application/xml
+      accept-encoding: 
+      - gzip, deflate
+      content-length: 
+      - "9"
+  response: !ruby/struct:VCR::Response 
+    status: !ruby/struct:VCR::ResponseStatus 
+      code: 200
+      message: OK
+    headers: 
+      content-type: 
+      - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:52:40 GMT
+      content-length: 
+      - "105"
+      server: 
+      - Apache-Coyote/1.1
+    body: |
+      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+      <action>
+          <status>COMPLETE</status>
+      </action>
+
+    http_version: "1.1"



Mime
View raw message