deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [26/34] Fixed RHEV-M fixtures to work under Ruby 1.8
Date Fri, 09 Nov 2012 09:06:26 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-10.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-10.yml b/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-10.yml
index 216b7ad..7121d55 100644
--- a/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-10.yml
+++ b/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-10.yml
@@ -1,527 +1,612 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Content-Type: 
+      - application/xml
+      Accept: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:26:06 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Date: 
+      - Fri, 09 Nov 2012 09:00:00 GMT
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=sL2mHtYpYPegrx2uCDeSVAnQ; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
-        \   <name>Default</name>\n    <description>The default Data Center</description>\n
-        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
-        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n        <version
-        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n        <state>up</state>\n
-        \   </status>\n</data_center>\n"
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+      Set-Cookie: 
+      - JSESSIONID=SnX8JhBQI4ryQf3RC1zavtib; Path=/api; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+            <name>Default</name>
+            <description>The default Data Center</description>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains" rel="storagedomains"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions" rel="permissions"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas" rel="quotas"/>
+            <storage_type>nfs</storage_type>
+            <storage_format>v3</storage_format>
+            <version major="3" minor="1"/>
+            <supported_versions>
+                <version major="3" minor="1"/>
+            </supported_versions>
+            <status>
+                <state>up</state>
+            </status>
+        </data_center>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:26:07 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 09:00:01 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms?search=datacenter=Default
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Content-Type: 
+      - application/xml
+      Accept: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:26:06 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Date: 
+      - Fri, 09 Nov 2012 09:00:00 GMT
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=95dPdhs9YvzelJn+A6uTfx58; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Connection:
+      Connection: 
       - close
