deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [1/34] git commit: Fixed RHEV-M fixtures to work under Ruby 1.8
Date Fri, 09 Nov 2012 09:06:25 GMT
Updated Branches:
  refs/heads/master cc95f2598 -> 34f04026c


Fixed RHEV-M fixtures to work under Ruby 1.8


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/34f04026
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/34f04026
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/34f04026

Branch: refs/heads/master
Commit: 34f04026c27534ae03b94b71753dc32513e4312c
Parents: cc95f25
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Nov 9 10:06:02 2012 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Nov 9 10:06:02 2012 +0100

----------------------------------------------------------------------
 .../lib/deltacloud/drivers/rhevm/rhevm_driver.rb   |    2 +-
 ...001_must_throw_error_when_wrong_credentials.yml |   74 +-
 .../test_0002_must_return_list_of_images.yml       |  764 +-
 .../test_0002_must_return_list_of_instances.yml    | 2588 +--
 .../test_0002_must_return_list_of_realms.yml       |  538 +-
 ...must_support_listing_of_available_providers.yml |  444 +-
 .../test_0003_must_allow_to_filter_images.yml      | 1402 +-
 .../test_0003_must_allow_to_filter_instances.yml   |10716 +++------
 .../test_0003_must_allow_to_filter_realms.yml      | 1485 +-
 ...s_when_switching_between_different_clusters.yml |  762 +-
 ...st_0004_must_allow_to_retrieve_single_image.yml |   69 +-
 ...0004_must_allow_to_retrieve_single_instance.yml | 4681 ++--
 ...st_0004_must_allow_to_retrieve_single_realm.yml |  951 +-
 ..._to_create_a_new_instance_and_destroy_it-10.yml | 1041 +-
 ...w_to_create_a_new_instance_and_destroy_it-9.yml | 1041 +-
 ...te_a_new_instance_and_destroy_it-destroy-10.yml |  944 +-
 ...ate_a_new_instance_and_destroy_it-destroy-9.yml |  437 -
 ...low_to_create_a_new_instance_and_destroy_it.yml |11193 +++++----
 ...proper_exception_when_destroying_used_image.yml |   57 +-
 ...reate_a_new_instance_and_make_it_running-10.yml | 1478 +-
 ...create_a_new_instance_and_make_it_running-9.yml | 1478 +-
 ...new_instance_and_make_it_running-destroy-10.yml | 1047 +-
 ..._new_instance_and_make_it_running-destroy-9.yml |  859 +-
 ...a_new_instance_and_make_it_running-start-10.yml | 1483 +-
 ..._a_new_instance_and_make_it_running-start-4.yml |  612 +
 ..._a_new_instance_and_make_it_running-start-5.yml | 1049 +-
 ..._a_new_instance_and_make_it_running-start-6.yml | 1049 +-
 ..._a_new_instance_and_make_it_running-start-7.yml | 1131 +-
 ..._a_new_instance_and_make_it_running-start-8.yml | 1131 +-
 ..._a_new_instance_and_make_it_running-start-9.yml | 1217 +-
 ..._a_new_instance_and_make_it_running-stop-10.yml | 1049 +-
 ...e_a_new_instance_and_make_it_running-stop-3.yml |  611 +
 ...e_a_new_instance_and_make_it_running-stop-4.yml |  563 +
 ...e_a_new_instance_and_make_it_running-stop-5.yml |  612 +
 ...e_a_new_instance_and_make_it_running-stop-6.yml | 1048 +-
 ...e_a_new_instance_and_make_it_running-stop-7.yml | 1049 +-
 ...e_a_new_instance_and_make_it_running-stop-8.yml | 1049 +-
 ...e_a_new_instance_and_make_it_running-stop-9.yml | 1049 +-
 ...o_create_a_new_instance_and_make_it_running.yml |18754 ++++++---------
 .../test_0006_must_support_destroying_images.yml   |  444 +-
 server/tests/drivers/rhevm/images_test.rb          |    2 +-
 41 files changed, 36554 insertions(+), 41399 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
index 2daa856..71db828 100644
--- a/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
+++ b/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
@@ -309,7 +309,7 @@ class RhevmDriver < Deltacloud::BaseDriver
       :owner_id => client.credentials[:username],
       :architecture => 'x86_64', # All RHEV-M VMs are x86_64
       :hardware_profiles => hardware_profiles(nil),
