deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [32/50] [abbrv] Core: Added initial RHEV-M unit tests
Date Mon, 30 Jul 2012 14:29:17 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/02bb895d/server/tests/drivers/rhevm/fixtures/test_0002_must_return_list_of_images.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0002_must_return_list_of_images.yml b/server/tests/drivers/rhevm/fixtures/test_0002_must_return_list_of_images.yml
new file mode 100644
index 0000000..dc9af4e
--- /dev/null
+++ b/server/tests/drivers/rhevm/fixtures/test_0002_must_return_list_of_images.yml
@@ -0,0 +1,972 @@
+---
+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:51:56 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: Mon, 23 Jul 2012 12:21:00 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/templates?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:51:56 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<templates>\n
+        \   <template id=\"014910a0-da7a-4ce2-b88a-eb9b1e55c37f\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f\">\n
+        \       <name>14006c95-0a7f-4209-ac15-2162ac73e4c4</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-03-12T11:51:27.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"1b8247a0-24d1-4d1f-a80f-13f35c20e77c\"
+        href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c\">\n        <name>28e4c9f7-fce1-4b3b-8a11-3182794841ae</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-03-19T12:10:13.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"20d968b0-9428-48ec-ae25-26cc22a55ad1\"
+        href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1\">\n        <name>38b0c757-3db9-413f-b11d-05adcee959b7</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-12T16:46:18.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"a90de8a2-0619-4625-b72e-db0ff65ef927\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927\">\n
+        \       <name>6fd96121-1c8c-4bb6-8dbd-e33c470d7769</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2012-01-17T12:33:41.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"747ce281-e9dd-4dd7-b560-e65c732f31e0\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0\">\n
+        \       <name>8a757c49-64d2-438f-9fa1-a3d16ce0c260</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-11-30T14:37:16.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467\">\n
+        \       <name>cef85154-552e-4a2f-8f1a-a2f47d21ec0c</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-12T17:56:41.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"c95c0b6e-003b-4ca0-a2ee-e4995f907ba6\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6\">\n
+        \       <name>dafd7547-8d62-4310-b260-3e5d010a22c8</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-02-13T12:37:34.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"6cc20fad-a895-41af-badd-52730ec235b2\"
+        href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2\">\n        <name>dca57e63-114d-452a-b57b-5c297a4970af</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-07T16:24:53.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\">\n
+        \       <name>f15-minimal</name>\n        <description>Fedora 15 Minimal</description>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</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
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-10-18T15:41:53.962+02:00</creation_time>\n        <origin>rhev</origin>\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        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"3e82e2d5-913f-4095-ae72-ebcfa9d0571d\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d\">\n
+        \       <name>f15-minimal-2</name>\n        <description>Fedora 15 minimal</description>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</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=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2011-10-18T17:27:27.808+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"4a359fa4-3b51-4b2f-9e38-5b9c787d52a1\"
+        href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1\">\n        <name>mrgqe_6v32_template</name>\n
+        \       <description>template_for_dcloud_testing</description>\n        <actions>\n
+        \           <link rel=\"export\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>746586112</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6\">\n
+        \           <boot dev=\"network\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-04-19T21:44:20.786+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>true</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"
+        href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\">\n        <name>rhel61-network</name>\n
+        \       <description>RHEL 6.1 with networking</description>\n        <actions>\n
+        \           <link rel=\"export\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>2147483648</memory>\n        <cpu>\n            <topology
+        cores=\"2\" 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        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2011-10-06T13:31:30.467+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"73cde5ef-1759-4b7a-9dd8-6e955fa9efa0\"
+        href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0\">\n        <name>tomas</name>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>268435456</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
+        \           <boot dev=\"network\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-01-24T16:54:52.566+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n</templates>\n"
+    http_version: 
+  recorded_at: Mon, 23 Jul 2012 12:21:00 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:51:56 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: Mon, 23 Jul 2012 12:21:00 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/templates?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:51:57 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<templates>\n
+        \   <template id=\"014910a0-da7a-4ce2-b88a-eb9b1e55c37f\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f\">\n
+        \       <name>14006c95-0a7f-4209-ac15-2162ac73e4c4</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-03-12T11:51:27.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"1b8247a0-24d1-4d1f-a80f-13f35c20e77c\"
+        href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c\">\n        <name>28e4c9f7-fce1-4b3b-8a11-3182794841ae</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-03-19T12:10:13.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"20d968b0-9428-48ec-ae25-26cc22a55ad1\"
+        href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1\">\n        <name>38b0c757-3db9-413f-b11d-05adcee959b7</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-12T16:46:18.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"a90de8a2-0619-4625-b72e-db0ff65ef927\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927\">\n
+        \       <name>6fd96121-1c8c-4bb6-8dbd-e33c470d7769</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2012-01-17T12:33:41.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"747ce281-e9dd-4dd7-b560-e65c732f31e0\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0\">\n
+        \       <name>8a757c49-64d2-438f-9fa1-a3d16ce0c260</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-11-30T14:37:16.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467\">\n
+        \       <name>cef85154-552e-4a2f-8f1a-a2f47d21ec0c</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-12T17:56:41.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"c95c0b6e-003b-4ca0-a2ee-e4995f907ba6\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6\">\n
+        \       <name>dafd7547-8d62-4310-b260-3e5d010a22c8</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-02-13T12:37:34.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"6cc20fad-a895-41af-badd-52730ec235b2\"
+        href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2\">\n        <name>dca57e63-114d-452a-b57b-5c297a4970af</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-07T16:24:53.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\">\n
+        \       <name>f15-minimal</name>\n        <description>Fedora 15 Minimal</description>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</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
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-10-18T15:41:53.962+02:00</creation_time>\n        <origin>rhev</origin>\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        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"3e82e2d5-913f-4095-ae72-ebcfa9d0571d\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d\">\n
+        \       <name>f15-minimal-2</name>\n        <description>Fedora 15 minimal</description>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</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=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2011-10-18T17:27:27.808+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"4a359fa4-3b51-4b2f-9e38-5b9c787d52a1\"
+        href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1\">\n        <name>mrgqe_6v32_template</name>\n
+        \       <description>template_for_dcloud_testing</description>\n        <actions>\n
+        \           <link rel=\"export\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>746586112</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6\">\n
+        \           <boot dev=\"network\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-04-19T21:44:20.786+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>true</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"
+        href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\">\n        <name>rhel61-network</name>\n
+        \       <description>RHEL 6.1 with networking</description>\n        <actions>\n
+        \           <link rel=\"export\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>2147483648</memory>\n        <cpu>\n            <topology
+        cores=\"2\" 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        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2011-10-06T13:31:30.467+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"73cde5ef-1759-4b7a-9dd8-6e955fa9efa0\"
+        href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0\">\n        <name>tomas</name>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>268435456</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
+        \           <boot dev=\"network\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-01-24T16:54:52.566+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n</templates>\n"
+    http_version: 
+  recorded_at: Mon, 23 Jul 2012 12:21:00 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:52:00 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: Mon, 23 Jul 2012 12:21:00 GMT
+- request:
+    method: get
+    uri: https://vdcadmin%40rhev.lab.eng.brq.redhat.com:123456@rhev30-dc.lab.eng.brq.redhat.com:8443/api/templates?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:52:00 GMT
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<templates>\n
+        \   <template id=\"014910a0-da7a-4ce2-b88a-eb9b1e55c37f\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f\">\n
+        \       <name>14006c95-0a7f-4209-ac15-2162ac73e4c4</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/014910a0-da7a-4ce2-b88a-eb9b1e55c37f/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-03-12T11:51:27.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"1b8247a0-24d1-4d1f-a80f-13f35c20e77c\"
+        href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c\">\n        <name>28e4c9f7-fce1-4b3b-8a11-3182794841ae</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/1b8247a0-24d1-4d1f-a80f-13f35c20e77c/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-03-19T12:10:13.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"20d968b0-9428-48ec-ae25-26cc22a55ad1\"
+        href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1\">\n        <name>38b0c757-3db9-413f-b11d-05adcee959b7</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/20d968b0-9428-48ec-ae25-26cc22a55ad1/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-12T16:46:18.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"a90de8a2-0619-4625-b72e-db0ff65ef927\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927\">\n
+        \       <name>6fd96121-1c8c-4bb6-8dbd-e33c470d7769</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/a90de8a2-0619-4625-b72e-db0ff65ef927/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2012-01-17T12:33:41.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"747ce281-e9dd-4dd7-b560-e65c732f31e0\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0\">\n
+        \       <name>8a757c49-64d2-438f-9fa1-a3d16ce0c260</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/747ce281-e9dd-4dd7-b560-e65c732f31e0/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-11-30T14:37:16.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467\">\n
+        \       <name>cef85154-552e-4a2f-8f1a-a2f47d21ec0c</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/a53a2cca-0eb6-4d23-a1bf-4f2a48dc8467/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-12T17:56:41.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"c95c0b6e-003b-4ca0-a2ee-e4995f907ba6\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6\">\n
+        \       <name>dafd7547-8d62-4310-b260-3e5d010a22c8</name>\n        <description>Template
+        by iwhd</description>\n        <actions>\n            <link rel=\"export\"
+        href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/export\"/>\n        </actions>\n
+        \       <link rel=\"disks\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/c95c0b6e-003b-4ca0-a2ee-e4995f907ba6/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>4294967296</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-02-13T12:37:34.000+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"6cc20fad-a895-41af-badd-52730ec235b2\"
+        href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2\">\n        <name>dca57e63-114d-452a-b57b-5c297a4970af</name>\n
+        \       <description>Template by iwhd</description>\n        <actions>\n            <link
+        rel=\"export\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/6cc20fad-a895-41af-badd-52730ec235b2/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
+        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-12-07T16:24:53.000+01:00</creation_time>\n        <origin>rhev</origin>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n            <priority>0</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <monitors>1</monitors>\n        </display>\n        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>true</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b\">\n
+        \       <name>f15-minimal</name>\n        <description>Fedora 15 Minimal</description>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/5f411ae4-a3cf-48a8-8bca-d049ddd51f0b/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</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
+        \       <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\" href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n
+        \       <creation_time>2011-10-18T15:41:53.962+02:00</creation_time>\n        <origin>rhev</origin>\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        <stateless>false</stateless>\n
+        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n    </template>\n
+        \   <template id=\"3e82e2d5-913f-4095-ae72-ebcfa9d0571d\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d\">\n
+        \       <name>f15-minimal-2</name>\n        <description>Fedora 15 minimal</description>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/3e82e2d5-913f-4095-ae72-ebcfa9d0571d/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</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=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2011-10-18T17:27:27.808+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"4a359fa4-3b51-4b2f-9e38-5b9c787d52a1\"
+        href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1\">\n        <name>mrgqe_6v32_template</name>\n
+        \       <description>template_for_dcloud_testing</description>\n        <actions>\n
+        \           <link rel=\"export\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/4a359fa4-3b51-4b2f-9e38-5b9c787d52a1/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>746586112</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6\">\n
+        \           <boot dev=\"network\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-04-19T21:44:20.786+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>true</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\"
+        href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872\">\n        <name>rhel61-network</name>\n
+        \       <description>RHEL 6.1 with networking</description>\n        <actions>\n
+        \           <link rel=\"export\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>2147483648</memory>\n        <cpu>\n            <topology
+        cores=\"2\" 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        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2011-10-06T13:31:30.467+02:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n    <template id=\"73cde5ef-1759-4b7a-9dd8-6e955fa9efa0\"
+        href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0\">\n        <name>tomas</name>\n
+        \       <actions>\n            <link rel=\"export\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/export\"/>\n
+        \       </actions>\n        <link rel=\"disks\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/disks\"/>\n
+        \       <link rel=\"nics\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/nics\"/>\n
+        \       <link rel=\"cdroms\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/cdroms\"/>\n
+        \       <link rel=\"permissions\" href=\"/api/templates/73cde5ef-1759-4b7a-9dd8-6e955fa9efa0/permissions\"/>\n
+        \       <type>server</type>\n        <status>\n            <state>ok</state>\n
+        \       </status>\n        <memory>268435456</memory>\n        <cpu>\n            <topology
+        cores=\"1\" sockets=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
+        \           <boot dev=\"network\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
+        \           <cmdline></cmdline>\n        </os>\n        <cluster id=\"3c8af388-cff6-11e0-9267-52540013f702\"
+        href=\"/api/clusters/3c8af388-cff6-11e0-9267-52540013f702\"/>\n        <creation_time>2012-01-24T16:54:52.566+01:00</creation_time>\n
+        \       <origin>rhev</origin>\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
+        \       <stateless>false</stateless>\n        <usb>\n            <enabled>false</enabled>\n
+        \       </usb>\n    </template>\n</templates>\n"
+    http_version: 
+  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
+recorded_with: VCR 2.1.1


Mime
View raw message