deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [4/34] Fixed RHEV-M fixtures to work under Ruby 1.8
Date Fri, 09 Nov 2012 09:06:25 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/server/tests/drivers/rhevm/fixtures/test_0003_must_allow_to_filter_images.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0003_must_allow_to_filter_images.yml b/server/tests/drivers/rhevm/fixtures/test_0003_must_allow_to_filter_images.yml
index 0bfda8a..7ee59f3 100644
--- a/server/tests/drivers/rhevm/fixtures/test_0003_must_allow_to_filter_images.yml
+++ b/server/tests/drivers/rhevm/fixtures/test_0003_must_allow_to_filter_images.yml
@@ -1,919 +1,635 @@
----
-http_interactions:
-- request:
-    method: get
-    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/dfa924b7-83e8-4a5c-9d5c-1270fd0c0872
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - application/xml
-      Accept-Encoding:
-      - gzip, deflate
-      Content-Type:
-      - application/xml
-      User-Agent:
-      - Ruby
-  response:
-    status:
-      code: 404
-      message: Not Found
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:12:08 GMT
-      Content-Type:
-      - text/html;charset=utf-8
-      Content-Length:
-      - '976'
-      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 404 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
-        <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR
-        size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
-    http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:12:09 GMT
-- 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/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-    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:13:34 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:06 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "1608"
+      Set-Cookie: 
+      - JSESSIONID=WsPi7tQykIsbnY57fULaB5Xy; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=YfHkLdSlPhjQPW0wPh-tOIGK; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1608'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-        net_http_res: &21118540 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:13:34 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=YfHkLdSlPhjQPW0wPh-tOIGK; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '1608'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-            net_http_res: *21118540
-            args: &15696620
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-              :headers:
-                :content_type: application/xml
-                :accept: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *15696620
-        code: 200
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <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>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:36 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:07 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-    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:13:35 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:06 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "1608"
+      Set-Cookie: 
+      - JSESSIONID=pxgv2zF01FXWdDTINHu1Aa0T; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=RIPWAUOVJ1ya2H0ijtWK3U2a; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1608'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-        net_http_res: &19702900 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:13:35 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=RIPWAUOVJ1ya2H0ijtWK3U2a; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '1608'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-            net_http_res: *19702900
-            args: &18947880
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-              :headers:
-                :content_type: application/xml
-                :accept: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *18947880
-        code: 200
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <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>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:36 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:07 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-    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:13:35 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:06 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "1608"
+      Set-Cookie: 
+      - JSESSIONID=KKAntIb4UdPCO8qhGm3de52r; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=xB5GRr++dP7i52lCaWoriHms; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1608'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-        net_http_res: &18720840 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:13:35 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=xB5GRr++dP7i52lCaWoriHms; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '1608'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-            net_http_res: *18720840
-            args: &20320420
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-              :headers:
-                :content_type: application/xml
-                :accept: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *20320420
-        code: 200
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <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>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:37 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:07 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-    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:13:36 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:07 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "1608"
+      Set-Cookie: 
+      - JSESSIONID=xx+vXCFMDg7l2t0-h+9GsxdM; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=5zCmqtbkUd9MQJZybs3uDBj8; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '1608'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-        net_http_res: &24577760 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:13:36 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=5zCmqtbkUd9MQJZybs3uDBj8; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '1608'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\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"
-            net_http_res: *24577760
-            args: &21446080
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5
-              :headers:
-                :content_type: application/xml
-                :accept: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *21446080
-        code: 200
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <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>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:13:37 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:08 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:13:36 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:07 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "828"
+      Set-Cookie: 
+      - JSESSIONID=DWp+HEUwdEDjLvZ7GO+1F+ay; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=Rd5um60HAg8fAWWC5py0IC6d; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '828'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?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"
-        net_http_res: &26416320 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:13:36 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=Rd5um60HAg8fAWWC5py0IC6d; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '828'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?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"
-            net_http_res: *26416320
-            args: &24408680
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-              :headers:
-                :content_type: application/xml
-                :accept: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *24408680
-        code: 200
+    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:13:37 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:08 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:13:37 GMT
-      Pragma:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:07 GMT
+      Connection: 
+      - close
+      Pragma: 
       - No-cache
-      Cache-Control:
+      Content-Length: 
+      - "6750"
+      Set-Cookie: 
+      - JSESSIONID=UqIupVwJSif9fSn0N7SCqjWR; Path=/api; Secure
+      Content-Type: 
+      - application/xml
+      Cache-Control: 
       - no-cache
-      Expires:
+      Expires: 
       - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=+JmWf3-1kpiw1ir2qXj+-Q4q; Path=/api; Secure
-      Content-Type:
-      - application/xml
-      Content-Length:
-      - '6769'
-      Connection:
-      - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?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"
-        net_http_res: &25770940 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:13:37 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=+JmWf3-1kpiw1ir2qXj+-Q4q; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '6769'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?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"
-            net_http_res: *25770940
-            args: &25995820
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/templates?search=datacenter%3DDefault
-              :headers:
-                :content_type: application/xml
-                :accept: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *25995820
-        code: 200
+    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:13:38 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:56:08 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/templates/ami-aaaaaaaa
-    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: 404
       message: Not Found
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:14:36 GMT
-      Content-Type:
-      - text/html;charset=utf-8
-      Content-Length:
-      - '976'
-      Connection:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:07 GMT
+      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 404 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
-        <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR
-        size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
+      Content-Length: 
+      - "976"
+      Content-Type: 
+      - text/html;charset=utf-8
+    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 404 - </h1><HR size=\"1\" noshade=\"noshade\"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR size=\"1\" noshade=\"noshade\"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></htm
 l>"
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:14:37 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/unknown
-    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: 404
       message: Not Found
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:14:37 GMT
-      Content-Type:
-      - text/html;charset=utf-8
-      Content-Length:
-      - '976'
-      Connection:
+    headers: 
+      Date: 
+      - Fri, 09 Nov 2012 08:56:08 GMT
+      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 404 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
-        <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR
-        size="1" noshade="noshade"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></html>'
+      Content-Length: 
+      - "976"
+      Content-Type: 
+      - text/html;charset=utf-8
+    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 404 - </h1><HR size=\"1\" noshade=\"noshade\"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR size=\"1\" noshade=\"noshade\"><h3>JBoss Web/7.0.16..Final-redhat-1</h3></body></htm
 l>"
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:14:38 GMT
-recorded_with: VCR 2.2.5
+  recorded_at: Fri, 09 Nov 2012 08:56:09 GMT


Mime
View raw message