miasma 0.2.16 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/miasma/models/storage.rb +2 -2
- data/lib/miasma/types/api.rb +32 -25
- data/lib/miasma/version.rb +1 -1
- data/miasma.gemspec +1 -1
- data/test/spec.rb +20 -0
- data/test/specs/cassettes/aws_buckets_all.yml +45 -0
- data/test/specs/cassettes/aws_load_balancer_balancer_after_destroy.yml +85 -0
- data/test/specs/cassettes/aws_load_balancer_balancer_before_create.yml +271 -0
- data/test/specs/cassettes/aws_load_balancer_balancer_direct_fetch.yml +89 -0
- data/test/specs/cassettes/aws_load_balancer_balancers_all.yml +45 -0
- data/test/specs/cassettes/aws_server_after_destroy.yml +155 -0
- data/test/specs/cassettes/aws_server_before_create.yml +470 -0
- data/test/specs/cassettes/aws_servers_all.yml +44 -0
- data/test/specs/cassettes/aws_servers_create.yml +824 -0
- data/test/specs/cassettes/aws_stack_create.yml +603 -0
- data/test/specs/cassettes/aws_stacks_after_destroy.yml +148 -0
- data/test/specs/cassettes/aws_stacks_all.yml +99 -0
- data/test/specs/cassettes/aws_stacks_before_create.yml +300 -0
- data/test/specs/cassettes/aws_stacks_direct_fetch.yml +108 -0
- data/test/specs/cassettes/aws_storage_bucket.yml +429 -0
- data/test/specs/cassettes/open_stack_server_after_destroy.yml +83 -0
- data/test/specs/cassettes/open_stack_server_before_create.yml +138 -0
- data/test/specs/cassettes/open_stack_servers_all.yml +34 -0
- data/test/specs/cassettes/open_stack_servers_create.yml +296 -0
- data/test/specs/cassettes/open_stack_stack_create.yml +338 -0
- data/test/specs/cassettes/open_stack_stacks_after_destroy.yml +73 -0
- data/test/specs/cassettes/open_stack_stacks_all.yml +34 -0
- data/test/specs/cassettes/open_stack_stacks_before_create.yml +227 -0
- data/test/specs/cassettes/open_stack_stacks_direct_fetch.yml +39 -0
- data/test/specs/cassettes/rackspace_identity_seed.yml +38 -0
- data/test/specs/cassettes/rackspace_server_after_destroy.yml +88 -0
- data/test/specs/cassettes/rackspace_server_before_create.yml +143 -0
- data/test/specs/cassettes/rackspace_servers_create.yml +313 -0
- data/test/specs/cassettes/rackspace_stack_create.yml +289 -0
- data/test/specs/cassettes/rackspace_stacks_after_destroy.yml +79 -0
- data/test/specs/cassettes/rackspace_stacks_all.yml +81 -0
- data/test/specs/cassettes/rackspace_stacks_before_create.yml +211 -0
- data/test/specs/cassettes/rackspace_stacks_direct_fetch.yml +38 -0
- data/test/specs/miasma_spec.rb +33 -0
- data/test/specs/models/compute_abstract.rb +118 -0
- data/test/specs/models/load_balancer_abstract.rb +88 -0
- data/test/specs/models/orchestration_abstract.rb +123 -0
- data/test/specs/models/storage_abstract.rb +120 -0
- data/test/specs/utils/animal_strings_spec.rb +15 -0
- data/test/specs/utils/memoization_spec.rb +83 -0
- data/test/specs/utils/smash_spec.rb +107 -0
- metadata +44 -2
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&Version=2014-06-15
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- miasma/v0.1.0
|
12
|
+
Host:
|
13
|
+
- ec2.us-west-1.amazonaws.com
|
14
|
+
X-Amz-Date:
|
15
|
+
- 20141113T035649Z
|
16
|
+
Authorization:
|
17
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
18
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=4d626790534a82ff64eb4f3a21cb46bd7eb0b0b6e7265f4260e95eef8a78fb0b
|
19
|
+
response:
|
20
|
+
status:
|
21
|
+
code: 200
|
22
|
+
message: OK
|
23
|
+
headers:
|
24
|
+
Content-Type:
|
25
|
+
- text/xml;charset=UTF-8
|
26
|
+
Transfer-Encoding:
|
27
|
+
- chunked
|
28
|
+
Vary:
|
29
|
+
- Accept-Encoding
|
30
|
+
Date:
|
31
|
+
- Thu, 13 Nov 2014 03:57:01 GMT
|
32
|
+
Server:
|
33
|
+
- AmazonEC2
|
34
|
+
body:
|
35
|
+
encoding: UTF-8
|
36
|
+
string: |-
|
37
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
38
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
39
|
+
<requestId>c401aad2-cb32-408a-b3eb-bae737d0884d</requestId>
|
40
|
+
<reservationSet/>
|
41
|
+
</DescribeInstancesResponse>
|
42
|
+
http_version:
|
43
|
+
recorded_at: Thu, 13 Nov 2014 03:56:49 GMT
|
44
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,824 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=RunInstances&ImageId=ami-b75642f2&InstanceType=m1.small&KeyName=default&MaxCount=1&MinCount=1&Version=2014-06-15
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- miasma/v0.1.0
|
12
|
+
Host:
|
13
|
+
- ec2.us-west-1.amazonaws.com
|
14
|
+
X-Amz-Date:
|
15
|
+
- 20141113T035649Z
|
16
|
+
Authorization:
|
17
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
18
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=5a4adaeaa4554e827aea507602d2d7726c1e308d2c7fe61f189fe23aad9241b0
|
19
|
+
response:
|
20
|
+
status:
|
21
|
+
code: 200
|
22
|
+
message: OK
|
23
|
+
headers:
|
24
|
+
Content-Type:
|
25
|
+
- text/xml;charset=UTF-8
|
26
|
+
Transfer-Encoding:
|
27
|
+
- chunked
|
28
|
+
Vary:
|
29
|
+
- Accept-Encoding
|
30
|
+
Date:
|
31
|
+
- Thu, 13 Nov 2014 03:57:02 GMT
|
32
|
+
Server:
|
33
|
+
- AmazonEC2
|
34
|
+
body:
|
35
|
+
encoding: UTF-8
|
36
|
+
string: |-
|
37
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
38
|
+
<RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
39
|
+
<requestId>833d7498-d589-47d9-aafe-fa89c58ed09f</requestId>
|
40
|
+
<reservationId>r-ea542fb4</reservationId>
|
41
|
+
<ownerId>921689585014</ownerId>
|
42
|
+
<groupSet>
|
43
|
+
<item>
|
44
|
+
<groupId>sg-b5ca24f1</groupId>
|
45
|
+
<groupName>default</groupName>
|
46
|
+
</item>
|
47
|
+
</groupSet>
|
48
|
+
<instancesSet>
|
49
|
+
<item>
|
50
|
+
<instanceId>i-93770a59</instanceId>
|
51
|
+
<imageId>ami-b75642f2</imageId>
|
52
|
+
<instanceState>
|
53
|
+
<code>0</code>
|
54
|
+
<name>pending</name>
|
55
|
+
</instanceState>
|
56
|
+
<privateDnsName/>
|
57
|
+
<dnsName/>
|
58
|
+
<reason/>
|
59
|
+
<keyName>default</keyName>
|
60
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
61
|
+
<productCodes/>
|
62
|
+
<instanceType>m1.small</instanceType>
|
63
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
64
|
+
<placement>
|
65
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
66
|
+
<groupName/>
|
67
|
+
<tenancy>default</tenancy>
|
68
|
+
</placement>
|
69
|
+
<kernelId>aki-880531cd</kernelId>
|
70
|
+
<monitoring>
|
71
|
+
<state>disabled</state>
|
72
|
+
</monitoring>
|
73
|
+
<groupSet>
|
74
|
+
<item>
|
75
|
+
<groupId>sg-b5ca24f1</groupId>
|
76
|
+
<groupName>default</groupName>
|
77
|
+
</item>
|
78
|
+
</groupSet>
|
79
|
+
<stateReason>
|
80
|
+
<code>pending</code>
|
81
|
+
<message>pending</message>
|
82
|
+
</stateReason>
|
83
|
+
<architecture>x86_64</architecture>
|
84
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
85
|
+
<blockDeviceMapping/>
|
86
|
+
<virtualizationType>paravirtual</virtualizationType>
|
87
|
+
<clientToken/>
|
88
|
+
<hypervisor>xen</hypervisor>
|
89
|
+
<networkInterfaceSet/>
|
90
|
+
<ebsOptimized>false</ebsOptimized>
|
91
|
+
</item>
|
92
|
+
</instancesSet>
|
93
|
+
</RunInstancesResponse>
|
94
|
+
http_version:
|
95
|
+
recorded_at: Thu, 13 Nov 2014 03:56:50 GMT
|
96
|
+
- request:
|
97
|
+
method: get
|
98
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&InstanceId.1=i-93770a59&Version=2014-06-15
|
99
|
+
body:
|
100
|
+
encoding: US-ASCII
|
101
|
+
string: ''
|
102
|
+
headers:
|
103
|
+
User-Agent:
|
104
|
+
- miasma/v0.1.0
|
105
|
+
Host:
|
106
|
+
- ec2.us-west-1.amazonaws.com
|
107
|
+
X-Amz-Date:
|
108
|
+
- 20141113T035650Z
|
109
|
+
Authorization:
|
110
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
111
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=304676fd3ddd42c243d40512e457f938651d9593b4279ce8dfb374166c33ad24
|
112
|
+
response:
|
113
|
+
status:
|
114
|
+
code: 200
|
115
|
+
message: OK
|
116
|
+
headers:
|
117
|
+
Content-Type:
|
118
|
+
- text/xml;charset=UTF-8
|
119
|
+
Transfer-Encoding:
|
120
|
+
- chunked
|
121
|
+
Vary:
|
122
|
+
- Accept-Encoding
|
123
|
+
Date:
|
124
|
+
- Thu, 13 Nov 2014 03:57:03 GMT
|
125
|
+
Server:
|
126
|
+
- AmazonEC2
|
127
|
+
body:
|
128
|
+
encoding: UTF-8
|
129
|
+
string: |-
|
130
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
131
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
132
|
+
<requestId>c2948c65-ab5a-40e5-bdbc-95abedd511a1</requestId>
|
133
|
+
<reservationSet>
|
134
|
+
<item>
|
135
|
+
<reservationId>r-ea542fb4</reservationId>
|
136
|
+
<ownerId>921689585014</ownerId>
|
137
|
+
<groupSet>
|
138
|
+
<item>
|
139
|
+
<groupId>sg-b5ca24f1</groupId>
|
140
|
+
<groupName>default</groupName>
|
141
|
+
</item>
|
142
|
+
</groupSet>
|
143
|
+
<instancesSet>
|
144
|
+
<item>
|
145
|
+
<instanceId>i-93770a59</instanceId>
|
146
|
+
<imageId>ami-b75642f2</imageId>
|
147
|
+
<instanceState>
|
148
|
+
<code>0</code>
|
149
|
+
<name>pending</name>
|
150
|
+
</instanceState>
|
151
|
+
<privateDnsName/>
|
152
|
+
<dnsName/>
|
153
|
+
<reason/>
|
154
|
+
<keyName>default</keyName>
|
155
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
156
|
+
<productCodes/>
|
157
|
+
<instanceType>m1.small</instanceType>
|
158
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
159
|
+
<placement>
|
160
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
161
|
+
<groupName/>
|
162
|
+
<tenancy>default</tenancy>
|
163
|
+
</placement>
|
164
|
+
<kernelId>aki-880531cd</kernelId>
|
165
|
+
<monitoring>
|
166
|
+
<state>disabled</state>
|
167
|
+
</monitoring>
|
168
|
+
<groupSet>
|
169
|
+
<item>
|
170
|
+
<groupId>sg-b5ca24f1</groupId>
|
171
|
+
<groupName>default</groupName>
|
172
|
+
</item>
|
173
|
+
</groupSet>
|
174
|
+
<architecture>x86_64</architecture>
|
175
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
176
|
+
<blockDeviceMapping/>
|
177
|
+
<virtualizationType>paravirtual</virtualizationType>
|
178
|
+
<clientToken/>
|
179
|
+
<hypervisor>xen</hypervisor>
|
180
|
+
<networkInterfaceSet/>
|
181
|
+
<ebsOptimized>false</ebsOptimized>
|
182
|
+
</item>
|
183
|
+
</instancesSet>
|
184
|
+
</item>
|
185
|
+
</reservationSet>
|
186
|
+
</DescribeInstancesResponse>
|
187
|
+
http_version:
|
188
|
+
recorded_at: Thu, 13 Nov 2014 03:56:51 GMT
|
189
|
+
- request:
|
190
|
+
method: get
|
191
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&Version=2014-06-15
|
192
|
+
body:
|
193
|
+
encoding: US-ASCII
|
194
|
+
string: ''
|
195
|
+
headers:
|
196
|
+
User-Agent:
|
197
|
+
- miasma/v0.1.0
|
198
|
+
Host:
|
199
|
+
- ec2.us-west-1.amazonaws.com
|
200
|
+
X-Amz-Date:
|
201
|
+
- 20141113T035651Z
|
202
|
+
Authorization:
|
203
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
204
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=358d68f7b1beded5c1d99f2205aee664139c6f401a6259769ec90e27f62d10d1
|
205
|
+
response:
|
206
|
+
status:
|
207
|
+
code: 200
|
208
|
+
message: OK
|
209
|
+
headers:
|
210
|
+
Content-Type:
|
211
|
+
- text/xml;charset=UTF-8
|
212
|
+
Transfer-Encoding:
|
213
|
+
- chunked
|
214
|
+
Vary:
|
215
|
+
- Accept-Encoding
|
216
|
+
Date:
|
217
|
+
- Thu, 13 Nov 2014 03:57:03 GMT
|
218
|
+
Server:
|
219
|
+
- AmazonEC2
|
220
|
+
body:
|
221
|
+
encoding: UTF-8
|
222
|
+
string: |-
|
223
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
224
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
225
|
+
<requestId>ad4216ee-f636-4647-9532-948098f020aa</requestId>
|
226
|
+
<reservationSet>
|
227
|
+
<item>
|
228
|
+
<reservationId>r-ea542fb4</reservationId>
|
229
|
+
<ownerId>921689585014</ownerId>
|
230
|
+
<groupSet>
|
231
|
+
<item>
|
232
|
+
<groupId>sg-b5ca24f1</groupId>
|
233
|
+
<groupName>default</groupName>
|
234
|
+
</item>
|
235
|
+
</groupSet>
|
236
|
+
<instancesSet>
|
237
|
+
<item>
|
238
|
+
<instanceId>i-93770a59</instanceId>
|
239
|
+
<imageId>ami-b75642f2</imageId>
|
240
|
+
<instanceState>
|
241
|
+
<code>0</code>
|
242
|
+
<name>pending</name>
|
243
|
+
</instanceState>
|
244
|
+
<privateDnsName/>
|
245
|
+
<dnsName/>
|
246
|
+
<reason/>
|
247
|
+
<keyName>default</keyName>
|
248
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
249
|
+
<productCodes/>
|
250
|
+
<instanceType>m1.small</instanceType>
|
251
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
252
|
+
<placement>
|
253
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
254
|
+
<groupName/>
|
255
|
+
<tenancy>default</tenancy>
|
256
|
+
</placement>
|
257
|
+
<kernelId>aki-880531cd</kernelId>
|
258
|
+
<monitoring>
|
259
|
+
<state>disabled</state>
|
260
|
+
</monitoring>
|
261
|
+
<groupSet>
|
262
|
+
<item>
|
263
|
+
<groupId>sg-b5ca24f1</groupId>
|
264
|
+
<groupName>default</groupName>
|
265
|
+
</item>
|
266
|
+
</groupSet>
|
267
|
+
<architecture>x86_64</architecture>
|
268
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
269
|
+
<blockDeviceMapping/>
|
270
|
+
<virtualizationType>paravirtual</virtualizationType>
|
271
|
+
<clientToken/>
|
272
|
+
<hypervisor>xen</hypervisor>
|
273
|
+
<networkInterfaceSet/>
|
274
|
+
<ebsOptimized>false</ebsOptimized>
|
275
|
+
</item>
|
276
|
+
</instancesSet>
|
277
|
+
</item>
|
278
|
+
</reservationSet>
|
279
|
+
</DescribeInstancesResponse>
|
280
|
+
http_version:
|
281
|
+
recorded_at: Thu, 13 Nov 2014 03:56:52 GMT
|
282
|
+
- request:
|
283
|
+
method: get
|
284
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&InstanceId.1=i-93770a59&Version=2014-06-15
|
285
|
+
body:
|
286
|
+
encoding: US-ASCII
|
287
|
+
string: ''
|
288
|
+
headers:
|
289
|
+
User-Agent:
|
290
|
+
- miasma/v0.1.0
|
291
|
+
Host:
|
292
|
+
- ec2.us-west-1.amazonaws.com
|
293
|
+
X-Amz-Date:
|
294
|
+
- 20141113T035752Z
|
295
|
+
Authorization:
|
296
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
297
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=7de699cd458a928d77f8f56b5211fd55146e84a98ad3aa5948e5c85ae29d47ee
|
298
|
+
response:
|
299
|
+
status:
|
300
|
+
code: 200
|
301
|
+
message: OK
|
302
|
+
headers:
|
303
|
+
Content-Type:
|
304
|
+
- text/xml;charset=UTF-8
|
305
|
+
Transfer-Encoding:
|
306
|
+
- chunked
|
307
|
+
Vary:
|
308
|
+
- Accept-Encoding
|
309
|
+
Date:
|
310
|
+
- Thu, 13 Nov 2014 03:58:03 GMT
|
311
|
+
Server:
|
312
|
+
- AmazonEC2
|
313
|
+
body:
|
314
|
+
encoding: UTF-8
|
315
|
+
string: |-
|
316
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
317
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
318
|
+
<requestId>affab62a-341b-4227-a341-6d859669361c</requestId>
|
319
|
+
<reservationSet>
|
320
|
+
<item>
|
321
|
+
<reservationId>r-ea542fb4</reservationId>
|
322
|
+
<ownerId>921689585014</ownerId>
|
323
|
+
<groupSet>
|
324
|
+
<item>
|
325
|
+
<groupId>sg-b5ca24f1</groupId>
|
326
|
+
<groupName>default</groupName>
|
327
|
+
</item>
|
328
|
+
</groupSet>
|
329
|
+
<instancesSet>
|
330
|
+
<item>
|
331
|
+
<instanceId>i-93770a59</instanceId>
|
332
|
+
<imageId>ami-b75642f2</imageId>
|
333
|
+
<instanceState>
|
334
|
+
<code>16</code>
|
335
|
+
<name>running</name>
|
336
|
+
</instanceState>
|
337
|
+
<privateDnsName>ip-10-229-2-178.us-west-1.compute.internal</privateDnsName>
|
338
|
+
<dnsName>ec2-54-193-251-143.us-west-1.compute.amazonaws.com</dnsName>
|
339
|
+
<reason/>
|
340
|
+
<keyName>default</keyName>
|
341
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
342
|
+
<productCodes/>
|
343
|
+
<instanceType>m1.small</instanceType>
|
344
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
345
|
+
<placement>
|
346
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
347
|
+
<groupName/>
|
348
|
+
<tenancy>default</tenancy>
|
349
|
+
</placement>
|
350
|
+
<kernelId>aki-880531cd</kernelId>
|
351
|
+
<monitoring>
|
352
|
+
<state>disabled</state>
|
353
|
+
</monitoring>
|
354
|
+
<privateIpAddress>10.229.2.178</privateIpAddress>
|
355
|
+
<ipAddress>54.193.251.143</ipAddress>
|
356
|
+
<groupSet>
|
357
|
+
<item>
|
358
|
+
<groupId>sg-b5ca24f1</groupId>
|
359
|
+
<groupName>default</groupName>
|
360
|
+
</item>
|
361
|
+
</groupSet>
|
362
|
+
<architecture>x86_64</architecture>
|
363
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
364
|
+
<blockDeviceMapping/>
|
365
|
+
<virtualizationType>paravirtual</virtualizationType>
|
366
|
+
<clientToken/>
|
367
|
+
<hypervisor>xen</hypervisor>
|
368
|
+
<networkInterfaceSet/>
|
369
|
+
<ebsOptimized>false</ebsOptimized>
|
370
|
+
</item>
|
371
|
+
</instancesSet>
|
372
|
+
</item>
|
373
|
+
</reservationSet>
|
374
|
+
</DescribeInstancesResponse>
|
375
|
+
http_version:
|
376
|
+
recorded_at: Thu, 13 Nov 2014 03:57:52 GMT
|
377
|
+
- request:
|
378
|
+
method: get
|
379
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-93770a59&Version=2014-06-15
|
380
|
+
body:
|
381
|
+
encoding: US-ASCII
|
382
|
+
string: ''
|
383
|
+
headers:
|
384
|
+
User-Agent:
|
385
|
+
- miasma/v0.1.0
|
386
|
+
Host:
|
387
|
+
- ec2.us-west-1.amazonaws.com
|
388
|
+
X-Amz-Date:
|
389
|
+
- 20141113T035752Z
|
390
|
+
Authorization:
|
391
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
392
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=fc193b166c7b84747effafe541313e1a1d587870e04644fb3fbb400b68c8f5ad
|
393
|
+
response:
|
394
|
+
status:
|
395
|
+
code: 200
|
396
|
+
message: OK
|
397
|
+
headers:
|
398
|
+
Content-Type:
|
399
|
+
- text/xml;charset=UTF-8
|
400
|
+
Transfer-Encoding:
|
401
|
+
- chunked
|
402
|
+
Vary:
|
403
|
+
- Accept-Encoding
|
404
|
+
Date:
|
405
|
+
- Thu, 13 Nov 2014 03:58:04 GMT
|
406
|
+
Server:
|
407
|
+
- AmazonEC2
|
408
|
+
body:
|
409
|
+
encoding: UTF-8
|
410
|
+
string: |-
|
411
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
412
|
+
<TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
413
|
+
<requestId>03297980-7d44-4077-a983-0643bd58e38e</requestId>
|
414
|
+
<instancesSet>
|
415
|
+
<item>
|
416
|
+
<instanceId>i-93770a59</instanceId>
|
417
|
+
<currentState>
|
418
|
+
<code>32</code>
|
419
|
+
<name>shutting-down</name>
|
420
|
+
</currentState>
|
421
|
+
<previousState>
|
422
|
+
<code>16</code>
|
423
|
+
<name>running</name>
|
424
|
+
</previousState>
|
425
|
+
</item>
|
426
|
+
</instancesSet>
|
427
|
+
</TerminateInstancesResponse>
|
428
|
+
http_version:
|
429
|
+
recorded_at: Thu, 13 Nov 2014 03:57:53 GMT
|
430
|
+
- request:
|
431
|
+
method: get
|
432
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&InstanceId.1=i-93770a59&Version=2014-06-15
|
433
|
+
body:
|
434
|
+
encoding: US-ASCII
|
435
|
+
string: ''
|
436
|
+
headers:
|
437
|
+
User-Agent:
|
438
|
+
- miasma/v0.1.0
|
439
|
+
Host:
|
440
|
+
- ec2.us-west-1.amazonaws.com
|
441
|
+
X-Amz-Date:
|
442
|
+
- 20141113T035753Z
|
443
|
+
Authorization:
|
444
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
445
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=5bf8fc60c601cd2ec7611fbe6e0a819ea434116b2df2ebffdb0d8fa7d39d3628
|
446
|
+
response:
|
447
|
+
status:
|
448
|
+
code: 200
|
449
|
+
message: OK
|
450
|
+
headers:
|
451
|
+
Content-Type:
|
452
|
+
- text/xml;charset=UTF-8
|
453
|
+
Transfer-Encoding:
|
454
|
+
- chunked
|
455
|
+
Vary:
|
456
|
+
- Accept-Encoding
|
457
|
+
Date:
|
458
|
+
- Thu, 13 Nov 2014 03:58:05 GMT
|
459
|
+
Server:
|
460
|
+
- AmazonEC2
|
461
|
+
body:
|
462
|
+
encoding: UTF-8
|
463
|
+
string: |-
|
464
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
465
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
466
|
+
<requestId>b17d0e2b-e4f2-4aca-9c03-6e5aa2cc9c3f</requestId>
|
467
|
+
<reservationSet>
|
468
|
+
<item>
|
469
|
+
<reservationId>r-ea542fb4</reservationId>
|
470
|
+
<ownerId>921689585014</ownerId>
|
471
|
+
<groupSet>
|
472
|
+
<item>
|
473
|
+
<groupId>sg-b5ca24f1</groupId>
|
474
|
+
<groupName>default</groupName>
|
475
|
+
</item>
|
476
|
+
</groupSet>
|
477
|
+
<instancesSet>
|
478
|
+
<item>
|
479
|
+
<instanceId>i-93770a59</instanceId>
|
480
|
+
<imageId>ami-b75642f2</imageId>
|
481
|
+
<instanceState>
|
482
|
+
<code>32</code>
|
483
|
+
<name>shutting-down</name>
|
484
|
+
</instanceState>
|
485
|
+
<privateDnsName>ip-10-229-2-178.us-west-1.compute.internal</privateDnsName>
|
486
|
+
<dnsName>ec2-54-193-251-143.us-west-1.compute.amazonaws.com</dnsName>
|
487
|
+
<reason>User initiated (2014-11-13 03:58:05 GMT)</reason>
|
488
|
+
<keyName>default</keyName>
|
489
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
490
|
+
<productCodes/>
|
491
|
+
<instanceType>m1.small</instanceType>
|
492
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
493
|
+
<placement>
|
494
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
495
|
+
<groupName/>
|
496
|
+
<tenancy>default</tenancy>
|
497
|
+
</placement>
|
498
|
+
<kernelId>aki-880531cd</kernelId>
|
499
|
+
<monitoring>
|
500
|
+
<state>disabled</state>
|
501
|
+
</monitoring>
|
502
|
+
<privateIpAddress>10.229.2.178</privateIpAddress>
|
503
|
+
<ipAddress>54.193.251.143</ipAddress>
|
504
|
+
<groupSet>
|
505
|
+
<item>
|
506
|
+
<groupId>sg-b5ca24f1</groupId>
|
507
|
+
<groupName>default</groupName>
|
508
|
+
</item>
|
509
|
+
</groupSet>
|
510
|
+
<stateReason>
|
511
|
+
<code>Client.UserInitiatedShutdown</code>
|
512
|
+
<message>Client.UserInitiatedShutdown: User initiated shutdown</message>
|
513
|
+
</stateReason>
|
514
|
+
<architecture>x86_64</architecture>
|
515
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
516
|
+
<blockDeviceMapping/>
|
517
|
+
<virtualizationType>paravirtual</virtualizationType>
|
518
|
+
<clientToken/>
|
519
|
+
<hypervisor>xen</hypervisor>
|
520
|
+
<networkInterfaceSet/>
|
521
|
+
<ebsOptimized>false</ebsOptimized>
|
522
|
+
</item>
|
523
|
+
</instancesSet>
|
524
|
+
</item>
|
525
|
+
</reservationSet>
|
526
|
+
</DescribeInstancesResponse>
|
527
|
+
http_version:
|
528
|
+
recorded_at: Thu, 13 Nov 2014 03:57:53 GMT
|
529
|
+
- request:
|
530
|
+
method: get
|
531
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&InstanceId.1=i-93770a59&Version=2014-06-15
|
532
|
+
body:
|
533
|
+
encoding: US-ASCII
|
534
|
+
string: ''
|
535
|
+
headers:
|
536
|
+
User-Agent:
|
537
|
+
- miasma/v0.1.0
|
538
|
+
Host:
|
539
|
+
- ec2.us-west-1.amazonaws.com
|
540
|
+
X-Amz-Date:
|
541
|
+
- 20141113T035853Z
|
542
|
+
Authorization:
|
543
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
544
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=f897201820074e1291b916dc6f88defe5b87ae2260adea52d853c00e1bffea95
|
545
|
+
response:
|
546
|
+
status:
|
547
|
+
code: 200
|
548
|
+
message: OK
|
549
|
+
headers:
|
550
|
+
Content-Type:
|
551
|
+
- text/xml;charset=UTF-8
|
552
|
+
Transfer-Encoding:
|
553
|
+
- chunked
|
554
|
+
Vary:
|
555
|
+
- Accept-Encoding
|
556
|
+
Date:
|
557
|
+
- Thu, 13 Nov 2014 03:59:05 GMT
|
558
|
+
Server:
|
559
|
+
- AmazonEC2
|
560
|
+
body:
|
561
|
+
encoding: UTF-8
|
562
|
+
string: |-
|
563
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
564
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
565
|
+
<requestId>e1c1217a-6eab-4019-83cc-5c679a0c068d</requestId>
|
566
|
+
<reservationSet>
|
567
|
+
<item>
|
568
|
+
<reservationId>r-ea542fb4</reservationId>
|
569
|
+
<ownerId>921689585014</ownerId>
|
570
|
+
<groupSet>
|
571
|
+
<item>
|
572
|
+
<groupId>sg-b5ca24f1</groupId>
|
573
|
+
<groupName>default</groupName>
|
574
|
+
</item>
|
575
|
+
</groupSet>
|
576
|
+
<instancesSet>
|
577
|
+
<item>
|
578
|
+
<instanceId>i-93770a59</instanceId>
|
579
|
+
<imageId>ami-b75642f2</imageId>
|
580
|
+
<instanceState>
|
581
|
+
<code>32</code>
|
582
|
+
<name>shutting-down</name>
|
583
|
+
</instanceState>
|
584
|
+
<privateDnsName>ip-10-229-2-178.us-west-1.compute.internal</privateDnsName>
|
585
|
+
<dnsName>ec2-54-193-251-143.us-west-1.compute.amazonaws.com</dnsName>
|
586
|
+
<reason>User initiated (2014-11-13 03:58:05 GMT)</reason>
|
587
|
+
<keyName>default</keyName>
|
588
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
589
|
+
<productCodes/>
|
590
|
+
<instanceType>m1.small</instanceType>
|
591
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
592
|
+
<placement>
|
593
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
594
|
+
<groupName/>
|
595
|
+
<tenancy>default</tenancy>
|
596
|
+
</placement>
|
597
|
+
<kernelId>aki-880531cd</kernelId>
|
598
|
+
<monitoring>
|
599
|
+
<state>disabled</state>
|
600
|
+
</monitoring>
|
601
|
+
<privateIpAddress>10.229.2.178</privateIpAddress>
|
602
|
+
<ipAddress>54.193.251.143</ipAddress>
|
603
|
+
<groupSet>
|
604
|
+
<item>
|
605
|
+
<groupId>sg-b5ca24f1</groupId>
|
606
|
+
<groupName>default</groupName>
|
607
|
+
</item>
|
608
|
+
</groupSet>
|
609
|
+
<stateReason>
|
610
|
+
<code>Client.UserInitiatedShutdown</code>
|
611
|
+
<message>Client.UserInitiatedShutdown: User initiated shutdown</message>
|
612
|
+
</stateReason>
|
613
|
+
<architecture>x86_64</architecture>
|
614
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
615
|
+
<blockDeviceMapping/>
|
616
|
+
<virtualizationType>paravirtual</virtualizationType>
|
617
|
+
<clientToken/>
|
618
|
+
<hypervisor>xen</hypervisor>
|
619
|
+
<networkInterfaceSet/>
|
620
|
+
<ebsOptimized>false</ebsOptimized>
|
621
|
+
</item>
|
622
|
+
</instancesSet>
|
623
|
+
</item>
|
624
|
+
</reservationSet>
|
625
|
+
</DescribeInstancesResponse>
|
626
|
+
http_version:
|
627
|
+
recorded_at: Thu, 13 Nov 2014 03:58:53 GMT
|
628
|
+
- request:
|
629
|
+
method: get
|
630
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&InstanceId.1=i-93770a59&Version=2014-06-15
|
631
|
+
body:
|
632
|
+
encoding: US-ASCII
|
633
|
+
string: ''
|
634
|
+
headers:
|
635
|
+
User-Agent:
|
636
|
+
- miasma/v0.1.0
|
637
|
+
Host:
|
638
|
+
- ec2.us-west-1.amazonaws.com
|
639
|
+
X-Amz-Date:
|
640
|
+
- 20141113T035954Z
|
641
|
+
Authorization:
|
642
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
643
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=9caa4d875ae38011252c701cc85cfc8d71ab0303029c7d7eba35464d2ccfd3c7
|
644
|
+
response:
|
645
|
+
status:
|
646
|
+
code: 200
|
647
|
+
message: OK
|
648
|
+
headers:
|
649
|
+
Content-Type:
|
650
|
+
- text/xml;charset=UTF-8
|
651
|
+
Transfer-Encoding:
|
652
|
+
- chunked
|
653
|
+
Vary:
|
654
|
+
- Accept-Encoding
|
655
|
+
Date:
|
656
|
+
- Thu, 13 Nov 2014 04:00:06 GMT
|
657
|
+
Server:
|
658
|
+
- AmazonEC2
|
659
|
+
body:
|
660
|
+
encoding: UTF-8
|
661
|
+
string: |-
|
662
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
663
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
664
|
+
<requestId>bd57051c-be6c-4a80-bf99-f928d1c1d314</requestId>
|
665
|
+
<reservationSet>
|
666
|
+
<item>
|
667
|
+
<reservationId>r-ea542fb4</reservationId>
|
668
|
+
<ownerId>921689585014</ownerId>
|
669
|
+
<groupSet>
|
670
|
+
<item>
|
671
|
+
<groupId>sg-b5ca24f1</groupId>
|
672
|
+
<groupName>default</groupName>
|
673
|
+
</item>
|
674
|
+
</groupSet>
|
675
|
+
<instancesSet>
|
676
|
+
<item>
|
677
|
+
<instanceId>i-93770a59</instanceId>
|
678
|
+
<imageId>ami-b75642f2</imageId>
|
679
|
+
<instanceState>
|
680
|
+
<code>32</code>
|
681
|
+
<name>shutting-down</name>
|
682
|
+
</instanceState>
|
683
|
+
<privateDnsName>ip-10-229-2-178.us-west-1.compute.internal</privateDnsName>
|
684
|
+
<dnsName>ec2-54-193-251-143.us-west-1.compute.amazonaws.com</dnsName>
|
685
|
+
<reason>User initiated (2014-11-13 03:58:05 GMT)</reason>
|
686
|
+
<keyName>default</keyName>
|
687
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
688
|
+
<productCodes/>
|
689
|
+
<instanceType>m1.small</instanceType>
|
690
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
691
|
+
<placement>
|
692
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
693
|
+
<groupName/>
|
694
|
+
<tenancy>default</tenancy>
|
695
|
+
</placement>
|
696
|
+
<kernelId>aki-880531cd</kernelId>
|
697
|
+
<monitoring>
|
698
|
+
<state>disabled</state>
|
699
|
+
</monitoring>
|
700
|
+
<privateIpAddress>10.229.2.178</privateIpAddress>
|
701
|
+
<ipAddress>54.193.251.143</ipAddress>
|
702
|
+
<groupSet>
|
703
|
+
<item>
|
704
|
+
<groupId>sg-b5ca24f1</groupId>
|
705
|
+
<groupName>default</groupName>
|
706
|
+
</item>
|
707
|
+
</groupSet>
|
708
|
+
<stateReason>
|
709
|
+
<code>Client.UserInitiatedShutdown</code>
|
710
|
+
<message>Client.UserInitiatedShutdown: User initiated shutdown</message>
|
711
|
+
</stateReason>
|
712
|
+
<architecture>x86_64</architecture>
|
713
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
714
|
+
<blockDeviceMapping/>
|
715
|
+
<virtualizationType>paravirtual</virtualizationType>
|
716
|
+
<clientToken/>
|
717
|
+
<hypervisor>xen</hypervisor>
|
718
|
+
<networkInterfaceSet/>
|
719
|
+
<ebsOptimized>false</ebsOptimized>
|
720
|
+
</item>
|
721
|
+
</instancesSet>
|
722
|
+
</item>
|
723
|
+
</reservationSet>
|
724
|
+
</DescribeInstancesResponse>
|
725
|
+
http_version:
|
726
|
+
recorded_at: Thu, 13 Nov 2014 03:59:54 GMT
|
727
|
+
- request:
|
728
|
+
method: get
|
729
|
+
uri: https://ec2.us-west-1.amazonaws.com/?Action=DescribeInstances&InstanceId.1=i-93770a59&Version=2014-06-15
|
730
|
+
body:
|
731
|
+
encoding: US-ASCII
|
732
|
+
string: ''
|
733
|
+
headers:
|
734
|
+
User-Agent:
|
735
|
+
- miasma/v0.1.0
|
736
|
+
Host:
|
737
|
+
- ec2.us-west-1.amazonaws.com
|
738
|
+
X-Amz-Date:
|
739
|
+
- 20141113T040054Z
|
740
|
+
Authorization:
|
741
|
+
- AWS4-HMAC-SHA256 Credential=AKIAI6REJRIVB5PYDATQ/20141113/us-west-1/ec2/aws4_request,
|
742
|
+
SignedHeaders=host;user-agent;x-amz-date, Signature=818200d72da6a90be3c41719f57c56c1468e9596d4d9721912b81652665255af
|
743
|
+
response:
|
744
|
+
status:
|
745
|
+
code: 200
|
746
|
+
message: OK
|
747
|
+
headers:
|
748
|
+
Content-Type:
|
749
|
+
- text/xml;charset=UTF-8
|
750
|
+
Transfer-Encoding:
|
751
|
+
- chunked
|
752
|
+
Vary:
|
753
|
+
- Accept-Encoding
|
754
|
+
Date:
|
755
|
+
- Thu, 13 Nov 2014 04:01:06 GMT
|
756
|
+
Server:
|
757
|
+
- AmazonEC2
|
758
|
+
body:
|
759
|
+
encoding: UTF-8
|
760
|
+
string: |-
|
761
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
762
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-06-15/">
|
763
|
+
<requestId>dd9f477b-cc0a-4745-b9c6-401cae24131c</requestId>
|
764
|
+
<reservationSet>
|
765
|
+
<item>
|
766
|
+
<reservationId>r-ea542fb4</reservationId>
|
767
|
+
<ownerId>921689585014</ownerId>
|
768
|
+
<groupSet>
|
769
|
+
<item>
|
770
|
+
<groupId>sg-b5ca24f1</groupId>
|
771
|
+
<groupName>default</groupName>
|
772
|
+
</item>
|
773
|
+
</groupSet>
|
774
|
+
<instancesSet>
|
775
|
+
<item>
|
776
|
+
<instanceId>i-93770a59</instanceId>
|
777
|
+
<imageId>ami-b75642f2</imageId>
|
778
|
+
<instanceState>
|
779
|
+
<code>48</code>
|
780
|
+
<name>terminated</name>
|
781
|
+
</instanceState>
|
782
|
+
<privateDnsName/>
|
783
|
+
<dnsName/>
|
784
|
+
<reason>User initiated (2014-11-13 03:58:05 GMT)</reason>
|
785
|
+
<keyName>default</keyName>
|
786
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
787
|
+
<productCodes/>
|
788
|
+
<instanceType>m1.small</instanceType>
|
789
|
+
<launchTime>2014-11-13T03:57:03.000Z</launchTime>
|
790
|
+
<placement>
|
791
|
+
<availabilityZone>us-west-1c</availabilityZone>
|
792
|
+
<groupName/>
|
793
|
+
<tenancy>default</tenancy>
|
794
|
+
</placement>
|
795
|
+
<kernelId>aki-880531cd</kernelId>
|
796
|
+
<monitoring>
|
797
|
+
<state>disabled</state>
|
798
|
+
</monitoring>
|
799
|
+
<groupSet>
|
800
|
+
<item>
|
801
|
+
<groupId>sg-b5ca24f1</groupId>
|
802
|
+
<groupName>default</groupName>
|
803
|
+
</item>
|
804
|
+
</groupSet>
|
805
|
+
<stateReason>
|
806
|
+
<code>Client.UserInitiatedShutdown</code>
|
807
|
+
<message>Client.UserInitiatedShutdown: User initiated shutdown</message>
|
808
|
+
</stateReason>
|
809
|
+
<architecture>x86_64</architecture>
|
810
|
+
<rootDeviceType>instance-store</rootDeviceType>
|
811
|
+
<blockDeviceMapping/>
|
812
|
+
<virtualizationType>paravirtual</virtualizationType>
|
813
|
+
<clientToken/>
|
814
|
+
<hypervisor>xen</hypervisor>
|
815
|
+
<networkInterfaceSet/>
|
816
|
+
<ebsOptimized>false</ebsOptimized>
|
817
|
+
</item>
|
818
|
+
</instancesSet>
|
819
|
+
</item>
|
820
|
+
</reservationSet>
|
821
|
+
</DescribeInstancesResponse>
|
822
|
+
http_version:
|
823
|
+
recorded_at: Thu, 13 Nov 2014 04:00:54 GMT
|
824
|
+
recorded_with: VCR 2.9.3
|