deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [14/50] [abbrv] EC2: Rerecorded test fixtures
Date Mon, 30 Jul 2012 14:29:16 GMT
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0006_must_allow_to_create_multiple_instances_using_the_instance_count_parameter.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/fixtures/test_0006_must_allow_to_create_multiple_instances_using_the_instance_count_parameter.yml b/server/tests/drivers/ec2/fixtures/test_0006_must_allow_to_create_multiple_instances_using_the_instance_count_parameter.yml
index 682093b..7f7ad98 100644
--- a/server/tests/drivers/ec2/fixtures/test_0006_must_allow_to_create_multiple_instances_using_the_instance_count_parameter.yml
+++ b/server/tests/drivers/ec2/fixtures/test_0006_must_allow_to_create_multiple_instances_using_the_instance_count_parameter.yml
@@ -1,250 +1,375 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=RunInstances&AddressingType=public&ImageId=ami-aecd60c7&InstanceType=t1.micro&MaxCount=2&MinCount=2&Placement.AvailabilityZone=us-east-1a&Signature=+LCIvYh+abOm/dhygXeKL+cc9GgS0BhtKo9mMsb9G7o=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=RunInstances&AddressingType=public&ImageId=ami-aecd60c7&InstanceType=t1.micro&MaxCount=2&MinCount=2&Placement.AvailabilityZone=us-east-1a&Signature=J7XPDOkMib3Wv09aT6bcD2FxV0FuWyBtTFfiqFVElNQ=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:23:49 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<RunInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>b15c9ec7-7af8-4249-b379-bb0c05e77b37</requestId>\n
-        \   <reservationId>r-3e7bb05a</reservationId>\n    <ownerId>293787749884</ownerId>\n
-        \   <groupSet>\n        <item>\n            <groupId>default</groupId>\n        </item>\n
-        \   </groupSet>\n    <instancesSet>\n        <item>\n            <instanceId>i-66ebc41e</instanceId>\n
-        \           <imageId>ami-aecd60c7</imageId>\n            <instanceState>\n
-        \               <code>0</code>\n                <name>pending</name>\n            </instanceState>\n
-        \           <privateDnsName/>\n            <dnsName/>\n            <reason/>\n
-        \           <amiLaunchIndex>0</amiLaunchIndex>\n            <productCodes/>\n
-        \           <instanceType>t1.micro</instanceType>\n            <launchTime>2012-07-23T12:23:49.000Z</launchTime>\n
-        \           <placement>\n                <availabilityZone>us-east-1a</availabilityZone>\n
-        \               <groupName/>\n            </placement>\n            <kernelId>aki-88aa75e1</kernelId>\n
-        \           <monitoring>\n                <state>disabled</state>\n            </monitoring>\n
-        \           <stateReason>\n                <code>pending</code>\n                <message>pending</message>\n
-        \           </stateReason>\n            <architecture>x86_64</architecture>\n
-        \           <rootDeviceType>ebs</rootDeviceType>\n            <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \           <blockDeviceMapping/>\n            <virtualizationType>paravirtual</virtualizationType>\n
-        \           <clientToken/>\n        </item>\n        <item>\n            <instanceId>i-58ebc420</instanceId>\n
-        \           <imageId>ami-aecd60c7</imageId>\n            <instanceState>\n
-        \               <code>0</code>\n                <name>pending</name>\n            </instanceState>\n
-        \           <privateDnsName/>\n            <dnsName/>\n            <reason/>\n
-        \           <amiLaunchIndex>1</amiLaunchIndex>\n            <productCodes/>\n
-        \           <instanceType>t1.micro</instanceType>\n            <launchTime>2012-07-23T12:23:49.000Z</launchTime>\n
-        \           <placement>\n                <availabilityZone>us-east-1a</availabilityZone>\n
-        \               <groupName/>\n            </placement>\n            <kernelId>aki-88aa75e1</kernelId>\n
-        \           <monitoring>\n                <state>disabled</state>\n            </monitoring>\n
-        \           <stateReason>\n                <code>pending</code>\n                <message>pending</message>\n
-        \           </stateReason>\n            <architecture>x86_64</architecture>\n
-        \           <rootDeviceType>ebs</rootDeviceType>\n            <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \           <blockDeviceMapping/>\n            <virtualizationType>paravirtual</virtualizationType>\n
-        \           <clientToken/>\n        </item>\n    </instancesSet>\n</RunInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:05:52 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>1ce81f28-594d-48bc-a601-479e1cfdb5c3</requestId>
+            <reservationId>r-6a2d9c0e</reservationId>
+            <ownerId>293787749884</ownerId>
+            <groupSet>
+                <item>
+                    <groupId>default</groupId>
+                </item>
+            </groupSet>
+            <instancesSet>
+                <item>
+                    <instanceId>i-1175906a</instanceId>
+                    <imageId>ami-aecd60c7</imageId>
+                    <instanceState>
+                        <code>0</code>
+                        <name>pending</name>
+                    </instanceState>
+                    <privateDnsName/>
+                    <dnsName/>
+                    <reason/>
+                    <amiLaunchIndex>0</amiLaunchIndex>
+                    <productCodes/>
+                    <instanceType>t1.micro</instanceType>
+                    <launchTime>2012-07-30T11:05:52.000Z</launchTime>
+                    <placement>
+                        <availabilityZone>us-east-1a</availabilityZone>
+                        <groupName/>
+                    </placement>
+                    <kernelId>aki-88aa75e1</kernelId>
+                    <monitoring>
+                        <state>disabled</state>
+                    </monitoring>
+                    <stateReason>
+                        <code>pending</code>
+                        <message>pending</message>
+                    </stateReason>
+                    <architecture>x86_64</architecture>
+                    <rootDeviceType>ebs</rootDeviceType>
+                    <rootDeviceName>/dev/sda1</rootDeviceName>
+                    <blockDeviceMapping/>
+                    <virtualizationType>paravirtual</virtualizationType>
+                    <clientToken/>
+                </item>
+                <item>
+                    <instanceId>i-1775906c</instanceId>
+                    <imageId>ami-aecd60c7</imageId>
+                    <instanceState>
+                        <code>0</code>
+                        <name>pending</name>
+                    </instanceState>
+                    <privateDnsName/>
+                    <dnsName/>
+                    <reason/>
+                    <amiLaunchIndex>1</amiLaunchIndex>
+                    <productCodes/>
+                    <instanceType>t1.micro</instanceType>
+                    <launchTime>2012-07-30T11:05:52.000Z</launchTime>
+                    <placement>
+                        <availabilityZone>us-east-1a</availabilityZone>
+                        <groupName/>
+                    </placement>
+                    <kernelId>aki-88aa75e1</kernelId>
+                    <monitoring>
+                        <state>disabled</state>
+                    </monitoring>
+                    <stateReason>
+                        <code>pending</code>
+                        <message>pending</message>
+                    </stateReason>
+                    <architecture>x86_64</architecture>
+                    <rootDeviceType>ebs</rootDeviceType>
+                    <rootDeviceName>/dev/sda1</rootDeviceName>
+                    <blockDeviceMapping/>
+                    <virtualizationType>paravirtual</virtualizationType>
+                    <clientToken/>
+                </item>
+            </instancesSet>
+        </RunInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-- request:
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=TerminateInstances&InstanceId.1=i-66ebc41e&Signature=Tg349P82reMElSjCjGbtTqCq41oy3+HCtyoeWp3RX0U=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=TerminateInstances&InstanceId.1=i-1175906a&Signature=zzrW2fWW29azklXnZGg/8OlqDb4cs9NavQ2AYCoxc50=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:24:22 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<TerminateInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>2b460988-01ab-47a6-8490-28f391c45c56</requestId>\n
-        \   <instancesSet>\n        <item>\n            <instanceId>i-66ebc41e</instanceId>\n
-        \           <currentState>\n                <code>32</code>\n                <name>shutting-down</name>\n
-        \           </currentState>\n            <previousState>\n                <code>16</code>\n
-        \               <name>running</name>\n            </previousState>\n        </item>\n
-        \   </instancesSet>\n</TerminateInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:06:26 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>2843d6a9-5b39-49d4-9e3a-e5f4caca6213</requestId>
+            <instancesSet>
+                <item>
+                    <instanceId>i-1175906a</instanceId>
+                    <currentState>
+                        <code>32</code>
+                        <name>shutting-down</name>
+                    </currentState>
+                    <previousState>
+                        <code>16</code>
+                        <name>running</name>
+                    </previousState>
+                </item>
+            </instancesSet>
+        </TerminateInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-- request:
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-66ebc41e&Signature=iUvi16C5PceLaBL5YrWL93FjyckyqHHzWjQHV2pwn/A=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-1175906a&Signature=/0lQtQjHSNG89u6EI+HtMwray5kfpEvmhKJesTiRXnU=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:24:23 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DescribeInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>e5a7afea-af43-4037-941b-741dc8389f7e</requestId>\n
-        \   <reservationSet>\n        <item>\n            <reservationId>r-3e7bb05a</reservationId>\n
-        \           <ownerId>293787749884</ownerId>\n            <groupSet>\n                <item>\n
-        \                   <groupId>default</groupId>\n                </item>\n
-        \           </groupSet>\n            <instancesSet>\n                <item>\n
-        \                   <instanceId>i-66ebc41e</instanceId>\n                    <imageId>ami-aecd60c7</imageId>\n
-        \                   <instanceState>\n                        <code>32</code>\n
-        \                       <name>shutting-down</name>\n                    </instanceState>\n
-        \                   <privateDnsName>domU-12-31-39-09-88-3E.compute-1.internal</privateDnsName>\n
-        \                   <dnsName>ec2-23-20-249-105.compute-1.amazonaws.com</dnsName>\n
-        \                   <reason>User initiated (2012-07-23 12:24:23 GMT)</reason>\n
-        \                   <amiLaunchIndex>0</amiLaunchIndex>\n                    <productCodes/>\n
-        \                   <instanceType>t1.micro</instanceType>\n                    <launchTime>2012-07-23T12:23:49.000Z</launchTime>\n
-        \                   <placement>\n                        <availabilityZone>us-east-1a</availabilityZone>\n
-        \                       <groupName/>\n                    </placement>\n                    <kernelId>aki-88aa75e1</kernelId>\n
-        \                   <monitoring>\n                        <state>disabled</state>\n
-        \                   </monitoring>\n                    <privateIpAddress>10.210.143.204</privateIpAddress>\n
-        \                   <ipAddress>23.20.249.105</ipAddress>\n                    <stateReason>\n
-        \                       <code>Client.UserInitiatedShutdown</code>\n                        <message>Client.UserInitiatedShutdown:
-        User initiated shutdown</message>\n                    </stateReason>\n                    <architecture>x86_64</architecture>\n
-        \                   <rootDeviceType>ebs</rootDeviceType>\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \                   <blockDeviceMapping>\n                        <item>\n
-        \                           <deviceName>/dev/sda1</deviceName>\n                            <ebs>\n
-        \                               <volumeId>vol-00d08b61</volumeId>\n                                <status>attached</status>\n
-        \                               <attachTime>2012-07-23T12:24:14.000Z</attachTime>\n
-        \                               <deleteOnTermination>true</deleteOnTermination>\n
-        \                           </ebs>\n                        </item>\n                    </blockDeviceMapping>\n
-        \                   <virtualizationType>paravirtual</virtualizationType>\n
-        \                   <clientToken/>\n                </item>\n            </instancesSet>\n
-        \       </item>\n    </reservationSet>\n</DescribeInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:06:26 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>b0a2a59e-cf3c-418e-b8c5-b4fb04195c5d</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-6a2d9c0e</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-1175906a</instanceId>
+                            <imageId>ami-aecd60c7</imageId>
+                            <instanceState>
+                                <code>32</code>
+                                <name>shutting-down</name>
+                            </instanceState>
+                            <privateDnsName>domU-12-31-39-01-61-67.compute-1.internal</privateDnsName>
+                            <dnsName>ec2-23-20-103-43.compute-1.amazonaws.com</dnsName>
+                            <reason>User initiated (2012-07-30 11:06:26 GMT)</reason>
+                            <amiLaunchIndex>0</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>t1.micro</instanceType>
+                            <launchTime>2012-07-30T11:05:52.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <privateIpAddress>10.255.102.149</privateIpAddress>
+                            <ipAddress>23.20.103.43</ipAddress>
+                            <stateReason>
+                                <code>Client.UserInitiatedShutdown</code>
+                                <message>Client.UserInitiatedShutdown: User initiated shutdown</message>
+                            </stateReason>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping>
+                                <item>
+                                    <deviceName>/dev/sda1</deviceName>
+                                    <ebs>
+                                        <volumeId>vol-aa505fcb</volumeId>
+                                        <status>attached</status>
+                                        <attachTime>2012-07-30T11:06:15.000Z</attachTime>
+                                        <deleteOnTermination>true</deleteOnTermination>
+                                    </ebs>
+                                </item>
+                            </blockDeviceMapping>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-- request:
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=TerminateInstances&InstanceId.1=i-58ebc420&Signature=qqiyekh1qKKweIq7czpbTjdUOdozm6APuWjjdF9g+Hg=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=TerminateInstances&InstanceId.1=i-1775906c&Signature=5zyCHSB/f1Q5stn2MXYfGBUuuTB/bZ0hgIeAT5Fe0v8=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:24:24 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<TerminateInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>5cd340ca-f49c-47d3-a7fa-4b813844ed3a</requestId>\n
-        \   <instancesSet>\n        <item>\n            <instanceId>i-58ebc420</instanceId>\n
-        \           <currentState>\n                <code>32</code>\n                <name>shutting-down</name>\n
-        \           </currentState>\n            <previousState>\n                <code>16</code>\n
-        \               <name>running</name>\n            </previousState>\n        </item>\n
-        \   </instancesSet>\n</TerminateInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:06:28 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>611c6100-27ff-4570-bc05-5818f98fd6f5</requestId>
+            <instancesSet>
+                <item>
+                    <instanceId>i-1775906c</instanceId>
+                    <currentState>
+                        <code>32</code>
+                        <name>shutting-down</name>
+                    </currentState>
+                    <previousState>
+                        <code>16</code>
+                        <name>running</name>
+                    </previousState>
+                </item>
+            </instancesSet>
+        </TerminateInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-- request:
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-58ebc420&Signature=+3HbDxN8wA+3KTcaAUTlt6isyhjbiDyDqEBnVVn52kg=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-1775906c&Signature=5A9KDeqjA7laMxxnnqmyDRAorEPLCI9gNrSB8ceC+uY=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:24:25 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DescribeInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>b505627d-2683-4a03-9f4b-18438be24583</requestId>\n
-        \   <reservationSet>\n        <item>\n            <reservationId>r-3e7bb05a</reservationId>\n
-        \           <ownerId>293787749884</ownerId>\n            <groupSet>\n                <item>\n
-        \                   <groupId>default</groupId>\n                </item>\n
-        \           </groupSet>\n            <instancesSet>\n                <item>\n
-        \                   <instanceId>i-58ebc420</instanceId>\n                    <imageId>ami-aecd60c7</imageId>\n
-        \                   <instanceState>\n                        <code>32</code>\n
-        \                       <name>shutting-down</name>\n                    </instanceState>\n
-        \                   <privateDnsName>domU-12-31-39-0A-22-F4.compute-1.internal</privateDnsName>\n
-        \                   <dnsName>ec2-23-22-148-245.compute-1.amazonaws.com</dnsName>\n
-        \                   <reason>User initiated (2012-07-23 12:24:24 GMT)</reason>\n
-        \                   <amiLaunchIndex>1</amiLaunchIndex>\n                    <productCodes/>\n
-        \                   <instanceType>t1.micro</instanceType>\n                    <launchTime>2012-07-23T12:23:49.000Z</launchTime>\n
-        \                   <placement>\n                        <availabilityZone>us-east-1a</availabilityZone>\n
-        \                       <groupName/>\n                    </placement>\n                    <kernelId>aki-88aa75e1</kernelId>\n
-        \                   <monitoring>\n                        <state>disabled</state>\n
-        \                   </monitoring>\n                    <privateIpAddress>10.211.33.6</privateIpAddress>\n
-        \                   <ipAddress>23.22.148.245</ipAddress>\n                    <stateReason>\n
-        \                       <code>Client.UserInitiatedShutdown</code>\n                        <message>Client.UserInitiatedShutdown:
-        User initiated shutdown</message>\n                    </stateReason>\n                    <architecture>x86_64</architecture>\n
-        \                   <rootDeviceType>ebs</rootDeviceType>\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \                   <blockDeviceMapping>\n                        <item>\n
-        \                           <deviceName>/dev/sda1</deviceName>\n                            <ebs>\n
-        \                               <volumeId>vol-3ed08b5f</volumeId>\n                                <status>attached</status>\n
-        \                               <attachTime>2012-07-23T12:24:13.000Z</attachTime>\n
-        \                               <deleteOnTermination>true</deleteOnTermination>\n
-        \                           </ebs>\n                        </item>\n                    </blockDeviceMapping>\n
-        \                   <virtualizationType>paravirtual</virtualizationType>\n
-        \                   <clientToken/>\n                </item>\n            </instancesSet>\n
-        \       </item>\n    </reservationSet>\n</DescribeInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:06:29 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>3408cf88-86f6-4bf4-a58e-6edd8d375061</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-6a2d9c0e</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-1775906c</instanceId>
+                            <imageId>ami-aecd60c7</imageId>
+                            <instanceState>
+                                <code>32</code>
+                                <name>shutting-down</name>
+                            </instanceState>
+                            <privateDnsName>domU-12-31-39-0A-5D-F0.compute-1.internal</privateDnsName>
+                            <dnsName>ec2-23-22-246-8.compute-1.amazonaws.com</dnsName>
+                            <reason>User initiated (2012-07-30 11:06:28 GMT)</reason>
+                            <amiLaunchIndex>1</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>t1.micro</instanceType>
+                            <launchTime>2012-07-30T11:05:52.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <privateIpAddress>10.211.94.30</privateIpAddress>
+                            <ipAddress>23.22.246.8</ipAddress>
+                            <stateReason>
+                                <code>Client.UserInitiatedShutdown</code>
+                                <message>Client.UserInitiatedShutdown: User initiated shutdown</message>
+                            </stateReason>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping>
+                                <item>
+                                    <deviceName>/dev/sda1</deviceName>
+                                    <ebs>
+                                        <volumeId>vol-b0505fd1</volumeId>
+                                        <status>attached</status>
+                                        <attachTime>2012-07-30T11:06:15.000Z</attachTime>
+                                        <deleteOnTermination>true</deleteOnTermination>
+                                    </ebs>
+                                </item>
+                            </blockDeviceMapping>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-recorded_with: VCR 2.1.1
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+recorded_with: VCR 2.2.4

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-10.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-10.yml b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-10.yml
index 426c613..c8f0776 100644
--- a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-10.yml
+++ b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-10.yml
@@ -1,51 +1,76 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-d8eac5a0&Signature=aY73r5YiXQgu3drzlk3iAYsf0ZqguttvPU4z3OILa5U=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-7177920a&Signature=DHxm7p2CMHn5fzkybhIzC977iJ/i59rnLEIXVWdrTVE=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:25:10 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DescribeInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>809c3d99-d8f5-4507-b14b-d75a8dd26f7a</requestId>\n
-        \   <reservationSet>\n        <item>\n            <reservationId>r-ec7ab188</reservationId>\n
-        \           <ownerId>293787749884</ownerId>\n            <groupSet>\n                <item>\n
-        \                   <groupId>default</groupId>\n                </item>\n
-        \           </groupSet>\n            <instancesSet>\n                <item>\n
-        \                   <instanceId>i-d8eac5a0</instanceId>\n                    <imageId>ami-aecd60c7</imageId>\n
-        \                   <instanceState>\n                        <code>0</code>\n
-        \                       <name>pending</name>\n                    </instanceState>\n
-        \                   <privateDnsName/>\n                    <dnsName/>\n                    <reason/>\n
-        \                   <amiLaunchIndex>0</amiLaunchIndex>\n                    <productCodes/>\n
-        \                   <instanceType>t1.micro</instanceType>\n                    <launchTime>2012-07-23T12:25:10.000Z</launchTime>\n
-        \                   <placement>\n                        <availabilityZone>us-east-1a</availabilityZone>\n
-        \                       <groupName/>\n                    </placement>\n                    <kernelId>aki-88aa75e1</kernelId>\n
-        \                   <monitoring>\n                        <state>disabled</state>\n
-        \                   </monitoring>\n                    <architecture>x86_64</architecture>\n
-        \                   <rootDeviceType>ebs</rootDeviceType>\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \                   <blockDeviceMapping/>\n                    <virtualizationType>paravirtual</virtualizationType>\n
-        \                   <clientToken/>\n                </item>\n            </instancesSet>\n
-        \       </item>\n    </reservationSet>\n</DescribeInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:07:18 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>5e2c9e6e-25f1-4874-8370-e3a4791d19b2</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-362c9d52</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-7177920a</instanceId>
+                            <imageId>ami-aecd60c7</imageId>
+                            <instanceState>
+                                <code>0</code>
+                                <name>pending</name>
+                            </instanceState>
+                            <privateDnsName/>
+                            <dnsName/>
+                            <reason/>
+                            <amiLaunchIndex>0</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>t1.micro</instanceType>
+                            <launchTime>2012-07-30T11:07:18.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping/>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-recorded_with: VCR 2.1.1
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+recorded_with: VCR 2.2.4

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-7.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-7.yml b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-7.yml
index c73b968..20af4ba 100644
--- a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-7.yml
+++ b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-7.yml
@@ -1,60 +1,88 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-d8eac5a0&Signature=aY73r5YiXQgu3drzlk3iAYsf0ZqguttvPU4z3OILa5U=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-7177920a&Signature=DHxm7p2CMHn5fzkybhIzC977iJ/i59rnLEIXVWdrTVE=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:25:44 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DescribeInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>d1b6c987-6002-4b60-a5fc-dda212f54259</requestId>\n
-        \   <reservationSet>\n        <item>\n            <reservationId>r-ec7ab188</reservationId>\n
-        \           <ownerId>293787749884</ownerId>\n            <groupSet>\n                <item>\n
-        \                   <groupId>default</groupId>\n                </item>\n
-        \           </groupSet>\n            <instancesSet>\n                <item>\n
-        \                   <instanceId>i-d8eac5a0</instanceId>\n                    <imageId>ami-aecd60c7</imageId>\n
-        \                   <instanceState>\n                        <code>16</code>\n
-        \                       <name>running</name>\n                    </instanceState>\n
-        \                   <privateDnsName>domU-12-31-39-0A-08-B4.compute-1.internal</privateDnsName>\n
-        \                   <dnsName>ec2-184-73-42-198.compute-1.amazonaws.com</dnsName>\n
-        \                   <reason/>\n                    <amiLaunchIndex>0</amiLaunchIndex>\n
-        \                   <productCodes/>\n                    <instanceType>t1.micro</instanceType>\n
-        \                   <launchTime>2012-07-23T12:25:10.000Z</launchTime>\n                    <placement>\n
-        \                       <availabilityZone>us-east-1a</availabilityZone>\n
-        \                       <groupName/>\n                    </placement>\n                    <kernelId>aki-88aa75e1</kernelId>\n
-        \                   <monitoring>\n                        <state>disabled</state>\n
-        \                   </monitoring>\n                    <privateIpAddress>10.211.11.66</privateIpAddress>\n
-        \                   <ipAddress>184.73.42.198</ipAddress>\n                    <architecture>x86_64</architecture>\n
-        \                   <rootDeviceType>ebs</rootDeviceType>\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \                   <blockDeviceMapping>\n                        <item>\n
-        \                           <deviceName>/dev/sda1</deviceName>\n                            <ebs>\n
-        \                               <volumeId>vol-d4d78cb5</volumeId>\n                                <status>attached</status>\n
-        \                               <attachTime>2012-07-23T12:25:36.000Z</attachTime>\n
-        \                               <deleteOnTermination>true</deleteOnTermination>\n
-        \                           </ebs>\n                        </item>\n                    </blockDeviceMapping>\n
-        \                   <virtualizationType>paravirtual</virtualizationType>\n
-        \                   <clientToken/>\n                </item>\n            </instancesSet>\n
-        \       </item>\n    </reservationSet>\n</DescribeInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:07:51 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>98f9d892-c605-4f89-b06f-5ff2841a3964</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-362c9d52</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-7177920a</instanceId>
+                            <imageId>ami-aecd60c7</imageId>
+                            <instanceState>
+                                <code>16</code>
+                                <name>running</name>
+                            </instanceState>
+                            <privateDnsName>domU-12-31-39-02-75-62.compute-1.internal</privateDnsName>
+                            <dnsName>ec2-23-20-114-135.compute-1.amazonaws.com</dnsName>
+                            <reason/>
+                            <amiLaunchIndex>0</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>t1.micro</instanceType>
+                            <launchTime>2012-07-30T11:07:18.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <privateIpAddress>10.248.122.144</privateIpAddress>
+                            <ipAddress>23.20.114.135</ipAddress>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping>
+                                <item>
+                                    <deviceName>/dev/sda1</deviceName>
+                                    <ebs>
+                                        <volumeId>vol-ba6f60db</volumeId>
+                                        <status>attached</status>
+                                        <attachTime>2012-07-30T11:07:42.000Z</attachTime>
+                                        <deleteOnTermination>true</deleteOnTermination>
+                                    </ebs>
+                                </item>
+                            </blockDeviceMapping>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-recorded_with: VCR 2.1.1
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+recorded_with: VCR 2.2.4

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-8.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-8.yml b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-8.yml
index c56699b..d199283 100644
--- a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-8.yml
+++ b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-8.yml
@@ -1,60 +1,88 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-d8eac5a0&Signature=aY73r5YiXQgu3drzlk3iAYsf0ZqguttvPU4z3OILa5U=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-7177920a&Signature=DHxm7p2CMHn5fzkybhIzC977iJ/i59rnLEIXVWdrTVE=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:25:32 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DescribeInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>09773049-a276-4bbf-97ae-3de792b75a2d</requestId>\n
-        \   <reservationSet>\n        <item>\n            <reservationId>r-ec7ab188</reservationId>\n
-        \           <ownerId>293787749884</ownerId>\n            <groupSet>\n                <item>\n
-        \                   <groupId>default</groupId>\n                </item>\n
-        \           </groupSet>\n            <instancesSet>\n                <item>\n
-        \                   <instanceId>i-d8eac5a0</instanceId>\n                    <imageId>ami-aecd60c7</imageId>\n
-        \                   <instanceState>\n                        <code>0</code>\n
-        \                       <name>pending</name>\n                    </instanceState>\n
-        \                   <privateDnsName>domU-12-31-39-0A-08-B4.compute-1.internal</privateDnsName>\n
-        \                   <dnsName>ec2-184-73-42-198.compute-1.amazonaws.com</dnsName>\n
-        \                   <reason/>\n                    <amiLaunchIndex>0</amiLaunchIndex>\n
-        \                   <productCodes/>\n                    <instanceType>t1.micro</instanceType>\n
-        \                   <launchTime>2012-07-23T12:25:10.000Z</launchTime>\n                    <placement>\n
-        \                       <availabilityZone>us-east-1a</availabilityZone>\n
-        \                       <groupName/>\n                    </placement>\n                    <kernelId>aki-88aa75e1</kernelId>\n
-        \                   <monitoring>\n                        <state>disabled</state>\n
-        \                   </monitoring>\n                    <privateIpAddress>10.211.11.66</privateIpAddress>\n
-        \                   <ipAddress>184.73.42.198</ipAddress>\n                    <architecture>x86_64</architecture>\n
-        \                   <rootDeviceType>ebs</rootDeviceType>\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \                   <blockDeviceMapping>\n                        <item>\n
-        \                           <deviceName>/dev/sda1</deviceName>\n                            <ebs>\n
-        \                               <volumeId>vol-d4d78cb5</volumeId>\n                                <status>attaching</status>\n
-        \                               <attachTime>2012-07-23T12:25:16.000Z</attachTime>\n
-        \                               <deleteOnTermination>true</deleteOnTermination>\n
-        \                           </ebs>\n                        </item>\n                    </blockDeviceMapping>\n
-        \                   <virtualizationType>paravirtual</virtualizationType>\n
-        \                   <clientToken/>\n                </item>\n            </instancesSet>\n
-        \       </item>\n    </reservationSet>\n</DescribeInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:07:40 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>979b5d58-f354-45c4-9d83-24eedc45d653</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-362c9d52</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-7177920a</instanceId>
+                            <imageId>ami-aecd60c7</imageId>
+                            <instanceState>
+                                <code>0</code>
+                                <name>pending</name>
+                            </instanceState>
+                            <privateDnsName>domU-12-31-39-02-75-62.compute-1.internal</privateDnsName>
+                            <dnsName>ec2-23-20-114-135.compute-1.amazonaws.com</dnsName>
+                            <reason/>
+                            <amiLaunchIndex>0</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>t1.micro</instanceType>
+                            <launchTime>2012-07-30T11:07:18.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <privateIpAddress>10.248.122.144</privateIpAddress>
+                            <ipAddress>23.20.114.135</ipAddress>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping>
+                                <item>
+                                    <deviceName>/dev/sda1</deviceName>
+                                    <ebs>
+                                        <volumeId>vol-ba6f60db</volumeId>
+                                        <status>attaching</status>
+                                        <attachTime>2012-07-30T11:07:24.000Z</attachTime>
+                                        <deleteOnTermination>true</deleteOnTermination>
+                                    </ebs>
+                                </item>
+                            </blockDeviceMapping>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-recorded_with: VCR 2.1.1
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+recorded_with: VCR 2.2.4

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-9.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-9.yml b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-9.yml
index 804f5e4..b6f1760 100644
--- a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-9.yml
+++ b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-9.yml
@@ -1,60 +1,88 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-d8eac5a0&Signature=aY73r5YiXQgu3drzlk3iAYsf0ZqguttvPU4z3OILa5U=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-7177920a&Signature=DHxm7p2CMHn5fzkybhIzC977iJ/i59rnLEIXVWdrTVE=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:25:21 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DescribeInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>ec47731f-780e-4be3-91ee-ff4ac74bf761</requestId>\n
-        \   <reservationSet>\n        <item>\n            <reservationId>r-ec7ab188</reservationId>\n
-        \           <ownerId>293787749884</ownerId>\n            <groupSet>\n                <item>\n
-        \                   <groupId>default</groupId>\n                </item>\n
-        \           </groupSet>\n            <instancesSet>\n                <item>\n
-        \                   <instanceId>i-d8eac5a0</instanceId>\n                    <imageId>ami-aecd60c7</imageId>\n
-        \                   <instanceState>\n                        <code>0</code>\n
-        \                       <name>pending</name>\n                    </instanceState>\n
-        \                   <privateDnsName>domU-12-31-39-0A-08-B4.compute-1.internal</privateDnsName>\n
-        \                   <dnsName>ec2-184-73-42-198.compute-1.amazonaws.com</dnsName>\n
-        \                   <reason/>\n                    <amiLaunchIndex>0</amiLaunchIndex>\n
-        \                   <productCodes/>\n                    <instanceType>t1.micro</instanceType>\n
-        \                   <launchTime>2012-07-23T12:25:10.000Z</launchTime>\n                    <placement>\n
-        \                       <availabilityZone>us-east-1a</availabilityZone>\n
-        \                       <groupName/>\n                    </placement>\n                    <kernelId>aki-88aa75e1</kernelId>\n
-        \                   <monitoring>\n                        <state>disabled</state>\n
-        \                   </monitoring>\n                    <privateIpAddress>10.211.11.66</privateIpAddress>\n
-        \                   <ipAddress>184.73.42.198</ipAddress>\n                    <architecture>x86_64</architecture>\n
-        \                   <rootDeviceType>ebs</rootDeviceType>\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \                   <blockDeviceMapping>\n                        <item>\n
-        \                           <deviceName>/dev/sda1</deviceName>\n                            <ebs>\n
-        \                               <volumeId>vol-d4d78cb5</volumeId>\n                                <status>attaching</status>\n
-        \                               <attachTime>2012-07-23T12:25:16.000Z</attachTime>\n
-        \                               <deleteOnTermination>true</deleteOnTermination>\n
-        \                           </ebs>\n                        </item>\n                    </blockDeviceMapping>\n
-        \                   <virtualizationType>paravirtual</virtualizationType>\n
-        \                   <clientToken/>\n                </item>\n            </instancesSet>\n
-        \       </item>\n    </reservationSet>\n</DescribeInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:07:29 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>c28d5a60-c784-4b86-976a-da4ad72f3b57</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-362c9d52</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-7177920a</instanceId>
+                            <imageId>ami-aecd60c7</imageId>
+                            <instanceState>
+                                <code>0</code>
+                                <name>pending</name>
+                            </instanceState>
+                            <privateDnsName>domU-12-31-39-02-75-62.compute-1.internal</privateDnsName>
+                            <dnsName>ec2-23-20-114-135.compute-1.amazonaws.com</dnsName>
+                            <reason/>
+                            <amiLaunchIndex>0</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>t1.micro</instanceType>
+                            <launchTime>2012-07-30T11:07:18.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <privateIpAddress>10.248.122.144</privateIpAddress>
+                            <ipAddress>23.20.114.135</ipAddress>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping>
+                                <item>
+                                    <deviceName>/dev/sda1</deviceName>
+                                    <ebs>
+                                        <volumeId>vol-ba6f60db</volumeId>
+                                        <status>attaching</status>
+                                        <attachTime>2012-07-30T11:07:24.000Z</attachTime>
+                                        <deleteOnTermination>true</deleteOnTermination>
+                                    </ebs>
+                                </item>
+                            </blockDeviceMapping>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-recorded_with: VCR 2.1.1
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+recorded_with: VCR 2.2.4

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ffbfb658/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-stopped-10.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-stopped-10.yml b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-stopped-10.yml
index 4cde33e..668cb51 100644
--- a/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-stopped-10.yml
+++ b/server/tests/drivers/ec2/fixtures/test_0007_must_allow_to_reboot_instance_in_running_state-stopped-10.yml
@@ -1,62 +1,92 @@
----
-http_interactions:
-- request:
+--- 
+http_interactions: 
+- request: 
     method: get
