You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/11/09 10:06:25 UTC

[9/34] Fixed RHEV-M fixtures to work under Ruby 1.8

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/34f04026/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml b/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml
index 72e39ef..ea15a08 100644
--- a/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml
+++ b/server/tests/drivers/rhevm/fixtures/test_0004_must_allow_to_retrieve_single_realm.yml
@@ -1,611 +1,522 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
+    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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:14:46 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=CgbKEWOh7oPsswUKwCqLXYM2; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=k1mYA6FUaOyVwpRPq9ph0W8Z; Path=/api; Secure
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      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: &24441080 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:14:46 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=CgbKEWOh7oPsswUKwCqLXYM2; 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: *24441080
-            args: &24589540
-              :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: *24589540
-        code: 200
+      Date: 
+      - Fri, 09 Nov 2012 08:52:43 GMT
+    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:14:48 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:44 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/clusters?search=datacenter=Default
-    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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:14:47 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=gAGOJMChwJh4s0QLgPxT2Avv; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '1232'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=EkMoX34vGoi2dHdyBiISfybc; Path=/api; Secure
+      Content-Length: 
+      - "1232"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: !ruby/string
-        str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<clusters>\n
-          \   <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-          id=\"99408929-82cf-4dc7-a532-9d998063fa95\">\n        <name>Default</name>\n
-          \       <description>The default server cluster</description>\n        <link
-          href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks\" rel=\"networks\"/>\n
-          \       <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions\"
-          rel=\"permissions\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes\"
-          rel=\"glustervolumes\"/>\n        <cpu id=\"Intel Westmere Family\"/>\n
-          \       <data_center href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\"
-          id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\"/>\n        <memory_policy>\n
-          \           <overcommit percent=\"150\"/>\n            <transparent_hugepages>\n
-          \               <enabled>true</enabled>\n            </transparent_hugepages>\n
-          \       </memory_policy>\n        <scheduling_policy/>\n        <version
-          major=\"3\" minor=\"1\"/>\n        <error_handling>\n            <on_error>migrate</on_error>\n
-          \       </error_handling>\n        <virt_service>true</virt_service>\n        <gluster_service>false</gluster_service>\n
-          \   </cluster>\n</clusters>\n"
-        net_http_res: &24284200 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:14:47 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=gAGOJMChwJh4s0QLgPxT2Avv; Path=/api; Secure
-            content-type:
-            - application/xml
-            content-length:
-            - '1232'
-            connection:
-            - close
-          body: !ruby/string
-            str: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<clusters>\n
-              \   <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
-              id=\"99408929-82cf-4dc7-a532-9d998063fa95\">\n        <name>Default</name>\n
-              \       <description>The default server cluster</description>\n        <link
-              href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks\"
-              rel=\"networks\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions\"
-              rel=\"permissions\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes\"
-              rel=\"glustervolumes\"/>\n        <cpu id=\"Intel Westmere Family\"/>\n
-              \       <data_center href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\"
-              id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\"/>\n        <memory_policy>\n
-              \           <overcommit percent=\"150\"/>\n            <transparent_hugepages>\n
-              \               <enabled>true</enabled>\n            </transparent_hugepages>\n
-              \       </memory_policy>\n        <scheduling_policy/>\n        <version
-              major=\"3\" minor=\"1\"/>\n        <error_handling>\n            <on_error>migrate</on_error>\n
-              \       </error_handling>\n        <virt_service>true</virt_service>\n
-              \       <gluster_service>false</gluster_service>\n    </cluster>\n</clusters>\n"
-            net_http_res: *24284200
-            args: &24420460
-              :method: :get
-              :url: https://dell-per610-02.lab.eng.brq.redhat.com/api/clusters?search=datacenter%3DDefault
-              :headers:
-                :accept: application/xml
-                :content_type: application/xml
-                :authorization: Basic YWRtaW5AaW50ZXJuYWw6cmVkaGF0
-            code: 200
-          read: true
-          __read_body_previously_called: true
-        args: *24420460
-        code: 200
+      Date: 
+      - Fri, 09 Nov 2012 08:52:43 GMT
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <clusters>
+            <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95">
+                <name>Default</name>
+                <description>The default server cluster</description>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks" rel="networks"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions" rel="permissions"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes" rel="glustervolumes"/>
+                <cpu id="Intel Westmere Family"/>
+                <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a"/>
+                <memory_policy>
+                    <overcommit percent="150"/>
+                    <transparent_hugepages>
+                        <enabled>true</enabled>
+                    </transparent_hugepages>
+                </memory_policy>
+                <scheduling_policy/>
+                <version major="3" minor="1"/>
+                <error_handling>
+                    <on_error>migrate</on_error>
+                </error_handling>
+                <virt_service>true</virt_service>
+                <gluster_service>false</gluster_service>
+            </cluster>
+        </clusters>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:14:48 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:45 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: 
+      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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:14:47 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=ejWTJaUlvK+ZHQ+0go5-sx++; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=ZAshM9aN7xXV1B49NUQc5gQ5; Path=/api; Secure
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      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: &24160960 !ruby/object:Net::HTTPOK
-          http_version: '1.0'
-          code: '200'
-          message: OK
-          header:
-            date:
-            - Wed, 07 Nov 2012 15:14:47 GMT
-            pragma:
-            - No-cache
-            cache-control:
-            - no-cache
-            expires:
-            - Thu, 01 Jan 1970 01:00:00 CET
-            set-cookie:
-            - JSESSIONID=ejWTJaUlvK+ZHQ+0go5-sx++; 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: *24160960
-            args: &24269560
-              :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: *24269560
-        code: 200
+      Date: 
+      - Fri, 09 Nov 2012 08:52:44 GMT
+    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:14:49 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:45 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: 
+      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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:16:33 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=hqpN9FIXceAqNzDVp6wOL11u; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=NsUA1RcuCuEtnprpHNM-gRFQ; Path=/api; Secure
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      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"
+      Date: 
+      - Fri, 09 Nov 2012 08:52:44 GMT
+    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:16:35 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:45 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/clusters?search=datacenter=Default
-    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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:16:34 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=PLTozj9mf3ZLa+5E5NTQIuDW; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '1232'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=-cGZh79KLIYLwdKtYmhaw0Me; Path=/api; Secure
+      Content-Length: 
+      - "1232"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<clusters>\n
-        \   <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\" id=\"99408929-82cf-4dc7-a532-9d998063fa95\">\n
-        \       <name>Default</name>\n        <description>The default server cluster</description>\n
-        \       <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks\"
-        rel=\"networks\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes\"
-        rel=\"glustervolumes\"/>\n        <cpu id=\"Intel Westmere Family\"/>\n        <data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\"/>\n
-        \       <memory_policy>\n            <overcommit percent=\"150\"/>\n            <transparent_hugepages>\n
-        \               <enabled>true</enabled>\n            </transparent_hugepages>\n
-        \       </memory_policy>\n        <scheduling_policy/>\n        <version major=\"3\"
-        minor=\"1\"/>\n        <error_handling>\n            <on_error>migrate</on_error>\n
-        \       </error_handling>\n        <virt_service>true</virt_service>\n        <gluster_service>false</gluster_service>\n
-        \   </cluster>\n</clusters>\n"
+      Date: 
+      - Fri, 09 Nov 2012 08:52:44 GMT
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <clusters>
+            <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95">
+                <name>Default</name>
+                <description>The default server cluster</description>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks" rel="networks"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions" rel="permissions"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes" rel="glustervolumes"/>
+                <cpu id="Intel Westmere Family"/>
+                <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a"/>
+                <memory_policy>
+                    <overcommit percent="150"/>
+                    <transparent_hugepages>
+                        <enabled>true</enabled>
+                    </transparent_hugepages>
+                </memory_policy>
+                <scheduling_policy/>
+                <version major="3" minor="1"/>
+                <error_handling>
+                    <on_error>migrate</on_error>
+                </error_handling>
+                <virt_service>true</virt_service>
+                <gluster_service>false</gluster_service>
+            </cluster>
+        </clusters>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:16:35 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:46 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: 
+      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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:16:34 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=5vEEukBNLiFeUsu7yNdYG2YW; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=KixnYJEJkVTbJj1Lf4cyv7ku; Path=/api; Secure
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      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"
+      Date: 
+      - Fri, 09 Nov 2012 08:52:45 GMT
+    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:16:36 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:46 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: 
+      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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:16:35 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=FWCedAiWC7NPSo0n2HbvNbDh; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=PoCn+oJhRARt6ry6V0e3VVWG; Path=/api; Secure
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      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"
+      Date: 
+      - Fri, 09 Nov 2012 08:52:45 GMT
+    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:16:36 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:46 GMT
+- request: 
     method: get
     uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/clusters?search=datacenter=Default
