deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [41/50] [abbrv] Core: Added initial RHEV-M unit tests
Date Mon, 30 Jul 2012 14:29:18 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/02bb895d/server/tests/drivers/rhevm/fixtures/test_0005_must_allow_to_create_a_new_instance_and_destroy_it.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0005_must_allow_to_create_a_new_instance_and_destroy_it.yml b/server/tests/drivers/rhevm/fixtures/test_0005_must_allow_to_create_a_new_instance_and_destroy_it.yml
new file mode 100644
index 0000000..0420e7c
--- /dev/null
+++ b/server/tests/drivers/rhevm/fixtures/test_0005_must_allow_to_create_a_new_instance_and_destroy_it.yml
@@ -0,0 +1,6823 @@
+---
+http_interactions:
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '715'
+      Date:
+      - Wed, 25 Jul 2012 11:47:11 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
+        id=\"645e425e-66fe-4ac9-8874-537bd10ef08d\" href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d\">\n
+        \   <name>engops-nfs</name>\n    <description></description>\n    <link rel=\"storagedomains\"
+        href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains\"/>\n
+        \   <link rel=\"permissions\" href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions\"/>\n
+        \   <storage_type>nfs</storage_type>\n    <storage_format>v1</storage_format>\n
+        \   <version minor=\"0\" major=\"3\"/>\n    <supported_versions>\n        <version
+        minor=\"0\" major=\"3\"/>\n    </supported_versions>\n    <status>\n        <state>up</state>\n
+        \   </status>\n</data_center>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:15 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/clusters?search=datacenter=engops-nfs
+    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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '971'
+      Date:
+      - Wed, 25 Jul 2012 11:47:11 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<clusters>\n
+        \   <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\">\n
+        \       <name>engops-nfs</name>\n        <link rel=\"networks\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702/networks\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702/permissions\"/>\n
+        \       <cpu id=\"Intel Conroe Family\"/>\n        <data_center id=\"645e425e-66fe-4ac9-8874-537bd10ef08d\"
+        href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d\"/>\n        <memory_policy>\n
+        \           <overcommit percent=\"100\"/>\n            <transparent_hugepages>\n
+        \               <enabled>false</enabled>\n            </transparent_hugepages>\n
+        \       </memory_policy>\n        <scheduling_policy/>\n        <version minor=\"0\"
+        major=\"3\"/>\n        <error_handling>\n            <on_error>migrate</on_error>\n
+        \       </error_handling>\n    </cluster>\n</clusters>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:16 GMT
+- request:
+    method: post
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms
+    body:
+      encoding: US-ASCII
+      string: ! "<vm>\n  <name>i-1343216896</name>\n  <template id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"/>\n
+        \ <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"/>\n  <type>SERVER</type>\n
+        \ <memory>1073741824</memory>\n  <cpu>\n    <topology cores=\"1\" sockets=\"1\"/>\n
+        \ </cpu>\n  <os>\n    <boot dev=\"network\"/>\n    <boot dev=\"hd\"/>\n  </os>\n
+        \ <custom_properties>\n    <custom_property name=\"floppyinject\" value=\"deltacloud-user-data.txt:test
+        user data\" regexp=\"^([^:]+):(.*)$\"/>\n  </custom_properties>\n</vm>"
+    headers:
+      Accept:
+      - application/xml
+      Accept-Encoding:
+      - gzip, deflate
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '478'
+      User-Agent:
+      - Ruby
+  response:
+    status:
+      code: 202
+      message: Accepted
+    headers:
+      Server:
+      - Apache-Coyote/1.1
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '3178'
+      Date:
+      - Wed, 25 Jul 2012 11:47:11 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<vm
+        id=\"c68776b6-d7df-4cc3-bc94-76279625264a\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a\">\n
+        \   <name>i-1343216896</name>\n    <actions>\n        <link rel=\"shutdown\"
+        href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/shutdown\"/>\n        <link
+        rel=\"start\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/start\"/>\n
+        \       <link rel=\"stop\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/stop\"/>\n
+        \       <link rel=\"suspend\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/suspend\"/>\n
+        \       <link rel=\"detach\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/detach\"/>\n
+        \       <link rel=\"export\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/export\"/>\n
+        \       <link rel=\"move\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/move\"/>\n
+        \       <link rel=\"ticket\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/ticket\"/>\n
+        \       <link rel=\"migrate\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/migrate\"/>\n
+        \   </actions>\n    <creation_status>\n        <state>pending</state>\n    </creation_status>\n
+        \   <link rel=\"disks\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/disks\"/>\n
+        \   <link rel=\"nics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/nics\"/>\n
+        \   <link rel=\"cdroms\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/cdroms\"/>\n
+        \   <link rel=\"snapshots\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/snapshots\"/>\n
+        \   <link rel=\"tags\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/tags\"/>\n
+        \   <link rel=\"permissions\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/permissions\"/>\n
+        \   <link rel=\"statistics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/statistics\"/>\n
+        \   <link rel=\"creation_status\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/creation_status/4baf461d-cb51-4089-9232-da2ccad297d6\"/>\n
+        \   <type>server</type>\n    <status>\n        <state>image_locked</state>\n
+        \   </status>\n    <memory>1073741824</memory>\n    <cpu>\n        <topology
+        cores=\"1\" sockets=\"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        <monitors>1</monitors>\n
+        \   </display>\n    <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \   <template id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"/>\n
+        \   <start_time>2012-07-25T11:47:11.590Z</start_time>\n    <creation_time>2012-07-25T13:47:11.479+02:00</creation_time>\n
+        \   <origin>rhev</origin>\n    <stateless>false</stateless>\n    <custom_properties>\n
+        \       <custom_property value=\"deltacloud-user-data.txt:test user data\"
+        name=\"floppyinject\"/>\n    </custom_properties>\n    <placement_policy>\n
+        \       <affinity>migratable</affinity>\n    </placement_policy>\n    <memory_policy>\n
+        \       <guaranteed>1073741824</guaranteed>\n    </memory_policy>\n    <usb>\n
+        \       <enabled>false</enabled>\n    </usb>\n</vm>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:16 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:11 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"2bc6536e-1bca-4ea4-8d1c-1e77cffa5b6f\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/nics/2bc6536e-1bca-4ea4-8d1c-1e77cffa5b6f\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/nics/2bc6536e-1bca-4ea4-8d1c-1e77cffa5b6f/statistics\"/>\n
+        \       <vm id=\"c68776b6-d7df-4cc3-bc94-76279625264a\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:05\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:16 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '715'
+      Date:
+      - Wed, 25 Jul 2012 11:47:35 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
+        id=\"645e425e-66fe-4ac9-8874-537bd10ef08d\" href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d\">\n
+        \   <name>engops-nfs</name>\n    <description></description>\n    <link rel=\"storagedomains\"
+        href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains\"/>\n
+        \   <link rel=\"permissions\" href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions\"/>\n
+        \   <storage_type>nfs</storage_type>\n    <storage_format>v1</storage_format>\n
+        \   <version minor=\"0\" major=\"3\"/>\n    <supported_versions>\n        <version
+        minor=\"0\" major=\"3\"/>\n    </supported_versions>\n    <status>\n        <state>up</state>\n
+        \   </status>\n</data_center>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:40 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms?search=datacenter=engops-nfs
+    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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Transfer-Encoding:
+      - chunked
+      Date:
+      - Wed, 25 Jul 2012 11:47:35 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<vms>\n
+        \   <vm id=\"c63758d9-3db6-47ca-8412-4f517946910e\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e\">\n
+        \       <name>f17-aeolus</name>\n        <actions>\n            <link rel=\"shutdown\"
+        href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/shutdown\"/>\n            <link
+        rel=\"start\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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>5908</port>\n
+        \           <secure_port>5909</secure_port>\n            <monitors>1</monitors>\n
+        \       </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"00000000-0000-0000-0000-000000000000\" href=\"/api/templates/00000000-0000-0000-0000-000000000000\"/>\n
+        \       <start_time>2012-05-07T14:35:15.080Z</start_time>\n        <creation_time>2012-05-07T16:32:43.954+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>536870912</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>true</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"c5981108-72c8-40f5-9b3f-98fa1569e907\"
+        href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907\">\n        <name>fedora-packaging</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>2147483648</memory>\n        <cpu>\n            <topology
+        cores=\"2\" sockets=\"2\"/>\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>1</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5903</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"00000000-0000-0000-0000-000000000000\" href=\"/api/templates/00000000-0000-0000-0000-000000000000\"/>\n
+        \       <start_time>2012-04-05T11:53:31.081Z</start_time>\n        <creation_time>2012-04-05T13:35:05.106+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.37.221\"/>\n            </ips>\n        </guest_info>\n        <usb>\n
+        \           <enabled>false</enabled>\n        </usb>\n    </vm>\n    <vm id=\"e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a\"
+        href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a\">\n        <name>i-1343216513</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>down</state>\n
+        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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
+        \       </display>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <template
+        id=\"5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\"/>\n
+        \       <start_time>2012-07-25T11:47:36.081Z</start_time>\n        <creation_time>2012-07-25T13:40:49.044+02:00</creation_time>\n
+        \       <origin>rhev</origin>\n        <stateless>false</stateless>\n        <custom_properties>\n
+        \           <custom_property value=\"deltacloud-user-data.txt:test user data\"
+        name=\"floppyinject\"/>\n        </custom_properties>\n        <placement_policy>\n
+        \           <affinity>migratable</affinity>\n        </placement_policy>\n
+        \       <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"c68776b6-d7df-4cc3-bc94-76279625264a\"
+        href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a\">\n        <name>i-1343216896</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>down</state>\n
+        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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
+        \           <monitors>1</monitors>\n        </display>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <template
+        id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"/>\n
+        \       <start_time>2012-07-25T11:47:36.082Z</start_time>\n        <creation_time>2012-07-25T13:47:11.479+02:00</creation_time>\n
+        \       <origin>rhev</origin>\n        <stateless>false</stateless>\n        <custom_properties>\n
+        \           <custom_property value=\"deltacloud-user-data.txt:test user data\"
+        name=\"floppyinject\"/>\n        </custom_properties>\n        <placement_policy>\n
+        \           <affinity>migratable</affinity>\n        </placement_policy>\n
+        \       <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"445fccf4-9bee-4da5-8155-9ff8d581c4ae\"
+        href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae\">\n        <name>integrity-aeolus</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>3145728000</memory>\n        <cpu>\n            <topology
+        cores=\"3\" sockets=\"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>10.34.32.183</address>\n            <port>5902</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"3e82e2d5-913f-4095-ae72-ebcfa9d0571d\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d\"/>\n
+        \       <start_time>2012-03-08T13:02:08.083Z</start_time>\n        <creation_time>2011-10-24T16:54:22.748+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>3145728000</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"4d8c4996-ea1a-44d5-8540-4582eba76166\"
+        href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166\">\n        <name>mariosinstance</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/statistics\"/>\n
+        \       <type>desktop</type>\n        <status>\n            <state>down</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <template
+        id=\"5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\"/>\n
+        \       <start_time>2012-07-25T11:47:36.084Z</start_time>\n        <creation_time>2012-02-08T12:29:58.870+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        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"f43673e3-e3fc-46a8-a82f-a105409b588e\"
+        href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e\">\n        <name>mfojtik-packaging</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"4\" sockets=\"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>50</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5901</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"/>\n
+        \       <start_time>2012-03-08T12:05:46.085Z</start_time>\n        <creation_time>2011-10-06T13:52:14.250+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.32.90\"/>\n            </ips>\n        </guest_info>\n        <usb>\n
+        \           <enabled>false</enabled>\n        </usb>\n    </vm>\n    <vm id=\"87311041-db59-4a48-afca-d14d126d1ab3\"
+        href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3\">\n        <name>openstack-nova</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>4194304000</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"4\"/>\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>50</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5900</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"00000000-0000-0000-0000-000000000000\" href=\"/api/templates/00000000-0000-0000-0000-000000000000\"/>\n
+        \       <start_time>2012-03-08T12:02:04.085Z</start_time>\n        <creation_time>2012-02-22T12:24:56.368+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>4194304000</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n</vms>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:40 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:35 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"643940c2-b192-41d1-87c6-b82b238597e5\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/nics/643940c2-b192-41d1-87c6-b82b238597e5\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/nics/643940c2-b192-41d1-87c6-b82b238597e5/statistics\"/>\n
+        \       <vm id=\"c63758d9-3db6-47ca-8412-4f517946910e\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:4b\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:40 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:38 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"e4344b0e-5cd2-4935-a3a7-fa645b29801c\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/nics/e4344b0e-5cd2-4935-a3a7-fa645b29801c\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/nics/e4344b0e-5cd2-4935-a3a7-fa645b29801c/statistics\"/>\n
+        \       <vm id=\"e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:03\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:38 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"2bc6536e-1bca-4ea4-8d1c-1e77cffa5b6f\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/nics/2bc6536e-1bca-4ea4-8d1c-1e77cffa5b6f\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/nics/2bc6536e-1bca-4ea4-8d1c-1e77cffa5b6f/statistics\"/>\n
+        \       <vm id=\"c68776b6-d7df-4cc3-bc94-76279625264a\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:05\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:38 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"33ce633a-7422-43b6-9095-5e69b66ffaf7\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/nics/33ce633a-7422-43b6-9095-5e69b66ffaf7\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/nics/33ce633a-7422-43b6-9095-5e69b66ffaf7/statistics\"/>\n
+        \       <vm id=\"445fccf4-9bee-4da5-8155-9ff8d581c4ae\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:1c\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:38 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"6a2a1768-7f72-4f8c-b472-6a010a9f193a\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/nics/6a2a1768-7f72-4f8c-b472-6a010a9f193a\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/nics/6a2a1768-7f72-4f8c-b472-6a010a9f193a/statistics\"/>\n
+        \       <vm id=\"4d8c4996-ea1a-44d5-8540-4582eba76166\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:04\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:39 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"575030ef-3d28-4f92-a330-594b8a3ab1c6\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/nics/575030ef-3d28-4f92-a330-594b8a3ab1c6\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/nics/575030ef-3d28-4f92-a330-594b8a3ab1c6/statistics\"/>\n
+        \       <vm id=\"87311041-db59-4a48-afca-d14d126d1ab3\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:90\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d
+    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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '715'
+      Date:
+      - Wed, 25 Jul 2012 11:47:39 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
+        id=\"645e425e-66fe-4ac9-8874-537bd10ef08d\" href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d\">\n
+        \   <name>engops-nfs</name>\n    <description></description>\n    <link rel=\"storagedomains\"
+        href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/storagedomains\"/>\n
+        \   <link rel=\"permissions\" href=\"/api/datacenters/645e425e-66fe-4ac9-8874-537bd10ef08d/permissions\"/>\n
+        \   <storage_type>nfs</storage_type>\n    <storage_format>v1</storage_format>\n
+        \   <version minor=\"0\" major=\"3\"/>\n    <supported_versions>\n        <version
+        minor=\"0\" major=\"3\"/>\n    </supported_versions>\n    <status>\n        <state>up</state>\n
+        \   </status>\n</data_center>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms?search=datacenter=engops-nfs
+    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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Transfer-Encoding:
+      - chunked
+      Date:
+      - Wed, 25 Jul 2012 11:47:39 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<vms>\n
+        \   <vm id=\"c63758d9-3db6-47ca-8412-4f517946910e\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e\">\n
+        \       <name>f17-aeolus</name>\n        <actions>\n            <link rel=\"shutdown\"
+        href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/shutdown\"/>\n            <link
+        rel=\"start\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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>5908</port>\n
+        \           <secure_port>5909</secure_port>\n            <monitors>1</monitors>\n
+        \       </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"00000000-0000-0000-0000-000000000000\" href=\"/api/templates/00000000-0000-0000-0000-000000000000\"/>\n
+        \       <start_time>2012-05-07T14:35:09.107Z</start_time>\n        <creation_time>2012-05-07T16:32:43.954+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>536870912</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>true</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"c5981108-72c8-40f5-9b3f-98fa1569e907\"
+        href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907\">\n        <name>fedora-packaging</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/c5981108-72c8-40f5-9b3f-98fa1569e907/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>2147483648</memory>\n        <cpu>\n            <topology
+        cores=\"2\" sockets=\"2\"/>\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>1</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5903</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"00000000-0000-0000-0000-000000000000\" href=\"/api/templates/00000000-0000-0000-0000-000000000000\"/>\n
+        \       <start_time>2012-04-05T11:53:25.107Z</start_time>\n        <creation_time>2012-04-05T13:35:05.106+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.37.221\"/>\n            </ips>\n        </guest_info>\n        <usb>\n
+        \           <enabled>false</enabled>\n        </usb>\n    </vm>\n    <vm id=\"e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a\"
+        href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a\">\n        <name>i-1343216513</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>down</state>\n
+        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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
+        \       </display>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <template
+        id=\"5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\"/>\n
+        \       <start_time>2012-07-25T11:47:40.108Z</start_time>\n        <creation_time>2012-07-25T13:40:49.044+02:00</creation_time>\n
+        \       <origin>rhev</origin>\n        <stateless>false</stateless>\n        <custom_properties>\n
+        \           <custom_property value=\"deltacloud-user-data.txt:test user data\"
+        name=\"floppyinject\"/>\n        </custom_properties>\n        <placement_policy>\n
+        \           <affinity>migratable</affinity>\n        </placement_policy>\n
+        \       <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"c68776b6-d7df-4cc3-bc94-76279625264a\"
+        href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a\">\n        <name>i-1343216896</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/c68776b6-d7df-4cc3-bc94-76279625264a/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>down</state>\n
+        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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
+        \           <monitors>1</monitors>\n        </display>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <template
+        id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"/>\n
+        \       <start_time>2012-07-25T11:47:40.109Z</start_time>\n        <creation_time>2012-07-25T13:47:11.479+02:00</creation_time>\n
+        \       <origin>rhev</origin>\n        <stateless>false</stateless>\n        <custom_properties>\n
+        \           <custom_property value=\"deltacloud-user-data.txt:test user data\"
+        name=\"floppyinject\"/>\n        </custom_properties>\n        <placement_policy>\n
+        \           <affinity>migratable</affinity>\n        </placement_policy>\n
+        \       <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"445fccf4-9bee-4da5-8155-9ff8d581c4ae\"
+        href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae\">\n        <name>integrity-aeolus</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/445fccf4-9bee-4da5-8155-9ff8d581c4ae/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>3145728000</memory>\n        <cpu>\n            <topology
+        cores=\"3\" sockets=\"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>10.34.32.183</address>\n            <port>5902</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"3e82e2d5-913f-4095-ae72-ebcfa9d0571d\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d\"/>\n
+        \       <start_time>2012-03-08T13:02:02.110Z</start_time>\n        <creation_time>2011-10-24T16:54:22.748+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>3145728000</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"4d8c4996-ea1a-44d5-8540-4582eba76166\"
+        href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166\">\n        <name>mariosinstance</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/4d8c4996-ea1a-44d5-8540-4582eba76166/statistics\"/>\n
+        \       <type>desktop</type>\n        <status>\n            <state>down</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"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>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <template
+        id=\"5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\"/>\n
+        \       <start_time>2012-07-25T11:47:40.111Z</start_time>\n        <creation_time>2012-02-08T12:29:58.870+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        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm id=\"f43673e3-e3fc-46a8-a82f-a105409b588e\"
+        href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e\">\n        <name>mfojtik-packaging</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/f43673e3-e3fc-46a8-a82f-a105409b588e/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"4\" sockets=\"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>50</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5901</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"/>\n
+        \       <start_time>2012-03-08T12:05:40.112Z</start_time>\n        <creation_time>2011-10-06T13:52:14.250+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.32.90\"/>\n            </ips>\n        </guest_info>\n        <usb>\n
+        \           <enabled>false</enabled>\n        </usb>\n    </vm>\n    <vm id=\"87311041-db59-4a48-afca-d14d126d1ab3\"
+        href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3\">\n        <name>openstack-nova</name>\n
+        \       <actions>\n            <link rel=\"shutdown\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/shutdown\"/>\n
+        \           <link rel=\"start\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/start\"/>\n
+        \           <link rel=\"stop\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/stop\"/>\n
+        \           <link rel=\"suspend\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/suspend\"/>\n
+        \           <link rel=\"detach\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/detach\"/>\n
+        \           <link rel=\"export\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/export\"/>\n
+        \           <link rel=\"move\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/move\"/>\n
+        \           <link rel=\"ticket\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/ticket\"/>\n
+        \           <link rel=\"migrate\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/migrate\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/cdroms\"/>\n
+        \       <link rel=\"snapshots\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/snapshots\"/>\n
+        \       <link rel=\"tags\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/tags\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/permissions\"/>\n
+        \       <link rel=\"statistics\" href=\"/api/vms/87311041-db59-4a48-afca-d14d126d1ab3/statistics\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>up</state>\n
+        \       </status>\n        <memory>4194304000</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"4\"/>\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>50</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5900</port>\n
+        \           <monitors>1</monitors>\n        </display>\n        <host id=\"104caf44-cff8-11e0-9f1a-52540013f702\"
+        href=\"/api/hosts/104caf44-cff8-11e0-9f1a-52540013f702\"/>\n        <cluster
+        id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <template id=\"00000000-0000-0000-0000-000000000000\" href=\"/api/templates/00000000-0000-0000-0000-000000000000\"/>\n
+        \       <start_time>2012-03-08T12:01:58.113Z</start_time>\n        <creation_time>2012-02-22T12:24:56.368+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>4194304000</guaranteed>\n
+        \       </memory_policy>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n</vms>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - Wed, 25 Jul 2012 11:47:39 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic id=\"643940c2-b192-41d1-87c6-b82b238597e5\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/nics/643940c2-b192-41d1-87c6-b82b238597e5\">\n
+        \       <name>nic1</name>\n        <link rel=\"statistics\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e/nics/643940c2-b192-41d1-87c6-b82b238597e5/statistics\"/>\n
+        \       <vm id=\"c63758d9-3db6-47ca-8412-4f517946910e\" href=\"/api/vms/c63758d9-3db6-47ca-8412-4f517946910e\"/>\n
+        \       <network id=\"1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\" href=\"/api/networks/1aa64fd0-45ba-4e23-9603-614d1a1b8dbf\"/>\n
+        \       <interface>virtio</interface>\n        <mac address=\"00:1a:4a:a8:7a:4b\"/>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 25 Jul 2012 11:48:44 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/vms/e99de5d0-7ff4-41c9-9e3c-1cf39ebe227a/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:
+      Server:
+      - Apache-Coyote/1.1
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      X-Powered-By:
+      - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '703'
+      Date:
+      - 

<TRUNCATED>

Mime
View raw message