miasma 0.2.18 → 0.2.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/lib/miasma.rb +6 -5
  4. data/lib/miasma/models/orchestration/stack.rb +6 -0
  5. data/lib/miasma/types/api.rb +15 -0
  6. data/lib/miasma/types/model.rb +3 -0
  7. data/lib/miasma/utils/lazy.rb +1 -1
  8. data/lib/miasma/version.rb +1 -1
  9. metadata +2 -35
  10. data/test/specs/cassettes/aws_buckets_all.yml +0 -45
  11. data/test/specs/cassettes/aws_load_balancer_balancer_after_destroy.yml +0 -85
  12. data/test/specs/cassettes/aws_load_balancer_balancer_before_create.yml +0 -271
  13. data/test/specs/cassettes/aws_load_balancer_balancer_direct_fetch.yml +0 -89
  14. data/test/specs/cassettes/aws_load_balancer_balancers_all.yml +0 -45
  15. data/test/specs/cassettes/aws_server_after_destroy.yml +0 -155
  16. data/test/specs/cassettes/aws_server_before_create.yml +0 -470
  17. data/test/specs/cassettes/aws_servers_all.yml +0 -44
  18. data/test/specs/cassettes/aws_servers_create.yml +0 -824
  19. data/test/specs/cassettes/aws_stack_create.yml +0 -603
  20. data/test/specs/cassettes/aws_stacks_after_destroy.yml +0 -148
  21. data/test/specs/cassettes/aws_stacks_all.yml +0 -99
  22. data/test/specs/cassettes/aws_stacks_before_create.yml +0 -300
  23. data/test/specs/cassettes/aws_stacks_direct_fetch.yml +0 -108
  24. data/test/specs/cassettes/aws_storage_bucket.yml +0 -429
  25. data/test/specs/cassettes/open_stack_server_after_destroy.yml +0 -83
  26. data/test/specs/cassettes/open_stack_server_before_create.yml +0 -138
  27. data/test/specs/cassettes/open_stack_servers_all.yml +0 -34
  28. data/test/specs/cassettes/open_stack_servers_create.yml +0 -296
  29. data/test/specs/cassettes/open_stack_stack_create.yml +0 -338
  30. data/test/specs/cassettes/open_stack_stacks_after_destroy.yml +0 -73
  31. data/test/specs/cassettes/open_stack_stacks_all.yml +0 -34
  32. data/test/specs/cassettes/open_stack_stacks_before_create.yml +0 -227
  33. data/test/specs/cassettes/open_stack_stacks_direct_fetch.yml +0 -39
  34. data/test/specs/cassettes/rackspace_identity_seed.yml +0 -38
  35. data/test/specs/cassettes/rackspace_server_after_destroy.yml +0 -88
  36. data/test/specs/cassettes/rackspace_server_before_create.yml +0 -143
  37. data/test/specs/cassettes/rackspace_servers_create.yml +0 -313
  38. data/test/specs/cassettes/rackspace_stack_create.yml +0 -289
  39. data/test/specs/cassettes/rackspace_stacks_after_destroy.yml +0 -79
  40. data/test/specs/cassettes/rackspace_stacks_all.yml +0 -81
  41. data/test/specs/cassettes/rackspace_stacks_before_create.yml +0 -211
  42. data/test/specs/cassettes/rackspace_stacks_direct_fetch.yml +0 -38
