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,39 +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
- - '487'
25
- X-Openstack-Request-Id:
26
- - req-898b332d-2e2d-4839-974f-f7f141d353be
27
- Date:
28
- - Mon, 24 Nov 2014 13:48:29 GMT
29
- body:
30
- encoding: UTF-8
31
- string: '{"stacks": [{"parent": null, "description": "No description", "links":
32
- [{"href": "http://192.168.2.69:8004/v1/e0f19e038eac42e695da0ecb3de5e34b/stacks/miasma-test-stack/9116aa1f-18dc-4048-be23-c422a2b9af30",
33
- "rel": "self"}], "stack_status_reason": "Stack CREATE completed successfully",
34
- "stack_name": "miasma-test-stack", "creation_time": "2014-11-24T13:47:28Z",
35
- "updated_time": null, "stack_owner": null, "stack_status": "CREATE_COMPLETE",
36
- "id": "9116aa1f-18dc-4048-be23-c422a2b9af30"}]}'
37
- http_version:
38
- recorded_at: Mon, 24 Nov 2014 13:48:25 GMT
39
- recorded_with: VCR 2.9.3
@@ -1,38 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - miasma/v0.2.1
12
- X-Auth-Token:
13
- - 015c96cbf67f48298525376a555ce24d
14
- Host:
15
- - iad.servers.api.rackspacecloud.com
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Content-Type:
22
- - application/json
23
- Via:
24
- - 1.1 Repose (Repose/2.12)
25
- Content-Length:
26
- - '15'
27
- Date:
28
- - Mon, 24 Nov 2014 13:49:40 GMT
29
- X-Compute-Request-Id:
30
- - req-5f6cd3da-8b3a-47ec-b2b9-a1c5f29240cd
31
- Server:
32
- - Jetty(8.0.y.z-SNAPSHOT)
33
- body:
34
- encoding: UTF-8
35
- string: '{"servers": []}'
36
- http_version:
37
- recorded_at: Mon, 24 Nov 2014 13:49:38 GMT
38
- recorded_with: VCR 2.9.3
@@ -1,88 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: delete
5
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - miasma/v0.2.1
12
- X-Auth-Token:
13
- - 015c96cbf67f48298525376a555ce24d
14
- Host:
15
- - iad.servers.api.rackspacecloud.com
16
- response:
17
- status:
18
- code: 204
19
- message: No Content
20
- headers:
21
- Content-Type:
22
- - application/json
23
- Via:
24
- - 1.1 Repose (Repose/2.12)
25
- Date:
26
- - Mon, 24 Nov 2014 13:50:44 GMT
27
- X-Compute-Request-Id:
28
- - req-fe75866c-b1ce-4b28-a9e2-49d9ab01ac90
29
- Content-Length:
30
- - '0'
31
- Server:
32
- - Jetty(8.0.y.z-SNAPSHOT)
33
- body:
34
- encoding: UTF-8
35
- string: ''
36
- http_version:
37
- recorded_at: Mon, 24 Nov 2014 13:50:42 GMT
38
- - request:
39
- method: get
40
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
41
- body:
42
- encoding: US-ASCII
43
- string: ''
44
- headers:
45
- User-Agent:
46
- - miasma/v0.2.1
47
- X-Auth-Token:
48
- - 015c96cbf67f48298525376a555ce24d
49
- Host:
50
- - iad.servers.api.rackspacecloud.com
51
- response:
52
- status:
53
- code: 200
54
- message: OK
55
- headers:
56
- Content-Type:
57
- - application/json
58
- Via:
59
- - 1.1 Repose (Repose/2.12)
60
- Content-Length:
61
- - '1480'
62
- Date:
63
- - Mon, 24 Nov 2014 13:50:45 GMT
64
- X-Compute-Request-Id:
65
- - req-73acad1c-5b45-4364-bf04-f0171e808a82
66
- Server:
67
- - Jetty(8.0.y.z-SNAPSHOT)
68
- body:
69
- encoding: UTF-8
70
- string: '{"servers": [{"status": "ACTIVE", "updated": "2014-11-24T13:50:44Z",
71
- "hostId": "c6289d37ca455998a4bc2d1c12554c8d44c028d2e9dede4a82b71579", "addresses":
72
- {"public": [{"version": 4, "addr": "104.130.163.139"}, {"version": 6, "addr":
73
- "2001:4802:7801:104:be76:4eff:fe20:878f"}], "private": [{"version": 4, "addr":
74
- "10.209.1.249"}]}, "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
75
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
76
- "rel": "bookmark"}], "key_name": null, "image": {"id": "a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
77
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/images/a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
78
- "rel": "bookmark"}]}, "RAX-PUBLIC-IP-ZONE-ID:publicIPZoneId": "b052d10735390e1d668af0422806f3fcfe0fed3aaabe30286f222b28",
79
- "OS-EXT-STS:task_state": "deleting", "OS-EXT-STS:vm_state": "active", "flavor":
80
- {"id": "general1-1", "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/flavors/general1-1",
81
- "rel": "bookmark"}]}, "id": "47ea439f-c942-4d9b-9ffc-4a9135d9decb", "user_id":
82
- "56c76a224ef344e2854701cc7c675cc3", "name": "miasma-test-instance", "created":
83
- "2014-11-24T13:49:41Z", "tenant_id": "891853", "OS-DCF:diskConfig": "AUTO",
84
- "accessIPv4": "104.130.163.139", "accessIPv6": "2001:4802:7801:104:be76:4eff:fe20:878f",
85
- "progress": 0, "OS-EXT-STS:power_state": 1, "metadata": {}}]}'
86
- http_version:
87
- recorded_at: Mon, 24 Nov 2014 13:50:43 GMT
88
- recorded_with: VCR 2.9.3
@@ -1,143 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers
6
- body:
7
- encoding: UTF-8
8
- string: '{"server":{"flavorRef":"general1-1","imageRef":"a3ba4cf5-70b9-4805-afa2-30d1ab81a625","key_pair":"default","metadata":null,"name":"miasma-test-instance","personality":{}}}'
9
- headers:
10
- User-Agent:
11
- - miasma/v0.2.1
12
- X-Auth-Token:
13
- - 015c96cbf67f48298525376a555ce24d
14
- Content-Type:
15
- - application/json
16
- Host:
17
- - iad.servers.api.rackspacecloud.com
18
- response:
19
- status:
20
- code: 202
21
- message: Accepted
22
- headers:
23
- Content-Type:
24
- - application/json
25
- Via:
26
- - 1.1 Repose (Repose/2.12)
27
- Location:
28
- - https://iad.servers.api.rackspacecloud.com/v2/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb
29
- Content-Length:
30
- - '380'
31
- Date:
32
- - Mon, 24 Nov 2014 13:49:41 GMT
33
- X-Compute-Request-Id:
34
- - req-521c6d0e-4e5f-4048-aa4a-66321386a841
35
- Server:
36
- - Jetty(8.0.y.z-SNAPSHOT)
37
- body:
38
- encoding: UTF-8
39
- string: '{"server": {"OS-DCF:diskConfig": "AUTO", "id": "47ea439f-c942-4d9b-9ffc-4a9135d9decb",
40
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
41
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
42
- "rel": "bookmark"}], "adminPass": "ruZCteV5nQ5h"}}'
43
- http_version:
44
- recorded_at: Mon, 24 Nov 2014 13:49:40 GMT
45
- - request:
46
- method: get
47
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
48
- body:
49
- encoding: US-ASCII
50
- string: ''
51
- headers:
52
- User-Agent:
53
- - miasma/v0.2.1
54
- X-Auth-Token:
55
- - 015c96cbf67f48298525376a555ce24d
56
- Host:
57
- - iad.servers.api.rackspacecloud.com
58
- response:
59
- status:
60
- code: 200
61
- message: OK
62
- headers:
63
- Content-Type:
64
- - application/json
65
- Via:
66
- - 1.1 Repose (Repose/2.12)
67
- Content-Length:
68
- - '1250'
69
- Date:
70
- - Mon, 24 Nov 2014 13:49:42 GMT
71
- X-Compute-Request-Id:
72
- - req-930cb743-229d-4e52-a2a6-d9936e0d2c9e
73
- Server:
74
- - Jetty(8.0.y.z-SNAPSHOT)
75
- body:
76
- encoding: UTF-8
77
- string: '{"servers": [{"status": "BUILD", "updated": "2014-11-24T13:49:42Z",
78
- "hostId": "c6289d37ca455998a4bc2d1c12554c8d44c028d2e9dede4a82b71579", "addresses":
79
- {}, "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
80
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
81
- "rel": "bookmark"}], "key_name": null, "image": {"id": "a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
82
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/images/a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
83
- "rel": "bookmark"}]}, "RAX-PUBLIC-IP-ZONE-ID:publicIPZoneId": "b052d10735390e1d668af0422806f3fcfe0fed3aaabe30286f222b28",
84
- "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "building", "flavor":
85
- {"id": "general1-1", "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/flavors/general1-1",
86
- "rel": "bookmark"}]}, "id": "47ea439f-c942-4d9b-9ffc-4a9135d9decb", "user_id":
87
- "56c76a224ef344e2854701cc7c675cc3", "name": "miasma-test-instance", "created":
88
- "2014-11-24T13:49:41Z", "tenant_id": "891853", "OS-DCF:diskConfig": "AUTO",
89
- "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state":
90
- 0, "metadata": {}}]}'
91
- http_version:
92
- recorded_at: Mon, 24 Nov 2014 13:49:41 GMT
93
- - request:
94
- method: get
95
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
96
- body:
97
- encoding: US-ASCII
98
- string: ''
99
- headers:
100
- User-Agent:
101
- - miasma/v0.2.1
102
- X-Auth-Token:
103
- - 015c96cbf67f48298525376a555ce24d
104
- Host:
105
- - iad.servers.api.rackspacecloud.com
106
- response:
107
- status:
108
- code: 200
109
- message: OK
110
- headers:
111
- Content-Type:
112
- - application/json
113
- Via:
114
- - 1.1 Repose (Repose/2.12)
115
- Content-Length:
116
- - '1476'
117
- Date:
118
- - Mon, 24 Nov 2014 13:50:43 GMT
119
- X-Compute-Request-Id:
120
- - req-ee6fbe67-7fb1-4129-af02-a01e9ad364bd
121
- Server:
122
- - Jetty(8.0.y.z-SNAPSHOT)
123
- body:
124
- encoding: UTF-8
125
- string: '{"servers": [{"status": "ACTIVE", "updated": "2014-11-24T13:50:21Z",
126
- "hostId": "c6289d37ca455998a4bc2d1c12554c8d44c028d2e9dede4a82b71579", "addresses":
127
- {"public": [{"version": 4, "addr": "104.130.163.139"}, {"version": 6, "addr":
128
- "2001:4802:7801:104:be76:4eff:fe20:878f"}], "private": [{"version": 4, "addr":
129
- "10.209.1.249"}]}, "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
130
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/47ea439f-c942-4d9b-9ffc-4a9135d9decb",
131
- "rel": "bookmark"}], "key_name": null, "image": {"id": "a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
132
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/images/a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
133
- "rel": "bookmark"}]}, "RAX-PUBLIC-IP-ZONE-ID:publicIPZoneId": "b052d10735390e1d668af0422806f3fcfe0fed3aaabe30286f222b28",
134
- "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor":
135
- {"id": "general1-1", "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/flavors/general1-1",
136
- "rel": "bookmark"}]}, "id": "47ea439f-c942-4d9b-9ffc-4a9135d9decb", "user_id":
137
- "56c76a224ef344e2854701cc7c675cc3", "name": "miasma-test-instance", "created":
138
- "2014-11-24T13:49:41Z", "tenant_id": "891853", "OS-DCF:diskConfig": "AUTO",
139
- "accessIPv4": "104.130.163.139", "accessIPv6": "2001:4802:7801:104:be76:4eff:fe20:878f",
140
- "progress": 100, "OS-EXT-STS:power_state": 1, "metadata": {}}]}'
141
- http_version:
142
- recorded_at: Mon, 24 Nov 2014 13:50:41 GMT
143
- recorded_with: VCR 2.9.3
@@ -1,313 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers
6
- body:
7
- encoding: UTF-8
8
- string: '{"server":{"flavorRef":"general1-1","imageRef":"a3ba4cf5-70b9-4805-afa2-30d1ab81a625","key_pair":"default","metadata":null,"name":"miasma-test-instance","personality":{}}}'
9
- headers:
10
- User-Agent:
11
- - miasma/v0.2.1
12
- X-Auth-Token:
13
- - 015c96cbf67f48298525376a555ce24d
14
- Content-Type:
15
- - application/json
16
- Host:
17
- - iad.servers.api.rackspacecloud.com
18
- response:
19
- status:
20
- code: 202
21
- message: Accepted
22
- headers:
23
- Content-Type:
24
- - application/json
25
- Via:
26
- - 1.1 Repose (Repose/2.12)
27
- Location:
28
- - https://iad.servers.api.rackspacecloud.com/v2/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac
29
- Content-Length:
30
- - '380'
31
- Date:
32
- - Mon, 24 Nov 2014 14:03:37 GMT
33
- X-Compute-Request-Id:
34
- - req-148988d0-bdac-4d87-a58a-f92fa83b995f
35
- Server:
36
- - Jetty(8.0.y.z-SNAPSHOT)
37
- body:
38
- encoding: UTF-8
39
- string: '{"server": {"OS-DCF:diskConfig": "AUTO", "id": "89093b89-fd23-4ca5-902d-de0d0580f9ac",
40
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
41
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
42
- "rel": "bookmark"}], "adminPass": "DdcK5B2cj9y3"}}'
43
- http_version:
44
- recorded_at: Mon, 24 Nov 2014 14:03:35 GMT
45
- - request:
46
- method: get
47
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
48
- body:
49
- encoding: US-ASCII
50
- string: ''
51
- headers:
52
- User-Agent:
53
- - miasma/v0.2.1
54
- X-Auth-Token:
55
- - 015c96cbf67f48298525376a555ce24d
56
- Host:
57
- - iad.servers.api.rackspacecloud.com
58
- response:
59
- status:
60
- code: 200
61
- message: OK
62
- headers:
63
- Content-Type:
64
- - application/json
65
- Via:
66
- - 1.1 Repose (Repose/2.12)
67
- Content-Length:
68
- - '1257'
69
- Date:
70
- - Mon, 24 Nov 2014 14:03:38 GMT
71
- X-Compute-Request-Id:
72
- - req-007f4611-1cc2-47be-8201-73893e07c299
73
- Server:
74
- - Jetty(8.0.y.z-SNAPSHOT)
75
- body:
76
- encoding: UTF-8
77
- string: '{"servers": [{"status": "BUILD", "updated": "2014-11-24T14:03:38Z",
78
- "hostId": "7eeb58efb95fa878801dd80fed8551109861059f6c021aad9f6a904b", "addresses":
79
- {}, "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
80
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
81
- "rel": "bookmark"}], "key_name": null, "image": {"id": "a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
82
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/images/a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
83
- "rel": "bookmark"}]}, "RAX-PUBLIC-IP-ZONE-ID:publicIPZoneId": "ca1cab1ead397a4127a7382001fb92d3a99c4a432e20232b0f4eef70",
84
- "OS-EXT-STS:task_state": "spawning", "OS-EXT-STS:vm_state": "building", "flavor":
85
- {"id": "general1-1", "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/flavors/general1-1",
86
- "rel": "bookmark"}]}, "id": "89093b89-fd23-4ca5-902d-de0d0580f9ac", "user_id":
87
- "56c76a224ef344e2854701cc7c675cc3", "name": "miasma-test-instance", "created":
88
- "2014-11-24T14:03:37Z", "tenant_id": "891853", "OS-DCF:diskConfig": "AUTO",
89
- "accessIPv4": "", "accessIPv6": "", "progress": 10, "OS-EXT-STS:power_state":
90
- 0, "metadata": {}}]}'
91
- http_version:
92
- recorded_at: Mon, 24 Nov 2014 14:03:37 GMT
93
- - request:
94
- method: get
95
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
96
- body:
97
- encoding: US-ASCII
98
- string: ''
99
- headers:
100
- User-Agent:
101
- - miasma/v0.2.1
102
- X-Auth-Token:
103
- - 015c96cbf67f48298525376a555ce24d
104
- Host:
105
- - iad.servers.api.rackspacecloud.com
106
- response:
107
- status:
108
- code: 200
109
- message: OK
110
- headers:
111
- Content-Type:
112
- - application/json
113
- Via:
114
- - 1.1 Repose (Repose/2.12)
115
- Content-Length:
116
- - '1429'
117
- Date:
118
- - Mon, 24 Nov 2014 14:03:39 GMT
119
- X-Compute-Request-Id:
120
- - req-1c1caf6c-4d0b-480d-8205-efe39a95f689
121
- Server:
122
- - Jetty(8.0.y.z-SNAPSHOT)
123
- body:
124
- encoding: UTF-8
125
- string: '{"servers": [{"status": "BUILD", "updated": "2014-11-24T14:03:38Z",
126
- "hostId": "7eeb58efb95fa878801dd80fed8551109861059f6c021aad9f6a904b", "addresses":
127
- {"public": [{"version": 6, "addr": "2001:4802:7803:104:be76:4eff:fe20:bea9"},
128
- {"version": 4, "addr": "104.130.28.175"}], "private": [{"version": 4, "addr":
129
- "10.176.199.14"}]}, "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
130
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
131
- "rel": "bookmark"}], "key_name": null, "image": {"id": "a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
132
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/images/a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
133
- "rel": "bookmark"}]}, "RAX-PUBLIC-IP-ZONE-ID:publicIPZoneId": "ca1cab1ead397a4127a7382001fb92d3a99c4a432e20232b0f4eef70",
134
- "OS-EXT-STS:task_state": "spawning", "OS-EXT-STS:vm_state": "building", "flavor":
135
- {"id": "general1-1", "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/flavors/general1-1",
136
- "rel": "bookmark"}]}, "id": "89093b89-fd23-4ca5-902d-de0d0580f9ac", "user_id":
137
- "56c76a224ef344e2854701cc7c675cc3", "name": "miasma-test-instance", "created":
138
- "2014-11-24T14:03:37Z", "tenant_id": "891853", "OS-DCF:diskConfig": "AUTO",
139
- "accessIPv4": "", "accessIPv6": "", "progress": 10, "OS-EXT-STS:power_state":
140
- 0, "metadata": {}}]}'
141
- http_version:
142
- recorded_at: Mon, 24 Nov 2014 14:03:38 GMT
143
- - request:
144
- method: get
145
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
146
- body:
147
- encoding: US-ASCII
148
- string: ''
149
- headers:
150
- User-Agent:
151
- - miasma/v0.2.1
152
- X-Auth-Token:
153
- - 015c96cbf67f48298525376a555ce24d
154
- Host:
155
- - iad.servers.api.rackspacecloud.com
156
- response:
157
- status:
158
- code: 200
159
- message: OK
160
- headers:
161
- Content-Type:
162
- - application/json
163
- Via:
164
- - 1.1 Repose (Repose/2.12)
165
- Content-Length:
166
- - '1475'
167
- Date:
168
- - Mon, 24 Nov 2014 14:04:40 GMT
169
- X-Compute-Request-Id:
170
- - req-ae696266-1b85-4117-943c-c8c1a69288ef
171
- Server:
172
- - Jetty(8.0.y.z-SNAPSHOT)
173
- body:
174
- encoding: UTF-8
175
- string: '{"servers": [{"status": "ACTIVE", "updated": "2014-11-24T14:04:12Z",
176
- "hostId": "7eeb58efb95fa878801dd80fed8551109861059f6c021aad9f6a904b", "addresses":
177
- {"public": [{"version": 6, "addr": "2001:4802:7803:104:be76:4eff:fe20:bea9"},
178
- {"version": 4, "addr": "104.130.28.175"}], "private": [{"version": 4, "addr":
179
- "10.176.199.14"}]}, "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
180
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
181
- "rel": "bookmark"}], "key_name": null, "image": {"id": "a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
182
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/images/a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
183
- "rel": "bookmark"}]}, "RAX-PUBLIC-IP-ZONE-ID:publicIPZoneId": "ca1cab1ead397a4127a7382001fb92d3a99c4a432e20232b0f4eef70",
184
- "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor":
185
- {"id": "general1-1", "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/flavors/general1-1",
186
- "rel": "bookmark"}]}, "id": "89093b89-fd23-4ca5-902d-de0d0580f9ac", "user_id":
187
- "56c76a224ef344e2854701cc7c675cc3", "name": "miasma-test-instance", "created":
188
- "2014-11-24T14:03:37Z", "tenant_id": "891853", "OS-DCF:diskConfig": "AUTO",
189
- "accessIPv4": "104.130.28.175", "accessIPv6": "2001:4802:7803:104:be76:4eff:fe20:bea9",
190
- "progress": 100, "OS-EXT-STS:power_state": 1, "metadata": {}}]}'
191
- http_version:
192
- recorded_at: Mon, 24 Nov 2014 14:04:39 GMT
193
- - request:
194
- method: delete
195
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac
196
- body:
197
- encoding: US-ASCII
198
- string: ''
199
- headers:
200
- User-Agent:
201
- - miasma/v0.2.1
202
- X-Auth-Token:
203
- - 015c96cbf67f48298525376a555ce24d
204
- Host:
205
- - iad.servers.api.rackspacecloud.com
206
- response:
207
- status:
208
- code: 204
209
- message: No Content
210
- headers:
211
- Content-Type:
212
- - application/json
213
- Via:
214
- - 1.1 Repose (Repose/2.12)
215
- Date:
216
- - Mon, 24 Nov 2014 14:04:41 GMT
217
- X-Compute-Request-Id:
218
- - req-63b91040-0b96-4293-a49a-2930e133d1c5
219
- Content-Length:
220
- - '0'
221
- Server:
222
- - Jetty(8.0.y.z-SNAPSHOT)
223
- body:
224
- encoding: UTF-8
225
- string: ''
226
- http_version:
227
- recorded_at: Mon, 24 Nov 2014 14:04:40 GMT
228
- - request:
229
- method: get
230
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
231
- body:
232
- encoding: US-ASCII
233
- string: ''
234
- headers:
235
- User-Agent:
236
- - miasma/v0.2.1
237
- X-Auth-Token:
238
- - 015c96cbf67f48298525376a555ce24d
239
- Host:
240
- - iad.servers.api.rackspacecloud.com
241
- response:
242
- status:
243
- code: 200
244
- message: OK
245
- headers:
246
- Content-Type:
247
- - application/json
248
- Via:
249
- - 1.1 Repose (Repose/2.12)
250
- Content-Length:
251
- - '1479'
252
- Date:
253
- - Mon, 24 Nov 2014 14:04:42 GMT
254
- X-Compute-Request-Id:
255
- - req-b94737a5-c7ef-44f3-9a3a-ff6b624191e4
256
- Server:
257
- - Jetty(8.0.y.z-SNAPSHOT)
258
- body:
259
- encoding: UTF-8
260
- string: '{"servers": [{"status": "ACTIVE", "updated": "2014-11-24T14:04:41Z",
261
- "hostId": "7eeb58efb95fa878801dd80fed8551109861059f6c021aad9f6a904b", "addresses":
262
- {"public": [{"version": 6, "addr": "2001:4802:7803:104:be76:4eff:fe20:bea9"},
263
- {"version": 4, "addr": "104.130.28.175"}], "private": [{"version": 4, "addr":
264
- "10.176.199.14"}]}, "links": [{"href": "https://iad.servers.api.rackspacecloud.com/v2/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
265
- "rel": "self"}, {"href": "https://iad.servers.api.rackspacecloud.com/891853/servers/89093b89-fd23-4ca5-902d-de0d0580f9ac",
266
- "rel": "bookmark"}], "key_name": null, "image": {"id": "a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
267
- "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/images/a3ba4cf5-70b9-4805-afa2-30d1ab81a625",
268
- "rel": "bookmark"}]}, "RAX-PUBLIC-IP-ZONE-ID:publicIPZoneId": "ca1cab1ead397a4127a7382001fb92d3a99c4a432e20232b0f4eef70",
269
- "OS-EXT-STS:task_state": "deleting", "OS-EXT-STS:vm_state": "active", "flavor":
270
- {"id": "general1-1", "links": [{"href": "https://iad.servers.api.rackspacecloud.com/891853/flavors/general1-1",
271
- "rel": "bookmark"}]}, "id": "89093b89-fd23-4ca5-902d-de0d0580f9ac", "user_id":
272
- "56c76a224ef344e2854701cc7c675cc3", "name": "miasma-test-instance", "created":
273
- "2014-11-24T14:03:37Z", "tenant_id": "891853", "OS-DCF:diskConfig": "AUTO",
274
- "accessIPv4": "104.130.28.175", "accessIPv6": "2001:4802:7803:104:be76:4eff:fe20:bea9",
275
- "progress": 0, "OS-EXT-STS:power_state": 1, "metadata": {}}]}'
276
- http_version:
277
- recorded_at: Mon, 24 Nov 2014 14:04:41 GMT
278
- - request:
279
- method: get
280
- uri: https://iad.servers.api.rackspacecloud.com/v2/891853/servers/detail
281
- body:
282
- encoding: US-ASCII
283
- string: ''
284
- headers:
285
- User-Agent:
286
- - miasma/v0.2.1
287
- X-Auth-Token:
288
- - 015c96cbf67f48298525376a555ce24d
289
- Host:
290
- - iad.servers.api.rackspacecloud.com
291
- response:
292
- status:
293
- code: 200
294
- message: OK
295
- headers:
296
- Content-Type:
297
- - application/json
298
- Via:
299
- - 1.1 Repose (Repose/2.12)
300
- Content-Length:
301
- - '15'
302
- Date:
303
- - Mon, 24 Nov 2014 14:04:53 GMT
304
- X-Compute-Request-Id:
305
- - req-8744c5e7-ac2d-4bfa-9466-721f53465071
306
- Server:
307
- - Jetty(8.0.y.z-SNAPSHOT)
308
- body:
309
- encoding: UTF-8
310
- string: '{"servers": []}'
311
- http_version:
312
- recorded_at: Mon, 24 Nov 2014 14:04:52 GMT
313
- recorded_with: VCR 2.9.3