deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [13/41] Revamp RHEV-M driver tests and rerecord them
Date Mon, 11 Mar 2013 21:36:15 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/861156f8/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-5.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-5.yml
b/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-5.yml
deleted file mode 100644
index cb6d394..0000000
--- a/server/tests/drivers/rhevm/fixtures/test_0006_must_allow_to_create_a_new_instance_and_make_it_running-stop-5.yml
+++ /dev/null
@@ -1,612 +0,0 @@
---- 
-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: 
-      string: ""
-    headers: 
-      Accept-Encoding: 
-      - gzip, deflate
-      Content-Type: 
-      - application/xml
-      Accept: 
-      - application/xml
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Cache-Control: 
-      - no-cache
-      Date: 
-      - Fri, 09 Nov 2012 09:00:56 GMT
-      Expires: 
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Connection: 
-      - close
-      Content-Length: 
-      - "828"
-      Pragma: 
-      - No-cache
-      Content-Type: 
-      - application/xml
-      Set-Cookie: 
-      - JSESSIONID=byAP9A5lv+DdZrqKZ5etknUl; Path=/api; Secure
-    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: Fri, 09 Nov 2012 09:00:57 GMT
-- request: 
-    method: get
-    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms?search=datacenter=Default
-    body: 
-      string: ""
-    headers: 
-      Accept-Encoding: 
-      - gzip, deflate
-      Content-Type: 
-      - application/xml
-      Accept: 
-      - application/xml
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Cache-Control: 
-      - no-cache
-      Date: 
-      - Fri, 09 Nov 2012 09:00:56 GMT
-      Expires: 
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Connection: 
-      - close
-      Transfer-Encoding: 
-      - chunked
-      Pragma: 
-      - No-cache
-      Content-Type: 
-      - application/xml
-      Set-Cookie: 
-      - JSESSIONID=0wDf0jiZVKZ5pNCSXgyADYO8; Path=/api; Secure
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-        <vms>
-            <vm href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190" id="de048029-c4f8-4e90-ac7b-67cf06102190">
-                <actions>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/migrate"
rel="migrate"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/ticket"
rel="ticket"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cancelmigration"
rel="cancelmigration"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/shutdown"
rel="shutdown"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/start" rel="start"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/stop" rel="stop"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/suspend"
rel="suspend"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/detach"
rel="detach"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/export"
rel="export"/>
-                    <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/move" rel="move"/>
-                </actions>
-                <name>dc-node01</name>
-                <description>Deltacloud Builder and GIT mirror</description>
-                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/disks" rel="disks"/>
-                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/nics" rel="nics"/>
-                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/cdroms" rel="cdroms"/>
-                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/snapshots" rel="snapshots"/>
-                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/tags" rel="tags"/>
-                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/permissions"
rel="permissions"/>
-                <link href="/api/vms/de048029-c4f8-4e90-ac7b-67cf06102190/statistics"
rel="statistics"/>
-                <type>server</type>
-                <status>
-                    <state>up</state>
-                </status>
-                <memory>2147483648</memory>
-                <cpu>
-                    <topology sockets="4" cores="1"/>
-                </cpu>
-                <os type="rhel_6x64">
-                    <boot dev="hd"/>
-                    <kernel></kernel>
-                    <initrd></initrd>
-                    <cmdline></cmdline>
-                </os>
-                <high_availability>
-                    <enabled>true</enabled>
-                    <priority>100</priority>
-                </high_availability>
-                <display>
-                    <type>vnc</type>
-                    <address>dell-per610-02.lab.eng.brq.redhat.com</address>
-                    <port>5901</port>
-                    <monitors>1</monitors>
-                    <allow_override>true</allow_override>
-                </display>
-                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
-                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
-                <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/>
-                <start_time>2012-09-25T11:03:18.519+02:00</start_time>
-                <creation_time>2012-09-19T15:57:10.513+02:00</creation_time>
-                <origin>rhev</origin>
-                <stateless>false</stateless>
-                <placement_policy>
-                    <affinity>migratable</affinity>
-                </placement_policy>
-                <memory_policy>
-                    <guaranteed>2147483648</guaranteed>
-                </memory_policy>
-                <guest_info>
-                    <ips>
-                        <ip address="10.34.33.233"/>
-                    </ips>
-                </guest_info>
-                <quota id="00000000-0000-0000-0000-000000000000"/>
-                <usb>
-                    <enabled>false</enabled>
-                </usb>
-            </vm>
-            <vm href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c" id="1fbe1fc8-9814-4af8-955e-915b67f07a9c">
-                <actions>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/migrate"
rel="migrate"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/ticket"
rel="ticket"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/cancelmigration"
rel="cancelmigration"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/shutdown"
rel="shutdown"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/start" rel="start"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/stop" rel="stop"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/suspend"
rel="suspend"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/detach"
rel="detach"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/export"
rel="export"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/move" rel="move"/>
-                </actions>
-                <name>i-1352451498</name>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/disks" rel="disks"/>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics" rel="nics"/>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/cdroms" rel="cdroms"/>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/snapshots" rel="snapshots"/>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/tags" rel="tags"/>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/permissions"
rel="permissions"/>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/statistics"
rel="statistics"/>
-                <type>server</type>
-                <status>
-                    <state>powering_down</state>
-                </status>
-                <memory>1073741824</memory>
-                <cpu>
-                    <topology sockets="1" cores="1"/>
-                </cpu>
-                <os type="rhel_6x64">
-                    <boot dev="network"/>
-                    <boot dev="hd"/>
-                    <kernel></kernel>
-                    <initrd></initrd>
-                    <cmdline></cmdline>
-                </os>
-                <high_availability>
-                    <enabled>false</enabled>
-                    <priority>1</priority>
-                </high_availability>
-                <display>
-                    <type>spice</type>
-                    <address>10.34.32.183</address>
-                    <port>5906</port>
-                    <secure_port>5907</secure_port>
-                    <monitors>1</monitors>
-                    <allow_override>false</allow_override>
-                </display>
-                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
-                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
-                <template href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5" id="5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5"/>
-                <start_time>2012-11-09T09:58:42.704+01:00</start_time>
-                <creation_time>2012-11-09T09:58:17.921+01:00</creation_time>
-                <origin>rhev</origin>
-                <stateless>false</stateless>
-                <placement_policy>
-                    <affinity>migratable</affinity>
-                </placement_policy>
-                <memory_policy>
-                    <guaranteed>1073741824</guaranteed>
-                </memory_policy>
-                <quota id="00000000-0000-0000-0000-000000000000"/>
-                <usb>
-                    <enabled>false</enabled>
-                </usb>
-            </vm>
-            <vm href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7" id="a841ff8e-1b13-432e-9f37-0df71b6041d7">
-                <actions>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/migrate"
rel="migrate"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/ticket"
rel="ticket"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cancelmigration"
rel="cancelmigration"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/shutdown"
rel="shutdown"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/start" rel="start"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/stop" rel="stop"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/suspend"
rel="suspend"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/detach"
rel="detach"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/export"
rel="export"/>
-                    <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/move" rel="move"/>
-                </actions>
-                <name>JoeV_06112012_01</name>
-                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/disks" rel="disks"/>
-                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/nics" rel="nics"/>
-                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/cdroms" rel="cdroms"/>
-                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/snapshots" rel="snapshots"/>
-                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/tags" rel="tags"/>
-                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/permissions"
rel="permissions"/>
-                <link href="/api/vms/a841ff8e-1b13-432e-9f37-0df71b6041d7/statistics"
rel="statistics"/>
-                <type>server</type>
-                <status>
-                    <state>up</state>
-                </status>
-                <memory>1073741824</memory>
-                <cpu>
-                    <topology sockets="1" cores="1"/>
-                </cpu>
-                <os type="rhel_6x64">
-                    <boot dev="network"/>
-                    <boot dev="hd"/>
-                    <kernel></kernel>
-                    <initrd></initrd>
-                    <cmdline></cmdline>
-                </os>
-                <high_availability>
-                    <enabled>false</enabled>
-                    <priority>1</priority>
-                </high_availability>
-                <display>
-                    <type>spice</type>
-                    <address>10.34.32.183</address>
-                    <port>5902</port>
-                    <secure_port>5903</secure_port>
-                    <monitors>1</monitors>
-                    <allow_override>false</allow_override>
-                </display>
-                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
-                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
-                <template href="/api/templates/5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5" id="5558c5b6-9dd6-41b7-87f9-7cbce4fd40c5"/>
-                <start_time>2012-11-06T19:53:43.277+01:00</start_time>
-                <creation_time>2012-11-06T19:53:08.804+01:00</creation_time>
-                <origin>rhev</origin>
-                <stateless>false</stateless>
-                <placement_policy>
-                    <affinity>migratable</affinity>
-                </placement_policy>
-                <memory_policy>
-                    <guaranteed>1073741824</guaranteed>
-                </memory_policy>
-                <guest_info>
-                    <ips>
-                        <ip address="10.34.37.230"/>
-                    </ips>
-                </guest_info>
-                <quota id="00000000-0000-0000-0000-000000000000"/>
-                <usb>
-                    <enabled>false</enabled>
-                </usb>
-            </vm>
-            <vm href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1" id="2942d4be-57e4-4751-a5ac-b334567125b1">
-                <actions>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/migrate"
rel="migrate"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/ticket"
rel="ticket"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cancelmigration"
rel="cancelmigration"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/shutdown"
rel="shutdown"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/start" rel="start"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/stop" rel="stop"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/suspend"
rel="suspend"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/detach"
rel="detach"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/export"
rel="export"/>
-                    <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/move" rel="move"/>
-                </actions>
-                <name>mfojtik-perses</name>
-                <description>mfojtik private machine</description>
-                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/disks" rel="disks"/>
-                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/nics" rel="nics"/>
-                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/cdroms" rel="cdroms"/>
-                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/snapshots" rel="snapshots"/>
-                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/tags" rel="tags"/>
-                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/permissions"
rel="permissions"/>
-                <link href="/api/vms/2942d4be-57e4-4751-a5ac-b334567125b1/statistics"
rel="statistics"/>
-                <type>server</type>
-                <status>
-                    <state>up</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>
-                <high_availability>
-                    <enabled>false</enabled>
-                    <priority>1</priority>
-                </high_availability>
-                <display>
-                    <type>vnc</type>
-                    <address>dell-per610-02.lab.eng.brq.redhat.com</address>
-                    <port>5900</port>
-                    <monitors>1</monitors>
-                    <allow_override>true</allow_override>
-                </display>
-                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
-                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
-                <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/>
-                <start_time>2012-09-25T11:03:16.547+02:00</start_time>
-                <creation_time>2012-09-19T17:35:47.578+02:00</creation_time>
-                <origin>rhev</origin>
-                <stateless>false</stateless>
-                <placement_policy>
-                    <affinity>migratable</affinity>
-                </placement_policy>
-                <memory_policy>
-                    <guaranteed>1073741824</guaranteed>
-                </memory_policy>
-                <guest_info>
-                    <ips>
-                        <ip address="10.34.32.90"/>
-                    </ips>
-                </guest_info>
-                <quota id="00000000-0000-0000-0000-000000000000"/>
-                <usb>
-                    <enabled>false</enabled>
-                </usb>
-            </vm>
-            <vm href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c" id="a921bfe6-9ba6-4761-9e95-42737768ff8c">
-                <actions>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/migrate"
rel="migrate"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/ticket"
rel="ticket"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cancelmigration"
rel="cancelmigration"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/shutdown"
rel="shutdown"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/start" rel="start"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/stop" rel="stop"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/suspend"
rel="suspend"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/detach"
rel="detach"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/export"
rel="export"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/move" rel="move"/>
-                </actions>
-                <name>rhevm1-jprovazn-09-rhevm1</name>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/disks" rel="disks"/>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics" rel="nics"/>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/cdroms" rel="cdroms"/>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/snapshots" rel="snapshots"/>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/tags" rel="tags"/>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/permissions"
rel="permissions"/>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/statistics"
rel="statistics"/>
-                <type>server</type>
-                <status>
-                    <state>down</state>
-                </status>
-                <memory>536870912</memory>
-                <cpu>
-                    <topology sockets="1" cores="1"/>
-                </cpu>
-                <os type="other_linux">
-                    <boot dev="network"/>
-                    <boot dev="hd"/>
-                </os>
-                <high_availability>
-                    <enabled>false</enabled>
-                    <priority>0</priority>
-                </high_availability>
-                <display>
-                    <type>spice</type>
-                    <monitors>1</monitors>
-                    <allow_override>false</allow_override>
-                </display>
-                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
-                <template href="/api/templates/fe9dcb11-a035-4d80-89b4-a4092a892505" id="fe9dcb11-a035-4d80-89b4-a4092a892505"/>
-                <creation_time>2012-10-29T14:06:27.378+01:00</creation_time>
-                <origin>rhev</origin>
-                <stateless>false</stateless>
-                <placement_policy>
-                    <affinity>migratable</affinity>
-                </placement_policy>
-                <memory_policy>
-                    <guaranteed>536870912</guaranteed>
-                </memory_policy>
-                <quota id="00000000-0000-0000-0000-000000000000"/>
-                <usb>
-                    <enabled>false</enabled>
-                </usb>
-            </vm>
-            <vm href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e" id="f10a7ceb-8484-4ddb-a6d0-598eb6408f0e">
-                <actions>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/migrate"
rel="migrate"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/ticket"
rel="ticket"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/cancelmigration"
rel="cancelmigration"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/shutdown"
rel="shutdown"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/start" rel="start"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/stop" rel="stop"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/suspend"
rel="suspend"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/detach"
rel="detach"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/export"
rel="export"/>
-                    <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/move" rel="move"/>
-                </actions>
-                <name>test123</name>
-                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/disks" rel="disks"/>
-                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/nics" rel="nics"/>
-                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/cdroms" rel="cdroms"/>
-                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/snapshots" rel="snapshots"/>
-                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/tags" rel="tags"/>
-                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/permissions"
rel="permissions"/>
-                <link href="/api/vms/f10a7ceb-8484-4ddb-a6d0-598eb6408f0e/statistics"
rel="statistics"/>
-                <type>server</type>
-                <status>
-                    <state>up</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>
-                <high_availability>
-                    <enabled>false</enabled>
-                    <priority>1</priority>
-                </high_availability>
-                <display>
-                    <type>spice</type>
-                    <address>10.34.32.183</address>
-                    <port>5904</port>
-                    <secure_port>5905</secure_port>
-                    <monitors>1</monitors>
-                    <allow_override>true</allow_override>
-                </display>
-                <host href="/api/hosts/ca36391a-0234-11e2-ae20-773923039d67" id="ca36391a-0234-11e2-ae20-773923039d67"/>
-                <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95"/>
-                <template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/>
-                <start_time>2012-11-08T14:36:19.648+01:00</start_time>
-                <creation_time>2012-11-08T14:35:56.818+01:00</creation_time>
-                <origin>rhev</origin>
-                <stateless>false</stateless>
-                <placement_policy>
-                    <affinity>migratable</affinity>
-                </placement_policy>
-                <memory_policy>
-                    <guaranteed>1431306240</guaranteed>
-                </memory_policy>
-                <guest_info>
-                    <ips>
-                        <ip address="10.34.37.197"/>
-                    </ips>
-                </guest_info>
-                <quota id="00000000-0000-0000-0000-000000000000"/>
-                <usb>
-                    <enabled>false</enabled>
-                </usb>
-            </vm>
-        </vms>
-
-    http_version: 
-  recorded_at: Fri, 09 Nov 2012 09:00:57 GMT
-- request: 
-    method: get
-    uri: https://admin%40internal:redhat@dell-per610-02.lab.eng.brq.redhat.com/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics
-    body: 
-      string: ""
-    headers: 
-      Accept-Encoding: 
-      - gzip, deflate
-      Content-Type: 
-      - application/xml
-      Accept: 
-      - application/xml
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Cache-Control: 
-      - no-cache
-      Date: 
-      - Fri, 09 Nov 2012 09:00:57 GMT
-      Expires: 
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Connection: 
-      - close
-      Content-Length: 
-      - "1052"
-      Pragma: 
-      - No-cache
-      Content-Type: 
-      - application/xml
-      Set-Cookie: 
-      - JSESSIONID=1fMJxE44IsiUd0adEnNf3Pgi; Path=/api; Secure
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-        <nics>
-            <nic href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09"
id="a03e3218-81a5-47c4-9193-aaba4cccfa09">
-                <actions>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09/deactivate"
rel="deactivate"/>
-                    <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09/activate"
rel="activate"/>
-                </actions>
-                <name>nic1</name>
-                <link href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c/nics/a03e3218-81a5-47c4-9193-aaba4cccfa09/statistics"
rel="statistics"/>
-                <vm href="/api/vms/1fbe1fc8-9814-4af8-955e-915b67f07a9c" id="1fbe1fc8-9814-4af8-955e-915b67f07a9c"/>
-                <network href="/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009"/>
-                <interface>virtio</interface>
-                <mac address="00:1a:4a:22:20:00"/>
-                <active>true</active>
-            </nic>
-        </nics>
-
-    http_version: 
-  recorded_at: Fri, 09 Nov 2012 09:00:58 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: 
-      string: ""
-    headers: 
-      Accept-Encoding: 
-      - gzip, deflate
-      Content-Type: 
-      - application/xml
-      Accept: 
-      - application/xml
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Cache-Control: 
-      - no-cache
-      Date: 
-      - Fri, 09 Nov 2012 09:00:57 GMT
-      Expires: 
-      - Thu, 01 Jan 1970 01:00:00 CET
-      Connection: 
-      - close
-      Content-Length: 
-      - "1052"
-      Pragma: 
-      - No-cache
-      Content-Type: 
-      - application/xml
-      Set-Cookie: 
-      - JSESSIONID=iW1eQ9CSkZUTmcITddHc3Q+K; Path=/api; Secure
-    body: 
-      string: |
-        <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-        <nics>
-            <nic href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56"
id="25512ddd-4671-4613-9793-88fe3e76cd56">
-                <actions>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/deactivate"
rel="deactivate"/>
-                    <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/activate"
rel="activate"/>
-                </actions>
-                <name>eth0</name>
-                <link href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c/nics/25512ddd-4671-4613-9793-88fe3e76cd56/statistics"
rel="statistics"/>
-                <vm href="/api/vms/a921bfe6-9ba6-4761-9e95-42737768ff8c" id="a921bfe6-9ba6-4761-9e95-42737768ff8c"/>
-                <network href="/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009"/>
-                <interface>virtio</interface>
-                <mac address="00:1a:4a:22:20:19"/>
-                <active>true</active>
-            </nic>
-        </nics>
-
-    http_version: 
-  recorded_at: Fri, 09 Nov 2012 09:00:58 GMT
-recorded_with: VCR 2.2.5


Mime
View raw message