fog 1.31.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +53 -0
  3. data/Rakefile +5 -5
  4. data/fog.gemspec +6 -5
  5. data/lib/fog/cloudstack/models/compute/network.rb +1 -0
  6. data/lib/fog/openstack/compute.rb +41 -98
  7. data/lib/fog/openstack/core.rb +257 -118
  8. data/lib/fog/openstack/identity.rb +4 -0
  9. data/lib/fog/openstack/identity_v3.rb +10 -41
  10. data/lib/fog/openstack/models/baremetal/chassis_collection.rb +10 -4
  11. data/lib/fog/openstack/models/baremetal/drivers.rb +4 -2
  12. data/lib/fog/openstack/models/baremetal/nodes.rb +10 -4
  13. data/lib/fog/openstack/models/baremetal/ports.rb +10 -4
  14. data/lib/fog/openstack/models/compute/addresses.rb +4 -2
  15. data/lib/fog/openstack/models/compute/aggregate.rb +64 -0
  16. data/lib/fog/openstack/models/compute/aggregates.rb +28 -0
  17. data/lib/fog/openstack/models/compute/flavors.rb +5 -0
  18. data/lib/fog/openstack/models/compute/hosts.rb +4 -2
  19. data/lib/fog/openstack/models/compute/images.rb +2 -0
  20. data/lib/fog/openstack/models/compute/key_pairs.rb +4 -2
  21. data/lib/fog/openstack/models/compute/security_groups.rb +4 -2
  22. data/lib/fog/openstack/models/compute/servers.rb +2 -0
  23. data/lib/fog/openstack/models/compute/services.rb +7 -4
  24. data/lib/fog/openstack/models/compute/snapshots.rb +15 -2
  25. data/lib/fog/openstack/models/compute/volumes.rb +15 -2
  26. data/lib/fog/openstack/models/identity_v2/ec2_credentials.rb +6 -3
  27. data/lib/fog/openstack/models/identity_v2/roles.rb +5 -3
  28. data/lib/fog/openstack/models/identity_v2/tenants.rb +5 -3
  29. data/lib/fog/openstack/models/identity_v2/users.rb +7 -3
  30. data/lib/fog/openstack/models/identity_v3/domains.rb +7 -6
  31. data/lib/fog/openstack/models/identity_v3/endpoints.rb +5 -4
  32. data/lib/fog/openstack/models/identity_v3/groups.rb +5 -3
  33. data/lib/fog/openstack/models/identity_v3/os_credentials.rb +5 -3
  34. data/lib/fog/openstack/models/identity_v3/policies.rb +5 -3
  35. data/lib/fog/openstack/models/identity_v3/project.rb +1 -0
  36. data/lib/fog/openstack/models/identity_v3/projects.rb +7 -5
  37. data/lib/fog/openstack/models/identity_v3/role_assignments.rb +10 -5
  38. data/lib/fog/openstack/models/identity_v3/roles.rb +11 -5
  39. data/lib/fog/openstack/models/identity_v3/services.rb +5 -3
  40. data/lib/fog/openstack/models/identity_v3/users.rb +4 -2
  41. data/lib/fog/openstack/models/image/images.rb +10 -4
  42. data/lib/fog/openstack/models/network/floating_ips.rb +2 -0
  43. data/lib/fog/openstack/models/network/lb_health_monitors.rb +2 -0
  44. data/lib/fog/openstack/models/network/lb_members.rb +2 -0
  45. data/lib/fog/openstack/models/network/lb_pools.rb +2 -0
  46. data/lib/fog/openstack/models/network/lb_vips.rb +2 -0
  47. data/lib/fog/openstack/models/network/networks.rb +2 -0
  48. data/lib/fog/openstack/models/network/port.rb +1 -0
  49. data/lib/fog/openstack/models/network/ports.rb +2 -0
  50. data/lib/fog/openstack/models/network/routers.rb +2 -0
  51. data/lib/fog/openstack/models/network/security_group_rules.rb +2 -0
  52. data/lib/fog/openstack/models/network/security_groups.rb +2 -0
  53. data/lib/fog/openstack/models/network/subnets.rb +2 -0
  54. data/lib/fog/openstack/models/orchestration/events.rb +10 -6
  55. data/lib/fog/openstack/models/orchestration/resources.rb +4 -2
  56. data/lib/fog/openstack/models/orchestration/stack.rb +1 -1
  57. data/lib/fog/openstack/models/orchestration/stacks.rb +9 -1
  58. data/lib/fog/openstack/models/planning/plans.rb +4 -2
  59. data/lib/fog/openstack/models/planning/roles.rb +5 -2
  60. data/lib/fog/openstack/models/storage/directories.rb +4 -2
  61. data/lib/fog/openstack/models/storage/files.rb +2 -0
  62. data/lib/fog/openstack/models/volume/volume.rb +1 -0
  63. data/lib/fog/openstack/models/volume/volume_types.rb +2 -0
  64. data/lib/fog/openstack/models/volume/volumes.rb +13 -2
  65. data/lib/fog/openstack/network.rb +18 -97
  66. data/lib/fog/openstack/orchestration.rb +2 -0
  67. data/lib/fog/openstack/requests/baremetal/list_chassis.rb +2 -8
  68. data/lib/fog/openstack/requests/baremetal/list_chassis_detailed.rb +3 -9
  69. data/lib/fog/openstack/requests/baremetal/list_drivers.rb +4 -3
  70. data/lib/fog/openstack/requests/baremetal/list_nodes.rb +3 -9
  71. data/lib/fog/openstack/requests/baremetal/list_nodes_detailed.rb +3 -9
  72. data/lib/fog/openstack/requests/baremetal/list_ports.rb +3 -9
  73. data/lib/fog/openstack/requests/baremetal/list_ports_detailed.rb +3 -9
  74. data/lib/fog/openstack/requests/compute/add_aggregate_host.rb +30 -0
  75. data/lib/fog/openstack/requests/compute/create_aggregate.rb +42 -0
  76. data/lib/fog/openstack/requests/compute/delete_aggregate.rb +28 -0
  77. data/lib/fog/openstack/requests/compute/get_aggregate.rb +26 -0
  78. data/lib/fog/openstack/requests/compute/list_aggregates.rb +36 -0
  79. data/lib/fog/openstack/requests/compute/list_all_addresses.rb +4 -3
  80. data/lib/fog/openstack/requests/compute/list_flavors.rb +6 -5
  81. data/lib/fog/openstack/requests/compute/list_hosts.rb +4 -3
  82. data/lib/fog/openstack/requests/compute/list_key_pairs.rb +4 -3
  83. data/lib/fog/openstack/requests/compute/list_security_groups.rb +15 -2
  84. data/lib/fog/openstack/requests/compute/list_snapshots.rb +18 -4
  85. data/lib/fog/openstack/requests/compute/list_snapshots_detail.rb +27 -0
  86. data/lib/fog/openstack/requests/compute/list_volumes.rb +18 -4
  87. data/lib/fog/openstack/requests/compute/list_volumes_detail.rb +25 -0
  88. data/lib/fog/openstack/requests/compute/remove_aggregate_host.rb +30 -0
  89. data/lib/fog/openstack/requests/compute/update_aggregate.rb +37 -0
  90. data/lib/fog/openstack/requests/compute/update_aggregate_metadata.rb +30 -0
  91. data/lib/fog/openstack/requests/identity_v2/list_ec2_credentials.rb +23 -7
  92. data/lib/fog/openstack/requests/identity_v2/list_roles.rb +5 -4
  93. data/lib/fog/openstack/requests/identity_v2/list_tenants.rb +14 -8
  94. data/lib/fog/openstack/requests/identity_v2/list_users.rb +16 -4
  95. data/lib/fog/openstack/requests/identity_v3/auth_domains.rb +2 -7
  96. data/lib/fog/openstack/requests/identity_v3/auth_projects.rb +6 -11
  97. data/lib/fog/openstack/requests/identity_v3/list_domains.rb +7 -14
  98. data/lib/fog/openstack/requests/identity_v3/list_endpoints.rb +7 -14
  99. data/lib/fog/openstack/requests/identity_v3/list_group_users.rb +5 -13
  100. data/lib/fog/openstack/requests/identity_v3/list_groups.rb +14 -24
  101. data/lib/fog/openstack/requests/identity_v3/list_os_credentials.rb +7 -12
  102. data/lib/fog/openstack/requests/identity_v3/list_policies.rb +7 -11
  103. data/lib/fog/openstack/requests/identity_v3/list_projects.rb +14 -25
  104. data/lib/fog/openstack/requests/identity_v3/list_role_assignments.rb +21 -17
  105. data/lib/fog/openstack/requests/identity_v3/list_roles.rb +7 -25
  106. data/lib/fog/openstack/requests/identity_v3/list_services.rb +7 -13
  107. data/lib/fog/openstack/requests/identity_v3/list_users.rb +7 -15
  108. data/lib/fog/openstack/requests/image/list_public_images.rb +4 -3
  109. data/lib/fog/openstack/requests/image/list_public_images_detailed.rb +9 -6
  110. data/lib/fog/openstack/requests/network/create_port.rb +12 -11
  111. data/lib/fog/openstack/requests/network/create_subnet.rb +7 -7
  112. data/lib/fog/openstack/requests/network/get_port.rb +1 -0
  113. data/lib/fog/openstack/requests/network/update_port.rb +7 -6
  114. data/lib/fog/openstack/requests/orchestration/list_events.rb +46 -0
  115. data/lib/fog/openstack/requests/orchestration/list_resource_events.rb +7 -2
  116. data/lib/fog/openstack/requests/orchestration/list_resource_types.rb +3 -2
  117. data/lib/fog/openstack/requests/orchestration/list_resources.rb +27 -4
  118. data/lib/fog/openstack/requests/orchestration/list_stack_data.rb +2 -2
  119. data/lib/fog/openstack/requests/orchestration/list_stack_data_detailed.rb +49 -0
  120. data/lib/fog/openstack/requests/orchestration/list_stack_events.rb +6 -2
  121. data/lib/fog/openstack/requests/planning/list_plans.rb +4 -3
  122. data/lib/fog/openstack/requests/planning/list_roles.rb +3 -9
  123. data/lib/fog/openstack/requests/volume/create_volume.rb +2 -1
  124. data/lib/fog/openstack/requests/volume/list_snapshots.rb +16 -3
  125. data/lib/fog/openstack/requests/volume/list_snapshots_detailed.rb +27 -0
  126. data/lib/fog/openstack/requests/volume/list_volume_types.rb +6 -6
  127. data/lib/fog/openstack/requests/volume/list_volumes.rb +20 -7
  128. data/lib/fog/openstack/requests/volume/list_volumes_detailed.rb +49 -0
  129. data/lib/fog/openstack/volume.rb +1 -0
  130. data/lib/fog/ovirt/models/compute/server.rb +1 -0
  131. data/lib/fog/ovirt/models/compute/template.rb +1 -0
  132. data/lib/fog/rackspace/docs/queues.md +2 -2
  133. data/lib/fog/rackspace/models/block_storage/snapshot.rb +5 -1
  134. data/lib/fog/version.rb +1 -1
  135. data/lib/fog/vsphere/requests/compute/vm_clone.rb +1 -1
  136. data/lib/tasks/changelog_task.rb +1 -0
  137. data/spec/fog/openstack/identity_v3/authv3_a.yml +55 -35
  138. data/spec/fog/openstack/identity_v3/authv3_b.yml +55 -35
  139. data/spec/fog/openstack/identity_v3/authv3_c.yml +159 -33
  140. data/spec/fog/openstack/identity_v3/authv3_project.yml +79 -35
  141. data/spec/fog/openstack/identity_v3/authv3_token.yml +377 -76
  142. data/spec/fog/openstack/identity_v3/authv3_unscoped.yml +298 -155
  143. data/spec/fog/openstack/identity_v3/authv3_unscoped_reauth.yml +371 -0
  144. data/spec/fog/openstack/identity_v3/idv3.yml +456 -41
  145. data/spec/fog/openstack/identity_v3/idv3_credential.yml +36 -30
  146. data/spec/fog/openstack/identity_v3/idv3_credential_crud.yml +223 -190
  147. data/spec/fog/openstack/identity_v3/idv3_domain.yml +64 -58
  148. data/spec/fog/openstack/identity_v3/idv3_domain_crud.yml +176 -393
  149. data/spec/fog/openstack/identity_v3/idv3_domain_group_roles_mutation.yml +277 -379
  150. data/spec/fog/openstack/identity_v3/idv3_domain_roles_mutation.yml +177 -204
  151. data/spec/fog/openstack/identity_v3/idv3_endpoint.yml +492 -174
  152. data/spec/fog/openstack/identity_v3/idv3_endpoints_crud.yml +669 -435
  153. data/spec/fog/openstack/identity_v3/idv3_group_crud_mutation.yml +378 -298
  154. data/spec/fog/openstack/identity_v3/idv3_other_region.yml +187 -0
  155. data/spec/fog/openstack/identity_v3/idv3_policy.yml +54 -46
  156. data/spec/fog/openstack/identity_v3/idv3_policy_crud.yml +137 -117
  157. data/spec/fog/openstack/identity_v3/idv3_project.yml +116 -86
  158. data/spec/fog/openstack/identity_v3/idv3_project_crud.yml +179 -387
  159. data/spec/fog/openstack/identity_v3/idv3_project_group_user_roles_mutation.yml +415 -556
  160. data/spec/fog/openstack/identity_v3/idv3_role.yml +108 -74
  161. data/spec/fog/openstack/identity_v3/idv3_role_crud.yml +160 -368
  162. data/spec/fog/openstack/identity_v3/idv3_service.yml +156 -94
  163. data/spec/fog/openstack/identity_v3/idv3_services_crud.yml +250 -306
  164. data/spec/fog/openstack/identity_v3/idv3_token.yml +195 -101
  165. data/spec/fog/openstack/identity_v3/idv3_user_crud.yml +276 -193
  166. data/spec/fog/openstack/identity_v3/idv3_users.yml +149 -219
  167. data/spec/fog/openstack/identity_v3_spec.rb +502 -474
  168. data/spec/fog/openstack/volume/volume_common_setup.yml +76 -0
  169. data/spec/fog/openstack/volume/volume_crud.yml +561 -0
  170. data/spec/fog/openstack/volume/volume_type_read.yml +120 -0
  171. data/spec/fog/openstack/volume_spec.rb +165 -0
  172. data/tests/openstack/requests/compute/aggregate_tests.rb +59 -0
  173. data/tests/openstack/requests/network/port_tests.rb +12 -11
  174. data/tests/openstack/requests/orchestration/stack_tests.rb +25 -0
  175. metadata +56 -14
  176. data/spec/fog/openstack/identity_v3/idv2_unscoped_token_v3.yml +0 -467