-      :state => img.status.strip.upcase,
+      :state => img.status.gsub('\\', '').strip.upcase,
       :creation_time => img.creation_time
     )
   end

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml b/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
index 81d200b..e5ea2e6 100644
--- a/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
+++ b/server/tests/drivers/rhevm/fixtures/test_0001_must_throw_error_when_wrong_credentials.yml
@@ -1,56 +1,42 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
     uri: https://unknown:wrong@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
+    body: 
+      string: ""
+    headers: 
+      Content-Type: 
       - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
+      Accept: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+      Accept-Encoding: 
+      - gzip, deflate
+  response: 
+    status: 
       code: 401
       message: Unauthorized
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:12:08 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=nqlELoKXom85gQr6kcO4QkeX; Path=/api; Secure
-      Www-Authenticate:
+      Www-Authenticate: 
       - Basic realm="ENGINE"
-      Content-Type:
+      Content-Type: 
       - text/html;charset=utf-8
-      Content-Length:
-      - '978'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=GAKFIJcON-ahGoQHZfVzT5vm; Path=/api; Secure
+      Content-Length: 
+      - "978"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! '<html><head><title>JBoss Web/7.0.16..Final-redhat-1 - Error report</title><style><!--H1
-        {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
-        H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
-        H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
-        BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
-        B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
-        P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
-        {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
-        Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
-        <u></u></p><p><b>description</b> <u>This request requires HTTP authentication
-        ().</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
+      Date: 
+      - Fri, 09 Nov 2012 08:52:52 GMT
+    body: 
+      string: "<html><head><title>JBoss Web/7.0.16..Final-redhat-1 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size=\"1\" noshade=\"noshade\"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size=\"1\" noshade=\"noshade\"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></h
 tml>"
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:12:10 GMT
+  recorded_at: Fri, 09 Nov 2012 08:52:53 GMT
 recorded_with: VCR 2.2.5

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/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
index 8bb824e..3f19a89 100644
--- 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
@@ -1,333 +1,511 @@
----
-http_interactions:
-- request:
+--- 
+recorded_with: VCR 2.2.5
+http_interactions: 
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
+    body: 
+      string: ""
+    headers: 
+      Accept: 
       - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+      Accept-Encoding: 
+      - gzip, deflate
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:12:06 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:08 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "828"
+      Set-Cookie: 
+      - JSESSIONID=FI2nRi+JxYbcqRtrzPO+UF0l; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=ODMpSJx8ZNnS1NnpmryLXAoL; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
-        \   <name>Default</name>\n    <description>The default Data Center</description>\n
-        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
-        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n        <version
-        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n        <state>up</state>\n
-        \   </status>\n</data_center>\n"
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+            <name>Default</name>
+            <description>The default Data Center</description>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains" rel="storagedomains"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions" rel="permissions"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas" rel="quotas"/>
+            <storage_type>nfs</storage_type>
+            <storage_format>v3</storage_format>
+            <version major="3" minor="1"/>
+            <supported_versions>
+                <version major="3" minor="1"/>
+            </supported_versions>
+            <status>
+                <state>up</state>
+            </status>
+        </data_center>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:12:07 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:09 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates?search=datacenter=Default
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
+    body: 
+      string: ""
+    headers: 
+      Accept: 
       - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+      Accept-Encoding: 
+      - gzip, deflate
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:12:07 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:09 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "6750"
+      Set-Cookie: 
+      - JSESSIONID=5dNTawPQTXql13P62Gd8VB0l; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=UNeGQElpb1pLbmY+DaGkHN3q; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '6769'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<templates>\n
-        \   <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
-        id=\"00000000-0000-0000-0000-000000000000\">\n        <actions>\n            <link
-        href=\"/api/templates/00000000-0000-0000-0000-000000000000/export\" rel=\"export\"/>\n
-        \       </actions>\n        <name>Blank</name>\n        <description>Blank
-        template</description>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/permissions\"
-        rel=\"permissions\"/>\n        <type>desktop</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"unassigned\">\n
-        \           <boot dev=\"hd\"/>\n        </os>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2008-04-01T00:00:00.000+02: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>spice</type>\n            <monitors>1</monitors>\n            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n    <template
-        href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505\" id=\"fe9dcb11-a035-4d80-89b4-a4092a892505\">\n
-        \       <actions>\n            <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/export\"
-        rel=\"export\"/>\n        </actions>\n        <name>e55f531b-500d-4f7b-aff3-39cd9edda6f7</name>\n
-        \       <description>Template by iwhd</description>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/permissions\"
-        rel=\"permissions\"/>\n        <type>server</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
-        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
-        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2012-09-24T13:07:37.000+02: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            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n    <template
-        href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\" id=\"5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\">\n
-        \       <actions>\n            <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/export\"
-        rel=\"export\"/>\n        </actions>\n        <name>rhel63server</name>\n
-        \       <description>RHEL 6.3 Server Default</description>\n        <link
-        href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/disks\" rel=\"disks\"/>\n
-        \       <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/permissions\"
-        rel=\"permissions\"/>\n        <type>server</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
-        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
-        \           <cmdline></cmdline>\n        </os>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2012-09-19T15:20:10.740+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            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n    <template
-        href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be\" id=\"6d0285c9-682d-4e0f-8cf8-abd3ac9530be\">\n
-        \       <actions>\n            <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/export\"
-        rel=\"export\"/>\n        </actions>\n        <name>thrcka</name>\n        <link
-        href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/disks\" rel=\"disks\"/>\n
-        \       <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/permissions\"
-        rel=\"permissions\"/>\n        <type>server</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"unassigned\">\n
-        \           <boot dev=\"network\"/>\n            <boot dev=\"hd\"/>\n            <kernel></kernel>\n
-        \           <initrd></initrd>\n            <cmdline></cmdline>\n        </os>\n
-        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2012-10-11T13:44:42.655+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            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n</templates>\n"
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <templates>
+            <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000">
+                <actions>
+                    <link href="/api/templates/00000000-0000-0000-0000-000000000000/export" rel="export"/>
+                </actions>
+                <name>Blank</name>
+                <description>Blank template</description>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/disks" rel="disks"/>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/nics" rel="nics"/>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/cdroms" rel="cdroms"/>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/permissions" rel="permissions"/>
+                <type>desktop</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>536870912</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="unassigned">
+                    <boot dev="hd"/>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2008-04-01T00:00:00.000+02:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>0</priority>
+                </high_availability>
+                <display>
+                    <type>spice</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+            <template href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505" id="fe9dcb11-a035-4d80-89b4-a4092a892505">
+                <actions>
+                    <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/export" rel="export"/>
+                </actions>
+                <name>e55f531b-500d-4f7b-aff3-39cd9edda6f7</name>
+                <description>Template by iwhd</description>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/disks" rel="disks"/>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/nics" rel="nics"/>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/cdroms" rel="cdroms"/>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/permissions" rel="permissions"/>
+                <type>server</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>536870912</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="other_linux">
+                    <boot dev="cdrom"/>
+                    <boot dev="hd"/>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2012-09-24T13:07:37.000+02:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>0</priority>
+                </high_availability>
+                <display>
+                    <type>vnc</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+            <template href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e" id="645d60b1-9555-4b15-8e2e-01d408572c4e">
+                <actions>
+                    <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/export" rel="export"/>
+                </actions>
+                <name>fedora17-minimal-03</name>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/disks" rel="disks"/>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/nics" rel="nics"/>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/cdroms" rel="cdroms"/>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/permissions" rel="permissions"/>
+                <type>server</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>2147483648</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="other_linux">
+                    <boot dev="hd"/>
+                    <kernel></kernel>
+                    <initrd></initrd>
+                    <cmdline></cmdline>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2012-11-08T14:35:17.671+01:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>1</priority>
+                </high_availability>
+                <display>
+                    <type>spice</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+            <template href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5" id="5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5">
+                <actions>
+                    <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/export" rel="export"/>
+                </actions>
+                <name>rhel63server</name>
+                <description>RHEL 6.3 Server Default</description>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/disks" rel="disks"/>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/nics" rel="nics"/>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/cdroms" rel="cdroms"/>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/permissions" rel="permissions"/>
+                <type>server</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>1073741824</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="rhel_6x64">
+                    <boot dev="hd"/>
+                    <kernel></kernel>
+                    <initrd></initrd>
+                    <cmdline></cmdline>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2012-09-19T15:20:10.740+02:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>1</priority>
+                </high_availability>
+                <display>
+                    <type>vnc</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+        </templates>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:12:08 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:10 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
+    body: 
+      string: ""
+    headers: 
+      Accept: 
       - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+      Accept-Encoding: 
+      - gzip, deflate
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:12:07 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:09 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "828"
+      Set-Cookie: 
+      - JSESSIONID=6yXciQ6zSSsQXgUDlSAaOPZw; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=XqWYEMdw73piOyVqEoplL2IR; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
-        \   <name>Default</name>\n    <description>The default Data Center</description>\n
-        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
-        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
-        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
-        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
-        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n        <version
-        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n        <state>up</state>\n
-        \   </status>\n</data_center>\n"
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a">
+            <name>Default</name>
+            <description>The default Data Center</description>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains" rel="storagedomains"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions" rel="permissions"/>
+            <link href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas" rel="quotas"/>
+            <storage_type>nfs</storage_type>
+            <storage_format>v3</storage_format>
+            <version major="3" minor="1"/>
+            <supported_versions>
+                <version major="3" minor="1"/>
+            </supported_versions>
+            <status>
+                <state>up</state>
+            </status>
+        </data_center>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:12:08 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:10 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates?search=datacenter=Default
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
+    body: 
+      string: ""
+    headers: 
+      Accept: 
       - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
+      Content-Type: 
       - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
+      Accept-Encoding: 
+      - gzip, deflate
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:12:07 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:09 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "6750"
+      Set-Cookie: 
+      - JSESSIONID=oBFJbUDcfByY3mqXxlnJeVat; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=YtAn2AWScQ4Vv9qspzjQfpgL; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '6769'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<templates>\n
-        \   <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
-        id=\"00000000-0000-0000-0000-000000000000\">\n        <actions>\n            <link
-        href=\"/api/templates/00000000-0000-0000-0000-000000000000/export\" rel=\"export\"/>\n
-        \       </actions>\n        <name>Blank</name>\n        <description>Blank
-        template</description>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/00000000-0000-0000-0000-000000000000/permissions\"
-        rel=\"permissions\"/>\n        <type>desktop</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"unassigned\">\n
-        \           <boot dev=\"hd\"/>\n        </os>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2008-04-01T00:00:00.000+02: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>spice</type>\n            <monitors>1</monitors>\n            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n    <template
-        href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505\" id=\"fe9dcb11-a035-4d80-89b4-a4092a892505\">\n
-        \       <actions>\n            <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/export\"
-        rel=\"export\"/>\n        </actions>\n        <name>e55f531b-500d-4f7b-aff3-39cd9edda6f7</name>\n
-        \       <description>Template by iwhd</description>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/disks\"
-        rel=\"disks\"/>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/permissions\"
-        rel=\"permissions\"/>\n        <type>server</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"other_linux\">\n
-        \           <boot dev=\"cdrom\"/>\n            <boot dev=\"hd\"/>\n        </os>\n
-        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2012-09-24T13:07:37.000+02: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            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n    <template
-        href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\" id=\"5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\">\n
-        \       <actions>\n            <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/export\"
-        rel=\"export\"/>\n        </actions>\n        <name>rhel63server</name>\n
-        \       <description>RHEL 6.3 Server Default</description>\n        <link
-        href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/disks\" rel=\"disks\"/>\n
-        \       <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/permissions\"
-        rel=\"permissions\"/>\n        <type>server</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>1073741824</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"rhel_6x64\">\n
-        \           <boot dev=\"hd\"/>\n            <kernel></kernel>\n            <initrd></initrd>\n
-        \           <cmdline></cmdline>\n        </os>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2012-09-19T15:20:10.740+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            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n    <template
-        href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be\" id=\"6d0285c9-682d-4e0f-8cf8-abd3ac9530be\">\n
-        \       <actions>\n            <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/export\"
-        rel=\"export\"/>\n        </actions>\n        <name>thrcka</name>\n        <link
-        href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/disks\" rel=\"disks\"/>\n
-        \       <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/nics\"
-        rel=\"nics\"/>\n        <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/cdroms\"
-        rel=\"cdroms\"/>\n        <link href=\"/api/templates/6d0285c9-682d-4e0f-8cf8-abd3ac9530be/permissions\"
-        rel=\"permissions\"/>\n        <type>server</type>\n        <status>\n            <state>ok</state>\n
-        \       </status>\n        <memory>536870912</memory>\n        <cpu>\n            <topology
-        sockets=\"1\" cores=\"1\"/>\n        </cpu>\n        <os type=\"unassigned\">\n
-        \           <boot dev=\"network\"/>\n            <boot dev=\"hd\"/>\n            <kernel></kernel>\n
-        \           <initrd></initrd>\n            <cmdline></cmdline>\n        </os>\n
-        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <creation_time>2012-10-11T13:44:42.655+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            <allow_override>false</allow_override>\n
-        \       </display>\n        <stateless>false</stateless>\n        <usb>\n
-        \           <enabled>false</enabled>\n        </usb>\n    </template>\n</templates>\n"
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <templates>
+            <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000">
+                <actions>
+                    <link href="/api/templates/00000000-0000-0000-0000-000000000000/export" rel="export"/>
+                </actions>
+                <name>Blank</name>
+                <description>Blank template</description>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/disks" rel="disks"/>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/nics" rel="nics"/>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/cdroms" rel="cdroms"/>
+                <link href="/api/templates/00000000-0000-0000-0000-000000000000/permissions" rel="permissions"/>
+                <type>desktop</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>536870912</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="unassigned">
+                    <boot dev="hd"/>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2008-04-01T00:00:00.000+02:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>0</priority>
+                </high_availability>
+                <display>
+                    <type>spice</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+            <template href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505" id="fe9dcb11-a035-4d80-89b4-a4092a892505">
+                <actions>
+                    <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/export" rel="export"/>
+                </actions>
+                <name>e55f531b-500d-4f7b-aff3-39cd9edda6f7</name>
+                <description>Template by iwhd</description>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/disks" rel="disks"/>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/nics" rel="nics"/>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/cdroms" rel="cdroms"/>
+                <link href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505/permissions" rel="permissions"/>
+                <type>server</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>536870912</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="other_linux">
+                    <boot dev="cdrom"/>
+                    <boot dev="hd"/>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2012-09-24T13:07:37.000+02:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>0</priority>
+                </high_availability>
+                <display>
+                    <type>vnc</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+            <template href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e" id="645d60b1-9555-4b15-8e2e-01d408572c4e">
+                <actions>
+                    <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/export" rel="export"/>
+                </actions>
+                <name>fedora17-minimal-03</name>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/disks" rel="disks"/>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/nics" rel="nics"/>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/cdroms" rel="cdroms"/>
+                <link href="/api/templates/645d60b1-9555-4b15-8e2e-01d408572c4e/permissions" rel="permissions"/>
+                <type>server</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>2147483648</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="other_linux">
+                    <boot dev="hd"/>
+                    <kernel></kernel>
+                    <initrd></initrd>
+                    <cmdline></cmdline>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2012-11-08T14:35:17.671+01:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>1</priority>
+                </high_availability>
+                <display>
+                    <type>spice</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+            <template href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5" id="5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5">
+                <actions>
+                    <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/export" rel="export"/>
+                </actions>
+                <name>rhel63server</name>
+                <description>RHEL 6.3 Server Default</description>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/disks" rel="disks"/>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/nics" rel="nics"/>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/cdroms" rel="cdroms"/>
+                <link href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5/permissions" rel="permissions"/>
+                <type>server</type>
+                <status>
+                    <state>ok</state>
+                </status>
+                <memory>1073741824</memory>
+                <cpu>
+                    <topology sockets="1" cores="1"/>
+                </cpu>
+                <os type="rhel_6x64">
+                    <boot dev="hd"/>
+                    <kernel></kernel>
+                    <initrd></initrd>
+                    <cmdline></cmdline>
+                </os>
+                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
+                <creation_time>2012-09-19T15:20:10.740+02:00</creation_time>
+                <origin>rhev</origin>
+                <high_availability>
+                    <enabled>false</enabled>
+                    <priority>1</priority>
+                </high_availability>
+                <display>
+                    <type>vnc</type>
+                    <monitors>1</monitors>
+                    <allow_override>false</allow_override>
+                </display>
+                <stateless>false</stateless>
+                <usb>
+                    <enabled>false</enabled>
+                </usb>
+            </template>
+        </templates>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:12:08 GMT
-recorded_with: VCR 2.2.5
+  recorded_at: Fri, 09 Nov 2012 08:56:10 GMT


Mime
View raw message