@@ -1,338 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://192.168.2.69:5000/v2.0/tokens
6
- body:
7
- encoding: UTF-8
8
- string: '{"auth":{"passwordCredentials":{"password":"password","username":"admin"},"tenantName":"demo"}}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- Host:
13
- - 192.168.2.69:5000
14
- User-Agent:
15
- - RubyHTTPGem/0.6.3
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Date:
22
- - Mon, 24 Nov 2014 13:55:09 GMT
23
- Server:
24
- - Apache/2.4.7 (Ubuntu)
25
- Vary:
26
- - X-Auth-Token
27
- Content-Length:
28
- - '3891'
29
- Content-Type:
30
- - application/json
31
- body:
32
- encoding: UTF-8
33
- string: '{"access": {"token": {"issued_at": "2014-11-24T13:55:09.748270", "expires":
34
- "2014-11-24T14:55:09Z", "id": "9aaf4c1085114a53b1a853813aea776e", "tenant":
35
- {"description": null, "enabled": true, "id": "e0f19e038eac42e695da0ecb3de5e34b",
36
- "name": "demo"}, "audit_ids": ["XBVDIPkrSmatmCgTjA2x_g"]}, "serviceCatalog":
37
- [{"endpoints": [{"adminURL": "http://192.168.2.69:8774/v2/e0f19e038eac42e695da0ecb3de5e34b",
38
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8774/v2/e0f19e038eac42e695da0ecb3de5e34b",
39
- "id": "aa76ce85ca9e42abbaf2e81277afb737", "publicURL": "http://192.168.2.69:8774/v2/e0f19e038eac42e695da0ecb3de5e34b"}],
40
- "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL":
41
- "http://192.168.2.69:8774/v2.1/e0f19e038eac42e695da0ecb3de5e34b", "region":
42
- "RegionOne", "internalURL": "http://192.168.2.69:8774/v2.1/e0f19e038eac42e695da0ecb3de5e34b",
43
- "id": "03c6ba4645e3423aa53c9ad9b4868422", "publicURL": "http://192.168.2.69:8774/v2.1/e0f19e038eac42e695da0ecb3de5e34b"}],
44
- "endpoints_links": [], "type": "computev21", "name": "novav21"}, {"endpoints":
45
- [{"adminURL": "http://192.168.2.69:8776/v2/e0f19e038eac42e695da0ecb3de5e34b",
46
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8776/v2/e0f19e038eac42e695da0ecb3de5e34b",
47
- "id": "46adec2e1ad84281adbfa56c61218f14", "publicURL": "http://192.168.2.69:8776/v2/e0f19e038eac42e695da0ecb3de5e34b"}],
48
- "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints":
49
- [{"adminURL": "http://192.168.2.69:3333", "region": "RegionOne", "internalURL":
50
- "http://192.168.2.69:3333", "id": "3bc988dbb80e4989b4ff5cb7bab76449", "publicURL":
51
- "http://192.168.2.69:3333"}], "endpoints_links": [], "type": "s3", "name":
52
- "s3"}, {"endpoints": [{"adminURL": "http://192.168.2.69:9292", "region": "RegionOne",
53
- "internalURL": "http://192.168.2.69:9292", "id": "7591a96a23254191b231d76feb8adb29",
54
- "publicURL": "http://192.168.2.69:9292"}], "endpoints_links": [], "type":
55
- "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://192.168.2.69:8000/v1",
56
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8000/v1", "id":
57
- "11a3b4d7e6bc4b209ab74b3a761a9047", "publicURL": "http://192.168.2.69:8000/v1"}],
58
- "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints":
59
- [{"adminURL": "http://192.168.2.69:8776/v1/e0f19e038eac42e695da0ecb3de5e34b",
60
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8776/v1/e0f19e038eac42e695da0ecb3de5e34b",
61
- "id": "4055d25e27b74a66a763a36986009d8b", "publicURL": "http://192.168.2.69:8776/v1/e0f19e038eac42e695da0ecb3de5e34b"}],
62
- "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
63
- [{"adminURL": "http://192.168.2.69:8773/services/Admin", "region": "RegionOne",
64
- "internalURL": "http://192.168.2.69:8773/services/Cloud", "id": "1b927f7b5e2e40458400eb3a7715806f",
65
- "publicURL": "http://192.168.2.69:8773/services/Cloud"}], "endpoints_links":
66
- [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b",
67
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b",
68
- "id": "5f93ec95b93e4d6380cd2ef894c1efcd", "publicURL": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b"}],
69
- "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints":
70
- [{"adminURL": "http://192.168.2.69:35357/v2.0", "region": "RegionOne", "internalURL":
71
- "http://192.168.2.69:5000/v2.0", "id": "147aeca505b64dca87e050a92bbeec03",
72
- "publicURL": "http://192.168.2.69:5000/v2.0"}], "endpoints_links": [], "type":
73
- "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links":
74
- [], "id": "a9c99aabc0304a8780b72eb35e2eaec0", "roles": [{"name": "admin"},
75
- {"name": "heat_stack_owner"}], "name": "admin"}, "metadata": {"is_admin":
76
- 0, "roles": ["939f1c5510564087a0fe710b1a4d1bca", "450be5b089724784ab8283d1b3d4c4bc"]}}}'
77
- http_version:
78
- recorded_at: Mon, 24 Nov 2014 13:55:06 GMT
79
- - request:
80
- method: post
81
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks
82
- body:
83
- encoding: UTF-8
84
- string: '{"disable_rollback":"false","parameters":{},"stack_name":"miasma-test-stack-2","template":"{\"heat_template_version\":\"2013-05-23\",\"resources\":{\"MiasmaTestInstance\":{\"properties\":{\"admin_pass\":\"password\",\"flavor\":\"1\",\"image\":\"f9e98d6c-b071-49d7-b4e9-9f2f2ce304aa\"},\"type\":\"OS::Nova::Server\"}}}"}'
85
- headers:
86
- User-Agent:
87
- - miasma/v0.2.1
88
- X-Auth-Token:
89
- - 9aaf4c1085114a53b1a853813aea776e
90
- Content-Type:
91
- - application/json
92
- Host:
93
- - 192.168.2.69:8004
94
- response:
95
- status:
96
- code: 201
97
- message: Created
98
- headers:
99
- Location:
100
- - http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2
101
- Content-Type:
102
- - application/json
103
- Content-Length:
104
- - '221'
105
- X-Openstack-Request-Id:
106
- - req-81f8b869-a5ff-4fb1-baae-2a70418f0e60
107
- Date:
108
- - Mon, 24 Nov 2014 13:55:10 GMT
109
- body:
110
- encoding: UTF-8
111
- string: '{"stack": {"id": "c6516194-65d8-476b-a5e2-d11f132031c2", "links": [{"href":
112
- "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2",
113
- "rel": "self"}]}}'
114
- http_version:
115
- recorded_at: Mon, 24 Nov 2014 13:55:07 GMT
116
- - request:
117
- method: get
118
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2
119
- body:
120
- encoding: US-ASCII
121
- string: ''
122
- headers:
123
- User-Agent:
124
- - miasma/v0.2.1
125
- X-Auth-Token:
126
- - 9aaf4c1085114a53b1a853813aea776e
127
- Host:
128
- - 192.168.2.69:8004
129
- response:
130
- status:
131
- code: 200
132
- message: OK
133
- headers:
134
- Content-Type:
135
- - application/json; charset=UTF-8
136
- Content-Length:
137
- - '707'
138
- X-Openstack-Request-Id:
139
- - req-c970b0d7-7c2e-4d5e-bf90-d6329335b3f7
140
- Date:
141
- - Mon, 24 Nov 2014 13:55:10 GMT
142
- body:
143
- encoding: UTF-8
144
- string: '{"stack": {"disable_rollback": false, "description": "No description",
145
- "parent": null, "stack_status_reason": "", "stack_name": "miasma-test-stack-2",
146
- "stack_owner": null, "creation_time": "2014-11-24T13:55:10Z", "links": [{"href":
147
- "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2",
148
- "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
149
- null, "timeout_mins": null, "stack_status": "CREATE_IN_PROGRESS", "parameters":
150
- {"OS::stack_id": "c6516194-65d8-476b-a5e2-d11f132031c2", "OS::stack_name":
151
- "miasma-test-stack-2"}, "id": "c6516194-65d8-476b-a5e2-d11f132031c2", "template_description":
152
- "No description"}}'
153
- http_version:
154
- recorded_at: Mon, 24 Nov 2014 13:55:07 GMT
155
- - request:
156
- method: get
157
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks
158
- body:
159
- encoding: US-ASCII
160
- string: ''
161
- headers:
162
- User-Agent:
163
- - miasma/v0.2.1
164
- X-Auth-Token:
165
- - 9aaf4c1085114a53b1a853813aea776e
166
- Host:
167
- - 192.168.2.69:8004
168
- response:
169
- status:
170
- code: 200
171
- message: OK
172
- headers:
173
- Content-Type:
174
- - application/json; charset=UTF-8
175
- Content-Length:
176
- - '459'
177
- X-Openstack-Request-Id:
178
- - req-99303e52-c247-4e60-9972-9d4443e6b954
179
- Date:
180
- - Mon, 24 Nov 2014 13:55:10 GMT
181
- body:
182
- encoding: UTF-8
183
- string: '{"stacks": [{"parent": null, "description": "No description", "links":
184
- [{"href": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2",
185
- "rel": "self"}], "stack_status_reason": "", "stack_name": "miasma-test-stack-2",
186
- "creation_time": "2014-11-24T13:55:10Z", "updated_time": null, "stack_owner":
187
- null, "stack_status": "CREATE_IN_PROGRESS", "id": "c6516194-65d8-476b-a5e2-d11f132031c2"}]}'
188
- http_version:
189
- recorded_at: Mon, 24 Nov 2014 13:55:07 GMT
190
- - request:
191
- method: get
192
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2
193
- body:
194
- encoding: US-ASCII
195
- string: ''
196
- headers:
197
- User-Agent:
198
- - miasma/v0.2.1
199
- X-Auth-Token:
200
- - 9aaf4c1085114a53b1a853813aea776e
201
- Host:
202
- - 192.168.2.69:8004
203
- response:
204
- status:
205
- code: 200
206
- message: OK
207
- headers:
208
- Content-Type:
209
- - application/json; charset=UTF-8
210
- Content-Length:
211
- - '754'
212
- X-Openstack-Request-Id:
213
- - req-7844a3b5-26a7-453a-8838-d81c420cb2c5
214
- Date:
215
- - Mon, 24 Nov 2014 13:56:10 GMT
216
- body:
217
- encoding: UTF-8
218
- string: '{"stack": {"parent": null, "disable_rollback": false, "description":
219
- "No description", "links": [{"href": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2",
220
- "rel": "self"}], "stack_status_reason": "Stack CREATE completed successfully",
221
- "stack_name": "miasma-test-stack-2", "outputs": [], "stack_owner": null, "creation_time":
222
- "2014-11-24T13:55:10Z", "capabilities": [], "notification_topics": [], "updated_time":
223
- null, "timeout_mins": null, "stack_status": "CREATE_COMPLETE", "parameters":
224
- {"OS::stack_id": "c6516194-65d8-476b-a5e2-d11f132031c2", "OS::stack_name":
225
- "miasma-test-stack-2"}, "id": "c6516194-65d8-476b-a5e2-d11f132031c2", "template_description":
226
- "No description"}}'
227
- http_version:
228
- recorded_at: Mon, 24 Nov 2014 13:56:07 GMT
229
- - request:
230
- method: delete
231
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2
232
- body:
233
- encoding: US-ASCII
234
- string: ''
235
- headers:
236
- User-Agent:
237
- - miasma/v0.2.1
238
- X-Auth-Token:
239
- - 9aaf4c1085114a53b1a853813aea776e
240
- Host:
241
- - 192.168.2.69:8004
242
- response:
243
- status:
244
- code: 204
245
- message: No Content
246
- headers:
247
- Content-Type:
248
- - text/html; charset=UTF-8
249
- X-Openstack-Request-Id:
250
- - req-79b65ea5-30ef-45de-ad91-43ddf426e03e
251
- Content-Length:
252
- - '0'
253
- Date:
254
- - Mon, 24 Nov 2014 13:56:10 GMT
255
- body:
256
- encoding: UTF-8
257
- string: ''
258
- http_version:
259
- recorded_at: Mon, 24 Nov 2014 13:56:07 GMT
260
- - request:
261
- method: get
262
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2
263
- body:
264
- encoding: US-ASCII
265
- string: ''
266
- headers:
267
- User-Agent:
268
- - miasma/v0.2.1
269
- X-Auth-Token:
270
- - 9aaf4c1085114a53b1a853813aea776e
271
- Host:
272
- - 192.168.2.69:8004
273
- response:
274
- status:
275
- code: 200
276
- message: OK
277
- headers:
278
- Content-Type:
279
- - application/json; charset=UTF-8
280
- Content-Length:
281
- - '727'
282
- X-Openstack-Request-Id:
283
- - req-379211bc-a2cb-4174-89b9-08d7ae16a4af
284
- Date:
285
- - Mon, 24 Nov 2014 13:56:11 GMT
286
- body:
287
- encoding: UTF-8
288
- string: '{"stack": {"disable_rollback": false, "description": "No description",
289
- "parent": null, "stack_status_reason": "Stack DELETE started", "stack_name":
290
- "miasma-test-stack-2", "stack_owner": null, "creation_time": "2014-11-24T13:55:10Z",
291
- "links": [{"href": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2",
292
- "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
293
- null, "timeout_mins": null, "stack_status": "DELETE_IN_PROGRESS", "parameters":
294
- {"OS::stack_id": "c6516194-65d8-476b-a5e2-d11f132031c2", "OS::stack_name":
295
- "miasma-test-stack-2"}, "id": "c6516194-65d8-476b-a5e2-d11f132031c2", "template_description":
296
- "No description"}}'
297
- http_version:
298
- recorded_at: Mon, 24 Nov 2014 13:56:07 GMT
299
- - request:
300
- method: get
301
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2
302
- body:
303
- encoding: US-ASCII
304
- string: ''
305
- headers:
306
- User-Agent:
307
- - miasma/v0.2.1
308
- X-Auth-Token:
309
- - 9aaf4c1085114a53b1a853813aea776e
310
- Host:
311
- - 192.168.2.69:8004
312
- response:
313
- status:
314
- code: 200
315
- message: OK
316
- headers:
317
- Content-Type:
318
- - application/json; charset=UTF-8
319
- Content-Length:
320
- - '739'
321
- X-Openstack-Request-Id:
322
- - req-95713215-023f-4301-9568-b1e61642c258
323
- Date:
324
- - Mon, 24 Nov 2014 13:57:11 GMT
325
- body:
326
- encoding: UTF-8
327
- string: '{"stack": {"disable_rollback": false, "description": "No description",
328
- "parent": null, "stack_status_reason": "Stack DELETE completed successfully",
329
- "stack_name": "miasma-test-stack-2", "stack_owner": null, "creation_time":
330
- "2014-11-24T13:55:10Z", "links": [{"href": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack-2/c6516194-65d8-476b-a5e2-d11f132031c2",
331
- "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
332
- null, "timeout_mins": null, "stack_status": "DELETE_COMPLETE", "parameters":
333
- {"OS::stack_id": "c6516194-65d8-476b-a5e2-d11f132031c2", "OS::stack_name":
334
- "miasma-test-stack-2"}, "id": "c6516194-65d8-476b-a5e2-d11f132031c2", "template_description":
335
- "No description"}}'
336
- http_version:
337
- recorded_at: Mon, 24 Nov 2014 13:57:07 GMT
338
- recorded_with: VCR 2.9.3
@@ -1,73 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: delete
5
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - miasma/v0.2.1
12
- X-Auth-Token:
13
- - 5de32e281a8444a8b9ce6456c5fac96f
14
- Host:
15
- - 192.168.2.69:8004
16
- response:
17
- status:
18
- code: 204
19
- message: No Content
20
- headers:
21
- Content-Type:
22
- - text/html; charset=UTF-8
23
- X-Openstack-Request-Id:
24
- - req-a8c7d66b-3e80-420d-ac91-1c849b838ccb
25
- Content-Length:
26
- - '0'
27
- Date:
28
- - Mon, 24 Nov 2014 13:48:29 GMT
29
- body:
30
- encoding: UTF-8
31
- string: ''
32
- http_version:
33
- recorded_at: Mon, 24 Nov 2014 13:48:26 GMT
34
- - request:
35
- method: get
36
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30
37
- body:
38
- encoding: US-ASCII
39
- string: ''
40
- headers:
41
- User-Agent:
42
- - miasma/v0.2.1
43
- X-Auth-Token:
44
- - 5de32e281a8444a8b9ce6456c5fac96f
45
- Host:
46
- - 192.168.2.69:8004
47
- response:
48
- status:
49
- code: 200
50
- message: OK
51
- headers:
52
- Content-Type:
53
- - application/json; charset=UTF-8
54
- Content-Length:
55
- - '721'
56
- X-Openstack-Request-Id:
57
- - req-2c584a28-5baf-4feb-8e54-0ca2dd991ea7
58
- Date:
59
- - Mon, 24 Nov 2014 13:48:29 GMT
60
- body:
61
- encoding: UTF-8
62
- string: '{"stack": {"disable_rollback": false, "description": "No description",
63
- "parent": null, "stack_status_reason": "Stack DELETE started", "stack_name":
64
- "miasma-test-stack", "stack_owner": null, "creation_time": "2014-11-24T13:47:28Z",
65
- "links": [{"href": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30",
66
- "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
67
- null, "timeout_mins": null, "stack_status": "DELETE_IN_PROGRESS", "parameters":
68
- {"OS::stack_id": "9116aa1f-18dc-4048-be23-c422a2b9af30", "OS::stack_name":
69
- "miasma-test-stack"}, "id": "9116aa1f-18dc-4048-be23-c422a2b9af30", "template_description":
70
- "No description"}}'
71
- http_version:
72
- recorded_at: Mon, 24 Nov 2014 13:48:26 GMT
73
- recorded_with: VCR 2.9.3
@@ -1,34 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - miasma/v0.2.1
12
- X-Auth-Token:
13
- - 5de32e281a8444a8b9ce6456c5fac96f
14
- Host:
15
- - 192.168.2.69:8004
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Content-Type:
22
- - application/json; charset=UTF-8
23
- Content-Length:
24
- - '14'
25
- X-Openstack-Request-Id:
26
- - req-43f13d0e-1417-46a1-b0b0-e5c45a955b26
27
- Date:
28
- - Mon, 24 Nov 2014 13:51:49 GMT
29
- body:
30
- encoding: UTF-8
31
- string: '{"stacks": []}'
32
- http_version:
33
- recorded_at: Mon, 24 Nov 2014 13:51:46 GMT
34
- recorded_with: VCR 2.9.3
@@ -1,227 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://192.168.2.69:5000/v2.0/tokens
6
- body:
7
- encoding: UTF-8
8
- string: '{"auth":{"passwordCredentials":{"password":"password","username":"admin"},"tenantName":"demo"}}'
9
- headers:
10
- Content-Type:
11
- - application/json
12
- Host:
13
- - 192.168.2.69:5000
14
- User-Agent:
15
- - RubyHTTPGem/0.6.3
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Date:
22
- - Mon, 24 Nov 2014 13:47:27 GMT
23
- Server:
24
- - Apache/2.4.7 (Ubuntu)
25
- Vary:
26
- - X-Auth-Token
27
- Content-Length:
28
- - '3891'
29
- Content-Type:
30
- - application/json
31
- body:
32
- encoding: UTF-8
33
- string: '{"access": {"token": {"issued_at": "2014-11-24T13:47:27.452721", "expires":
34
- "2014-11-24T14:47:27Z", "id": "5de32e281a8444a8b9ce6456c5fac96f", "tenant":
35
- {"description": null, "enabled": true, "id": "e0f19e038eac42e695da0ecb3de5e34b",
36
- "name": "demo"}, "audit_ids": ["5y7mra0PTQmztRfdxtMcTQ"]}, "serviceCatalog":
37
- [{"endpoints": [{"adminURL": "http://192.168.2.69:8774/v2/e0f19e038eac42e695da0ecb3de5e34b",
38
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8774/v2/e0f19e038eac42e695da0ecb3de5e34b",
39
- "id": "aa76ce85ca9e42abbaf2e81277afb737", "publicURL": "http://192.168.2.69:8774/v2/e0f19e038eac42e695da0ecb3de5e34b"}],
40
- "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL":
41
- "http://192.168.2.69:8774/v2.1/e0f19e038eac42e695da0ecb3de5e34b", "region":
42
- "RegionOne", "internalURL": "http://192.168.2.69:8774/v2.1/e0f19e038eac42e695da0ecb3de5e34b",
43
- "id": "03c6ba4645e3423aa53c9ad9b4868422", "publicURL": "http://192.168.2.69:8774/v2.1/e0f19e038eac42e695da0ecb3de5e34b"}],
44
- "endpoints_links": [], "type": "computev21", "name": "novav21"}, {"endpoints":
45
- [{"adminURL": "http://192.168.2.69:8776/v2/e0f19e038eac42e695da0ecb3de5e34b",
46
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8776/v2/e0f19e038eac42e695da0ecb3de5e34b",
47
- "id": "46adec2e1ad84281adbfa56c61218f14", "publicURL": "http://192.168.2.69:8776/v2/e0f19e038eac42e695da0ecb3de5e34b"}],
48
- "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints":
49
- [{"adminURL": "http://192.168.2.69:3333", "region": "RegionOne", "internalURL":
50
- "http://192.168.2.69:3333", "id": "3bc988dbb80e4989b4ff5cb7bab76449", "publicURL":
51
- "http://192.168.2.69:3333"}], "endpoints_links": [], "type": "s3", "name":
52
- "s3"}, {"endpoints": [{"adminURL": "http://192.168.2.69:9292", "region": "RegionOne",
53
- "internalURL": "http://192.168.2.69:9292", "id": "7591a96a23254191b231d76feb8adb29",
54
- "publicURL": "http://192.168.2.69:9292"}], "endpoints_links": [], "type":
55
- "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://192.168.2.69:8000/v1",
56
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8000/v1", "id":
57
- "11a3b4d7e6bc4b209ab74b3a761a9047", "publicURL": "http://192.168.2.69:8000/v1"}],
58
- "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints":
59
- [{"adminURL": "http://192.168.2.69:8776/v1/e0f19e038eac42e695da0ecb3de5e34b",
60
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8776/v1/e0f19e038eac42e695da0ecb3de5e34b",
61
- "id": "4055d25e27b74a66a763a36986009d8b", "publicURL": "http://192.168.2.69:8776/v1/e0f19e038eac42e695da0ecb3de5e34b"}],
62
- "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
63
- [{"adminURL": "http://192.168.2.69:8773/services/Admin", "region": "RegionOne",
64
- "internalURL": "http://192.168.2.69:8773/services/Cloud", "id": "1b927f7b5e2e40458400eb3a7715806f",
65
- "publicURL": "http://192.168.2.69:8773/services/Cloud"}], "endpoints_links":
66
- [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b",
67
- "region": "RegionOne", "internalURL": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b",
68
- "id": "5f93ec95b93e4d6380cd2ef894c1efcd", "publicURL": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b"}],
69
- "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints":
70
- [{"adminURL": "http://192.168.2.69:35357/v2.0", "region": "RegionOne", "internalURL":
71
- "http://192.168.2.69:5000/v2.0", "id": "147aeca505b64dca87e050a92bbeec03",
72
- "publicURL": "http://192.168.2.69:5000/v2.0"}], "endpoints_links": [], "type":
73
- "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links":
74
- [], "id": "a9c99aabc0304a8780b72eb35e2eaec0", "roles": [{"name": "admin"},
75
- {"name": "heat_stack_owner"}], "name": "admin"}, "metadata": {"is_admin":
76
- 0, "roles": ["939f1c5510564087a0fe710b1a4d1bca", "450be5b089724784ab8283d1b3d4c4bc"]}}}'
77
- http_version:
78
- recorded_at: Mon, 24 Nov 2014 13:47:24 GMT
79
- - request:
80
- method: post
81
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks
82
- body:
83
- encoding: UTF-8
84
- string: '{"disable_rollback":"false","parameters":{},"stack_name":"miasma-test-stack","template":"{\"heat_template_version\":\"2013-05-23\",\"resources\":{\"MiasmaTestInstance\":{\"properties\":{\"admin_pass\":\"password\",\"flavor\":\"1\",\"image\":\"f9e98d6c-b071-49d7-b4e9-9f2f2ce304aa\"},\"type\":\"OS::Nova::Server\"}}}"}'
85
- headers:
86
- User-Agent:
87
- - miasma/v0.2.1
88
- X-Auth-Token:
89
- - 5de32e281a8444a8b9ce6456c5fac96f
90
- Content-Type:
91
- - application/json
92
- Host:
93
- - 192.168.2.69:8004
94
- response:
95
- status:
96
- code: 201
97
- message: Created
98
- headers:
99
- Location:
100
- - http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30
101
- Content-Type:
102
- - application/json
103
- Content-Length:
104
- - '219'
105
- X-Openstack-Request-Id:
106
- - req-f16d9da6-518d-44d1-aa54-ebc6d4fb2b25
107
- Date:
108
- - Mon, 24 Nov 2014 13:47:28 GMT
109
- body:
110
- encoding: UTF-8
111
- string: '{"stack": {"id": "9116aa1f-18dc-4048-be23-c422a2b9af30", "links": [{"href":
112
- "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30",
113
- "rel": "self"}]}}'
114
- http_version:
115
- recorded_at: Mon, 24 Nov 2014 13:47:25 GMT
116
- - request:
117
- method: get
118
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30
119
- body:
120
- encoding: US-ASCII
121
- string: ''
122
- headers:
123
- User-Agent:
124
- - miasma/v0.2.1
125
- X-Auth-Token:
126
- - 5de32e281a8444a8b9ce6456c5fac96f
127
- Host:
128
- - 192.168.2.69:8004
129
- response:
130
- status:
131
- code: 200
132
- message: OK
133
- headers:
134
- Content-Type:
135
- - application/json; charset=UTF-8
136
- Content-Length:
137
- - '701'
138
- X-Openstack-Request-Id:
139
- - req-3a2bb6ee-e2d4-431e-8860-d4e87d9b5df5
140
- Date:
141
- - Mon, 24 Nov 2014 13:47:28 GMT
142
- body:
143
- encoding: UTF-8
144
- string: '{"stack": {"disable_rollback": false, "description": "No description",
145
- "parent": null, "stack_status_reason": "", "stack_name": "miasma-test-stack",
146
- "stack_owner": null, "creation_time": "2014-11-24T13:47:28Z", "links": [{"href":
147
- "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30",
148
- "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
149
- null, "timeout_mins": null, "stack_status": "CREATE_IN_PROGRESS", "parameters":
150
- {"OS::stack_id": "9116aa1f-18dc-4048-be23-c422a2b9af30", "OS::stack_name":
151
- "miasma-test-stack"}, "id": "9116aa1f-18dc-4048-be23-c422a2b9af30", "template_description":
152
- "No description"}}'
153
- http_version:
154
- recorded_at: Mon, 24 Nov 2014 13:47:25 GMT
155
- - request:
156
- method: get
157
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30
158
- body:
159
- encoding: US-ASCII
160
- string: ''
161
- headers:
162
- User-Agent:
163
- - miasma/v0.2.1
164
- X-Auth-Token:
165
- - 5de32e281a8444a8b9ce6456c5fac96f
166
- Host:
167
- - 192.168.2.69:8004
168
- response:
169
- status:
170
- code: 200
171
- message: OK
172
- headers:
173
- Content-Type:
174
- - application/json; charset=UTF-8
175
- Content-Length:
176
- - '748'
177
- X-Openstack-Request-Id:
178
- - req-72120d41-1242-4233-be92-65bbaa08eceb
179
- Date:
180
- - Mon, 24 Nov 2014 13:48:28 GMT
181
- body:
182
- encoding: UTF-8
183
- string: '{"stack": {"parent": null, "disable_rollback": false, "description":
184
- "No description", "links": [{"href": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30",
185
- "rel": "self"}], "stack_status_reason": "Stack CREATE completed successfully",
186
- "stack_name": "miasma-test-stack", "outputs": [], "stack_owner": null, "creation_time":
187
- "2014-11-24T13:47:28Z", "capabilities": [], "notification_topics": [], "updated_time":
188
- null, "timeout_mins": null, "stack_status": "CREATE_COMPLETE", "parameters":
189
- {"OS::stack_id": "9116aa1f-18dc-4048-be23-c422a2b9af30", "OS::stack_name":
190
- "miasma-test-stack"}, "id": "9116aa1f-18dc-4048-be23-c422a2b9af30", "template_description":
191
- "No description"}}'
192
- http_version:
193
- recorded_at: Mon, 24 Nov 2014 13:48:25 GMT
194
- - request:
195
- method: get
196
- uri: http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30/template
197
- body:
198
- encoding: US-ASCII
199
- string: ''
200
- headers:
201
- User-Agent:
202
- - miasma/v0.2.1
203
- X-Auth-Token:
204
- - 5de32e281a8444a8b9ce6456c5fac96f
205
- Host:
206
- - 192.168.2.69:8004
207
- response:
208
- status:
209
- code: 200
210
- message: OK
211
- headers:
212
- Content-Type:
213
- - application/json; charset=UTF-8
214
- Content-Length:
215
- - '212'
216
- X-Openstack-Request-Id:
217
- - req-d5f4802b-bf12-487f-8a62-0f1c07293d02
218
- Date:
219
- - Mon, 24 Nov 2014 13:48:29 GMT
220
- body:
221
- encoding: UTF-8
222
- string: '{"heat_template_version": "2013-05-23", "resources": {"MiasmaTestInstance":
223
- {"type": "OS::Nova::Server", "properties": {"admin_pass": "password", "flavor":
224
- "1", "image": "f9e98d6c-b071-49d7-b4e9-9f2f2ce304aa"}}}}'
225
- http_version:
226
- recorded_at: Mon, 24 Nov 2014 13:48:25 GMT
227
- recorded_with: VCR 2.9.3