@@ -2,392 +2,322 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://devstack.openstack.stack:35357/v3/users?page=1&per_page=30
5
+ uri: http://devstack.openstack.stack:35357/v3/users
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - fog/1.28.0 fog-core/1.29.0
11
+ - fog/1.31.0 fog-core/1.31.1
12
12
  Content-Type:
13
13
  - application/json
14
14
  Accept:
15
15
  - application/json
16
16
  X-Auth-Token:
17
- - d8291e2a2a2046259316f7c2d4253e92
17
+ - 0c4458de5ba5446885c65b1dedfb2404
18
18
  response:
19
19
  status:
20
- code: 401
20
+ code: 200
21
21
  message: ''
22
22
  headers:
23
- Www-Authenticate:
24
- - Keystone uri="http://devstack.openstack.stack:35357"
25
- Vary:
26
- - X-Auth-Token
27
- X-Distribution:
28
- - Ubuntu
29
- Content-Type:
30
- - application/json
31
- Content-Length:
32
- - '114'
33
23
  Date:
34
- - Mon, 23 Mar 2015 09:25:21 GMT
35
- body:
36
- encoding: US-ASCII
37
- string: ! '{"error": {"message": "The request you have made requires authentication.",
38
- "code": 401, "title": "Unauthorized"}}'
39
- http_version:
40
- recorded_at: Mon, 23 Mar 2015 09:25:21 GMT
41
- - request:
42
- method: post
43
- uri: http://devstack.openstack.stack:5000/v3/auth/tokens
44
- body:
45
- encoding: UTF-8
46
- string: ! '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"openstack","id":"8d5732a0ebd9485396351d74e24c9647"}}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
47
- headers:
48
- User-Agent:
49
- - fog/1.28.0 fog-core/1.29.0
50
- Content-Type:
51
- - application/json
52
- response:
53
- status:
54
- code: 201
55
- message: ''
56
- headers:
57
- X-Subject-Token:
58
- - d448367868f7446696b876c5fb251fa4
24
+ - Tue, 23 Jun 2015 15:09:17 GMT
25
+ Server:
26
+ - Apache/2.4.7 (Ubuntu)
59
27
  Vary:
