deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [32/35] RHEV-M: Fix VCR fixtures to reflect changes in rbovirt gem.
Date Wed, 07 Nov 2012 15:36:36 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/fd603d92/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-8.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-8.yml
b/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-8.yml
new file mode 100644
index 0000000..60dfcf1
--- /dev/null
+++ b/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-8.yml
@@ -0,0 +1,527 @@
+---
+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:
+      - application/xml
+      Accept-Encoding:
+      - gzip, deflate
+      Content-Type:
+      - application/xml
+      User-Agent:
+      - Ruby
+  response:
+    status:
+      code: 200
+      message: OK
+    headers:
+      Date:
+      - Wed, 07 Nov 2012 15:26:34 GMT
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Set-Cookie:
+      - JSESSIONID=dawSMaL2Zad4vOrCmeFDTBhh; Path=/api; Secure
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '828'
+      Connection:
+      - close
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<data_center
+        href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a\" id=\"9df72b84-0234-11e2-9b87-9386d9b09d4a\">\n
+        \   <name>Default</name>\n    <description>The default Data Center</description>\n
+        \   <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/storagedomains\"
+        rel=\"storagedomains\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/permissions\"
+        rel=\"permissions\"/>\n    <link href=\"/api/datacenters/9df72b84-0234-11e2-9b87-9386d9b09d4a/quotas\"
+        rel=\"quotas\"/>\n    <storage_type>nfs</storage_type>\n    <storage_format>v3</storage_format>\n
+        \   <version major=\"3\" minor=\"1\"/>\n    <supported_versions>\n  
     <version
+        major=\"3\" minor=\"1\"/>\n    </supported_versions>\n    <status>\n
       <state>up</state>\n
+        \   </status>\n</data_center>\n"
+    http_version: 
+  recorded_at: Wed, 07 Nov 2012 15:26:36 GMT
+- request:
+    method: get
+    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms?search=datacenter=Default
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      Accept:
+      - application/xml
+      Accept-Encoding:
+      - gzip, deflate
+      Content-Type:
+      - application/xml
+      User-Agent:
+      - Ruby
+  response:
+    status:
+      code: 200
+      message: OK
+    headers:
+      Date:
+      - Wed, 07 Nov 2012 15:26:35 GMT
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Set-Cookie:
+      - JSESSIONID=AuSlnJLOELv1uM1hkVB0ZyX1; Path=/api; Secure
+      Content-Type:
+      - application/xml
+      Connection:
+      - close
+      Transfer-Encoding:
+      - chunked
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<vms>\n
+        \   <vm href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190\" id=\"de048029-c4f8-4e90-ac7b-67cf06102190\">\n
+        \       <actions>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cancelmigration\"
+        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/migrate\"
+        rel=\"migrate\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/ticket\"
+        rel=\"ticket\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/shutdown\"
+        rel=\"shutdown\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/start\"
+        rel=\"start\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/stop\"
+        rel=\"stop\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/suspend\"
+        rel=\"suspend\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/detach\"
+        rel=\"detach\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/export\"
+        rel=\"export\"/>\n            <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/move\"
+        rel=\"move\"/>\n        </actions>\n        <name>dc-node01</name>\n
       <description>Deltacloud
+        Builder and GIT mirror</description>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/disks\"
+        rel=\"disks\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/nics\"
+        rel=\"nics\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cdroms\"
+        rel=\"cdroms\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/snapshots\"
+        rel=\"snapshots\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/tags\"
+        rel=\"tags\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/permissions\"
+        rel=\"permissions\"/>\n        <link href=\"/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/statistics\"
+        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n
           <state>up</state>\n
+        \       </status>\n        <memory>2147483648</memory>\n      
 <cpu>\n            <topology
+        sockets=\"4\" 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        <high_availability>\n
+        \           <enabled>true</enabled>\n            <priority>100</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>dell-per610-02.lab.eng.brq.redhat.com</address>\n
           <port>5901</port>\n
+        \           <monitors>1</monitors>\n            <allow_override>true</allow_override>\n
+        \       </display>\n        <host href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\"
+        id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
+        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
+        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <start_time>2012-09-25T11:03:18.519+02:00</start_time>\n
+        \       <creation_time>2012-09-19T15:57:10.513+02:00</creation_time>\n
       <origin>rhev</origin>\n