-      Transfer-Encoding:
+      Transfer-Encoding: 
       - chunked
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<vms>\n
-        \   <vm href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190\" id=\"de048029-c4f8-4e90-ac7b-67cf06102190\">\n
-        \       <actions>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cancelmigration\"
-        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/migrate\"
-        rel=\"migrate\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/ticket\"
-        rel=\"ticket\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/shutdown\"
-        rel=\"shutdown\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/start\"
-        rel=\"start\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/stop\"
-        rel=\"stop\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/suspend\"
-        rel=\"suspend\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/detach\"
-        rel=\"detach\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/export\"
-        rel=\"export\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/move\"
-        rel=\"move\"/>\n        </actions>\n        <name>dc-node01</name>\n        <description>Deltacloud
-        Builder and GIT mirror</description>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/snapshots\"
-        rel=\"snapshots\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/tags\"
-        rel=\"tags\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/statistics\"
-        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n            <state>up</state>\n
-        \       </status>\n        <memory>2147483648</memory>\n        <cpu>\n            <topology
-        sockets=\"4\" cores=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
-        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
-        \           <cmdline></cmdline>\n        </os>\n        <high_availability>\n
-        \           <enabled>true</enabled>\n            <priority>100</priority>\n
-        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
-        \           <address>dell-per610-02.lab.eng.brq.redhat.com</address>\n            <port>5901</port>\n
-        \           <monitors>1</monitors>\n            <allow_override>true</allow_override>\n
-        \       </display>\n        <host href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\"
-        id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
-        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <start_time>2012-09-25T11:03:18.519+02:00</start_time>\n
-        \       <creation_time>2012-09-19T15:57:10.513+02:00</creation_time>\n        <origin>rhev</origin>\n
-        \       <stateless>false</stateless>\n        <placement_policy>\n            <affinity>migratable</affinity>\n
-        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>2147483648</guaranteed>\n
-        \       </memory_policy>\n        <guest_info>\n            <ips>\n                <ip
-        address=\"10.34.33.233\"/>\n            </ips>\n        </guest_info>\n        <quota
-        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <usb>\n            <enabled>false</enabled>\n
-        \       </usb>\n    </vm>\n    <vm href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b\"
-        id=\"aee171dc-f1c2-4fae-ba62-6f74baef746b\">\n        <actions>\n            <link
-        href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/cancelmigration\" rel=\"cancelmigration\"/>\n
-        \           <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/migrate\"
-        rel=\"migrate\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/ticket\"
-        rel=\"ticket\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/shutdown\"
-        rel=\"shutdown\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/start\"
-        rel=\"start\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/stop\"
-        rel=\"stop\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/suspend\"
-        rel=\"suspend\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/detach\"
-        rel=\"detach\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/export\"
-        rel=\"export\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/move\"
-        rel=\"move\"/>\n        </actions>\n        <name>foreman-node01</name>\n
-        \       <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/snapshots\"
-        rel=\"snapshots\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/tags\"
-        rel=\"tags\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/statistics\"
-        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n            <state>down</state>\n
-        \       </status>\n        <memory>2147483648</memory>\n        <cpu>\n            <topology
-        sockets=\"2\" cores=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
-        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
-        \           <cmdline></cmdline>\n        </os>\n        <high_availability>\n
-        \           <enabled>false</enabled>\n            <priority>1</priority>\n
-        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
-        \           <address>dell-per610-02.lab.eng.brq.redhat.com</address>\n            <port>5902</port>\n
-        \           <monitors>1</monitors>\n            <allow_override>true</allow_override>\n
-        \       </display>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
-        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <start_time>2012-09-26T14:55:17.361+02:00</start_time>\n
-        \       <creation_time>2012-09-26T14:54:29.007+02:00</creation_time>\n        <origin>rhev</origin>\n
-        \       <stateless>false</stateless>\n        <placement_policy>\n            <affinity>migratable</affinity>\n
-        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1431306240</guaranteed>\n
-        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
-        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n    </vm>\n
-        \   <vm href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712\" id=\"fd15329f-bcf1-4826-bfed-601c352fc712\">\n
-        \       <actions>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/cancelmigration\"
-        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/migrate\"
-        rel=\"migrate\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/ticket\"
-        rel=\"ticket\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/shutdown\"
-        rel=\"shutdown\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/start\"
-        rel=\"start\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/stop\"
-        rel=\"stop\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/suspend\"
-        rel=\"suspend\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/detach\"
-        rel=\"detach\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/export\"
-        rel=\"export\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/move\"
-        rel=\"move\"/>\n        </actions>\n        <name>i-1352301788</name>\n        <link
-        href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/disks\" rel=\"disks\"/>\n
-        \       <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/snapshots\"
-        rel=\"snapshots\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/tags\"
-        rel=\"tags\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/statistics\"
-        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n            <state>powering_down</state>\n
-        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
-        \           <boot dev=\"network\"/>\n            <boot dev=\"hd\"/>\n            <kernel></kernel>\n
-        \           <initrd></initrd>\n            <cmdline></cmdline>\n        </os>\n
-        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>1</priority>\n
-        \       </high_availability>\n        <display>\n            <type>spice</type>\n
-        \           <address>10.34.32.183</address>\n            <port>5904</port>\n
-        \           <secure_port>5905</secure_port>\n            <monitors>1</monitors>\n
-        \           <allow_override>false</allow_override>\n        </display>\n        <host
-        href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\" id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n
-        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"
-        id=\"5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"/>\n        <start_time>2012-11-07T16:24:34.885+01:00</start_time>\n
-        \       <creation_time>2012-11-07T16:23:09.149+01:00</creation_time>\n        <origin>rhev</origin>\n
-        \       <stateless>false</stateless>\n        <placement_policy>\n            <affinity>migratable</affinity>\n
-        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
-        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
-        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n    </vm>\n
-        \   <vm href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7\" id=\"a841ff8e-1b13-432e-9f37-0df71b6041d7\">\n
-        \       <actions>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cancelmigration\"
-        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/migrate\"
-        rel=\"migrate\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/ticket\"
-        rel=\"ticket\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/shutdown\"
-        rel=\"shutdown\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/start\"
-        rel=\"start\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/stop\"
-        rel=\"stop\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/suspend\"
-        rel=\"suspend\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/detach\"
-        rel=\"detach\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/export\"
-        rel=\"export\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/move\"
-        rel=\"move\"/>\n        </actions>\n        <name>JoeV_06112012_01</name>\n
-        \       <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/snapshots\"
-        rel=\"snapshots\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/tags\"
-        rel=\"tags\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/statistics\"
-        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n            <state>up</state>\n
-        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
-        \           <boot dev=\"network\"/>\n            <boot dev=\"hd\"/>\n            <kernel></kernel>\n
-        \           <initrd></initrd>\n            <cmdline></cmdline>\n        </os>\n
-        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>1</priority>\n
-        \       </high_availability>\n        <display>\n            <type>spice</type>\n
-        \           <address>10.34.32.183</address>\n            <port>5902</port>\n
-        \           <secure_port>5903</secure_port>\n            <monitors>1</monitors>\n
-        \           <allow_override>false</allow_override>\n        </display>\n        <host
-        href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\" id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n
-        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"
-        id=\"5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"/>\n        <start_time>2012-11-06T19:53:43.277+01:00</start_time>\n
-        \       <creation_time>2012-11-06T19:53:08.804+01:00</creation_time>\n        <origin>rhev</origin>\n
-        \       <stateless>false</stateless>\n        <placement_policy>\n            <affinity>migratable</affinity>\n
-        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
-        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
-        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n    </vm>\n
-        \   <vm href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1\" id=\"2942d4be-57e4-4751-a5ac-b334567125b1\">\n
-        \       <actions>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cancelmigration\"
-        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/migrate\"
-        rel=\"migrate\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/ticket\"
-        rel=\"ticket\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/shutdown\"
-        rel=\"shutdown\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/start\"
-        rel=\"start\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/stop\"
-        rel=\"stop\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/suspend\"
-        rel=\"suspend\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/detach\"
-        rel=\"detach\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/export\"
-        rel=\"export\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/move\"
-        rel=\"move\"/>\n        </actions>\n        <name>mfojtik-perses</name>\n
-        \       <description>mfojtik private machine</description>\n        <link
-        href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/disks\" rel=\"disks\"/>\n
-        \       <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/snapshots\"
-        rel=\"snapshots\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/tags\"
-        rel=\"tags\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/statistics\"
-        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n            <state>up</state>\n
-        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
-        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
-        \           <cmdline></cmdline>\n        </os>\n        <high_availability>\n
-        \           <enabled>false</enabled>\n            <priority>1</priority>\n
-        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
-        \           <address>dell-per610-02.lab.eng.brq.redhat.com</address>\n            <port>5900</port>\n
-        \           <monitors>1</monitors>\n            <allow_override>true</allow_override>\n
-        \       </display>\n        <host href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\"
-        id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
-        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <start_time>2012-09-25T11:03:16.547+02:00</start_time>\n
-        \       <creation_time>2012-09-19T17:35:47.578+02:00</creation_time>\n        <origin>rhev</origin>\n
-        \       <stateless>false</stateless>\n        <placement_policy>\n            <affinity>migratable</affinity>\n
-        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
-        \       </memory_policy>\n        <guest_info>\n            <ips>\n                <ip
-        address=\"10.34.32.90\"/>\n            </ips>\n        </guest_info>\n        <quota
-        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <usb>\n            <enabled>false</enabled>\n
-        \       </usb>\n    </vm>\n    <vm href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c\"
-        id=\"a921bfe6-9ba6-4761-9e95-42737768ff8c\">\n        <actions>\n            <link
-        href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cancelmigration\" rel=\"cancelmigration\"/>\n
-        \           <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/migrate\"
-        rel=\"migrate\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/ticket\"
-        rel=\"ticket\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/shutdown\"
-        rel=\"shutdown\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/start\"
-        rel=\"start\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/stop\"
-        rel=\"stop\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/suspend\"
-        rel=\"suspend\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/detach\"
-        rel=\"detach\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/export\"
-        rel=\"export\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/move\"
-        rel=\"move\"/>\n        </actions>\n        <name>rhevm1-jprovazn-09-rhevm1</name>\n
-        \       <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/snapshots\"
-        rel=\"snapshots\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/tags\"
-        rel=\"tags\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/statistics\"
-        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n            <state>down</state>\n
-        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
-        \           <boot dev=\"network\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
-        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
-        \       </high_availability>\n        <display>\n            <type>spice</type>\n
-        \           <monitors>1</monitors>\n            <allow_override>false</allow_override>\n
-        \       </display>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505\"
-        id=\"fe9dcb11-a035-4d80-89b4-a4092a892505\"/>\n        <creation_time>2012-10-29T14:06:27.378+01:00</creation_time>\n
-        \       <origin>rhev</origin>\n        <stateless>false</stateless>\n        <placement_policy>\n
-        \           <affinity>migratable</affinity>\n        </placement_policy>\n
-        \       <memory_policy>\n            <guaranteed>536870912</guaranteed>\n
-        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
-        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n    </vm>\n</vms>\n"
-    http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:26:08 GMT
-- request:
-    method: get
-    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
-      - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:26:09 GMT
-      Pragma:
+      Pragma: 
       - No-cache