-    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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:16:35 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=IxJwikBxd8MF9WiihyJTe9Uj; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '1232'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=qcF+m5sVSRSfDYgaXFQkJkAg; Path=/api; Secure
+      Content-Length: 
+      - "1232"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Connection: 
       - close
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<clusters>\n
-        \   <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\" id=\"99408929-82cf-4dc7-a532-9d998063fa95\">\n
-        \       <name>Default</name>\n        <description>The default server cluster</description>\n
-        \       <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks\"
-        rel=\"networks\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions\"
-        rel=\"permissions\"/>\n        <link href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes\"
-        rel=\"glustervolumes\"/>\n        <cpu id=\"Intel Westmere Family\"/>\n        <data_center
-        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\"/>\n
-        \       <memory_policy>\n            <overcommit percent=\"150\"/>\n            <transparent_hugepages>\n
-        \               <enabled>true</enabled>\n            </transparent_hugepages>\n
-        \       </memory_policy>\n        <scheduling_policy/>\n        <version major=\"3\"
-        minor=\"1\"/>\n        <error_handling>\n            <on_error>migrate</on_error>\n
-        \       </error_handling>\n        <virt_service>true</virt_service>\n        <gluster_service>false</gluster_service>\n
-        \   </cluster>\n</clusters>\n"
+      Date: 
+      - Fri, 09 Nov 2012 08:52:45 GMT
+    body: 
+      string: |
+        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+        <clusters>
+            <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95">
+                <name>Default</name>
+                <description>The default server cluster</description>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks" rel="networks"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions" rel="permissions"/>
+                <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/glustervolumes" rel="glustervolumes"/>
+                <cpu id="Intel Westmere Family"/>
+                <data_center href="/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a" id="9df72b84-0234-11e2-9b87-9386d9b09d4a"/>
+                <memory_policy>
+                    <overcommit percent="150"/>
+                    <transparent_hugepages>
+                        <enabled>true</enabled>
+                    </transparent_hugepages>
+                </memory_policy>
+                <scheduling_policy/>
+                <version major="3" minor="1"/>
+                <error_handling>
+                    <on_error>migrate</on_error>
+                </error_handling>
+                <virt_service>true</virt_service>
+                <gluster_service>false</gluster_service>
+            </cluster>
+        </clusters>
+
     http_version: 
-  recorded_at: Wed, 07 Nov 2012 15:16:36 GMT
-- request:
+  recorded_at: Fri, 09 Nov 2012 08:52:46 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: 
+      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: 200
       message: OK
-    headers:
-      Date:
-      - Wed, 07 Nov 2012 15:16:36 GMT
-      Pragma:
-      - No-cache
-      Cache-Control:
+    headers: 
+      Cache-Control: 
       - no-cache
-      Expires:
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Set-Cookie:
-      - JSESSIONID=GcSTXwzrZwbo22I8xrOWnqLn; Path=/api; Secure
-      Content-Type:
+      Content-Type: 
       - application/xml
-      Content-Length:
-      - '828'
-      Connection:
+      Set-Cookie: 
+      - JSESSIONID=RyRR-SBQIOo2gy06xcRDbVFi; Path=/api; Secure
+      Content-Length: 
+      - "828"
+      Pragma: 
+      - No-cache
+      Expires: 
+      - Thu, 01 Jan 1970 01:00:00 CET
+      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"
+      Date: 
+      - Fri, 09 Nov 2012 08:52:46 GMT
+    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:16:37 GMT
+  recorded_at: Fri, 09 Nov 2012 08:52:47 GMT
 recorded_with: VCR 2.2.5