+        \       <stateless>false</stateless>\n        <placement_policy>\n
           <affinity>migratable</affinity>\n
+        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>2147483648</guaranteed>\n
+        \       </memory_policy>\n        <guest_info>\n            <ips>\n
               <ip
+        address=\"10.34.33.233\"/>\n            </ips>\n        </guest_info>\n
       <quota
+        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <usb>\n         
  <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b\"
+        id=\"aee171dc-f1c2-4fae-ba62-6f74baef746b\">\n        <actions>\n      
     <link
+        href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/cancelmigration\" rel=\"cancelmigration\"/>\n
+        \           <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/migrate\"
+        rel=\"migrate\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/ticket\"
+        rel=\"ticket\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/shutdown\"
+        rel=\"shutdown\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/start\"
+        rel=\"start\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/stop\"
+        rel=\"stop\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/suspend\"
+        rel=\"suspend\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/detach\"
+        rel=\"detach\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/export\"
+        rel=\"export\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/move\"
+        rel=\"move\"/>\n        </actions>\n        <name>foreman-node01</name>\n
+        \       <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/disks\"
+        rel=\"disks\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics\"
+        rel=\"nics\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/cdroms\"
+        rel=\"cdroms\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/snapshots\"
+        rel=\"snapshots\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/tags\"
+        rel=\"tags\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/permissions\"
+        rel=\"permissions\"/>\n        <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/statistics\"
+        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n
           <state>down</state>\n
+        \       </status>\n        <memory>2147483648</memory>\n      
 <cpu>\n            <topology
+        sockets=\"2\" 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        <high_availability>\n
+        \           <enabled>false</enabled>\n            <priority>1</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>dell-per610-02.lab.eng.brq.redhat.com</address>\n
           <port>5902</port>\n
+        \           <monitors>1</monitors>\n            <allow_override>true</allow_override>\n
+        \       </display>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
+        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
+        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <start_time>2012-09-26T14:55:17.361+02:00</start_time>\n
+        \       <creation_time>2012-09-26T14:54:29.007+02:00</creation_time>\n
       <origin>rhev</origin>\n
+        \       <stateless>false</stateless>\n        <placement_policy>\n
           <affinity>migratable</affinity>\n
+        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1431306240</guaranteed>\n
+        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
+        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n
   </vm>\n
+        \   <vm href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712\" id=\"fd15329f-bcf1-4826-bfed-601c352fc712\">\n
+        \       <actions>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/cancelmigration\"
+        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/migrate\"
+        rel=\"migrate\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/ticket\"
+        rel=\"ticket\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/shutdown\"
+        rel=\"shutdown\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/start\"
+        rel=\"start\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/stop\"
+        rel=\"stop\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/suspend\"
+        rel=\"suspend\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/detach\"
+        rel=\"detach\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/export\"
+        rel=\"export\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/move\"
+        rel=\"move\"/>\n        </actions>\n        <name>i-1352301788</name>\n
       <link
+        href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/disks\" rel=\"disks\"/>\n
+        \       <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics\"
+        rel=\"nics\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/cdroms\"
+        rel=\"cdroms\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/snapshots\"
+        rel=\"snapshots\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/tags\"
+        rel=\"tags\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/permissions\"
+        rel=\"permissions\"/>\n        <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/statistics\"
+        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n
           <state>powering_down</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=\"network\"/>\n            <boot dev=\"hd\"/>\n
           <kernel></kernel>\n
+        \           <initrd></initrd>\n            <cmdline></cmdline>\n
       </os>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n
           <priority>1</priority>\n
+        \       </high_availability>\n        <display>\n            <type>spice</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5904</port>\n
+        \           <secure_port>5905</secure_port>\n            <monitors>1</monitors>\n
+        \           <allow_override>false</allow_override>\n        </display>\n
       <host
+        href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\" id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n
+        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
+        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"
+        id=\"5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"/>\n        <start_time>2012-11-07T16:24:34.885+01:00</start_time>\n
+        \       <creation_time>2012-11-07T16:23:09.149+01:00</creation_time>\n
       <origin>rhev</origin>\n
+        \       <stateless>false</stateless>\n        <placement_policy>\n
           <affinity>migratable</affinity>\n
+        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
+        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
+        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n
   </vm>\n