-    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAIZ63KHGXIWDMBY6Q&Action=DescribeInstances&InstanceId.1=i-d8eac5a0&Signature=aY73r5YiXQgu3drzlk3iAYsf0ZqguttvPU4z3OILa5U=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-23T12:21:00.000Z&Version=2010-08-31
-    body:
-      encoding: US-ASCII
-      string: ''
-    headers:
-      Accept:
-      - ! '*/*'
-      User-Agent:
-      - ''
-  response:
-    status:
+    uri: https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=AKIAJYOQYLLOIWN5LQ3A&Action=DescribeInstances&InstanceId.1=i-7177920a&Signature=DHxm7p2CMHn5fzkybhIzC977iJ/i59rnLEIXVWdrTVE=&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2012-07-30T11:05:00.000Z&Version=2010-08-31
+    body: 
+      string: ""
+    headers: 
+      User-Agent: 
+      - ""
+      Accept: 
+      - "*/*"
+  response: 
+    status: 
       code: 200
       message: OK
-    headers:
-      Content-Type:
+    headers: 
+      Content-Type: 
       - text/xml;charset=UTF-8
-      Transfer-Encoding:
-      - chunked
-      Date:
-      - Mon, 23 Jul 2012 12:25:47 GMT
-      Server:
+      Server: 
       - AmazonEC2
