fog 1.35.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +50 -0
- data/fog.gemspec +6 -6
- data/lib/fog/digitalocean/models/compute/server.rb +0 -1
- data/lib/fog/digitalocean/requests/compute_v2/create_ssh_key.rb +10 -8
- data/lib/fog/digitalocean/requests/compute_v2/delete_ssh_key.rb +5 -1
- data/lib/fog/digitalocean/requests/compute_v2/list_ssh_keys.rb +6 -1
- data/lib/fog/glesys/models/compute/server.rb +0 -1
- data/lib/fog/joyent/compute.rb +6 -1
- data/lib/fog/linode/compute.rb +3 -0
- data/lib/fog/linode/models/compute/data_center.rb +1 -0
- data/lib/fog/linode/models/compute/flavor.rb +3 -0
- data/lib/fog/linode/models/compute/flavors.rb +8 -1
- data/lib/fog/linode/models/compute/image.rb +2 -0
- data/lib/fog/linode/models/compute/images.rb +2 -1
- data/lib/fog/linode/models/compute/kernel.rb +3 -0
- data/lib/fog/linode/models/compute/kernels.rb +14 -8
- data/lib/fog/linode/models/compute/node_balancer_flavor.rb +13 -0
- data/lib/fog/linode/models/compute/node_balancer_flavors.rb +27 -0
- data/lib/fog/linode/requests/compute/avail_kernels.rb +17 -18
- data/lib/fog/linode/requests/compute/avail_linodeplans.rb +4 -2
- data/lib/fog/linode/requests/compute/avail_nodebalancers.rb +42 -0
- data/lib/fog/linode/requests/compute/avail_stackscripts.rb +6 -11
- data/lib/fog/openstack/core.rb +22 -21
- data/lib/fog/openstack/models/baremetal/nodes.rb +1 -1
- data/lib/fog/openstack/models/identity_v3/domain.rb +6 -0
- data/lib/fog/openstack/models/identity_v3/domains.rb +19 -4
- data/lib/fog/openstack/models/identity_v3/project.rb +10 -0
- data/lib/fog/openstack/models/identity_v3/projects.rb +16 -3
- data/lib/fog/openstack/models/identity_v3/tokens.rb +1 -0
- data/lib/fog/openstack/models/storage/file.rb +9 -0
- data/lib/fog/openstack/requests/baremetal/delete_node.rb +1 -1
- data/lib/fog/rackspace/requests/load_balancers/create_node.rb +1 -1
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vsphere/compute.rb +8 -0
- data/lib/fog/vsphere/models/compute/network.rb +1 -0
- data/lib/fog/vsphere/models/compute/process.rb +18 -0
- data/lib/fog/vsphere/models/compute/server.rb +29 -0
- data/lib/fog/vsphere/models/compute/snapshot.rb +35 -0
- data/lib/fog/vsphere/models/compute/snapshots.rb +27 -0
- data/lib/fog/vsphere/requests/compute/create_vm.rb +65 -2
- data/lib/fog/vsphere/requests/compute/list_child_snapshots.rb +71 -0
- data/lib/fog/vsphere/requests/compute/list_networks.rb +5 -4
- data/lib/fog/vsphere/requests/compute/list_processes.rb +41 -0
- data/lib/fog/vsphere/requests/compute/list_vm_snapshots.rb +66 -0
- data/lib/fog/vsphere/requests/compute/revert_to_snapshot.rb +30 -0
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +2 -5
- data/lib/fog/vsphere/requests/compute/vm_take_snapshot.rb +37 -0
- data/lib/tasks/changelog_task.rb +1 -0
- data/spec/fog/openstack/identity_v3/authv3_a.yml +18 -18
- data/spec/fog/openstack/identity_v3/authv3_b.yml +18 -18
- data/spec/fog/openstack/identity_v3/authv3_c.yml +293 -55
- data/spec/fog/openstack/identity_v3/authv3_token.yml +89 -89
- data/spec/fog/openstack/identity_v3/authv3_unscoped.yml +325 -222
- data/spec/fog/openstack/identity_v3/authv3_unscoped_reauth.yml +587 -111
- data/spec/fog/openstack/identity_v3/common_setup.yml +30 -30
- data/spec/fog/openstack/identity_v3/idv3_credential.yml +17 -17
- data/spec/fog/openstack/identity_v3/idv3_credential_crud.yml +343 -106
- data/spec/fog/openstack/identity_v3/idv3_domain.yml +27 -122
- data/spec/fog/openstack/identity_v3/idv3_domain_crud.yml +75 -128
- data/spec/fog/openstack/identity_v3/idv3_domain_group_roles_mutation.yml +141 -141
- data/spec/fog/openstack/identity_v3/idv3_domain_roles_mutation.yml +326 -86
- data/spec/fog/openstack/identity_v3/idv3_endpoint.yml +221 -221
- data/spec/fog/openstack/identity_v3/idv3_endpoints_crud.yml +314 -314
- data/spec/fog/openstack/identity_v3/idv3_group_crud_mutation.yml +191 -188
- data/spec/fog/openstack/identity_v3/idv3_policy.yml +23 -23
- data/spec/fog/openstack/identity_v3/idv3_policy_crud.yml +67 -67
- data/spec/fog/openstack/identity_v3/idv3_project.yml +267 -161
- data/spec/fog/openstack/identity_v3/idv3_project_crud.yml +70 -145
- data/spec/fog/openstack/identity_v3/idv3_project_group_user_roles_mutation.yml +195 -243
- data/spec/fog/openstack/identity_v3/idv3_project_hier_crud_list.yml +203 -553
- data/spec/fog/openstack/identity_v3/idv3_role.yml +49 -49
- data/spec/fog/openstack/identity_v3/idv3_role_crud.yml +92 -92
- data/spec/fog/openstack/identity_v3/idv3_service.yml +61 -61
- data/spec/fog/openstack/identity_v3/idv3_services_crud.yml +111 -111
- data/spec/fog/openstack/identity_v3/idv3_token.yml +84 -84
- data/spec/fog/openstack/identity_v3/idv3_user_crud.yml +140 -125
- data/spec/fog/openstack/identity_v3/idv3_users.yml +98 -78
- data/spec/fog/openstack/network/common_setup.yml +84 -75
- data/spec/fog/openstack/network/subnets_crud.yml +75 -35
- data/spec/fog/openstack/shared_context.rb +5 -1
- data/tests/helper.rb +1 -0
- data/tests/linode/requests/compute/datacenter_tests.rb +2 -1
- data/tests/linode/requests/compute/kernel_tests.rb +2 -10
- data/tests/linode/requests/compute/linodeplans_tests.rb +10 -7
- data/tests/linode/requests/compute/nodebalancers_tests.rb +20 -0
- data/tests/openstack/models/storage/file_tests.rb +29 -0
- data/tests/rackspace/requests/load_balancers/node_tests.rb +7 -0
- data/tests/vsphere/models/compute/server_tests.rb +27 -1
- data/tests/vsphere/requests/compute/list_child_snapshots_tests.rb +10 -0
- data/tests/vsphere/requests/compute/list_vm_snapshots_tests.rb +10 -0
- data/tests/vsphere/requests/compute/revert_to_snapshot_tests.rb +15 -0
- data/tests/vsphere/requests/compute/vm_take_snapshot_tests.rb +19 -0
- metadata +41 -16
- data/spec/fog/openstack/identity_v3/authv3_project.yml +0 -98
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: http://
|
|
5
|
+
uri: http://devstack.openstack.stack:35357/v3/domains
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -16,22 +16,22 @@ http_interactions:
|
|
|
16
16
|
Accept:
|
|
17
17
|
- application/json
|
|
18
18
|
X-Auth-Token:
|
|
19
|
-
-
|
|
19
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
20
20
|
response:
|
|
21
21
|
status:
|
|
22
22
|
code: 200
|
|
23
23
|
message: ''
|
|
24
24
|
headers:
|
|
25
25
|
Date:
|
|
26
|
-
-
|
|
26
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
27
27
|
Server:
|
|
28
28
|
- Apache/2.4.7 (Ubuntu)
|
|
29
29
|
Vary:
|
|
30
30
|
- X-Auth-Token
|
|
31
31
|
X-Openstack-Request-Id:
|
|
32
|
-
- req-
|
|
32
|
+
- req-5850e74f-113f-4ce0-9637-5ff1111b5440
|
|
33
33
|
Content-Length:
|
|
34
|
-
- '
|
|
34
|
+
- '861'
|
|
35
35
|
Content-Type:
|
|
36
36
|
- application/json
|
|
37
37
|
X-Cache:
|
|
@@ -44,15 +44,21 @@ http_interactions:
|
|
|
44
44
|
- keep-alive
|
|
45
45
|
body:
|
|
46
46
|
encoding: UTF-8
|
|
47
|
-
string: '{"domains": [{"links": {"self": "http://
|
|
47
|
+
string: '{"domains": [{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/260c87fb609c41f69a265240185c35da"},
|
|
48
|
+
"enabled": true, "description": "monsooncc_test", "name": "o-9fe4db22e", "id":
|
|
49
|
+
"260c87fb609c41f69a265240185c35da"}, {"enabled": true, "id": "405196a795c64f748551e468f2ba4164",
|
|
50
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/405196a795c64f748551e468f2ba4164"},
|
|
51
|
+
"name": "domain1"}, {"enabled": true, "id": "85b07761a17741ef9b5177cb7de4d000",
|
|
52
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/85b07761a17741ef9b5177cb7de4d000"},
|
|
53
|
+
"name": "domain2"}, {"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
|
|
48
54
|
"enabled": true, "description": "Owns users and tenants (i.e. projects) available
|
|
49
55
|
on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
|
|
50
|
-
"http://
|
|
56
|
+
"http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next": null}}'
|
|
51
57
|
http_version:
|
|
52
|
-
recorded_at:
|
|
58
|
+
recorded_at: Wed, 28 Oct 2015 16:05:24 GMT
|
|
53
59
|
- request:
|
|
54
60
|
method: get
|
|
55
|
-
uri: http://
|
|
61
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/default
|
|
56
62
|
body:
|
|
57
63
|
encoding: US-ASCII
|
|
58
64
|
string: ''
|
|
@@ -66,22 +72,22 @@ http_interactions:
|
|
|
66
72
|
Accept:
|
|
67
73
|
- application/json
|
|
68
74
|
X-Auth-Token:
|
|
69
|
-
-
|
|
75
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
70
76
|
response:
|
|
71
77
|
status:
|
|
72
78
|
code: 200
|
|
73
79
|
message: ''
|
|
74
80
|
headers:
|
|
75
81
|
Date:
|
|
76
|
-
-
|
|
82
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
77
83
|
Server:
|
|
78
84
|
- Apache/2.4.7 (Ubuntu)
|
|
79
85
|
Vary:
|
|
80
86
|
- X-Auth-Token
|
|
81
87
|
X-Openstack-Request-Id:
|
|
82
|
-
- req-
|
|
88
|
+
- req-0f7b0683-3b12-481c-b55e-5d377ce7402a
|
|
83
89
|
Content-Length:
|
|
84
|
-
- '
|
|
90
|
+
- '218'
|
|
85
91
|
Content-Type:
|
|
86
92
|
- application/json
|
|
87
93
|
X-Cache:
|
|
@@ -94,115 +100,14 @@ http_interactions:
|
|
|
94
100
|
- keep-alive
|
|
95
101
|
body:
|
|
96
102
|
encoding: UTF-8
|
|
97
|
-
string: '{"
|
|
103
|
+
string: '{"domain": {"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
|
|
98
104
|
"enabled": true, "description": "Owns users and tenants (i.e. projects) available
|
|
99
|
-
on Identity API v2.", "name": "Default", "id": "default"}
|
|
100
|
-
"http://10.97.17.84:35357/v3/domains", "previous": null, "next": null}}'
|
|
101
|
-
http_version:
|
|
102
|
-
recorded_at: Fri, 02 Oct 2015 11:41:12 GMT
|
|
103
|
-
- request:
|
|
104
|
-
method: get
|
|
105
|
-
uri: http://10.97.17.84:35357/v3/domains
|
|
106
|
-
body:
|
|
107
|
-
encoding: US-ASCII
|
|
108
|
-
string: ''
|
|
109
|
-
headers:
|
|
110
|
-
User-Agent:
|
|
111
|
-
- fog-core/1.32.1
|
|
112
|
-
Proxy-Connection:
|
|
113
|
-
- Keep-Alive
|
|
114
|
-
Content-Type:
|
|
115
|
-
- application/json
|
|
116
|
-
Accept:
|
|
117
|
-
- application/json
|
|
118
|
-
X-Auth-Token:
|
|
119
|
-
- f6af15c0332e4d3ab7716b51d8fedfff
|
|
120
|
-
response:
|
|
121
|
-
status:
|
|
122
|
-
code: 200
|
|
123
|
-
message: ''
|
|
124
|
-
headers:
|
|
125
|
-
Date:
|
|
126
|
-
- Fri, 02 Oct 2015 11:41:24 GMT
|
|
127
|
-
Server:
|
|
128
|
-
- Apache/2.4.7 (Ubuntu)
|
|
129
|
-
Vary:
|
|
130
|
-
- X-Auth-Token
|
|
131
|
-
X-Openstack-Request-Id:
|
|
132
|
-
- req-9ad8a343-c512-4799-aa0b-2d731daa4f65
|
|
133
|
-
Content-Length:
|
|
134
|
-
- '311'
|
|
135
|
-
Content-Type:
|
|
136
|
-
- application/json
|
|
137
|
-
X-Cache:
|
|
138
|
-
- MISS from i056593-vagrant
|
|
139
|
-
X-Cache-Lookup:
|
|
140
|
-
- MISS from i056593-vagrant:3128
|
|
141
|
-
Via:
|
|
142
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
|
143
|
-
Connection:
|
|
144
|
-
- keep-alive
|
|
145
|
-
body:
|
|
146
|
-
encoding: UTF-8
|
|
147
|
-
string: '{"domains": [{"links": {"self": "http://10.97.17.84:35357/v3/domains/default"},
|
|
148
|
-
"enabled": true, "description": "Owns users and tenants (i.e. projects) available
|
|
149
|
-
on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
|
|
150
|
-
"http://10.97.17.84:35357/v3/domains", "previous": null, "next": null}}'
|
|
151
|
-
http_version:
|
|
152
|
-
recorded_at: Fri, 02 Oct 2015 11:41:12 GMT
|
|
153
|
-
- request:
|
|
154
|
-
method: get
|
|
155
|
-
uri: http://10.97.17.84:35357/v3/domains
|
|
156
|
-
body:
|
|
157
|
-
encoding: US-ASCII
|
|
158
|
-
string: ''
|
|
159
|
-
headers:
|
|
160
|
-
User-Agent:
|
|
161
|
-
- fog-core/1.32.1
|
|
162
|
-
Proxy-Connection:
|
|
163
|
-
- Keep-Alive
|
|
164
|
-
Content-Type:
|
|
165
|
-
- application/json
|
|
166
|
-
Accept:
|
|
167
|
-
- application/json
|
|
168
|
-
X-Auth-Token:
|
|
169
|
-
- f6af15c0332e4d3ab7716b51d8fedfff
|
|
170
|
-
response:
|
|
171
|
-
status:
|
|
172
|
-
code: 200
|
|
173
|
-
message: ''
|
|
174
|
-
headers:
|
|
175
|
-
Date:
|
|
176
|
-
- Fri, 02 Oct 2015 11:41:24 GMT
|
|
177
|
-
Server:
|
|
178
|
-
- Apache/2.4.7 (Ubuntu)
|
|
179
|
-
Vary:
|
|
180
|
-
- X-Auth-Token
|
|
181
|
-
X-Openstack-Request-Id:
|
|
182
|
-
- req-ae61e45e-a887-41cd-a55d-2b8b22b4a40d
|
|
183
|
-
Content-Length:
|
|
184
|
-
- '311'
|
|
185
|
-
Content-Type:
|
|
186
|
-
- application/json
|
|
187
|
-
X-Cache:
|
|
188
|
-
- MISS from i056593-vagrant
|
|
189
|
-
X-Cache-Lookup:
|
|
190
|
-
- MISS from i056593-vagrant:3128
|
|
191
|
-
Via:
|
|
192
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
|
193
|
-
Connection:
|
|
194
|
-
- keep-alive
|
|
195
|
-
body:
|
|
196
|
-
encoding: UTF-8
|
|
197
|
-
string: '{"domains": [{"links": {"self": "http://10.97.17.84:35357/v3/domains/default"},
|
|
198
|
-
"enabled": true, "description": "Owns users and tenants (i.e. projects) available
|
|
199
|
-
on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
|
|
200
|
-
"http://10.97.17.84:35357/v3/domains", "previous": null, "next": null}}'
|
|
105
|
+
on Identity API v2.", "name": "Default", "id": "default"}}'
|
|
201
106
|
http_version:
|
|
202
|
-
recorded_at:
|
|
107
|
+
recorded_at: Wed, 28 Oct 2015 16:05:24 GMT
|
|
203
108
|
- request:
|
|
204
109
|
method: get
|
|
205
|
-
uri: http://
|
|
110
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/atlantis
|
|
206
111
|
body:
|
|
207
112
|
encoding: US-ASCII
|
|
208
113
|
string: ''
|
|
@@ -216,20 +121,20 @@ http_interactions:
|
|
|
216
121
|
Accept:
|
|
217
122
|
- application/json
|
|
218
123
|
X-Auth-Token:
|
|
219
|
-
-
|
|
124
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
220
125
|
response:
|
|
221
126
|
status:
|
|
222
127
|
code: 404
|
|
223
128
|
message: ''
|
|
224
129
|
headers:
|
|
225
130
|
Date:
|
|
226
|
-
-
|
|
131
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
227
132
|
Server:
|
|
228
133
|
- Apache/2.4.7 (Ubuntu)
|
|
229
134
|
Vary:
|
|
230
135
|
- X-Auth-Token
|
|
231
136
|
X-Openstack-Request-Id:
|
|
232
|
-
- req-
|
|
137
|
+
- req-0709beb9-0947-4a58-8c3f-b639a9e01bad
|
|
233
138
|
Content-Length:
|
|
234
139
|
- '92'
|
|
235
140
|
Content-Type:
|
|
@@ -247,5 +152,5 @@ http_interactions:
|
|
|
247
152
|
string: '{"error": {"message": "Could not find domain: atlantis", "code": 404,
|
|
248
153
|
"title": "Not Found"}}'
|
|
249
154
|
http_version:
|
|
250
|
-
recorded_at:
|
|
155
|
+
recorded_at: Wed, 28 Oct 2015 16:05:24 GMT
|
|
251
156
|
recorded_with: VCR 2.9.3
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: http://
|
|
5
|
+
uri: http://devstack.openstack.stack:35357/v3/domains
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
8
|
string: '{"domain":{"name":"foobar"}}'
|
|
@@ -16,20 +16,20 @@ http_interactions:
|
|
|
16
16
|
Accept:
|
|
17
17
|
- application/json
|
|
18
18
|
X-Auth-Token:
|
|
19
|
-
-
|
|
19
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
20
20
|
response:
|
|
21
21
|
status:
|
|
22
22
|
code: 201
|
|
23
23
|
message: ''
|
|
24
24
|
headers:
|
|
25
25
|
Date:
|
|
26
|
-
-
|
|
26
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
27
27
|
Server:
|
|
28
28
|
- Apache/2.4.7 (Ubuntu)
|
|
29
29
|
Vary:
|
|
30
30
|
- X-Auth-Token
|
|
31
31
|
X-Openstack-Request-Id:
|
|
32
|
-
- req-
|
|
32
|
+
- req-712e4622-dfef-4ef5-831b-72a944c54dad
|
|
33
33
|
Content-Length:
|
|
34
34
|
- '180'
|
|
35
35
|
Content-Type:
|
|
@@ -44,14 +44,14 @@ http_interactions:
|
|
|
44
44
|
- keep-alive
|
|
45
45
|
body:
|
|
46
46
|
encoding: UTF-8
|
|
47
|
-
string: '{"domain": {"enabled": true, "id": "
|
|
48
|
-
"links": {"self": "http://
|
|
47
|
+
string: '{"domain": {"enabled": true, "id": "42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
48
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c"},
|
|
49
49
|
"name": "foobar"}}'
|
|
50
50
|
http_version:
|
|
51
|
-
recorded_at:
|
|
51
|
+
recorded_at: Wed, 28 Oct 2015 16:05:24 GMT
|
|
52
52
|
- request:
|
|
53
53
|
method: get
|
|
54
|
-
uri: http://
|
|
54
|
+
uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar
|
|
55
55
|
body:
|
|
56
56
|
encoding: US-ASCII
|
|
57
57
|
string: ''
|
|
@@ -65,20 +65,20 @@ http_interactions:
|
|
|
65
65
|
Accept:
|
|
66
66
|
- application/json
|
|
67
67
|
X-Auth-Token:
|
|
68
|
-
-
|
|
68
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
69
69
|
response:
|
|
70
70
|
status:
|
|
71
71
|
code: 200
|
|
72
72
|
message: ''
|
|
73
73
|
headers:
|
|
74
74
|
Date:
|
|
75
|
-
-
|
|
75
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
76
76
|
Server:
|
|
77
77
|
- Apache/2.4.7 (Ubuntu)
|
|
78
78
|
Vary:
|
|
79
79
|
- X-Auth-Token
|
|
80
80
|
X-Openstack-Request-Id:
|
|
81
|
-
- req-
|
|
81
|
+
- req-bb68286d-8df5-40cc-8184-3aa0e653ada6
|
|
82
82
|
Content-Length:
|
|
83
83
|
- '285'
|
|
84
84
|
Content-Type:
|
|
@@ -93,15 +93,15 @@ http_interactions:
|
|
|
93
93
|
- keep-alive
|
|
94
94
|
body:
|
|
95
95
|
encoding: UTF-8
|
|
96
|
-
string: '{"domains": [{"enabled": true, "id": "
|
|
97
|
-
"links": {"self": "http://
|
|
98
|
-
"name": "foobar"}], "links": {"self": "http://
|
|
96
|
+
string: '{"domains": [{"enabled": true, "id": "42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
97
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c"},
|
|
98
|
+
"name": "foobar"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=foobar",
|
|
99
99
|
"previous": null, "next": null}}'
|
|
100
100
|
http_version:
|
|
101
|
-
recorded_at:
|
|
101
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
102
102
|
- request:
|
|
103
103
|
method: patch
|
|
104
|
-
uri: http://
|
|
104
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c
|
|
105
105
|
body:
|
|
106
106
|
encoding: UTF-8
|
|
107
107
|
string: '{"domain":{"name":"baz","enabled":false}}'
|
|
@@ -115,20 +115,20 @@ http_interactions:
|
|
|
115
115
|
Accept:
|
|
116
116
|
- application/json
|
|
117
117
|
X-Auth-Token:
|
|
118
|
-
-
|
|
118
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
119
119
|
response:
|
|
120
120
|
status:
|
|
121
121
|
code: 200
|
|
122
122
|
message: ''
|
|
123
123
|
headers:
|
|
124
124
|
Date:
|
|
125
|
-
-
|
|
125
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
126
126
|
Server:
|
|
127
127
|
- Apache/2.4.7 (Ubuntu)
|
|
128
128
|
Vary:
|
|
129
129
|
- X-Auth-Token
|
|
130
130
|
X-Openstack-Request-Id:
|
|
131
|
-
- req-
|
|
131
|
+
- req-45168632-c29d-4127-be62-4fcd4f5f3809
|
|
132
132
|
Content-Length:
|
|
133
133
|
- '178'
|
|
134
134
|
Content-Type:
|
|
@@ -143,14 +143,14 @@ http_interactions:
|
|
|
143
143
|
- keep-alive
|
|
144
144
|
body:
|
|
145
145
|
encoding: UTF-8
|
|
146
|
-
string: '{"domain": {"enabled": false, "id": "
|
|
147
|
-
"links": {"self": "http://
|
|
146
|
+
string: '{"domain": {"enabled": false, "id": "42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
147
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c"},
|
|
148
148
|
"name": "baz"}}'
|
|
149
149
|
http_version:
|
|
150
|
-
recorded_at:
|
|
150
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
151
151
|
- request:
|
|
152
152
|
method: get
|
|
153
|
-
uri: http://
|
|
153
|
+
uri: http://devstack.openstack.stack:35357/v3/domains?name=baz
|
|
154
154
|
body:
|
|
155
155
|
encoding: US-ASCII
|
|
156
156
|
string: ''
|
|
@@ -164,20 +164,20 @@ http_interactions:
|
|
|
164
164
|
Accept:
|
|
165
165
|
- application/json
|
|
166
166
|
X-Auth-Token:
|
|
167
|
-
-
|
|
167
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
168
168
|
response:
|
|
169
169
|
status:
|
|
170
170
|
code: 200
|
|
171
171
|
message: ''
|
|
172
172
|
headers:
|
|
173
173
|
Date:
|
|
174
|
-
-
|
|
174
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
175
175
|
Server:
|
|
176
176
|
- Apache/2.4.7 (Ubuntu)
|
|
177
177
|
Vary:
|
|
178
178
|
- X-Auth-Token
|
|
179
179
|
X-Openstack-Request-Id:
|
|
180
|
-
- req-
|
|
180
|
+
- req-6b27e9f2-6e1d-44a3-b47a-d5a7cee25bf5
|
|
181
181
|
Content-Length:
|
|
182
182
|
- '280'
|
|
183
183
|
Content-Type:
|
|
@@ -192,15 +192,15 @@ http_interactions:
|
|
|
192
192
|
- keep-alive
|
|
193
193
|
body:
|
|
194
194
|
encoding: UTF-8
|
|
195
|
-
string: '{"domains": [{"enabled": false, "id": "
|
|
196
|
-
"links": {"self": "http://
|
|
197
|
-
"name": "baz"}], "links": {"self": "http://
|
|
195
|
+
string: '{"domains": [{"enabled": false, "id": "42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
196
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c"},
|
|
197
|
+
"name": "baz"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=baz",
|
|
198
198
|
"previous": null, "next": null}}'
|
|
199
199
|
http_version:
|
|
200
|
-
recorded_at:
|
|
200
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
201
201
|
- request:
|
|
202
202
|
method: get
|
|
203
|
-
uri: http://
|
|
203
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c
|
|
204
204
|
body:
|
|
205
205
|
encoding: US-ASCII
|
|
206
206
|
string: ''
|
|
@@ -214,22 +214,22 @@ http_interactions:
|
|
|
214
214
|
Accept:
|
|
215
215
|
- application/json
|
|
216
216
|
X-Auth-Token:
|
|
217
|
-
-
|
|
217
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
218
218
|
response:
|
|
219
219
|
status:
|
|
220
220
|
code: 200
|
|
221
221
|
message: ''
|
|
222
222
|
headers:
|
|
223
223
|
Date:
|
|
224
|
-
-
|
|
224
|
+
- Wed, 28 Oct 2015 16:05:44 GMT
|
|
225
225
|
Server:
|
|
226
226
|
- Apache/2.4.7 (Ubuntu)
|
|
227
227
|
Vary:
|
|
228
228
|
- X-Auth-Token
|
|
229
229
|
X-Openstack-Request-Id:
|
|
230
|
-
- req-
|
|
230
|
+
- req-ff3726c6-bf79-466a-9785-434b48d488e9
|
|
231
231
|
Content-Length:
|
|
232
|
-
- '
|
|
232
|
+
- '178'
|
|
233
233
|
Content-Type:
|
|
234
234
|
- application/json
|
|
235
235
|
X-Cache:
|
|
@@ -242,17 +242,14 @@ http_interactions:
|
|
|
242
242
|
- keep-alive
|
|
243
243
|
body:
|
|
244
244
|
encoding: UTF-8
|
|
245
|
-
string: '{"
|
|
246
|
-
"links": {"self": "http://
|
|
247
|
-
"name": "baz"}
|
|
248
|
-
"enabled": true, "description": "Owns users and tenants (i.e. projects) available
|
|
249
|
-
on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
|
|
250
|
-
"http://10.97.17.84:35357/v3/domains", "previous": null, "next": null}}'
|
|
245
|
+
string: '{"domain": {"enabled": false, "id": "42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
246
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c"},
|
|
247
|
+
"name": "baz"}}'
|
|
251
248
|
http_version:
|
|
252
|
-
recorded_at:
|
|
249
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
253
250
|
- request:
|
|
254
251
|
method: patch
|
|
255
|
-
uri: http://
|
|
252
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c
|
|
256
253
|
body:
|
|
257
254
|
encoding: UTF-8
|
|
258
255
|
string: '{"domain":{"enabled":false}}'
|
|
@@ -266,20 +263,20 @@ http_interactions:
|
|
|
266
263
|
Accept:
|
|
267
264
|
- application/json
|
|
268
265
|
X-Auth-Token:
|
|
269
|
-
-
|
|
266
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
270
267
|
response:
|
|
271
268
|
status:
|
|
272
269
|
code: 200
|
|
273
270
|
message: ''
|
|
274
271
|
headers:
|
|
275
272
|
Date:
|
|
276
|
-
-
|
|
273
|
+
- Wed, 28 Oct 2015 16:05:45 GMT
|
|
277
274
|
Server:
|
|
278
275
|
- Apache/2.4.7 (Ubuntu)
|
|
279
276
|
Vary:
|
|
280
277
|
- X-Auth-Token
|
|
281
278
|
X-Openstack-Request-Id:
|
|
282
|
-
- req-
|
|
279
|
+
- req-14f38e60-e201-41a5-929f-ea43491f0131
|
|
283
280
|
Content-Length:
|
|
284
281
|
- '178'
|
|
285
282
|
Content-Type:
|
|
@@ -294,14 +291,14 @@ http_interactions:
|
|
|
294
291
|
- keep-alive
|
|
295
292
|
body:
|
|
296
293
|
encoding: UTF-8
|
|
297
|
-
string: '{"domain": {"enabled": false, "id": "
|
|
298
|
-
"links": {"self": "http://
|
|
294
|
+
string: '{"domain": {"enabled": false, "id": "42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
295
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c"},
|
|
299
296
|
"name": "baz"}}'
|
|
300
297
|
http_version:
|
|
301
|
-
recorded_at:
|
|
298
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
302
299
|
- request:
|
|
303
300
|
method: delete
|
|
304
|
-
uri: http://
|
|
301
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c
|
|
305
302
|
body:
|
|
306
303
|
encoding: US-ASCII
|
|
307
304
|
string: ''
|
|
@@ -315,20 +312,20 @@ http_interactions:
|
|
|
315
312
|
Accept:
|
|
316
313
|
- application/json
|
|
317
314
|
X-Auth-Token:
|
|
318
|
-
-
|
|
315
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
319
316
|
response:
|
|
320
317
|
status:
|
|
321
318
|
code: 204
|
|
322
319
|
message: ''
|
|
323
320
|
headers:
|
|
324
321
|
Date:
|
|
325
|
-
-
|
|
322
|
+
- Wed, 28 Oct 2015 16:05:45 GMT
|
|
326
323
|
Server:
|
|
327
324
|
- Apache/2.4.7 (Ubuntu)
|
|
328
325
|
Vary:
|
|
329
326
|
- X-Auth-Token
|
|
330
327
|
X-Openstack-Request-Id:
|
|
331
|
-
- req-
|
|
328
|
+
- req-517bd422-345f-4cc3-af75-754bc12a332e
|
|
332
329
|
Content-Length:
|
|
333
330
|
- '0'
|
|
334
331
|
X-Cache:
|
|
@@ -343,10 +340,10 @@ http_interactions:
|
|
|
343
340
|
encoding: UTF-8
|
|
344
341
|
string: ''
|
|
345
342
|
http_version:
|
|
346
|
-
recorded_at:
|
|
343
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
347
344
|
- request:
|
|
348
345
|
method: patch
|
|
349
|
-
uri: http://
|
|
346
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c
|
|
350
347
|
body:
|
|
351
348
|
encoding: UTF-8
|
|
352
349
|
string: '{"domain":{"enabled":false}}'
|
|
@@ -360,20 +357,20 @@ http_interactions:
|
|
|
360
357
|
Accept:
|
|
361
358
|
- application/json
|
|
362
359
|
X-Auth-Token:
|
|
363
|
-
-
|
|
360
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
364
361
|
response:
|
|
365
362
|
status:
|
|
366
363
|
code: 404
|
|
367
364
|
message: ''
|
|
368
365
|
headers:
|
|
369
366
|
Date:
|
|
370
|
-
-
|
|
367
|
+
- Wed, 28 Oct 2015 16:05:45 GMT
|
|
371
368
|
Server:
|
|
372
369
|
- Apache/2.4.7 (Ubuntu)
|
|
373
370
|
Vary:
|
|
374
371
|
- X-Auth-Token
|
|
375
372
|
X-Openstack-Request-Id:
|
|
376
|
-
- req-
|
|
373
|
+
- req-e91808d4-3831-43da-b7fd-0ac1b75d0f69
|
|
377
374
|
Content-Length:
|
|
378
375
|
- '116'
|
|
379
376
|
Content-Type:
|
|
@@ -388,63 +385,13 @@ http_interactions:
|
|
|
388
385
|
- keep-alive
|
|
389
386
|
body:
|
|
390
387
|
encoding: UTF-8
|
|
391
|
-
string: '{"error": {"message": "Could not find domain:
|
|
388
|
+
string: '{"error": {"message": "Could not find domain: 42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
392
389
|
"code": 404, "title": "Not Found"}}'
|
|
393
390
|
http_version:
|
|
394
|
-
recorded_at:
|
|
395
|
-
- request:
|
|
396
|
-
method: get
|
|
397
|
-
uri: http://10.97.17.84:35357/v3/domains
|
|
398
|
-
body:
|
|
399
|
-
encoding: US-ASCII
|
|
400
|
-
string: ''
|
|
401
|
-
headers:
|
|
402
|
-
User-Agent:
|
|
403
|
-
- fog-core/1.32.1
|
|
404
|
-
Proxy-Connection:
|
|
405
|
-
- Keep-Alive
|
|
406
|
-
Content-Type:
|
|
407
|
-
- application/json
|
|
408
|
-
Accept:
|
|
409
|
-
- application/json
|
|
410
|
-
X-Auth-Token:
|
|
411
|
-
- f6af15c0332e4d3ab7716b51d8fedfff
|
|
412
|
-
response:
|
|
413
|
-
status:
|
|
414
|
-
code: 200
|
|
415
|
-
message: ''
|
|
416
|
-
headers:
|
|
417
|
-
Date:
|
|
418
|
-
- Fri, 02 Oct 2015 11:41:25 GMT
|
|
419
|
-
Server:
|
|
420
|
-
- Apache/2.4.7 (Ubuntu)
|
|
421
|
-
Vary:
|
|
422
|
-
- X-Auth-Token
|
|
423
|
-
X-Openstack-Request-Id:
|
|
424
|
-
- req-e02d9259-83dc-4bc2-95e8-586a9b194fa6
|
|
425
|
-
Content-Length:
|
|
426
|
-
- '311'
|
|
427
|
-
Content-Type:
|
|
428
|
-
- application/json
|
|
429
|
-
X-Cache:
|
|
430
|
-
- MISS from i056593-vagrant
|
|
431
|
-
X-Cache-Lookup:
|
|
432
|
-
- MISS from i056593-vagrant:3128
|
|
433
|
-
Via:
|
|
434
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
|
435
|
-
Connection:
|
|
436
|
-
- keep-alive
|
|
437
|
-
body:
|
|
438
|
-
encoding: UTF-8
|
|
439
|
-
string: '{"domains": [{"links": {"self": "http://10.97.17.84:35357/v3/domains/default"},
|
|
440
|
-
"enabled": true, "description": "Owns users and tenants (i.e. projects) available
|
|
441
|
-
on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
|
|
442
|
-
"http://10.97.17.84:35357/v3/domains", "previous": null, "next": null}}'
|
|
443
|
-
http_version:
|
|
444
|
-
recorded_at: Fri, 02 Oct 2015 11:41:13 GMT
|
|
391
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
445
392
|
- request:
|
|
446
393
|
method: get
|
|
447
|
-
uri: http://
|
|
394
|
+
uri: http://devstack.openstack.stack:35357/v3/domains/42fe3982ea5d44fdabc9a0fad9ca6f5c
|
|
448
395
|
body:
|
|
449
396
|
encoding: US-ASCII
|
|
450
397
|
string: ''
|
|
@@ -458,20 +405,20 @@ http_interactions:
|
|
|
458
405
|
Accept:
|
|
459
406
|
- application/json
|
|
460
407
|
X-Auth-Token:
|
|
461
|
-
-
|
|
408
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
462
409
|
response:
|
|
463
410
|
status:
|
|
464
411
|
code: 404
|
|
465
412
|
message: ''
|
|
466
413
|
headers:
|
|
467
414
|
Date:
|
|
468
|
-
-
|
|
415
|
+
- Wed, 28 Oct 2015 16:05:45 GMT
|
|
469
416
|
Server:
|
|
470
417
|
- Apache/2.4.7 (Ubuntu)
|
|
471
418
|
Vary:
|
|
472
419
|
- X-Auth-Token
|
|
473
420
|
X-Openstack-Request-Id:
|
|
474
|
-
- req-
|
|
421
|
+
- req-1300ffa2-48bf-499c-8e8b-d6edaa206632
|
|
475
422
|
Content-Length:
|
|
476
423
|
- '116'
|
|
477
424
|
Content-Type:
|
|
@@ -486,13 +433,13 @@ http_interactions:
|
|
|
486
433
|
- keep-alive
|
|
487
434
|
body:
|
|
488
435
|
encoding: UTF-8
|
|
489
|
-
string: '{"error": {"message": "Could not find domain:
|
|
436
|
+
string: '{"error": {"message": "Could not find domain: 42fe3982ea5d44fdabc9a0fad9ca6f5c",
|
|
490
437
|
"code": 404, "title": "Not Found"}}'
|
|
491
438
|
http_version:
|
|
492
|
-
recorded_at:
|
|
439
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
493
440
|
- request:
|
|
494
441
|
method: get
|
|
495
|
-
uri: http://
|
|
442
|
+
uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar
|
|
496
443
|
body:
|
|
497
444
|
encoding: US-ASCII
|
|
498
445
|
string: ''
|
|
@@ -506,20 +453,20 @@ http_interactions:
|
|
|
506
453
|
Accept:
|
|
507
454
|
- application/json
|
|
508
455
|
X-Auth-Token:
|
|
509
|
-
-
|
|
456
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
510
457
|
response:
|
|
511
458
|
status:
|
|
512
459
|
code: 200
|
|
513
460
|
message: ''
|
|
514
461
|
headers:
|
|
515
462
|
Date:
|
|
516
|
-
-
|
|
463
|
+
- Wed, 28 Oct 2015 16:05:45 GMT
|
|
517
464
|
Server:
|
|
518
465
|
- Apache/2.4.7 (Ubuntu)
|
|
519
466
|
Vary:
|
|
520
467
|
- X-Auth-Token
|
|
521
468
|
X-Openstack-Request-Id:
|
|
522
|
-
- req-
|
|
469
|
+
- req-dd607b51-1dd6-47df-824f-6b4ebc751244
|
|
523
470
|
Content-Length:
|
|
524
471
|
- '117'
|
|
525
472
|
Content-Type:
|
|
@@ -534,13 +481,13 @@ http_interactions:
|
|
|
534
481
|
- keep-alive
|
|
535
482
|
body:
|
|
536
483
|
encoding: UTF-8
|
|
537
|
-
string: '{"domains": [], "links": {"self": "http://
|
|
484
|
+
string: '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=foobar",
|
|
538
485
|
"previous": null, "next": null}}'
|
|
539
486
|
http_version:
|
|
540
|
-
recorded_at:
|
|
487
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
541
488
|
- request:
|
|
542
489
|
method: get
|
|
543
|
-
uri: http://
|
|
490
|
+
uri: http://devstack.openstack.stack:35357/v3/domains?name=baz
|
|
544
491
|
body:
|
|
545
492
|
encoding: US-ASCII
|
|
546
493
|
string: ''
|
|
@@ -554,20 +501,20 @@ http_interactions:
|
|
|
554
501
|
Accept:
|
|
555
502
|
- application/json
|
|
556
503
|
X-Auth-Token:
|
|
557
|
-
-
|
|
504
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
|
558
505
|
response:
|
|
559
506
|
status:
|
|
560
507
|
code: 200
|
|
561
508
|
message: ''
|
|
562
509
|
headers:
|
|
563
510
|
Date:
|
|
564
|
-
-
|
|
511
|
+
- Wed, 28 Oct 2015 16:05:45 GMT
|
|
565
512
|
Server:
|
|
566
513
|
- Apache/2.4.7 (Ubuntu)
|
|
567
514
|
Vary:
|
|
568
515
|
- X-Auth-Token
|
|
569
516
|
X-Openstack-Request-Id:
|
|
570
|
-
- req-
|
|
517
|
+
- req-8627cd07-ecd9-43ea-b010-d332a3ab28c9
|
|
571
518
|
Content-Length:
|
|
572
519
|
- '114'
|
|
573
520
|
Content-Type:
|
|
@@ -582,8 +529,8 @@ http_interactions:
|
|
|
582
529
|
- keep-alive
|
|
583
530
|
body:
|
|
584
531
|
encoding: UTF-8
|
|
585
|
-
string: '{"domains": [], "links": {"self": "http://
|
|
532
|
+
string: '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=baz",
|
|
586
533
|
"previous": null, "next": null}}'
|
|
587
534
|
http_version:
|
|
588
|
-
recorded_at:
|
|
535
|
+
recorded_at: Wed, 28 Oct 2015 16:05:25 GMT
|
|
589
536
|
recorded_with: VCR 2.9.3
|