-      Cache-Control:
-      - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=hlxpMaAwmgaVs17tRYanvHVE; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '1052'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
-        \   <nic href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d\"
-        id=\"6c27ca48-ce87-4490-8ae4-25178a32345d\">\n        <actions>\n            <link
-        href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d/deactivate\"
-        rel=\"deactivate\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d/activate\"
-        rel=\"activate\"/>\n        </actions>\n        <name>nic1</name>\n        <link
-        href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d/statistics\"
-        rel=\"statistics\"/>\n        <vm href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b\"
-        id=\"aee171dc-f1c2-4fae-ba62-6f74baef746b\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
-        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
-        \       <mac address=\"00:1a:4a:22:20:00\"/>\n        <active>true</active>\n
-        \   </nic>\n</nics>\n"
+      Set-Cookie: 
+      - JSESSIONID=DPEJFm--Ca19mc2ufDGNvCiT; Path=/api; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <vms>
+            <vm href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190" id="de048029-c4f8-4e90-ac7b-67cf06102190">
+                <actions>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/migrate" rel="migrate"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/ticket" rel="ticket"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cancelmigration" rel="cancelmigration"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/shutdown" rel="shutdown"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/start" rel="start"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/stop" rel="stop"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/suspend" rel="suspend"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/detach" rel="detach"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/export" rel="export"/>
+                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/move" rel="move"/>
+                </actions>
+                <name>dc-node01</name>
+                <description>Deltacloud Builder and GIT mirror</description>
+                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/disks" rel="disks"/>
+                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/nics" rel="nics"/>
+                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cdroms" rel="cdroms"/>
+                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/snapshots" rel="snapshots"/>
+                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/tags" rel="tags"/>
+                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/permissions" rel="permissions"/>
+                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/statistics" rel="statistics"/>
+                <type>server</type>
+                <status>
+                    <state>up</state>
+                </status>
+                <memory>2147483648</memory>
+                <cpu>
+                    <topology sockets="4" cores="1"/>
+                </cpu>
+                <os type="rhel_6x64">
+                    <boot dev="hd"/>
+                    <kernel></kernel>
+                    <initrd></initrd>
+                    <cmdline></cmdline>
+                </os>
+                <high_availability>
+                    <enabled>true</enabled>
+                    <priority>100</priority>
+                </high_availability>
+                <display>
+                    <type>vnc</type>
+                    <address>dell-per610-02.lab.eng.brq.redhat.com</address>
+                    <port>5901</port>
+                    <monitors>1</monitors>
+                    <allow_override>true</allow_override>
+                </display>
+                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/>
+                <start_time>2012-09-25T11:03:18.519+02:00</start_time>
+                <creation_time>2012-09-19T15:57:10.513+02:00</creation_time>
+                <origin>rhev</origin>
+                <stateless>false</stateless>
+                <placement_policy>
+                    <affinity>migratable</affinity>
+                </placement_policy>
+                <memory_policy>
+                    <guaranteed>2147483648</guaranteed>
+                </memory_policy>
+                <guest_info>
+                    <ips>
+                        <ip address="10.34.33.233"/>
+                    </ips>
+                </guest_info>
+                <quota id="00000000-0000-0000-0000-000000000000"/>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </vm>
+            <vm href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c" id="1fbe1fc8-9814-4af8-955e-915b67f07a9c">
+                <actions>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/migrate" rel="migrate"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/ticket" rel="ticket"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/cancelmigration" rel="cancelmigration"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/shutdown" rel="shutdown"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/start" rel="start"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/stop" rel="stop"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/suspend" rel="suspend"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/detach" rel="detach"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/export" rel="export"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/move" rel="move"/>
+                </actions>
+                <name>i-1352451498</name>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/disks" rel="disks"/>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics" rel="nics"/>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/cdroms" rel="cdroms"/>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/snapshots" rel="snapshots"/>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/tags" rel="tags"/>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/permissions" rel="permissions"/>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/statistics" rel="statistics"/>
+                <type>server</type>
+                <status>
+                    <state>powering_down</state>
+                </status>
+                <memory>1073741824</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="rhel_6x64">
+                    <boot dev="network"/>
+                    <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>
+                    <secure_port>5907</secure_port>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <template href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5" id="5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5"/>
+                <start_time>2012-11-09T09:58:42.704+01:00</start_time>
+                <creation_time>2012-11-09T09:58:17.921+01:00</creation_time>
+                <origin>rhev</origin>
+                <stateless>false</stateless>
+                <placement_policy>
+                    <affinity>migratable</affinity>
+                </placement_policy>
+                <memory_policy>
+                    <guaranteed>1073741824</guaranteed>
+                </memory_policy>
+                <quota id="00000000-0000-0000-0000-000000000000"/>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </vm>
+            <vm href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7" id="a841ff8e-1b13-432e-9f37-0df71b6041d7">
+                <actions>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/migrate" rel="migrate"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/ticket" rel="ticket"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cancelmigration" rel="cancelmigration"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/shutdown" rel="shutdown"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/start" rel="start"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/stop" rel="stop"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/suspend" rel="suspend"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/detach" rel="detach"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/export" rel="export"/>
+                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/move" rel="move"/>
+                </actions>
+                <name>JoeV_06112012_01</name>
+                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/disks" rel="disks"/>
+                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics" rel="nics"/>
+                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cdroms" rel="cdroms"/>
+                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/snapshots" rel="snapshots"/>
+                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/tags" rel="tags"/>
+                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/permissions" rel="permissions"/>
+                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/statistics" rel="statistics"/>
+                <type>server</type>
+                <status>
+                    <state>up</state>
+                </status>
+                <memory>1073741824</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="rhel_6x64">
+                    <boot dev="network"/>
+                    <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>5902</port>
+                    <secure_port>5903</secure_port>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <template href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5" id="5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5"/>
+                <start_time>2012-11-06T19:53:43.277+01:00</start_time>
+                <creation_time>2012-11-06T19:53:08.804+01:00</creation_time>
+                <origin>rhev</origin>
+                <stateless>false</stateless>
+                <placement_policy>
+                    <affinity>migratable</affinity>
+                </placement_policy>
+                <memory_policy>
+                    <guaranteed>1073741824</guaranteed>
+                </memory_policy>
+                <guest_info>
+                    <ips>
+                        <ip address="10.34.37.230"/>
+                    </ips>
+                </guest_info>
+                <quota id="00000000-0000-0000-0000-000000000000"/>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </vm>
+            <vm href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1" id="2942d4be-57e4-4751-a5ac-b334567125b1">
+                <actions>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/migrate" rel="migrate"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/ticket" rel="ticket"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cancelmigration" rel="cancelmigration"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/shutdown" rel="shutdown"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/start" rel="start"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/stop" rel="stop"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/suspend" rel="suspend"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/detach" rel="detach"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/export" rel="export"/>
+                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/move" rel="move"/>
+                </actions>
+                <name>mfojtik-perses</name>
+                <description>mfojtik private machine</description>
+                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/disks" rel="disks"/>
+                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/nics" rel="nics"/>
+                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cdroms" rel="cdroms"/>
+                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/snapshots" rel="snapshots"/>
+                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/tags" rel="tags"/>
+                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/permissions" rel="permissions"/>
+                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/statistics" rel="statistics"/>
+                <type>server</type>
+                <status>
+                    <state>up</state>
+                </status>
+                <memory>1073741824</memory>
+                <cpu>
+                    <topology sockets="1" cores="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>vnc</type>
+                    <address>dell-per610-02.lab.eng.brq.redhat.com</address>
+                    <port>5900</port>
+                    <monitors>1</monitors>
+                    <allow_override>true</allow_override>
+                </display>
+                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/>
+                <start_time>2012-09-25T11:03:16.547+02:00</start_time>
+                <creation_time>2012-09-19T17:35:47.578+02:00</creation_time>
+                <origin>rhev</origin>
+                <stateless>false</stateless>
+                <placement_policy>
+                    <affinity>migratable</affinity>
+                </placement_policy>
+                <memory_policy>
+                    <guaranteed>1073741824</guaranteed>
+                </memory_policy>
+                <guest_info>
+                    <ips>
+                        <ip address="10.34.32.90"/>
+                    </ips>
+                </guest_info>
+                <quota id="00000000-0000-0000-0000-000000000000"/>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </vm>
+            <vm href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c" id="a921bfe6-9ba6-4761-9e95-42737768ff8c">
+                <actions>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/migrate" rel="migrate"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/ticket" rel="ticket"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cancelmigration" rel="cancelmigration"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/shutdown" rel="shutdown"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/start" rel="start"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/stop" rel="stop"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/suspend" rel="suspend"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/detach" rel="detach"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/export" rel="export"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/move" rel="move"/>
+                </actions>
+                <name>rhevm1-jprovazn-09-rhevm1</name>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/disks" rel="disks"/>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics" rel="nics"/>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cdroms" rel="cdroms"/>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/snapshots" rel="snapshots"/>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/tags" rel="tags"/>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/permissions" rel="permissions"/>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/statistics" rel="statistics"/>
+                <type>server</type>
+                <status>
+                    <state>down</state>
+                </status>
+                <memory>536870912</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="other_linux">
+                    <boot dev="network"/>
+                    <boot dev="hd"/>
+                </os>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>0</priority>
+                </high_availability>
+                <display>
+                    <type>spice</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <template href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505" id="fe9dcb11-a035-4d80-89b4-a4092a892505"/>
+                <creation_time>2012-10-29T14:06:27.378+01:00</creation_time>
+                <origin>rhev</origin>
+                <stateless>false</stateless>
+                <placement_policy>
+                    <affinity>migratable</affinity>
+                </placement_policy>
+                <memory_policy>
+                    <guaranteed>536870912</guaranteed>
+                </memory_policy>
+                <quota id="00000000-0000-0000-0000-000000000000"/>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </vm>
+            <vm href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e" id="f10a7ceb-8484-4ddb-a6d0-598eb6408f0e">
+                <actions>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/migrate" rel="migrate"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/ticket" rel="ticket"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/cancelmigration" rel="cancelmigration"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/shutdown" rel="shutdown"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/start" rel="start"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/stop" rel="stop"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/suspend" rel="suspend"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/detach" rel="detach"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/export" rel="export"/>
+                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/move" rel="move"/>
+                </actions>
+                <name>test123</name>
+                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/disks" rel="disks"/>
+                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/nics" rel="nics"/>
+                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/cdroms" rel="cdroms"/>
+                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/snapshots" rel="snapshots"/>
+                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/tags" rel="tags"/>
+                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/permissions" rel="permissions"/>
+                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/statistics" rel="statistics"/>
+                <type>server</type>
+                <status>
+                    <state>up</state>
+                </status>
+                <memory>2147483648</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="other_linux">
+                    <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>5904</port>
+                    <secure_port>5905</secure_port>
+                    <monitors>1</monitors>
+                    <allow_override>true</allow_override>
+                </display>
+                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/>
+                <start_time>2012-11-08T14:36:19.648+01:00</start_time>
+                <creation_time>2012-11-08T14:35:56.818+01:00</creation_time>
+                <origin>rhev</origin>
+                <stateless>false</stateless>
+                <placement_policy>
+                    <affinity>migratable</affinity>
+                </placement_policy>
+                <memory_policy>
+                    <guaranteed>1431306240</guaranteed>
+                </memory_policy>
+                <guest_info>
+                    <ips>
+                        <ip address="10.34.37.197"/>
+                    </ips>
+                </guest_info>
+                <quota id="00000000-0000-0000-0000-000000000000"/>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </vm>
+        </vms>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:26:10 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 09:00:01 GMT
+- request: 
     method: get
