--- http_interactions: - request: method: get uri: http://devstack.openstack.stack:35357/v3/users?name=foobar&page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '114' Date: - Fri, 13 Mar 2015 11:40:03 GMT body: encoding: US-ASCII string: ! '{"users": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:03 GMT - request: method: post uri: http://devstack.openstack.stack:35357/v3/users body: encoding: UTF-8 string: ! '{"user":{"name":"foobar","email":"foobar@example.com","password":"s3cret!"}}' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 201 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '244' Date: - Fri, 13 Mar 2015 11:40:03 GMT body: encoding: US-ASCII string: ! '{"user": {"name": "foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/69cbfbf7de024d2ea6fc5a4695793b9e"}, "domain_id": "default", "enabled": true, "email": "foobar@example.com", "id": "69cbfbf7de024d2ea6fc5a4695793b9e"}}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:04 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '169' Date: - Fri, 13 Mar 2015 11:40:04 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles", "previous": null, "next": null}, "roles": []}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:04 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/roles?page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '514' Date: - Fri, 13 Mar 2015 11:40:04 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/roles", "previous": null, "next": null}, "roles": [{"id": "7ebef8a2837246eda8f83f96ffb82b2f", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/7ebef8a2837246eda8f83f96ffb82b2f"}, "name": "admin"}, {"links": {"self": "http://devstack.openstack.stack:35357/v3/roles/9fe2ff9ee4384b1894a90878d3e92bab"}, "enabled": "True", "description": "Default role for project membership", "name": "_member_", "id": "9fe2ff9ee4384b1894a90878d3e92bab"}]}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:04 GMT - request: method: post uri: http://devstack.openstack.stack:35357/v3/roles body: encoding: UTF-8 string: ! '{"role":{"name":"foobar_role"}}' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 201 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '177' Date: - Fri, 13 Mar 2015 11:40:04 GMT body: encoding: US-ASCII string: ! '{"role": {"id": "c801a2f5f30f4aaca684ef0311e8529a", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/c801a2f5f30f4aaca684ef0311e8529a"}, "name": "foobar_role"}}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:04 GMT - request: method: put uri: http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles/c801a2f5f30f4aaca684ef0311e8529a body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 204 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Length: - '0' Date: - Fri, 13 Mar 2015 11:40:04 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Fri, 13 Mar 2015 11:40:04 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '336' Date: - Fri, 13 Mar 2015 11:40:04 GMT body: encoding: US-ASCII string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles", "previous": null, "next": null}, "roles": [{"id": "c801a2f5f30f4aaca684ef0311e8529a", "links": {"self": "http://devstack.openstack.stack:35357/v3/roles/c801a2f5f30f4aaca684ef0311e8529a"}, "name": "foobar_role"}]}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:04 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/role_assignments?page=1&per_page=30&user.id=69cbfbf7de024d2ea6fc5a4695793b9e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '443' Date: - Fri, 13 Mar 2015 11:40:05 GMT body: encoding: US-ASCII string: ! '{"role_assignments": [{"scope": {"domain": {"id": "default"}}, "role": {"id": "c801a2f5f30f4aaca684ef0311e8529a"}, "user": {"id": "69cbfbf7de024d2ea6fc5a4695793b9e"}, "links": {"assignment": "http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles/c801a2f5f30f4aaca684ef0311e8529a"}}], "links": {"self": "http://devstack.openstack.stack:35357/v3/role_assignments", "previous": null, "next": null}}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:05 GMT - request: method: get uri: http://devstack.openstack.stack:35357/v3/role_assignments?page=1&per_page=30 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 200 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '443' Date: - Fri, 13 Mar 2015 11:40:05 GMT body: encoding: US-ASCII string: ! '{"role_assignments": [{"scope": {"domain": {"id": "default"}}, "role": {"id": "c801a2f5f30f4aaca684ef0311e8529a"}, "user": {"id": "69cbfbf7de024d2ea6fc5a4695793b9e"}, "links": {"assignment": "http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles/c801a2f5f30f4aaca684ef0311e8529a"}}], "links": {"self": "http://devstack.openstack.stack:35357/v3/role_assignments", "previous": null, "next": null}}' http_version: recorded_at: Fri, 13 Mar 2015 11:40:05 GMT - request: method: head uri: http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles/c801a2f5f30f4aaca684ef0311e8529a body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 204 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Length: - '0' Date: - Fri, 13 Mar 2015 11:40:05 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Fri, 13 Mar 2015 11:40:05 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles/c801a2f5f30f4aaca684ef0311e8529a body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 204 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Length: - '0' Date: - Fri, 13 Mar 2015 11:40:05 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Fri, 13 Mar 2015 11:40:05 GMT - request: method: head uri: http://devstack.openstack.stack:35357/v3/domains/default/users/69cbfbf7de024d2ea6fc5a4695793b9e/roles/c801a2f5f30f4aaca684ef0311e8529a body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 404 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Type: - application/json Content-Length: - '115' Date: - Fri, 13 Mar 2015 11:40:05 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Fri, 13 Mar 2015 11:40:05 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/users/69cbfbf7de024d2ea6fc5a4695793b9e body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 204 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Length: - '0' Date: - Fri, 13 Mar 2015 11:40:05 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Fri, 13 Mar 2015 11:40:05 GMT - request: method: delete uri: http://devstack.openstack.stack:35357/v3/roles/c801a2f5f30f4aaca684ef0311e8529a body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.28.0 fog-core/1.29.0 Content-Type: - application/json Accept: - application/json X-Auth-Token: - d8291e2a2a2046259316f7c2d4253e92 response: status: code: 204 message: '' headers: Vary: - X-Auth-Token X-Distribution: - Ubuntu Content-Length: - '0' Date: - Fri, 13 Mar 2015 11:40:05 GMT body: encoding: US-ASCII string: '' http_version: recorded_at: Fri, 13 Mar 2015 11:40:05 GMT recorded_with: VCR 2.9.3