60
28
  - X-Auth-Token
61
- X-Distribution:
62
- - Ubuntu
63
- Content-Type:
64
- - application/json
29
+ X-Openstack-Request-Id:
30
+ - req-57c3e3ec-4865-4e4b-91f5-707c94f23ea4
65
31
  Content-Length:
66
- - '2254'
67
- Date:
68
- - Mon, 23 Mar 2015 09:25:21 GMT
69
- body:
70
- encoding: US-ASCII
71
- string: ! '{"token": {"methods": ["password"], "roles": [{"id": "7ebef8a2837246eda8f83f96ffb82b2f",
72
- "name": "admin"}], "expires_at": "2015-03-23T10:25:21.353957Z", "project":
73
- {"domain": {"id": "default", "name": "Default"}, "id": "c7767afa57b74f33863a420daba5f57f",
74
- "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://devstack.openstack.stack:35357/v2.0",
75
- "region": "europe", "interface": "public", "id": "0b4b1e907e184880a1c3f32f00cd676f"},
76
- {"url": "http://devstack.openstack.stack:35357/v2.0", "region": "europe",
77
- "interface": "admin", "id": "53d872f1c5d04f35ac69509e41600c0b"}, {"url": "http://devstack.openstack.stack:35357/v2.0",
78
- "region": "europe", "interface": "internal", "id": "67aa3eedc510444faadb9ef3c7e8b2e4"}],
79
- "type": "identity", "id": "8e53f1d389df4059aeab1acfece2fc66", "name": "keystone"},
80
- {"endpoints": [{"url": "http://devstack.openstack.stack:35357/v3", "region":
81
- "europe", "interface": "internal", "id": "7002cfd6dbe74512b0b817d3b7380abb"},
82
- {"url": "http://devstack.openstack.stack:35357/v3", "region": "europe", "interface":
83
- "public", "id": "a7c634aa7f034284b62ddf974ddc04eb"}, {"url": "http://devstack.openstack.stack:35357/v3",
84
- "region": "europe", "interface": "admin", "id": "cba56e3e7a9c4ddfb39e1e4053bd04ab"}],
85
- "type": "identity_v3", "id": "a47e0f0014fa409993cef0bd984a5ac6", "name": "identity_v3"},
86
- {"endpoints": [{"url": "http://localhost/testurl/c7767afa57b74f33863a420daba5f57f",
87
- "region": "europe", "interface": "public", "id": "3387dfbf7bc440728e7aa1488f6ca96e"}],
88
- "type": "test_stefan", "id": "d36a1f72832b428688b7dae7d0ab8a39", "name": "test_stefan"},
89
- {"endpoints": [{"url": "http://devstack.openstack.stack:9292", "region": "europe",
90
- "interface": "public", "id": "0dabc688a031422381d3c92b7dfdfe4c"}, {"url":
91
- "http://devstack.openstack.stack:9292", "region": "europe", "interface": "admin",
92
- "id": "768f3eb8b29d49a19c4d50a85541d42e"}, {"url": "http://devstack.openstack.stack:9292",
93
- "region": "europe", "interface": "internal", "id": "a0c5556c80e448aca907a3ee785bd602"}],
94
- "type": "image", "id": "ee073ec39e804cca96d2440d8f109932", "name": "glance"}],
95
- "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
96
- "8d5732a0ebd9485396351d74e24c9647", "name": "admin"}, "issued_at": "2015-03-23T09:25:21.354000Z"}}'
97
- http_version:
98
- recorded_at: Mon, 23 Mar 2015 09:25:21 GMT
99
- - request:
100
- method: get
101
- uri: http://devstack.openstack.stack:35357/v3/users?page=1&per_page=30
102
- body:
103
- encoding: US-ASCII
104
- string: ''
105
- headers:
106
- User-Agent:
107
- - fog/1.28.0 fog-core/1.29.0
32
+ - '1389'
108
33
  Content-Type:
109
34
  - application/json
110
- Accept:
111
- - application/json
112
- X-Auth-Token:
113
- - d448367868f7446696b876c5fb251fa4
114
- response:
115
- status:
116
- code: 200
117
- message: ''
118
- headers:
119
- Vary:
120
- - X-Auth-Token
121
- X-Distribution:
122
- - Ubuntu
123
- Content-Type:
124
- - application/json
125
- Content-Length:
126
- - '1094'
127
- Date:
128
- - Mon, 23 Mar 2015 09:25:21 GMT
129
35
  body:
130
36
  encoding: US-ASCII
131
- string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3c5a9e9790614a60b5c19712d8e97c6d"},
132
- "domain_id": "default", "enabled": true, "email": null, "id": "3c5a9e9790614a60b5c19712d8e97c6d"},
133
- {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/660d8086a1db41078c0d64fa568db135"},
37
+ string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/07cfb841cddd46819e3dcd5df238ae04"},
38
+ "domain_id": "default", "enabled": true, "email": null, "id": "07cfb841cddd46819e3dcd5df238ae04"},
39
+ {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/11ba3db90590446fb6d7e0efe6c1f46a"},
40
+ "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
41
+ "11ba3db90590446fb6d7e0efe6c1f46a"}, {"name": "cinder", "links": {"self":
42
+ "http://devstack.openstack.stack:35357/v3/users/1523e8606bd1400cae36a40e0f3f817e"},
43
+ "domain_id": "default", "enabled": true, "email": null, "id": "1523e8606bd1400cae36a40e0f3f817e"},
44
+ {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/7afec08993c24bb09df141e513738030"},
45
+ "domain_id": "default", "enabled": true, "email": null, "id": "7afec08993c24bb09df141e513738030"},
46
+ {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/938bd5585fd145efaadb4a7e588078c1"},
134
47
  "domain_id": "default", "enabled": true, "email": "foobar@example.com", "id":
135
- "660d8086a1db41078c0d64fa568db135"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/8d5732a0ebd9485396351d74e24c9647"},
136
- "domain_id": "default", "enabled": true, "email": "andrew@batty.com", "id":
137
- "8d5732a0ebd9485396351d74e24c9647"}, {"domain_id": "default", "name": "demo",
138
- "links": {"self": "http://devstack.openstack.stack:35357/v3/users/ac33746004f1470b904e364d408cf42e"},
139
- "id": "ac33746004f1470b904e364d408cf42e", "enabled": true, "email": "andrew@battye.com",
140
- "default_project_id": "c9f75b1200f64bf09ed079206a1a1b75"}], "links": {"self":
141
- "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next":
142
- null}}'
48
+ "938bd5585fd145efaadb4a7e588078c1"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/aa9f25defa6d4cafb48466df83106065"},
49
+ "domain_id": "default", "enabled": true, "email": null, "id": "aa9f25defa6d4cafb48466df83106065"}],
50
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null,
51
+ "next": null}}'
143
52
  http_version:
144
- recorded_at: Mon, 23 Mar 2015 09:25:21 GMT
53
+ recorded_at: Tue, 23 Jun 2015 15:09:18 GMT
145
54
  - request:
146
55
  method: get
147
- uri: http://devstack.openstack.stack:35357/v3/users?page=1&per_page=30
56
+ uri: http://devstack.openstack.stack:35357/v3/users/u-random-blah
148
57
  body:
149
58
  encoding: US-ASCII
150
59
  string: ''
151
60
  headers:
152
61
  User-Agent:
153
- - fog/1.28.0 fog-core/1.29.0
62
+ - fog/1.31.0 fog-core/1.31.1
154
63
  Content-Type:
155
64
  - application/json
156
65
  Accept:
157
66
  - application/json
158
67
  X-Auth-Token:
159
- - d448367868f7446696b876c5fb251fa4
68
+ - 0c4458de5ba5446885c65b1dedfb2404
160
69
  response:
161
70
  status:
162
- code: 200
71
+ code: 404
163
72
  message: ''
164
73
  headers:
74
+ Date:
75
+ - Tue, 23 Jun 2015 15:09:18 GMT
76
+ Server:
77
+ - Apache/2.4.7 (Ubuntu)
165
78
  Vary:
166
79
  - X-Auth-Token
167
- X-Distribution:
168
- - Ubuntu
80
+ X-Openstack-Request-Id:
81
+ - req-65913a1e-fbfa-41d4-8270-c54676d18a82
82
+ Content-Length:
83
+ - '95'
169
84
  Content-Type:
170
85
  - application/json
171
- Content-Length:
172
- - '1094'
173
- Date:
174
- - Mon, 23 Mar 2015 09:25:21 GMT
175
86
  body:
176
87
  encoding: US-ASCII
177
- string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3c5a9e9790614a60b5c19712d8e97c6d"},
178
- "domain_id": "default", "enabled": true, "email": null, "id": "3c5a9e9790614a60b5c19712d8e97c6d"},
179
- {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/660d8086a1db41078c0d64fa568db135"},
180
- "domain_id": "default", "enabled": true, "email": "foobar@example.com", "id":
181
- "660d8086a1db41078c0d64fa568db135"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/8d5732a0ebd9485396351d74e24c9647"},
182
- "domain_id": "default", "enabled": true, "email": "andrew@batty.com", "id":
183
- "8d5732a0ebd9485396351d74e24c9647"}, {"domain_id": "default", "name": "demo",
184
- "links": {"self": "http://devstack.openstack.stack:35357/v3/users/ac33746004f1470b904e364d408cf42e"},
185
- "id": "ac33746004f1470b904e364d408cf42e", "enabled": true, "email": "andrew@battye.com",
186
- "default_project_id": "c9f75b1200f64bf09ed079206a1a1b75"}], "links": {"self":
187
- "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next":
188
- null}}'
88
+ string: ! '{"error": {"message": "Could not find user: u-random-blah", "code":
89
+ 404, "title": "Not Found"}}'
189
90
  http_version:
190
- recorded_at: Mon, 23 Mar 2015 09:25:21 GMT
91
+ recorded_at: Tue, 23 Jun 2015 15:09:18 GMT
191
92
  - request:
192
93
  method: get
193
- uri: http://devstack.openstack.stack:35357/v3/users/u-random-blah
94
+ uri: http://devstack.openstack.stack:35357/v3/users?name=admin
194
95
  body:
195
96
  encoding: US-ASCII
196
97
  string: ''
197
98
  headers:
198
99
  User-Agent:
199
- - fog/1.28.0 fog-core/1.29.0
100
+ - fog/1.31.0 fog-core/1.31.1
200
101
  Content-Type:
201
102
  - application/json
202
103
  Accept:
203
104
  - application/json
204
105
  X-Auth-Token:
205
- - d448367868f7446696b876c5fb251fa4
106
+ - 0c4458de5ba5446885c65b1dedfb2404
206
107
  response:
207
108
  status:
208
- code: 404
109
+ code: 200
209
110
  message: ''
210
111
  headers:
112
+ Date:
113
+ - Tue, 23 Jun 2015 15:09:18 GMT
114
+ Server:
115
+ - Apache/2.4.7 (Ubuntu)
211
116
  Vary:
212
117
  - X-Auth-Token
213
- X-Distribution:
214
- - Ubuntu
118
+ X-Openstack-Request-Id:
119
+ - req-10e51424-57f8-4986-b6e9-e9004abf7e27
120
+ Content-Length:
121
+ - '322'
215
122
  Content-Type:
216
123
  - application/json
217
- Content-Length:
218
- - '96'
219
- Date:
220
- - Mon, 23 Mar 2015 09:25:21 GMT
221
124
  body:
222
125
  encoding: US-ASCII
223
- string: ! '{"error": {"message": "Could not find user, u-random-blah.", "code":
224
- 404, "title": "Not Found"}}'
126
+ string: ! '{"users": [{"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/aa9f25defa6d4cafb48466df83106065"},
127
+ "domain_id": "default", "enabled": true, "email": null, "id": "aa9f25defa6d4cafb48466df83106065"}],
128
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/users?name=admin", "previous":
129
+ null, "next": null}}'
225
130
  http_version:
226
- recorded_at: Mon, 23 Mar 2015 09:25:21 GMT
131
+ recorded_at: Tue, 23 Jun 2015 15:09:18 GMT
227
132
  - request:
228
133
  method: get
229
- uri: http://devstack.openstack.stack:35357/v3/users?page=1&per_page=30
134
+ uri: http://devstack.openstack.stack:35357/v3/users
230
135
  body:
231
136
  encoding: US-ASCII
232
137
  string: ''
233
138
  headers:
234
139
  User-Agent:
235
- - fog/1.28.0 fog-core/1.29.0
140
+ - fog/1.31.0 fog-core/1.31.1
236
141
  Content-Type:
237
142
  - application/json
238
143
  Accept:
239
144
  - application/json
240
145
  X-Auth-Token:
241
- - d448367868f7446696b876c5fb251fa4
146
+ - 0c4458de5ba5446885c65b1dedfb2404
242
147
  response:
243
148
  status:
244
149
  code: 200
245
150
  message: ''
246
151
  headers:
152
+ Date:
153
+ - Tue, 23 Jun 2015 15:09:18 GMT
154
+ Server:
155
+ - Apache/2.4.7 (Ubuntu)
247
156
  Vary:
248
157
  - X-Auth-Token
249
- X-Distribution:
250
- - Ubuntu
158
+ X-Openstack-Request-Id:
159
+ - req-8d172234-2fa6-4a23-acd9-0626c87179ce
160
+ Content-Length:
161
+ - '1389'
251
162
  Content-Type:
252
163
  - application/json
253
- Content-Length:
254
- - '1094'
255
- Date:
256
- - Mon, 23 Mar 2015 09:25:22 GMT
257
164
  body:
258
165
  encoding: US-ASCII
259
- string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3c5a9e9790614a60b5c19712d8e97c6d"},
260
- "domain_id": "default", "enabled": true, "email": null, "id": "3c5a9e9790614a60b5c19712d8e97c6d"},
261
- {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/660d8086a1db41078c0d64fa568db135"},
166
+ string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/07cfb841cddd46819e3dcd5df238ae04"},
167
+ "domain_id": "default", "enabled": true, "email": null, "id": "07cfb841cddd46819e3dcd5df238ae04"},
168
+ {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/11ba3db90590446fb6d7e0efe6c1f46a"},
169
+ "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
170
+ "11ba3db90590446fb6d7e0efe6c1f46a"}, {"name": "cinder", "links": {"self":
171
+ "http://devstack.openstack.stack:35357/v3/users/1523e8606bd1400cae36a40e0f3f817e"},
172
+ "domain_id": "default", "enabled": true, "email": null, "id": "1523e8606bd1400cae36a40e0f3f817e"},
173
+ {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/7afec08993c24bb09df141e513738030"},
174
+ "domain_id": "default", "enabled": true, "email": null, "id": "7afec08993c24bb09df141e513738030"},
175
+ {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/938bd5585fd145efaadb4a7e588078c1"},
262
176
  "domain_id": "default", "enabled": true, "email": "foobar@example.com", "id":
263
- "660d8086a1db41078c0d64fa568db135"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/8d5732a0ebd9485396351d74e24c9647"},
264
- "domain_id": "default", "enabled": true, "email": "andrew@batty.com", "id":
265
- "8d5732a0ebd9485396351d74e24c9647"}, {"domain_id": "default", "name": "demo",
266
- "links": {"self": "http://devstack.openstack.stack:35357/v3/users/ac33746004f1470b904e364d408cf42e"},
267
- "id": "ac33746004f1470b904e364d408cf42e", "enabled": true, "email": "andrew@battye.com",
268
- "default_project_id": "c9f75b1200f64bf09ed079206a1a1b75"}], "links": {"self":
269
- "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next":
270
- null}}'
177
+ "938bd5585fd145efaadb4a7e588078c1"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/aa9f25defa6d4cafb48466df83106065"},
178
+ "domain_id": "default", "enabled": true, "email": null, "id": "aa9f25defa6d4cafb48466df83106065"}],
179
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null,
180
+ "next": null}}'
271
181
  http_version:
272
- recorded_at: Mon, 23 Mar 2015 09:25:22 GMT
182
+ recorded_at: Tue, 23 Jun 2015 15:09:18 GMT
273
183
  - request:
274
184
  method: get
275
- uri: http://devstack.openstack.stack:35357/v3/users?page=1&per_page=30
185
+ uri: http://devstack.openstack.stack:35357/v3/users
276
186
  body:
277
187
  encoding: US-ASCII
278
188
  string: ''
279
189
  headers:
280
190
  User-Agent:
281
- - fog/1.28.0 fog-core/1.29.0
191
+ - fog/1.31.0 fog-core/1.31.1
282
192
  Content-Type:
283
193
  - application/json
284
194
  Accept:
285
195
  - application/json
286
196
  X-Auth-Token:
287
- - d448367868f7446696b876c5fb251fa4
197
+ - 0c4458de5ba5446885c65b1dedfb2404
288
198
  response:
289
199
  status:
290
200
  code: 200
291
201
  message: ''
292
202
  headers:
203
+ Date:
204
+ - Tue, 23 Jun 2015 15:09:18 GMT
205
+ Server:
206
+ - Apache/2.4.7 (Ubuntu)
293
207
  Vary:
294
208
  - X-Auth-Token
295
- X-Distribution:
296
- - Ubuntu
209
+ X-Openstack-Request-Id:
210
+ - req-adcc2928-2293-4894-9063-10a079028e81
211
+ Content-Length:
212
+ - '1389'
297
213
  Content-Type:
298
214
  - application/json
299
- Content-Length:
300
- - '1094'
301
- Date:
302
- - Mon, 23 Mar 2015 09:25:22 GMT
303
215
  body:
304
216
  encoding: US-ASCII
305
- string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3c5a9e9790614a60b5c19712d8e97c6d"},
306
- "domain_id": "default", "enabled": true, "email": null, "id": "3c5a9e9790614a60b5c19712d8e97c6d"},
307
- {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/660d8086a1db41078c0d64fa568db135"},
217
+ string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/07cfb841cddd46819e3dcd5df238ae04"},
218
+ "domain_id": "default", "enabled": true, "email": null, "id": "07cfb841cddd46819e3dcd5df238ae04"},
219
+ {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/11ba3db90590446fb6d7e0efe6c1f46a"},
220
+ "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
221
+ "11ba3db90590446fb6d7e0efe6c1f46a"}, {"name": "cinder", "links": {"self":
222
+ "http://devstack.openstack.stack:35357/v3/users/1523e8606bd1400cae36a40e0f3f817e"},
223
+ "domain_id": "default", "enabled": true, "email": null, "id": "1523e8606bd1400cae36a40e0f3f817e"},
224
+ {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/7afec08993c24bb09df141e513738030"},
225
+ "domain_id": "default", "enabled": true, "email": null, "id": "7afec08993c24bb09df141e513738030"},
226
+ {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/938bd5585fd145efaadb4a7e588078c1"},
308
227
  "domain_id": "default", "enabled": true, "email": "foobar@example.com", "id":
309
- "660d8086a1db41078c0d64fa568db135"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/8d5732a0ebd9485396351d74e24c9647"},
310
- "domain_id": "default", "enabled": true, "email": "andrew@batty.com", "id":
311
- "8d5732a0ebd9485396351d74e24c9647"}, {"domain_id": "default", "name": "demo",
312
- "links": {"self": "http://devstack.openstack.stack:35357/v3/users/ac33746004f1470b904e364d408cf42e"},
313
- "id": "ac33746004f1470b904e364d408cf42e", "enabled": true, "email": "andrew@battye.com",
314
- "default_project_id": "c9f75b1200f64bf09ed079206a1a1b75"}], "links": {"self":
315
- "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next":
316
- null}}'
228
+ "938bd5585fd145efaadb4a7e588078c1"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/aa9f25defa6d4cafb48466df83106065"},
229
+ "domain_id": "default", "enabled": true, "email": null, "id": "aa9f25defa6d4cafb48466df83106065"}],
230
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null,
231
+ "next": null}}'
317
232
  http_version:
318
- recorded_at: Mon, 23 Mar 2015 09:25:22 GMT
233
+ recorded_at: Tue, 23 Jun 2015 15:09:18 GMT
319
234
  - request:
320
235
  method: get