+        \   <vm href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7\" id=\"a841ff8e-1b13-432e-9f37-0df71b6041d7\">\n
+        \       <actions>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cancelmigration\"
+        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/migrate\"
+        rel=\"migrate\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/ticket\"
+        rel=\"ticket\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/shutdown\"
+        rel=\"shutdown\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/start\"
+        rel=\"start\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/stop\"
+        rel=\"stop\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/suspend\"
+        rel=\"suspend\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/detach\"
+        rel=\"detach\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/export\"
+        rel=\"export\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/move\"
+        rel=\"move\"/>\n        </actions>\n        <name>JoeV_06112012_01</name>\n
+        \       <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/disks\"
+        rel=\"disks\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics\"
+        rel=\"nics\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cdroms\"
+        rel=\"cdroms\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/snapshots\"
+        rel=\"snapshots\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/tags\"
+        rel=\"tags\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/permissions\"
+        rel=\"permissions\"/>\n        <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/statistics\"
+        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n
           <state>up</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=\"network\"/>\n            <boot dev=\"hd\"/>\n
           <kernel></kernel>\n
+        \           <initrd></initrd>\n            <cmdline></cmdline>\n
       </os>\n
+        \       <high_availability>\n            <enabled>false</enabled>\n
           <priority>1</priority>\n
+        \       </high_availability>\n        <display>\n            <type>spice</type>\n
+        \           <address>10.34.32.183</address>\n            <port>5902</port>\n
+        \           <secure_port>5903</secure_port>\n            <monitors>1</monitors>\n
+        \           <allow_override>false</allow_override>\n        </display>\n
       <host
+        href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\" id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n
+        \       <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
+        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"
+        id=\"5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5\"/>\n        <start_time>2012-11-06T19:53:43.277+01:00</start_time>\n
+        \       <creation_time>2012-11-06T19:53:08.804+01:00</creation_time>\n
       <origin>rhev</origin>\n
+        \       <stateless>false</stateless>\n        <placement_policy>\n
           <affinity>migratable</affinity>\n
+        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
+        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
+        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n
   </vm>\n
+        \   <vm href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1\" id=\"2942d4be-57e4-4751-a5ac-b334567125b1\">\n
+        \       <actions>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cancelmigration\"
+        rel=\"cancelmigration\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/migrate\"
+        rel=\"migrate\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/ticket\"
+        rel=\"ticket\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/shutdown\"
+        rel=\"shutdown\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/start\"
+        rel=\"start\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/stop\"
+        rel=\"stop\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/suspend\"
+        rel=\"suspend\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/detach\"
+        rel=\"detach\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/export\"
+        rel=\"export\"/>\n            <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/move\"
+        rel=\"move\"/>\n        </actions>\n        <name>mfojtik-perses</name>\n
+        \       <description>mfojtik private machine</description>\n        <link
+        href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/disks\" rel=\"disks\"/>\n
+        \       <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/nics\"
+        rel=\"nics\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cdroms\"
+        rel=\"cdroms\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/snapshots\"
+        rel=\"snapshots\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/tags\"
+        rel=\"tags\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/permissions\"
+        rel=\"permissions\"/>\n        <link href=\"/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/statistics\"
+        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n
           <state>up</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        <high_availability>\n
+        \           <enabled>false</enabled>\n            <priority>1</priority>\n
+        \       </high_availability>\n        <display>\n            <type>vnc</type>\n
+        \           <address>dell-per610-02.lab.eng.brq.redhat.com</address>\n
           <port>5900</port>\n
+        \           <monitors>1</monitors>\n            <allow_override>true</allow_override>\n
+        \       </display>\n        <host href=\"/api/hosts/ca36391a-0234-11e2-ae20-773923039d67\"
+        id=\"ca36391a-0234-11e2-ae20-773923039d67\"/>\n        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
+        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/00000000-0000-0000-0000-000000000000\"
+        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <start_time>2012-09-25T11:03:16.547+02:00</start_time>\n
+        \       <creation_time>2012-09-19T17:35:47.578+02:00</creation_time>\n
       <origin>rhev</origin>\n
+        \       <stateless>false</stateless>\n        <placement_policy>\n
           <affinity>migratable</affinity>\n
+        \       </placement_policy>\n        <memory_policy>\n            <guaranteed>1073741824</guaranteed>\n
+        \       </memory_policy>\n        <guest_info>\n            <ips>\n
               <ip