-    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Content-Type: 
+      - application/xml
+      Accept: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:26:10 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Date: 
+      - Fri, 09 Nov 2012 09:00:00 GMT
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=zfgRXY7Qva8S0wvibeFxDNHO; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1052'
-      Connection:
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
-        \   <nic href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be\"
-        id=\"659f9eff-d2d9-4220-bbb4-a9712fe421be\">\n        <actions>\n            <link
-        href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be/deactivate\"
-        rel=\"deactivate\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be/activate\"
-        rel=\"activate\"/>\n        </actions>\n        <name>nic1</name>\n        <link
-        href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be/statistics\"
-        rel=\"statistics\"/>\n        <vm href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712\"
-        id=\"fd15329f-bcf1-4826-bfed-601c352fc712\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
-        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
-        \       <mac address=\"00:1a:4a:22:20:14\"/>\n        <active>true</active>\n
-        \   </nic>\n</nics>\n"
-    http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:26:11 GMT
-- request:
-    method: get
-    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
-      - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 200
-      message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:26:10 GMT
-      Pragma:
+      Content-Length: 
+      - "1052"
+      Pragma: 
       - No-cache
-      Cache-Control:
-      - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=WWhh4OgK-mZe+j1JB6O30CfE; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '1052'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
-        \   <nic href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee\"
-        id=\"2463f06a-ec92-411f-8c42-04ea1aaba6ee\">\n        <actions>\n            <link
-        href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee/deactivate\"
-        rel=\"deactivate\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee/activate\"
-        rel=\"activate\"/>\n        </actions>\n        <name>nic1</name>\n        <link
-        href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee/statistics\"
-        rel=\"statistics\"/>\n        <vm href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7\"
-        id=\"a841ff8e-1b13-432e-9f37-0df71b6041d7\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
-        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
-        \       <mac address=\"00:1a:4a:22:20:15\"/>\n        <active>true</active>\n
-        \   </nic>\n</nics>\n"
+      Set-Cookie: 
+      - JSESSIONID=NN0D0KT4usb1jHVada6BgiUM; Path=/api; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <nics>
+            <nic href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09" id="a03e3218-81a5-47c4-9193-aaba4cccfa09">
+                <actions>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09/deactivate" rel="deactivate"/>
+                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09/activate" rel="activate"/>
+                </actions>
+                <name>nic1</name>
+                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09/statistics" rel="statistics"/>
+                <vm href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c" id="1fbe1fc8-9814-4af8-955e-915b67f07a9c"/>
+                <network href="/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009"/>
+                <interface>virtio</interface>
+                <mac address="00:1a:4a:22:20:00"/>
+                <active>true</active>
+            </nic>
+        </nics>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:26:12 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 09:00:01 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
+    body: 
+      string: ""
+    headers: 
+      Accept-Encoding: 
       - gzip, deflate