321
- uri: http://devstack.openstack.stack:35357/v3/users?name=admin&page=1&per_page=30
236
+ uri: http://devstack.openstack.stack:35357/v3/users
322
237
  body:
323
238
  encoding: US-ASCII
324
239
  string: ''
325
240
  headers:
326
241
  User-Agent:
327
- - fog/1.28.0 fog-core/1.29.0
242
+ - fog/1.31.0 fog-core/1.31.1
328
243
  Content-Type:
329
244
  - application/json
330
245
  Accept:
331
246
  - application/json
332
247
  X-Auth-Token:
333
- - d448367868f7446696b876c5fb251fa4
248
+ - 0c4458de5ba5446885c65b1dedfb2404
334
249
  response:
335
250
  status:
336
251
  code: 200
337
252
  message: ''
338
253
  headers:
254
+ Date:
255
+ - Tue, 23 Jun 2015 15:09:18 GMT
256
+ Server:
257
+ - Apache/2.4.7 (Ubuntu)
339
258
  Vary:
340
259
  - X-Auth-Token
341
- X-Distribution:
342
- - Ubuntu
260
+ X-Openstack-Request-Id:
261
+ - req-fc5ff8d3-1e0d-4575-b17d-8252c1b9373f
262
+ Content-Length:
263
+ - '1389'
343
264
  Content-Type:
344
265
  - application/json
345
- Content-Length:
346
- - '345'
347
- Date:
348
- - Mon, 23 Mar 2015 09:25:22 GMT
349
266
  body:
350
267
  encoding: US-ASCII
351
- string: ! '{"users": [{"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/8d5732a0ebd9485396351d74e24c9647"},
352
- "domain_id": "default", "enabled": true, "email": "andrew@batty.com", "id":
353
- "8d5732a0ebd9485396351d74e24c9647"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/users",
354
- "previous": null, "next": null}}'
268
+ string: ! '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/07cfb841cddd46819e3dcd5df238ae04"},
269
+ "domain_id": "default", "enabled": true, "email": null, "id": "07cfb841cddd46819e3dcd5df238ae04"},
270
+ {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/11ba3db90590446fb6d7e0efe6c1f46a"},
271
+ "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
272
+ "11ba3db90590446fb6d7e0efe6c1f46a"}, {"name": "cinder", "links": {"self":
273
+ "http://devstack.openstack.stack:35357/v3/users/1523e8606bd1400cae36a40e0f3f817e"},
274
+ "domain_id": "default", "enabled": true, "email": null, "id": "1523e8606bd1400cae36a40e0f3f817e"},
275
+ {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/7afec08993c24bb09df141e513738030"},
276
+ "domain_id": "default", "enabled": true, "email": null, "id": "7afec08993c24bb09df141e513738030"},
277
+ {"name": "u-foobar", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/938bd5585fd145efaadb4a7e588078c1"},
278
+ "domain_id": "default", "enabled": true, "email": "foobar@example.com", "id":
279
+ "938bd5585fd145efaadb4a7e588078c1"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/aa9f25defa6d4cafb48466df83106065"},
280
+ "domain_id": "default", "enabled": true, "email": null, "id": "aa9f25defa6d4cafb48466df83106065"}],
281
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null,
282
+ "next": null}}'
355
283
  http_version:
356
- recorded_at: Mon, 23 Mar 2015 09:25:22 GMT
284
+ recorded_at: Tue, 23 Jun 2015 15:09:19 GMT
357
285
  - request:
358
286
  method: get
359
- uri: http://devstack.openstack.stack:35357/v3/users?name=pimpernel&page=1&per_page=30
287
+ uri: http://devstack.openstack.stack:35357/v3/users?name=pimpernel
360
288
  body:
361
289
  encoding: US-ASCII
362
290
  string: ''
363
291
  headers:
364
292
  User-Agent:
365
- - fog/1.28.0 fog-core/1.29.0
293
+ - fog/1.31.0 fog-core/1.31.1
366
294
  Content-Type:
367
295
  - application/json
368
296
  Accept:
369
297
  - application/json
370
298
  X-Auth-Token:
371
- - d448367868f7446696b876c5fb251fa4
299
+ - 0c4458de5ba5446885c65b1dedfb2404
372
300
  response:
373
301
  status:
374
302
  code: 200
375
303
  message: ''
376
304
  headers:
305
+ Date:
306
+ - Tue, 23 Jun 2015 15:09:18 GMT
307
+ Server:
308
+ - Apache/2.4.7 (Ubuntu)
377
309
  Vary:
378
310
  - X-Auth-Token
379
- X-Distribution:
380
- - Ubuntu
311
+ X-Openstack-Request-Id:
312
+ - req-f7802cb3-9a40-40f3-a301-f73e6298fd9d
313
+ Content-Length:
314
+ - '119'
381
315
  Content-Type:
382
316
  - application/json
383
- Content-Length:
384
- - '114'
385
- Date:
386
- - Mon, 23 Mar 2015 09:25:22 GMT
387
317
  body:
388
318
  encoding: US-ASCII
389
- string: ! '{"users": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/users",
319
+ string: ! '{"users": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/users?name=pimpernel",
390
320
  "previous": null, "next": null}}'
391
321
  http_version:
392
- recorded_at: Mon, 23 Mar 2015 09:25:22 GMT
322
+ recorded_at: Tue, 23 Jun 2015 15:09:19 GMT
393
323
  recorded_with: VCR 2.9.3