+        address=\"10.34.32.90\"/>\n            </ips>\n        </guest_info>\n
       <quota
+        id=\"00000000-0000-0000-0000-000000000000\"/>\n        <usb>\n         
  <enabled>false</enabled>\n
+        \       </usb>\n    </vm>\n    <vm href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c\"
+        id=\"a921bfe6-9ba6-4761-9e95-42737768ff8c\">\n        <actions>\n      
     <link
+        href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cancelmigration\" rel=\"cancelmigration\"/>\n
+        \           <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/migrate\"
+        rel=\"migrate\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/ticket\"
+        rel=\"ticket\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/shutdown\"
+        rel=\"shutdown\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/start\"
+        rel=\"start\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/stop\"
+        rel=\"stop\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/suspend\"
+        rel=\"suspend\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/detach\"
+        rel=\"detach\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/export\"
+        rel=\"export\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/move\"
+        rel=\"move\"/>\n        </actions>\n        <name>rhevm1-jprovazn-09-rhevm1</name>\n
+        \       <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/disks\"
+        rel=\"disks\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics\"
+        rel=\"nics\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cdroms\"
+        rel=\"cdroms\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/snapshots\"
+        rel=\"snapshots\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/tags\"
+        rel=\"tags\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/permissions\"
+        rel=\"permissions\"/>\n        <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/statistics\"
+        rel=\"statistics\"/>\n        <type>server</type>\n        <status>\n
           <state>down</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=\"network\"/>\n            <boot dev=\"hd\"/>\n
       </os>\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        <cluster href=\"/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95\"
+        id=\"99408929-82cf-4dc7-a532-9d998063fa95\"/>\n        <template href=\"/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505\"
+        id=\"fe9dcb11-a035-4d80-89b4-a4092a892505\"/>\n        <creation_time>2012-10-29T14:06:27.378+01:00</creation_time>\n
+        \       <origin>rhev</origin>\n        <stateless>false</stateless>\n
       <placement_policy>\n
+        \           <affinity>migratable</affinity>\n        </placement_policy>\n
+        \       <memory_policy>\n            <guaranteed>536870912</guaranteed>\n
+        \       </memory_policy>\n        <quota id=\"00000000-0000-0000-0000-000000000000\"/>\n
+        \       <usb>\n            <enabled>false</enabled>\n        </usb>\n
   </vm>\n</vms>\n"
+    http_version: 
+  recorded_at: Wed, 07 Nov 2012 15:26:36 GMT
+- request:
+    method: get
+    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      Accept:
+      - application/xml
+      Accept-Encoding:
+      - gzip, deflate
+      Content-Type:
+      - application/xml
+      User-Agent:
+      - Ruby
+  response:
+    status:
+      code: 200
+      message: OK
+    headers:
+      Date:
+      - Wed, 07 Nov 2012 15:26:35 GMT
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Set-Cookie:
+      - JSESSIONID=TPDqywWIzXzlpWjZv4msZJ2z; Path=/api; Secure
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '1052'
+      Connection:
+      - close
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d\"
+        id=\"6c27ca48-ce87-4490-8ae4-25178a32345d\">\n        <actions>\n      
     <link
+        href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d/deactivate\"
+        rel=\"deactivate\"/>\n            <link href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d/activate\"
+        rel=\"activate\"/>\n        </actions>\n        <name>nic1</name>\n
       <link
+        href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b/nics/6c27ca48-ce87-4490-8ae4-25178a32345d/statistics\"
+        rel=\"statistics\"/>\n        <vm href=\"/api/vms/aee171dc-f1c2-4fae-ba62-6f74baef746b\"
+        id=\"aee171dc-f1c2-4fae-ba62-6f74baef746b\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
+        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
+        \       <mac address=\"00:1a:4a:22:20:00\"/>\n        <active>true</active>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 07 Nov 2012 15:26:37 GMT
+- request:
+    method: get
+    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      Accept:
+      - application/xml
+      Accept-Encoding:
+      - gzip, deflate
+      Content-Type:
+      - application/xml
+      User-Agent:
+      - Ruby
+  response:
+    status:
+      code: 200
+      message: OK
+    headers:
+      Date:
+      - Wed, 07 Nov 2012 15:26:37 GMT
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Set-Cookie:
+      - JSESSIONID=T3IA5Xm0tMgR4Zr6hRu5xxrO; Path=/api; Secure
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '1052'
+      Connection:
+      - close
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be\"
+        id=\"659f9eff-d2d9-4220-bbb4-a9712fe421be\">\n        <actions>\n      
     <link