-    body:
-      encoding: US-ASCII
-      string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DescribeInstancesResponse
-        xmlns=\"http://ec2.amazonaws.com/doc/2010-08-31/\">\n    <requestId>d55eb974-77cb-4282-9548-cd42b2f149af</requestId>\n
-        \   <reservationSet>\n        <item>\n            <reservationId>r-ec7ab188</reservationId>\n
-        \           <ownerId>293787749884</ownerId>\n            <groupSet>\n                <item>\n
-        \                   <groupId>default</groupId>\n                </item>\n
-        \           </groupSet>\n            <instancesSet>\n                <item>\n
-        \                   <instanceId>i-d8eac5a0</instanceId>\n                    <imageId>ami-aecd60c7</imageId>\n
-        \                   <instanceState>\n                        <code>32</code>\n
-        \                       <name>shutting-down</name>\n                    </instanceState>\n
-        \                   <privateDnsName>domU-12-31-39-0A-08-B4.compute-1.internal</privateDnsName>\n
-        \                   <dnsName>ec2-184-73-42-198.compute-1.amazonaws.com</dnsName>\n
-        \                   <reason>User initiated (2012-07-23 12:25:46 GMT)</reason>\n
-        \                   <amiLaunchIndex>0</amiLaunchIndex>\n                    <productCodes/>\n
-        \                   <instanceType>t1.micro</instanceType>\n                    <launchTime>2012-07-23T12:25:10.000Z</launchTime>\n
-        \                   <placement>\n                        <availabilityZone>us-east-1a</availabilityZone>\n
-        \                       <groupName/>\n                    </placement>\n                    <kernelId>aki-88aa75e1</kernelId>\n
-        \                   <monitoring>\n                        <state>disabled</state>\n
-        \                   </monitoring>\n                    <privateIpAddress>10.211.11.66</privateIpAddress>\n
-        \                   <ipAddress>184.73.42.198</ipAddress>\n                    <stateReason>\n
-        \                       <code>Client.UserInitiatedShutdown</code>\n                        <message>Client.UserInitiatedShutdown:
-        User initiated shutdown</message>\n                    </stateReason>\n                    <architecture>x86_64</architecture>\n
-        \                   <rootDeviceType>ebs</rootDeviceType>\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\n
-        \                   <blockDeviceMapping>\n                        <item>\n
-        \                           <deviceName>/dev/sda1</deviceName>\n                            <ebs>\n
-        \                               <volumeId>vol-d4d78cb5</volumeId>\n                                <status>attached</status>\n
-        \                               <attachTime>2012-07-23T12:25:36.000Z</attachTime>\n
-        \                               <deleteOnTermination>true</deleteOnTermination>\n
-        \                           </ebs>\n                        </item>\n                    </blockDeviceMapping>\n
-        \                   <virtualizationType>paravirtual</virtualizationType>\n
-        \                   <clientToken/>\n                </item>\n            </instancesSet>\n
-        \       </item>\n    </reservationSet>\n</DescribeInstancesResponse>"
+      Transfer-Encoding: 
+      - chunked
+      Date: 
+      - Mon, 30 Jul 2012 11:07:55 GMT
+    body: 
+      string: |-
+        <?xml version="1.0" encoding="UTF-8"?>
+        <DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/">
+            <requestId>88fa32f8-44ac-4fc7-b796-6d962c59a72e</requestId>
+            <reservationSet>
+                <item>
+                    <reservationId>r-362c9d52</reservationId>
+                    <ownerId>293787749884</ownerId>
+                    <groupSet>
+                        <item>
+                            <groupId>default</groupId>
+                        </item>
+                    </groupSet>
+                    <instancesSet>
+                        <item>
+                            <instanceId>i-7177920a</instanceId>
+                            <imageId>ami-aecd60c7</imageId>
+                            <instanceState>
+                                <code>32</code>
+                                <name>shutting-down</name>
+                            </instanceState>
+                            <privateDnsName>domU-12-31-39-02-75-62.compute-1.internal</privateDnsName>
+                            <dnsName>ec2-23-20-114-135.compute-1.amazonaws.com</dnsName>
+                            <reason>User initiated (2012-07-30 11:07:54 GMT)</reason>
+                            <amiLaunchIndex>0</amiLaunchIndex>
+                            <productCodes/>
+                            <instanceType>t1.micro</instanceType>
+                            <launchTime>2012-07-30T11:07:18.000Z</launchTime>
+                            <placement>
+                                <availabilityZone>us-east-1a</availabilityZone>
+                                <groupName/>
+                            </placement>
+                            <kernelId>aki-88aa75e1</kernelId>
+                            <monitoring>
+                                <state>disabled</state>
+                            </monitoring>
+                            <privateIpAddress>10.248.122.144</privateIpAddress>
+                            <ipAddress>23.20.114.135</ipAddress>
+                            <stateReason>
+                                <code>Client.UserInitiatedShutdown</code>
+                                <message>Client.UserInitiatedShutdown: User initiated shutdown</message>
+                            </stateReason>
+                            <architecture>x86_64</architecture>
+                            <rootDeviceType>ebs</rootDeviceType>
+                            <rootDeviceName>/dev/sda1</rootDeviceName>
+                            <blockDeviceMapping>
+                                <item>
+                                    <deviceName>/dev/sda1</deviceName>
+                                    <ebs>
+                                        <volumeId>vol-ba6f60db</volumeId>
+                                        <status>attached</status>
+                                        <attachTime>2012-07-30T11:07:42.000Z</attachTime>
+                                        <deleteOnTermination>true</deleteOnTermination>
+                                    </ebs>
+                                </item>
+                            </blockDeviceMapping>
+                            <virtualizationType>paravirtual</virtualizationType>
+                            <clientToken/>
+                        </item>
+                    </instancesSet>
+                </item>
+            </reservationSet>
+        </DescribeInstancesResponse>
     http_version: 
-  recorded_at: Mon, 23 Jul 2012 12:21:00 GMT
-recorded_with: VCR 2.1.1
+  recorded_at: Mon, 30 Jul 2012 11:05:00 GMT
+recorded_with: VCR 2.2.4


Mime
View raw message