deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1234797 [2/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/get-0053b52481b20089c8f9141d2166553f2650a136.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0053b52481b20089c8f9141d2166553f2650a136.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0053b52481b20089c8f9141d2166553f2650a136.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0053b52481b20089c8f9141d2166553f2650a136.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,218 @@
+--- 
+- !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:52:34 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2978"
+      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>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>5908</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:34.839Z</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:52:35 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:35 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"

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-05c6d940375f09716aa01ee4835b8e322f4c52f7.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-05c6d940375f09716aa01ee4835b8e322f4c52f7.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-05c6d940375f09716aa01ee4835b8e322f4c52f7.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-05c6d940375f09716aa01ee4835b8e322f4c52f7.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,26 @@
+--- 
+- !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: 404
+      message: Not Found
+    headers: 
+      content-type: 
+      - text/html;charset=utf-8
+      date: 
+      - Mon, 23 Jan 2012 12:56:37 GMT
+      content-length: 
+      - "950"
+      server: 
+      - Apache-Coyote/1.1
+    body: "<html><head><title>JBoss Web/2.1.11.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><HR size=\"1\" noshade=\"noshade\"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR size=\"1\" noshade=\"noshade\"><h3>JBoss Web/2.1.11.GA</h3></body></html>"
+    http_version: "1.1"

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-079e79065b2fb66fe12060789ca8f4bfb4a05e20.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-079e79065b2fb66fe12060789ca8f4bfb4a05e20.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-079e79065b2fb66fe12060789ca8f4bfb4a05e20.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-079e79065b2fb66fe12060789ca8f4bfb4a05e20.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,218 @@
+--- 
+- !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:51:50 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2988"
+      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>POWERING_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:31.091Z</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:51:50 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:50 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"

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0a9f52bc53e2f5c68137e2bd38d52a933185a83d.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0a9f52bc53e2f5c68137e2bd38d52a933185a83d.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0a9f52bc53e2f5c68137e2bd38d52a933185a83d.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0a9f52bc53e2f5c68137e2bd38d52a933185a83d.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,218 @@
+--- 
+- !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:32 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:31.740Z</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:32 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:34 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"

Modified: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0f50173e8cba941468c17039c11d63e940e351f7.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0f50173e8cba941468c17039c11d63e940e351f7.yml?rev=1234797&r1=1234796&r2=1234797&view=diff
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0f50173e8cba941468c17039c11d63e940e351f7.yml (original)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0f50173e8cba941468c17039c11d63e940e351f7.yml Mon Jan 23 13:54:59 2012
@@ -2,11 +2,11 @@
 - !ruby/struct:VCR::HTTPInteraction 
   request: !ruby/struct:VCR::Request 
     method: :get
-    uri: https://rhev-m%40deltacloud.local:RedHat001@rhev-dc.lab.eng.brq.redhat.com:8443/rhevm-api-powershell/clusters
+    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; detail=datacenters
+      - application/xml
       accept-encoding: 
       - gzip, deflate
   response: !ruby/struct:VCR::Response 
@@ -14,36 +14,108 @@
       code: 200
       message: OK
     headers: 
-      expires: 
-      - Wed, 31 Dec 1969 16:00:00 PST
       content-type: 
       - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:57:13 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: 
-      - Tue, 26 Apr 2011 17:31:32 GMT
-      content-length: 
-      - "738"
+      - Mon, 23 Jan 2012 12:57:13 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="0" href="/rhevm-api-powershell/clusters/0">
-              <name>Default</name>
+          <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-powershell/clusters/0/networks"/>
-              <cpu id="Intel Xeon Core i7"/>
-              <data_center id="ae5ff258-82f3-4cf6-8280-8f685ac068ac" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac"/>
+              <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="200"/>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
               </memory_policy>
-              <version minor="2" major="2"/>
-              <supported_versions>
-                  <version minor="2" major="2"/>
-              </supported_versions>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
           </cluster>
       </clusters>
 
@@ -51,7 +123,7 @@
 - !ruby/struct:VCR::HTTPInteraction 
   request: !ruby/struct:VCR::Request 
     method: :get
-    uri: https://rhev-m%40deltacloud.local:RedHat001@rhev-dc.lab.eng.brq.redhat.com:8443/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac
+    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: 
@@ -63,31 +135,34 @@
       code: 200
       message: OK
     headers: 
-      expires: 
-      - Wed, 31 Dec 1969 16:00:00 PST
       content-type: 
       - application/xml
-      server: 
-      - Apache-Coyote/1.1
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
       date: 
-      - Tue, 26 Apr 2011 17:31:32 GMT
-      content-length: 
-      - "707"
+      - Mon, 23 Jan 2012 12:57:14 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="ae5ff258-82f3-4cf6-8280-8f685ac068ac" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac">
-          <name>Default</name>
-          <description>The default Data Center</description>
-          <link rel="files" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac/files"/>
-          <link rel="storagedomains" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac/storagedomains"/>
-          <storage_type>iscsi</storage_type>
-          <version minor="2" major="2"/>
+      <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="2" major="2"/>
+              <version minor="0" major="3"/>
           </supported_versions>
           <status>UP</status>
       </data_center>

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0fe614c5efab522d295a24de3eddcb39db0e1b7f.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0fe614c5efab522d295a24de3eddcb39db0e1b7f.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0fe614c5efab522d295a24de3eddcb39db0e1b7f.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-0fe614c5efab522d295a24de3eddcb39db0e1b7f.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,215 @@
+--- 
+- !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:53:43 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2930"
+      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>
+              <address>10.34.32.183</address>
+              <port>5908</port>
+              <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:53:43.825Z</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:53:43 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:53:43 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"

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-12d18dede9cedfbe0347fd70fc4409955aa056d8.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-12d18dede9cedfbe0347fd70fc4409955aa056d8.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-12d18dede9cedfbe0347fd70fc4409955aa056d8.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-12d18dede9cedfbe0347fd70fc4409955aa056d8.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,26 @@
+--- 
+- !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: 404
+      message: Not Found
+    headers: 
+      content-type: 
+      - text/html;charset=utf-8
+      date: 
+      - Mon, 23 Jan 2012 12:55:23 GMT
+      content-length: 
+      - "950"
+      server: 
+      - Apache-Coyote/1.1
+    body: "<html><head><title>JBoss Web/2.1.11.GA - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><HR size=\"1\" noshade=\"noshade\"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR size=\"1\" noshade=\"noshade\"><h3>JBoss Web/2.1.11.GA</h3></body></html>"
+    http_version: "1.1"

Modified: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-163a76f09d41670494c54dcd2eab373a5588683d.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-163a76f09d41670494c54dcd2eab373a5588683d.yml?rev=1234797&r1=1234796&r2=1234797&view=diff
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-163a76f09d41670494c54dcd2eab373a5588683d.yml (original)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-163a76f09d41670494c54dcd2eab373a5588683d.yml Mon Jan 23 13:54:59 2012
@@ -2,11 +2,11 @@
 - !ruby/struct:VCR::HTTPInteraction 
   request: !ruby/struct:VCR::Request 
     method: :get
-    uri: https://rhev-m%40deltacloud.local:RedHat001@rhev-dc.lab.eng.brq.redhat.com:8443/rhevm-api-powershell/clusters
+    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; detail=datacenters
+      - application/xml
       accept-encoding: 
       - gzip, deflate
   response: !ruby/struct:VCR::Response 
@@ -14,36 +14,108 @@
       code: 200
       message: OK
     headers: 
-      expires: 
-      - Wed, 31 Dec 1969 16:00:00 PST
       content-type: 
       - application/xml
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      date: 
+      - Mon, 23 Jan 2012 12:51:04 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: 
-      - Tue, 26 Apr 2011 17:26:36 GMT
-      content-length: 
-      - "738"
+      - Mon, 23 Jan 2012 12:51:05 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="0" href="/rhevm-api-powershell/clusters/0">
-              <name>Default</name>
+          <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-powershell/clusters/0/networks"/>
-              <cpu id="Intel Xeon Core i7"/>
-              <data_center id="ae5ff258-82f3-4cf6-8280-8f685ac068ac" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac"/>
+              <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="200"/>
+                  <overcommit percent="100"/>
+                  <transparent_hugepages>
+                      <enabled>false</enabled>
+                  </transparent_hugepages>
               </memory_policy>
-              <version minor="2" major="2"/>
-              <supported_versions>
-                  <version minor="2" major="2"/>
-              </supported_versions>
+              <scheduling_policy/>
+              <version minor="0" major="3"/>
+              <error_handling>
+                  <on_error>migrate</on_error>
+              </error_handling>
           </cluster>
       </clusters>
 
@@ -51,7 +123,7 @@
 - !ruby/struct:VCR::HTTPInteraction 
   request: !ruby/struct:VCR::Request 
     method: :get
-    uri: https://rhev-m%40deltacloud.local:RedHat001@rhev-dc.lab.eng.brq.redhat.com:8443/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac
+    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: 
@@ -63,31 +135,34 @@
       code: 200
       message: OK
     headers: 
-      expires: 
-      - Wed, 31 Dec 1969 16:00:00 PST
       content-type: 
       - application/xml
-      server: 
-      - Apache-Coyote/1.1
+      x-powered-by: 
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
       date: 
-      - Tue, 26 Apr 2011 17:26:36 GMT
-      content-length: 
-      - "707"
+      - Mon, 23 Jan 2012 12:51:05 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="ae5ff258-82f3-4cf6-8280-8f685ac068ac" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac">
-          <name>Default</name>
-          <description>The default Data Center</description>
-          <link rel="files" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac/files"/>
-          <link rel="storagedomains" href="/rhevm-api-powershell/datacenters/ae5ff258-82f3-4cf6-8280-8f685ac068ac/storagedomains"/>
-          <storage_type>iscsi</storage_type>
-          <version minor="2" major="2"/>
+      <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="2" major="2"/>
+              <version minor="0" major="3"/>
           </supported_versions>
           <status>UP</status>
       </data_center>

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1827342e1086a2769a773b409e266839577786c7.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1827342e1086a2769a773b409e266839577786c7.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1827342e1086a2769a773b409e266839577786c7.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1827342e1086a2769a773b409e266839577786c7.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,218 @@
+--- 
+- !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:01 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2988"
+      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>POWERING_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:31.254Z</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:01 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:01 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"

Added: deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1861b28b69f0b356ce25cae22f9a93c2eda5e87c.yml
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1861b28b69f0b356ce25cae22f9a93c2eda5e87c.yml?rev=1234797&view=auto
==============================================================================
--- deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1861b28b69f0b356ce25cae22f9a93c2eda5e87c.yml (added)
+++ deltacloud/trunk/server/tests/drivers/rhevm/fixtures/get-1861b28b69f0b356ce25cae22f9a93c2eda5e87c.yml Mon Jan 23 13:54:59 2012
@@ -0,0 +1,218 @@
+--- 
+- !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:52:35 GMT
+      cache-control: 
+      - no-cache
+      pragma: 
+      - No-cache
+      expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      content-length: 
+      - "2978"
+      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>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>5908</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:35.361Z</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:52:35 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:38 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"



Mime
View raw message