+        href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be/deactivate\"
+        rel=\"deactivate\"/>\n            <link href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be/activate\"
+        rel=\"activate\"/>\n        </actions>\n        <name>nic1</name>\n
       <link
+        href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712/nics/659f9eff-d2d9-4220-bbb4-a9712fe421be/statistics\"
+        rel=\"statistics\"/>\n        <vm href=\"/api/vms/fd15329f-bcf1-4826-bfed-601c352fc712\"
+        id=\"fd15329f-bcf1-4826-bfed-601c352fc712\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
+        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
+        \       <mac address=\"00:1a:4a:22:20:14\"/>\n        <active>true</active>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 07 Nov 2012 15:26:38 GMT
+- request:
+    method: get
+    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      Accept:
+      - application/xml
+      Accept-Encoding:
+      - gzip, deflate
+      Content-Type:
+      - application/xml
+      User-Agent:
+      - Ruby
+  response:
+    status:
+      code: 200
+      message: OK
+    headers:
+      Date:
+      - Wed, 07 Nov 2012 15:26:37 GMT
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Set-Cookie:
+      - JSESSIONID=PbPtChOe0NUUiHV7S5vzRexA; Path=/api; Secure
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '1052'
+      Connection:
+      - close
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee\"
+        id=\"2463f06a-ec92-411f-8c42-04ea1aaba6ee\">\n        <actions>\n      
     <link
+        href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee/deactivate\"
+        rel=\"deactivate\"/>\n            <link href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee/activate\"
+        rel=\"activate\"/>\n        </actions>\n        <name>nic1</name>\n
       <link
+        href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics/2463f06a-ec92-411f-8c42-04ea1aaba6ee/statistics\"
+        rel=\"statistics\"/>\n        <vm href=\"/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7\"
+        id=\"a841ff8e-1b13-432e-9f37-0df71b6041d7\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
+        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
+        \       <mac address=\"00:1a:4a:22:20:15\"/>\n        <active>true</active>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 07 Nov 2012 15:26:39 GMT
+- request:
+    method: get
+    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      Accept:
+      - application/xml
+      Accept-Encoding:
+      - gzip, deflate
+      Content-Type:
+      - application/xml
+      User-Agent:
+      - Ruby
+  response:
+    status:
+      code: 200
+      message: OK
+    headers:
+      Date:
+      - Wed, 07 Nov 2012 15:26:38 GMT
+      Pragma:
+      - No-cache
+      Cache-Control:
+      - no-cache
+      Expires:
+      - Thu, 01 Jan 1970 01:00:00 CET
+      Set-Cookie:
+      - JSESSIONID=tkDwiDnwhDd-7lTbUjtYMGHd; Path=/api; Secure
+      Content-Type:
+      - application/xml
+      Content-Length:
+      - '1052'
+      Connection:
+      - close
+    body:
+      encoding: US-ASCII
+      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<nics>\n
+        \   <nic href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56\"
+        id=\"25512ddd-4671-4613-9793-88fe3e76cd56\">\n        <actions>\n      
     <link
+        href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/deactivate\"
+        rel=\"deactivate\"/>\n            <link href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/activate\"
+        rel=\"activate\"/>\n        </actions>\n        <name>eth0</name>\n
       <link
+        href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/statistics\"
+        rel=\"statistics\"/>\n        <vm href=\"/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c\"
+        id=\"a921bfe6-9ba6-4761-9e95-42737768ff8c\"/>\n        <network href=\"/api/networks/00000000-0000-0000-0000-000000000009\"
+        id=\"00000000-0000-0000-0000-000000000009\"/>\n        <interface>virtio</interface>\n
+        \       <mac address=\"00:1a:4a:22:20:19\"/>\n        <active>true</active>\n
+        \   </nic>\n</nics>\n"
+    http_version: 
+  recorded_at: Wed, 07 Nov 2012 15:26:39 GMT
+recorded_with: VCR 2.2.5


Mime
View raw message