-      Content-Type:
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+      Accept: 
+      - application/xml
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:26:11 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
+      Date: 
+      - Fri, 09 Nov 2012 09:00:01 GMT
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=yijE+Tz3Sd4f121XMFt41TQW; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1052'
-      Connection:
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
-        \   <nic href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56\"
-        id=\"25512ddd-4671-4613-9793-88fe3e76cd56\">\n        <actions>\n            <link
-        href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/deactivate\"
-        rel=\"deactivate\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/activate\"
-        rel=\"activate\"/>\n        </actions>\n        <name>eth0</name>\n        <link
-        href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/statistics\"
-        rel=\"statistics\"/>\n        <vm href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c\"
-        id=\"a921bfe6-9ba6-4761-9e95-42737768ff8c\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
-        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
-        \       <mac address=\"00:1a:4a:22:20:19\"/>\n        <active>true</active>\n
-        \   </nic>\n</nics>\n"
+      Content-Length: 
+      - "1052"
+      Pragma: 
+      - No-cache
+      Content-Type: 
+      - application/xml
+      Set-Cookie: 
+      - JSESSIONID=0319gP3+fwvWqC-hWed91nQv; Path=/api; Secure
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <nics>
+            <nic href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56" id="25512ddd-4671-4613-9793-88fe3e76cd56">
+                <actions>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/deactivate" rel="deactivate"/>
+                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/activate" rel="activate"/>
+                </actions>
+                <name>eth0</name>
+                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/statistics" rel="statistics"/>
+                <vm href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c" id="a921bfe6-9ba6-4761-9e95-42737768ff8c"/>
+                <network href="/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009"/>
+                <interface>virtio</interface>
+                <mac address="00:1a:4a:22:20:19"/>
+                <active>true</active>
+            </nic>
+        </nics>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:26:12 GMT
+  recorded_at: Fri, 09 Nov 2012 09:00:02 GMT
 recorded_with: VCR 2.2.5


Mime
View raw message