fog 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- 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/policies
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -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: 200
|
23
23
|
message: ''
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Wed, 28 Oct 2015 16:06:01 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-36866672-c7b8-4805-a69f-3fd1a3204f19
|
33
33
|
Content-Length:
|
34
34
|
- '107'
|
35
35
|
Content-Type:
|
@@ -44,13 +44,13 @@ http_interactions:
|
|
44
44
|
- keep-alive
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
|
-
string: '{"links": {"self": "http://
|
47
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
48
48
|
null, "next": null}, "policies": []}'
|
49
49
|
http_version:
|
50
|
-
recorded_at:
|
50
|
+
recorded_at: Wed, 28 Oct 2015 16:05:41 GMT
|
51
51
|
- request:
|
52
52
|
method: get
|
53
|
-
uri: http://
|
53
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
54
54
|
body:
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ''
|
@@ -64,20 +64,20 @@ http_interactions:
|
|
64
64
|
Accept:
|
65
65
|
- application/json
|
66
66
|
X-Auth-Token:
|
67
|
-
-
|
67
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 200
|
71
71
|
message: ''
|
72
72
|
headers:
|
73
73
|
Date:
|
74
|
-
-
|
74
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
75
75
|
Server:
|
76
76
|
- Apache/2.4.7 (Ubuntu)
|
77
77
|
Vary:
|
78
78
|
- X-Auth-Token
|
79
79
|
X-Openstack-Request-Id:
|
80
|
-
- req-
|
80
|
+
- req-24df2e0a-d4e6-4a9f-ae31-f3f5abc88e4d
|
81
81
|
Content-Length:
|
82
82
|
- '107'
|
83
83
|
Content-Type:
|
@@ -92,13 +92,13 @@ http_interactions:
|
|
92
92
|
- keep-alive
|
93
93
|
body:
|
94
94
|
encoding: UTF-8
|
95
|
-
string: '{"links": {"self": "http://
|
95
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
96
96
|
null, "next": null}, "policies": []}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Wed, 28 Oct 2015 16:05:41 GMT
|
99
99
|
- request:
|
100
100
|
method: get
|
101
|
-
uri: http://
|
101
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
102
102
|
body:
|
103
103
|
encoding: US-ASCII
|
104
104
|
string: ''
|
@@ -112,20 +112,20 @@ http_interactions:
|
|
112
112
|
Accept:
|
113
113
|
- application/json
|
114
114
|
X-Auth-Token:
|
115
|
-
-
|
115
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
116
116
|
response:
|
117
117
|
status:
|
118
118
|
code: 200
|
119
119
|
message: ''
|
120
120
|
headers:
|
121
121
|
Date:
|
122
|
-
-
|
122
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
123
123
|
Server:
|
124
124
|
- Apache/2.4.7 (Ubuntu)
|
125
125
|
Vary:
|
126
126
|
- X-Auth-Token
|
127
127
|
X-Openstack-Request-Id:
|
128
|
-
- req-
|
128
|
+
- req-4cbff249-873f-4c1c-ba13-3e27590aa5b2
|
129
129
|
Content-Length:
|
130
130
|
- '107'
|
131
131
|
Content-Type:
|
@@ -140,13 +140,13 @@ http_interactions:
|
|
140
140
|
- keep-alive
|
141
141
|
body:
|
142
142
|
encoding: UTF-8
|
143
|
-
string: '{"links": {"self": "http://
|
143
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
144
144
|
null, "next": null}, "policies": []}'
|
145
145
|
http_version:
|
146
|
-
recorded_at:
|
146
|
+
recorded_at: Wed, 28 Oct 2015 16:05:41 GMT
|
147
147
|
- request:
|
148
148
|
method: get
|
149
|
-
uri: http://
|
149
|
+
uri: http://devstack.openstack.stack:35357/v3/policies/atlantis
|
150
150
|
body:
|
151
151
|
encoding: US-ASCII
|
152
152
|
string: ''
|
@@ -160,20 +160,20 @@ http_interactions:
|
|
160
160
|
Accept:
|
161
161
|
- application/json
|
162
162
|
X-Auth-Token:
|
163
|
-
-
|
163
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
164
164
|
response:
|
165
165
|
status:
|
166
166
|
code: 404
|
167
167
|
message: ''
|
168
168
|
headers:
|
169
169
|
Date:
|
170
|
-
-
|
170
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
171
171
|
Server:
|
172
172
|
- Apache/2.4.7 (Ubuntu)
|
173
173
|
Vary:
|
174
174
|
- X-Auth-Token
|
175
175
|
X-Openstack-Request-Id:
|
176
|
-
- req-
|
176
|
+
- req-01baabf4-0037-4cd3-9c5e-3f794b822586
|
177
177
|
Content-Length:
|
178
178
|
- '92'
|
179
179
|
Content-Type:
|
@@ -191,5 +191,5 @@ http_interactions:
|
|
191
191
|
string: '{"error": {"message": "Could not find policy: atlantis", "code": 404,
|
192
192
|
"title": "Not Found"}}'
|
193
193
|
http_version:
|
194
|
-
recorded_at:
|
194
|
+
recorded_at: Wed, 28 Oct 2015 16:05:41 GMT
|
195
195
|
recorded_with: VCR 2.9.3
|
@@ -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/policies
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -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: 200
|
23
23
|
message: ''
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Wed, 28 Oct 2015 16:06:01 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-3da9f77e-a711-4f98-b1d7-d18b9a93db04
|
33
33
|
Content-Length:
|
34
34
|
- '107'
|
35
35
|
Content-Type:
|
@@ -44,13 +44,13 @@ http_interactions:
|
|
44
44
|
- keep-alive
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
|
-
string: '{"links": {"self": "http://
|
47
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
48
48
|
null, "next": null}, "policies": []}'
|
49
49
|
http_version:
|
50
|
-
recorded_at:
|
50
|
+
recorded_at: Wed, 28 Oct 2015 16:05:41 GMT
|
51
51
|
- request:
|
52
52
|
method: post
|
53
|
-
uri: http://
|
53
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
54
54
|
body:
|
55
55
|
encoding: UTF-8
|
56
56
|
string: '{"policy":{"type":"application/json","blob":"{\"foobar_user\":[\"role:compute-user\"]}"}}'
|
@@ -64,20 +64,20 @@ http_interactions:
|
|
64
64
|
Accept:
|
65
65
|
- application/json
|
66
66
|
X-Auth-Token:
|
67
|
-
-
|
67
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 201
|
71
71
|
message: ''
|
72
72
|
headers:
|
73
73
|
Date:
|
74
|
-
-
|
74
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
75
75
|
Server:
|
76
76
|
- Apache/2.4.7 (Ubuntu)
|
77
77
|
Vary:
|
78
78
|
- X-Auth-Token
|
79
79
|
X-Openstack-Request-Id:
|
80
|
-
- req-
|
80
|
+
- req-c6c54c16-c907-4531-b3f6-169ded51aa52
|
81
81
|
Content-Length:
|
82
82
|
- '227'
|
83
83
|
Content-Type:
|
@@ -92,14 +92,14 @@ http_interactions:
|
|
92
92
|
- keep-alive
|
93
93
|
body:
|
94
94
|
encoding: UTF-8
|
95
|
-
string: '{"policy": {"type": "application/json", "id": "
|
96
|
-
"links": {"self": "http://
|
95
|
+
string: '{"policy": {"type": "application/json", "id": "69e80a1836e54de6a3740b8548073fb3",
|
96
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3"},
|
97
97
|
"blob": "{\"foobar_user\":[\"role:compute-user\"]}"}}'
|
98
98
|
http_version:
|
99
|
-
recorded_at:
|
99
|
+
recorded_at: Wed, 28 Oct 2015 16:05:41 GMT
|
100
100
|
- request:
|
101
101
|
method: get
|
102
|
-
uri: http://
|
102
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
103
103
|
body:
|
104
104
|
encoding: US-ASCII
|
105
105
|
string: ''
|
@@ -113,20 +113,20 @@ http_interactions:
|
|
113
113
|
Accept:
|
114
114
|
- application/json
|
115
115
|
X-Auth-Token:
|
116
|
-
-
|
116
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
117
117
|
response:
|
118
118
|
status:
|
119
119
|
code: 200
|
120
120
|
message: ''
|
121
121
|
headers:
|
122
122
|
Date:
|
123
|
-
-
|
123
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
124
124
|
Server:
|
125
125
|
- Apache/2.4.7 (Ubuntu)
|
126
126
|
Vary:
|
127
127
|
- X-Auth-Token
|
128
128
|
X-Openstack-Request-Id:
|
129
|
-
- req-
|
129
|
+
- req-c03edb88-bd91-4d12-a9ce-a5446f570db7
|
130
130
|
Content-Length:
|
131
131
|
- '322'
|
132
132
|
Content-Type:
|
@@ -141,15 +141,15 @@ http_interactions:
|
|
141
141
|
- keep-alive
|
142
142
|
body:
|
143
143
|
encoding: UTF-8
|
144
|
-
string: '{"links": {"self": "http://
|
145
|
-
null, "next": null}, "policies": [{"type": "application/json", "id": "
|
146
|
-
"links": {"self": "http://
|
144
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
145
|
+
null, "next": null}, "policies": [{"type": "application/json", "id": "69e80a1836e54de6a3740b8548073fb3",
|
146
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3"},
|
147
147
|
"blob": "{\"foobar_user\":[\"role:compute-user\"]}"}]}'
|
148
148
|
http_version:
|
149
|
-
recorded_at:
|
149
|
+
recorded_at: Wed, 28 Oct 2015 16:05:41 GMT
|
150
150
|
- request:
|
151
151
|
method: patch
|
152
|
-
uri: http://
|
152
|
+
uri: http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3
|
153
153
|
body:
|
154
154
|
encoding: UTF-8
|
155
155
|
string: '{"policy":{"blob":"{\"baz_user\":[\"role:compute-user\"]}"}}'
|
@@ -163,20 +163,20 @@ http_interactions:
|
|
163
163
|
Accept:
|
164
164
|
- application/json
|
165
165
|
X-Auth-Token:
|
166
|
-
-
|
166
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
167
167
|
response:
|
168
168
|
status:
|
169
169
|
code: 200
|
170
170
|
message: ''
|
171
171
|
headers:
|
172
172
|
Date:
|
173
|
-
-
|
173
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
174
174
|
Server:
|
175
175
|
- Apache/2.4.7 (Ubuntu)
|
176
176
|
Vary:
|
177
177
|
- X-Auth-Token
|
178
178
|
X-Openstack-Request-Id:
|
179
|
-
- req-
|
179
|
+
- req-f4056359-faa7-4909-966d-b0b83fbe0a8d
|
180
180
|
Content-Length:
|
181
181
|
- '224'
|
182
182
|
Content-Type:
|
@@ -191,14 +191,14 @@ http_interactions:
|
|
191
191
|
- keep-alive
|
192
192
|
body:
|
193
193
|
encoding: UTF-8
|
194
|
-
string: '{"policy": {"type": "application/json", "id": "
|
195
|
-
"links": {"self": "http://
|
194
|
+
string: '{"policy": {"type": "application/json", "id": "69e80a1836e54de6a3740b8548073fb3",
|
195
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3"},
|
196
196
|
"blob": "{\"baz_user\":[\"role:compute-user\"]}"}}'
|
197
197
|
http_version:
|
198
|
-
recorded_at:
|
198
|
+
recorded_at: Wed, 28 Oct 2015 16:05:42 GMT
|
199
199
|
- request:
|
200
200
|
method: get
|
201
|
-
uri: http://
|
201
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
202
202
|
body:
|
203
203
|
encoding: US-ASCII
|
204
204
|
string: ''
|
@@ -212,20 +212,20 @@ http_interactions:
|
|
212
212
|
Accept:
|
213
213
|
- application/json
|
214
214
|
X-Auth-Token:
|
215
|
-
-
|
215
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
216
216
|
response:
|
217
217
|
status:
|
218
218
|
code: 200
|
219
219
|
message: ''
|
220
220
|
headers:
|
221
221
|
Date:
|
222
|
-
-
|
222
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
223
223
|
Server:
|
224
224
|
- Apache/2.4.7 (Ubuntu)
|
225
225
|
Vary:
|
226
226
|
- X-Auth-Token
|
227
227
|
X-Openstack-Request-Id:
|
228
|
-
- req-
|
228
|
+
- req-e785ba64-6458-4c23-a49e-adefaa613733
|
229
229
|
Content-Length:
|
230
230
|
- '319'
|
231
231
|
Content-Type:
|
@@ -240,15 +240,15 @@ http_interactions:
|
|
240
240
|
- keep-alive
|
241
241
|
body:
|
242
242
|
encoding: UTF-8
|
243
|
-
string: '{"links": {"self": "http://
|
244
|
-
null, "next": null}, "policies": [{"type": "application/json", "id": "
|
245
|
-
"links": {"self": "http://
|
243
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
244
|
+
null, "next": null}, "policies": [{"type": "application/json", "id": "69e80a1836e54de6a3740b8548073fb3",
|
245
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3"},
|
246
246
|
"blob": "{\"baz_user\":[\"role:compute-user\"]}"}]}'
|
247
247
|
http_version:
|
248
|
-
recorded_at:
|
248
|
+
recorded_at: Wed, 28 Oct 2015 16:05:42 GMT
|
249
249
|
- request:
|
250
250
|
method: get
|
251
|
-
uri: http://
|
251
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
252
252
|
body:
|
253
253
|
encoding: US-ASCII
|
254
254
|
string: ''
|
@@ -262,20 +262,20 @@ http_interactions:
|
|
262
262
|
Accept:
|
263
263
|
- application/json
|
264
264
|
X-Auth-Token:
|
265
|
-
-
|
265
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
266
266
|
response:
|
267
267
|
status:
|
268
268
|
code: 200
|
269
269
|
message: ''
|
270
270
|
headers:
|
271
271
|
Date:
|
272
|
-
-
|
272
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
273
273
|
Server:
|
274
274
|
- Apache/2.4.7 (Ubuntu)
|
275
275
|
Vary:
|
276
276
|
- X-Auth-Token
|
277
277
|
X-Openstack-Request-Id:
|
278
|
-
- req-
|
278
|
+
- req-e612a7f6-4b03-4aec-9020-5216c0779c13
|
279
279
|
Content-Length:
|
280
280
|
- '319'
|
281
281
|
Content-Type:
|
@@ -290,15 +290,15 @@ http_interactions:
|
|
290
290
|
- keep-alive
|
291
291
|
body:
|
292
292
|
encoding: UTF-8
|
293
|
-
string: '{"links": {"self": "http://
|
294
|
-
null, "next": null}, "policies": [{"type": "application/json", "id": "
|
295
|
-
"links": {"self": "http://
|
293
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
294
|
+
null, "next": null}, "policies": [{"type": "application/json", "id": "69e80a1836e54de6a3740b8548073fb3",
|
295
|
+
"links": {"self": "http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3"},
|
296
296
|
"blob": "{\"baz_user\":[\"role:compute-user\"]}"}]}'
|
297
297
|
http_version:
|
298
|
-
recorded_at:
|
298
|
+
recorded_at: Wed, 28 Oct 2015 16:05:42 GMT
|
299
299
|
- request:
|
300
300
|
method: delete
|
301
|
-
uri: http://
|
301
|
+
uri: http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3
|
302
302
|
body:
|
303
303
|
encoding: US-ASCII
|
304
304
|
string: ''
|
@@ -312,20 +312,20 @@ http_interactions:
|
|
312
312
|
Accept:
|
313
313
|
- application/json
|
314
314
|
X-Auth-Token:
|
315
|
-
-
|
315
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
316
316
|
response:
|
317
317
|
status:
|
318
318
|
code: 204
|
319
319
|
message: ''
|
320
320
|
headers:
|
321
321
|
Date:
|
322
|
-
-
|
322
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
323
323
|
Server:
|
324
324
|
- Apache/2.4.7 (Ubuntu)
|
325
325
|
Vary:
|
326
326
|
- X-Auth-Token
|
327
327
|
X-Openstack-Request-Id:
|
328
|
-
- req-
|
328
|
+
- req-5cc49169-b041-47ae-b90a-83bc20b00752
|
329
329
|
Content-Length:
|
330
330
|
- '0'
|
331
331
|
X-Cache:
|
@@ -340,10 +340,10 @@ http_interactions:
|
|
340
340
|
encoding: UTF-8
|
341
341
|
string: ''
|
342
342
|
http_version:
|
343
|
-
recorded_at:
|
343
|
+
recorded_at: Wed, 28 Oct 2015 16:05:42 GMT
|
344
344
|
- request:
|
345
345
|
method: get
|
346
|
-
uri: http://
|
346
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
347
347
|
body:
|
348
348
|
encoding: US-ASCII
|
349
349
|
string: ''
|
@@ -357,20 +357,20 @@ http_interactions:
|
|
357
357
|
Accept:
|
358
358
|
- application/json
|
359
359
|
X-Auth-Token:
|
360
|
-
-
|
360
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
361
361
|
response:
|
362
362
|
status:
|
363
363
|
code: 200
|
364
364
|
message: ''
|
365
365
|
headers:
|
366
366
|
Date:
|
367
|
-
-
|
367
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
368
368
|
Server:
|
369
369
|
- Apache/2.4.7 (Ubuntu)
|
370
370
|
Vary:
|
371
371
|
- X-Auth-Token
|
372
372
|
X-Openstack-Request-Id:
|
373
|
-
- req-
|
373
|
+
- req-94d3cc64-b030-4d62-a37e-3dd397315fb3
|
374
374
|
Content-Length:
|
375
375
|
- '107'
|
376
376
|
Content-Type:
|
@@ -385,13 +385,13 @@ http_interactions:
|
|
385
385
|
- keep-alive
|
386
386
|
body:
|
387
387
|
encoding: UTF-8
|
388
|
-
string: '{"links": {"self": "http://
|
388
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
389
389
|
null, "next": null}, "policies": []}'
|
390
390
|
http_version:
|
391
|
-
recorded_at:
|
391
|
+
recorded_at: Wed, 28 Oct 2015 16:05:42 GMT
|
392
392
|
- request:
|
393
393
|
method: get
|
394
|
-
uri: http://
|
394
|
+
uri: http://devstack.openstack.stack:35357/v3/policies/69e80a1836e54de6a3740b8548073fb3
|
395
395
|
body:
|
396
396
|
encoding: US-ASCII
|
397
397
|
string: ''
|
@@ -405,20 +405,20 @@ http_interactions:
|
|
405
405
|
Accept:
|
406
406
|
- application/json
|
407
407
|
X-Auth-Token:
|
408
|
-
-
|
408
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
409
409
|
response:
|
410
410
|
status:
|
411
411
|
code: 404
|
412
412
|
message: ''
|
413
413
|
headers:
|
414
414
|
Date:
|
415
|
-
-
|
415
|
+
- Wed, 28 Oct 2015 16:06:01 GMT
|
416
416
|
Server:
|
417
417
|
- Apache/2.4.7 (Ubuntu)
|
418
418
|
Vary:
|
419
419
|
- X-Auth-Token
|
420
420
|
X-Openstack-Request-Id:
|
421
|
-
- req-
|
421
|
+
- req-86e994c6-2edb-4438-bd1a-d11e9042e6f6
|
422
422
|
Content-Length:
|
423
423
|
- '116'
|
424
424
|
Content-Type:
|
@@ -433,13 +433,13 @@ http_interactions:
|
|
433
433
|
- keep-alive
|
434
434
|
body:
|
435
435
|
encoding: UTF-8
|
436
|
-
string: '{"error": {"message": "Could not find policy:
|
436
|
+
string: '{"error": {"message": "Could not find policy: 69e80a1836e54de6a3740b8548073fb3",
|
437
437
|
"code": 404, "title": "Not Found"}}'
|
438
438
|
http_version:
|
439
|
-
recorded_at:
|
439
|
+
recorded_at: Wed, 28 Oct 2015 16:05:42 GMT
|
440
440
|
- request:
|
441
441
|
method: get
|
442
|
-
uri: http://
|
442
|
+
uri: http://devstack.openstack.stack:35357/v3/policies
|
443
443
|
body:
|
444
444
|
encoding: US-ASCII
|
445
445
|
string: ''
|
@@ -453,20 +453,20 @@ http_interactions:
|
|
453
453
|
Accept:
|
454
454
|
- application/json
|
455
455
|
X-Auth-Token:
|
456
|
-
-
|
456
|
+
- e6b2788de4cb4562b55c8a7bb05e8444
|
457
457
|
response:
|
458
458
|
status:
|
459
459
|
code: 200
|
460
460
|
message: ''
|
461
461
|
headers:
|
462
462
|
Date:
|
463
|
-
-
|
463
|
+
- Wed, 28 Oct 2015 16:06:02 GMT
|
464
464
|
Server:
|
465
465
|
- Apache/2.4.7 (Ubuntu)
|
466
466
|
Vary:
|
467
467
|
- X-Auth-Token
|
468
468
|
X-Openstack-Request-Id:
|
469
|
-
- req-
|
469
|
+
- req-59887eb4-cb73-484b-8252-7c37191c5f44
|
470
470
|
Content-Length:
|
471
471
|
- '107'
|
472
472
|
Content-Type:
|
@@ -481,8 +481,8 @@ http_interactions:
|
|
481
481
|
- keep-alive
|
482
482
|
body:
|
483
483
|
encoding: UTF-8
|
484
|
-
string: '{"links": {"self": "http://
|
484
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
|
485
485
|
null, "next": null}, "policies": []}'
|
486
486
|
http_version:
|
487
|
-
recorded_at:
|
487
|
+
recorded_at: Wed, 28 Oct 2015 16:05:42 GMT
|
488
488
|
recorded_with: VCR 2.9.3
|