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,160 +2,164 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://devstack.openstack.stack:35357/v3/domains?page=1&per_page=30
5
+ uri: http://devstack.openstack.stack:35357/v3/domains
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
20
  code: 200
21
21
  message: ''
22
22
  headers:
23
+ Date:
24
+ - Tue, 23 Jun 2015 15:09:25 GMT
25
+ Server:
26
+ - Apache/2.4.7 (Ubuntu)
23
27
  Vary:
24
28
  - X-Auth-Token
25
- X-Distribution:
26
- - Ubuntu
29
+ X-Openstack-Request-Id:
30
+ - req-9e6ba978-decb-4ee6-8667-e163a9983174
31
+ Content-Length:
32
+ - '317'
27
33
  Content-Type:
28
34
  - application/json
29
- Content-Length:
30
- - '337'
31
- Date:
32
- - Fri, 13 Mar 2015 11:40:00 GMT
33
35
  body:
34
36
  encoding: US-ASCII
35
37
  string: ! '{"domains": [{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
36
38
  "enabled": true, "description": "Owns users and tenants (i.e. projects) available
37
39
  on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
38
- "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next":
39
- null}}'
40
+ "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next": null}}'
40
41
  http_version:
41
- recorded_at: Fri, 13 Mar 2015 11:40:00 GMT
42
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
42
43
  - request:
43
44
  method: get
44
- uri: http://devstack.openstack.stack:35357/v3/domains?page=1&per_page=30
45
+ uri: http://devstack.openstack.stack:35357/v3/domains
45
46
  body:
46
47
  encoding: US-ASCII
47
48
  string: ''
48
49
  headers:
49
50
  User-Agent:
50
- - fog/1.28.0 fog-core/1.29.0
51
+ - fog/1.31.0 fog-core/1.31.1
51
52
  Content-Type:
52
53
  - application/json
53
54
  Accept:
54
55
  - application/json
55
56
  X-Auth-Token:
56
- - d8291e2a2a2046259316f7c2d4253e92
57
+ - 0c4458de5ba5446885c65b1dedfb2404
57
58
  response:
58
59
  status:
59
60
  code: 200
60
61
  message: ''
61
62
  headers:
63
+ Date:
64
+ - Tue, 23 Jun 2015 15:09:25 GMT
65
+ Server:
66
+ - Apache/2.4.7 (Ubuntu)
62
67
  Vary:
63
68
  - X-Auth-Token
64
- X-Distribution:
65
- - Ubuntu
69
+ X-Openstack-Request-Id:
70
+ - req-5d516662-a25d-43a8-9c80-38ab40a7ecaf
71
+ Content-Length:
72
+ - '317'
66
73
  Content-Type:
67
74
  - application/json
68
- Content-Length:
69
- - '337'
70
- Date:
71
- - Fri, 13 Mar 2015 11:40:00 GMT
72
75
  body:
73
76
  encoding: US-ASCII
74
77
  string: ! '{"domains": [{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
75
78
  "enabled": true, "description": "Owns users and tenants (i.e. projects) available
76
79
  on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
77
- "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next":
78
- null}}'
80
+ "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next": null}}'
79
81
  http_version:
80
- recorded_at: Fri, 13 Mar 2015 11:40:00 GMT
82
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
81
83
  - request:
82
84
  method: get
83
- uri: http://devstack.openstack.stack:35357/v3/domains?page=1&per_page=30
85
+ uri: http://devstack.openstack.stack:35357/v3/domains
84
86
  body:
85
87
  encoding: US-ASCII
86
88
  string: ''
87
89
  headers:
88
90
  User-Agent:
89
- - fog/1.28.0 fog-core/1.29.0
91
+ - fog/1.31.0 fog-core/1.31.1
90
92
  Content-Type:
91
93
  - application/json
92
94
  Accept:
93
95
  - application/json
94
96
  X-Auth-Token:
95
- - d8291e2a2a2046259316f7c2d4253e92
97
+ - 0c4458de5ba5446885c65b1dedfb2404
96
98
  response:
97
99
  status:
98
100
  code: 200
99
101
  message: ''
100
102
  headers:
103
+ Date:
104
+ - Tue, 23 Jun 2015 15:09:25 GMT
105
+ Server:
106
+ - Apache/2.4.7 (Ubuntu)
101
107
  Vary:
102
108
  - X-Auth-Token
103
- X-Distribution:
104
- - Ubuntu
109
+ X-Openstack-Request-Id:
110
+ - req-41f55c12-a076-4844-a32b-d01821c3790d
111
+ Content-Length:
112
+ - '317'
105
113
  Content-Type:
106
114
  - application/json
107
- Content-Length:
108
- - '337'
109
- Date:
110
- - Fri, 13 Mar 2015 11:40:00 GMT
111
115
  body:
112
116
  encoding: US-ASCII
113
117
  string: ! '{"domains": [{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
114
118
  "enabled": true, "description": "Owns users and tenants (i.e. projects) available
115
119
  on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
116
- "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next":
117
- null}}'
120
+ "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next": null}}'
118
121
  http_version:
119
- recorded_at: Fri, 13 Mar 2015 11:40:00 GMT
122
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
120
123
  - request:
121
124
  method: get
122
- uri: http://devstack.openstack.stack:35357/v3/domains?page=1&per_page=30
125
+ uri: http://devstack.openstack.stack:35357/v3/domains
123
126
  body:
124
127
  encoding: US-ASCII
125
128
  string: ''
126
129
  headers:
127
130
  User-Agent:
128
- - fog/1.28.0 fog-core/1.29.0
131
+ - fog/1.31.0 fog-core/1.31.1
129
132
  Content-Type:
130
133
  - application/json
131
134
  Accept:
132
135
  - application/json
133
136
  X-Auth-Token:
134
- - d8291e2a2a2046259316f7c2d4253e92
137
+ - 0c4458de5ba5446885c65b1dedfb2404
135
138
  response:
136
139
  status:
137
140
  code: 200
138
141
  message: ''
139
142
  headers:
143
+ Date:
144
+ - Tue, 23 Jun 2015 15:09:25 GMT
145
+ Server:
146
+ - Apache/2.4.7 (Ubuntu)
140
147
  Vary:
141
148
  - X-Auth-Token
142
- X-Distribution:
143
- - Ubuntu
149
+ X-Openstack-Request-Id:
150
+ - req-14575680-f257-4f8a-b656-14481aedaa27
151
+ Content-Length:
152
+ - '317'
144
153
  Content-Type:
145
154
  - application/json
146
- Content-Length:
147
- - '337'
148
- Date:
149
- - Fri, 13 Mar 2015 11:40:01 GMT
150
155
  body:
151
156
  encoding: US-ASCII
152
157
  string: ! '{"domains": [{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
153
158
  "enabled": true, "description": "Owns users and tenants (i.e. projects) available
154
159
  on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
155
- "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next":
156
- null}}'
160
+ "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next": null}}'
157
161
  http_version:
158
- recorded_at: Fri, 13 Mar 2015 11:40:01 GMT
162
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
159
163
  - request:
160
164
  method: get
161
165
  uri: http://devstack.openstack.stack:35357/v3/domains/atlantis
@@ -164,32 +168,34 @@ http_interactions:
164
168
  string: ''
165
169
  headers:
166
170
  User-Agent:
167
- - fog/1.28.0 fog-core/1.29.0
171
+ - fog/1.31.0 fog-core/1.31.1
168
172
  Content-Type:
169
173
  - application/json
170
174
  Accept:
171
175
  - application/json
172
176
  X-Auth-Token:
173
- - d8291e2a2a2046259316f7c2d4253e92
177
+ - 0c4458de5ba5446885c65b1dedfb2404
174
178
  response:
175
179
  status:
176
180
  code: 404
177
181
  message: ''
178
182
  headers:
183
+ Date:
184
+ - Tue, 23 Jun 2015 15:09:26 GMT
185
+ Server:
186
+ - Apache/2.4.7 (Ubuntu)
179
187
  Vary:
180
188
  - X-Auth-Token
181
- X-Distribution:
182
- - Ubuntu
189
+ X-Openstack-Request-Id:
190
+ - req-d4631565-0c9f-4b7c-9ae0-77e7f0126e3e
191
+ Content-Length:
192
+ - '92'
183
193
  Content-Type:
184
194
  - application/json
185
- Content-Length:
186
- - '93'
187
- Date:
188
- - Fri, 13 Mar 2015 11:40:01 GMT
189
195
  body:
190
196
  encoding: US-ASCII
191
- string: ! '{"error": {"message": "Could not find domain, atlantis.", "code":
197
+ string: ! '{"error": {"message": "Could not find domain: atlantis", "code":
192
198
  404, "title": "Not Found"}}'
193
199
  http_version:
194
- recorded_at: Fri, 13 Mar 2015 11:40:01 GMT
200
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
195
201
  recorded_with: VCR 2.9.3
@@ -1,686 +1,469 @@
1
1
  ---
2
2
  http_interactions:
3
3
  - request:
4
- method: get
5
- uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar&page=1&per_page=30
4
+ method: post
5
+ uri: http://devstack.openstack.stack:35357/v3/domains
6
6
  body:
7
- encoding: US-ASCII
8
- string: ''
7
+ encoding: UTF-8
8
+ string: ! '{"domain":{"name":"foobar"}}'
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
18
- response:
19
- status:
20
- code: 401
21
- message: ''
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
- Date:
34
- - Mon, 23 Mar 2015 09:25:23 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:23 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
17
+ - 0c4458de5ba5446885c65b1dedfb2404
52
18
  response:
53
19
  status:
54
20
  code: 201
55
21
  message: ''
56
22
  headers:
57
- X-Subject-Token:
58
- - 5c8be712c59844cb9ba0ddef957a3005
23
+ Date:
24
+ - Tue, 23 Jun 2015 15:09:26 GMT
25
+ Server:
26
+ - Apache/2.4.7 (Ubuntu)
59
27
  Vary:
60
28
  - X-Auth-Token
61
- X-Distribution:
62
- - Ubuntu
29
+ X-Openstack-Request-Id:
30
+ - req-a58e282d-bf32-4c63-baaf-d3560cba57e1
31
+ Content-Length:
32
+ - '183'
63
33
  Content-Type:
64
34
  - application/json
65
- Content-Length:
66
- - '2254'
67
- Date:
68
- - Mon, 23 Mar 2015 09:25:23 GMT
69
35
  body:
70
36
  encoding: US-ASCII
71
- string: ! '{"token": {"methods": ["password"], "roles": [{"id": "7ebef8a2837246eda8f83f96ffb82b2f",
72
- "name": "admin"}], "expires_at": "2015-03-23T10:25:23.470130Z", "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:23.470157Z"}}'
37
+ string: ! '{"domain": {"enabled": true, "id": "2c2406af8b9645258705948ee07699b7",
38
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7"},
39
+ "name": "foobar"}}'
97
40
  http_version:
98
- recorded_at: Mon, 23 Mar 2015 09:25:23 GMT
41
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
99
42
  - request:
100
43
  method: get
101
- uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar&page=1&per_page=30
44
+ uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar
102
45
  body:
103
46
  encoding: US-ASCII
104
47
  string: ''
105
48
  headers:
106
49
  User-Agent:
107
- - fog/1.28.0 fog-core/1.29.0
50
+ - fog/1.31.0 fog-core/1.31.1
108
51
  Content-Type:
109
52
  - application/json
110
53
  Accept:
111
54
  - application/json
112
55
  X-Auth-Token:
113
- - 5c8be712c59844cb9ba0ddef957a3005
56
+ - 0c4458de5ba5446885c65b1dedfb2404
114
57
  response:
115
58
  status:
116
59
  code: 200
117
60
  message: ''
118
61
  headers:
62
+ Date:
63
+ - Tue, 23 Jun 2015 15:09:26 GMT
64
+ Server:
65
+ - Apache/2.4.7 (Ubuntu)
119
66
  Vary:
120
67
  - X-Auth-Token
121
- X-Distribution:
122
- - Ubuntu
68
+ X-Openstack-Request-Id:
69
+ - req-5854cd5d-5d45-410e-bf3e-c47653abb235
70
+ Content-Length:
71
+ - '291'
123
72
  Content-Type:
124
73
  - application/json
125
- Content-Length:
126
- - '299'
127
- Date:
128
- - Mon, 23 Mar 2015 09:25:23 GMT
129
74
  body:
130
75
  encoding: US-ASCII
131
- string: ! '{"domains": [{"enabled": true, "id": "ba65992194244fab9373e54a1633875a",
132
- "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/ba65992194244fab9373e54a1633875a"},
133
- "name": "foobar"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
76
+ string: ! '{"domains": [{"enabled": true, "id": "2c2406af8b9645258705948ee07699b7",
77
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7"},
78
+ "name": "foobar"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=foobar",
134
79
  "previous": null, "next": null}}'
135
80
  http_version:
136
- recorded_at: Mon, 23 Mar 2015 09:25:23 GMT
81
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
137
82
  - request:
138
83
  method: patch
139
- uri: http://devstack.openstack.stack:35357/v3/domains/ba65992194244fab9373e54a1633875a
84
+ uri: http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7
140
85
  body:
141
86
  encoding: UTF-8
142
- string: ! '{"domain":{"enabled":false}}'
87
+ string: ! '{"domain":{"name":"baz","enabled":false}}'
143
88
  headers:
144
89
  User-Agent:
145
- - fog/1.28.0 fog-core/1.29.0
90
+ - fog/1.31.0 fog-core/1.31.1
146
91
  Content-Type:
147
92
  - application/json
148
93
  Accept:
149
94
  - application/json
150
95
  X-Auth-Token:
151
- - 5c8be712c59844cb9ba0ddef957a3005
96
+ - 0c4458de5ba5446885c65b1dedfb2404
152
97
  response:
153
98
  status:
154
99
  code: 200
155
100
  message: ''
156
101
  headers:
157
- Vary:
158
- - X-Auth-Token
159
- X-Distribution:
160
- - Ubuntu
161
- Content-Type:
162
- - application/json
163
- Content-Length:
164
- - '194'
165
102
  Date:
166
- - Mon, 23 Mar 2015 09:25:23 GMT
167
- body:
168
- encoding: US-ASCII
169
- string: ! '{"domain": {"enabled": false, "id": "ba65992194244fab9373e54a1633875a",
170
- "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/ba65992194244fab9373e54a1633875a"},
171
- "name": "foobar"}}'
172
- http_version:
173
- recorded_at: Mon, 23 Mar 2015 09:25:23 GMT
174
- - request:
175
- method: delete
176
- uri: http://devstack.openstack.stack:35357/v3/domains/ba65992194244fab9373e54a1633875a
177
- body:
178
- encoding: US-ASCII
179
- string: ''
180
- headers:
181
- User-Agent:
182
- - fog/1.28.0 fog-core/1.29.0
183
- Content-Type:
184
- - application/json
185
- Accept:
186
- - application/json
187
- X-Auth-Token:
188
- - 5c8be712c59844cb9ba0ddef957a3005
189
- response:
190
- status:
191
- code: 204
192
- message: ''
193
- headers:
103
+ - Tue, 23 Jun 2015 15:09:26 GMT
104
+ Server:
105
+ - Apache/2.4.7 (Ubuntu)
194
106
  Vary:
195
107
  - X-Auth-Token
196
- X-Distribution:
197
- - Ubuntu
108
+ X-Openstack-Request-Id:
109
+ - req-575c634d-0875-4df8-916b-27e159e9ba15
198
110
  Content-Length:
199
- - '0'
200
- Date:
201
- - Mon, 23 Mar 2015 09:25:23 GMT
202
- body:
203
- encoding: US-ASCII
204
- string: ''
205
- http_version:
206
- recorded_at: Mon, 23 Mar 2015 09:25:23 GMT
207
- - request:
208
- method: get
209
- uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar&page=1&per_page=30
210
- body:
211
- encoding: US-ASCII
212
- string: ''
213
- headers:
214
- User-Agent:
215
- - fog/1.28.0 fog-core/1.29.0
216
- Content-Type:
217
- - application/json
218
- Accept:
219
- - application/json
220
- X-Auth-Token:
221
- - 5c8be712c59844cb9ba0ddef957a3005
222
- response:
223
- status:
224
- code: 200
225
- message: ''
226
- headers:
227
- Vary:
228
- - X-Auth-Token
229
- X-Distribution:
230
- - Ubuntu
111
+ - '181'
231
112
  Content-Type:
232
113
  - application/json
233
- Content-Length:
234
- - '118'
235
- Date:
236
- - Mon, 23 Mar 2015 09:25:24 GMT
237
114
  body:
238
115
  encoding: US-ASCII
239
- string: ! '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
240
- "previous": null, "next": null}}'
116
+ string: ! '{"domain": {"enabled": false, "id": "2c2406af8b9645258705948ee07699b7",
117
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7"},
118
+ "name": "baz"}}'
241
119
  http_version:
242
- recorded_at: Mon, 23 Mar 2015 09:25:24 GMT
120
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
243
121
  - request:
244
122
  method: get
245
- uri: http://devstack.openstack.stack:35357/v3/domains?name=baz&page=1&per_page=30
123
+ uri: http://devstack.openstack.stack:35357/v3/domains?name=baz
246
124
  body:
247
125
  encoding: US-ASCII
248
126
  string: ''
249
127
  headers:
250
128
  User-Agent:
251
- - fog/1.28.0 fog-core/1.29.0
129
+ - fog/1.31.0 fog-core/1.31.1
252
130
  Content-Type:
253
131
  - application/json
254
132
  Accept:
255
133
  - application/json
256
134
  X-Auth-Token:
257
- - 5c8be712c59844cb9ba0ddef957a3005
135
+ - 0c4458de5ba5446885c65b1dedfb2404
258
136
  response:
259
137
  status:
260
138
  code: 200
261
139
  message: ''
262
140
  headers:
141
+ Date:
142
+ - Tue, 23 Jun 2015 15:09:26 GMT
143
+ Server:
144
+ - Apache/2.4.7 (Ubuntu)
263
145
  Vary:
264
146
  - X-Auth-Token
265
- X-Distribution:
266
- - Ubuntu
147
+ X-Openstack-Request-Id:
148
+ - req-c12040aa-6c35-4d97-b62f-1c4e65eaf7e3
149
+ Content-Length:
150
+ - '286'
267
151
  Content-Type:
268
152
  - application/json
269
- Content-Length:
270
- - '118'
271
- Date:
272
- - Mon, 23 Mar 2015 09:25:24 GMT
273
153
  body:
274
154
  encoding: US-ASCII
275
- string: ! '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
155
+ string: ! '{"domains": [{"enabled": false, "id": "2c2406af8b9645258705948ee07699b7",
156
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7"},
157
+ "name": "baz"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=baz",
276
158
  "previous": null, "next": null}}'
277
159
  http_version:
278
- recorded_at: Mon, 23 Mar 2015 09:25:24 GMT
160
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
279
161
  - request:
280
162
  method: get
281
- uri: http://devstack.openstack.stack:35357/v3/domains?name=baz&page=1&per_page=30
163
+ uri: http://devstack.openstack.stack:35357/v3/domains
282
164
  body:
283
165
  encoding: US-ASCII
284
166
  string: ''
285
167
  headers:
286
168
  User-Agent:
287
- - fog/1.28.0 fog-core/1.29.0
169
+ - fog/1.31.0 fog-core/1.31.1
288
170
  Content-Type:
289
171
  - application/json
290
172
  Accept:
291
173
  - application/json
292
174
  X-Auth-Token:
293
- - 5c8be712c59844cb9ba0ddef957a3005
175
+ - 0c4458de5ba5446885c65b1dedfb2404
294
176
  response:
295
177
  status:
296
178
  code: 200
297
179
  message: ''
298
180
  headers:
299
- Vary:
300
- - X-Auth-Token
301
- X-Distribution:
302
- - Ubuntu
303
- Content-Type:
304
- - application/json
305
- Content-Length:
306
- - '118'
307
181
  Date:
308
- - Mon, 23 Mar 2015 09:25:24 GMT
309
- body:
310
- encoding: US-ASCII
311
- string: ! '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
312
- "previous": null, "next": null}}'
313
- http_version:
314
- recorded_at: Mon, 23 Mar 2015 09:25:24 GMT
315
- - request:
316
- method: post
317
- uri: http://devstack.openstack.stack:35357/v3/domains
318
- body:
319
- encoding: UTF-8
320
- string: ! '{"domain":{"name":"foobar"}}'
321
- headers:
322
- User-Agent:
323
- - fog/1.28.0 fog-core/1.29.0
324
- Content-Type:
325
- - application/json
326
- Accept:
327
- - application/json
328
- X-Auth-Token:
329
- - 5c8be712c59844cb9ba0ddef957a3005
330
- response:
331
- status:
332
- code: 201
333
- message: ''
334
- headers:
182
+ - Tue, 23 Jun 2015 15:09:26 GMT
183
+ Server:
184
+ - Apache/2.4.7 (Ubuntu)
335
185
  Vary:
336
186
  - X-Auth-Token
337
- X-Distribution:
338
- - Ubuntu
339
- Content-Type:
340
- - application/json
187
+ X-Openstack-Request-Id:
188
+ - req-5d2dd635-9363-439b-b152-1505b79c7ff8
341
189
  Content-Length:
342
- - '193'
343
- Date:
344
- - Mon, 23 Mar 2015 09:25:24 GMT
345
- body:
346
- encoding: US-ASCII
347
- string: ! '{"domain": {"enabled": true, "id": "0308bdfa443d4e88934803de4346fa9c",
348
- "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c"},
349
- "name": "foobar"}}'
350
- http_version:
351
- recorded_at: Mon, 23 Mar 2015 09:25:24 GMT
352
- - request:
353
- method: get
354
- uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar&page=1&per_page=30
355
- body:
356
- encoding: US-ASCII
357
- string: ''
358
- headers:
359
- User-Agent:
360
- - fog/1.28.0 fog-core/1.29.0
190
+ - '488'
361
191
  Content-Type:
362
192
  - application/json
363
- Accept:
364
- - application/json
365
- X-Auth-Token:
366
- - 5c8be712c59844cb9ba0ddef957a3005
367
- response:
368
- status:
369
- code: 200
370
- message: ''
371
- headers:
372
- Vary:
373
- - X-Auth-Token
374
- X-Distribution:
375
- - Ubuntu
376
- Content-Type:
377
- - application/json
378
- Content-Length:
379
- - '299'
380
- Date:
381
- - Mon, 23 Mar 2015 09:25:24 GMT
382
193
  body:
383
194
  encoding: US-ASCII
384
- string: ! '{"domains": [{"enabled": true, "id": "0308bdfa443d4e88934803de4346fa9c",
385
- "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c"},
386
- "name": "foobar"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
387
- "previous": null, "next": null}}'
195
+ string: ! '{"domains": [{"enabled": false, "id": "2c2406af8b9645258705948ee07699b7",
196
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7"},
197
+ "name": "baz"}, {"links": {"self": "http://devstack.openstack.stack: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://devstack.openstack.stack:35357/v3/domains", "previous": null, "next": null}}'
388
201
  http_version:
389
- recorded_at: Mon, 23 Mar 2015 09:25:24 GMT
202
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
390
203
  - request:
391
204
  method: patch
392
- uri: http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c
205
+ uri: http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7
393
206
  body:
394
207
  encoding: UTF-8
395
- string: ! '{"domain":{"name":"baz","enabled":false}}'
208
+ string: ! '{"domain":{"enabled":false}}'
396
209
  headers:
397
210
  User-Agent:
398
- - fog/1.28.0 fog-core/1.29.0
211
+ - fog/1.31.0 fog-core/1.31.1
399
212
  Content-Type:
400
213
  - application/json
401
214
  Accept:
402
215
  - application/json
403
216
  X-Auth-Token:
404
- - 5c8be712c59844cb9ba0ddef957a3005
217
+ - 0c4458de5ba5446885c65b1dedfb2404
405
218
  response:
406
219
  status:
407
220
  code: 200
408
221
  message: ''
409
222
  headers:
223
+ Date:
224
+ - Tue, 23 Jun 2015 15:09:26 GMT
225
+ Server:
226
+ - Apache/2.4.7 (Ubuntu)
410
227
  Vary:
411
228
  - X-Auth-Token
412
- X-Distribution:
413
- - Ubuntu
229
+ X-Openstack-Request-Id:
230
+ - req-1f861c1f-98e8-427e-b1cc-05ca80a7d9a8
231
+ Content-Length:
232
+ - '181'
414
233
  Content-Type:
415
234
  - application/json
416
- Content-Length:
417
- - '191'
418
- Date:
419
- - Mon, 23 Mar 2015 09:25:25 GMT
420
235
  body:
421
236
  encoding: US-ASCII
422
- string: ! '{"domain": {"enabled": false, "id": "0308bdfa443d4e88934803de4346fa9c",
423
- "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c"},
237
+ string: ! '{"domain": {"enabled": false, "id": "2c2406af8b9645258705948ee07699b7",
238
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7"},
424
239
  "name": "baz"}}'
425
240
  http_version:
426
- recorded_at: Mon, 23 Mar 2015 09:25:25 GMT
241
+ recorded_at: Tue, 23 Jun 2015 15:09:26 GMT
427
242
  - request:
428
- method: get
429
- uri: http://devstack.openstack.stack:35357/v3/domains?name=baz&page=1&per_page=30
243
+ method: delete
244
+ uri: http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7
430
245
  body:
431
246
  encoding: US-ASCII
432
247
  string: ''
433
248
  headers:
434
249
  User-Agent:
435
- - fog/1.28.0 fog-core/1.29.0
250
+ - fog/1.31.0 fog-core/1.31.1
436
251
  Content-Type:
437
252
  - application/json
438
253
  Accept:
439
254
  - application/json
440
255
  X-Auth-Token:
441
- - 5c8be712c59844cb9ba0ddef957a3005
256
+ - 0c4458de5ba5446885c65b1dedfb2404
442
257
  response:
443
258
  status:
444
- code: 200
259
+ code: 204
445
260
  message: ''
446
261
  headers:
262
+ Date:
263
+ - Tue, 23 Jun 2015 15:09:26 GMT
264
+ Server:
265
+ - Apache/2.4.7 (Ubuntu)
447
266
  Vary:
448
267
  - X-Auth-Token
449
- X-Distribution:
450
- - Ubuntu
451
- Content-Type:
452
- - application/json
268
+ X-Openstack-Request-Id:
269
+ - req-b8f80af9-f6d1-43af-bcf5-4025b733bfa5
453
270
  Content-Length:
454
- - '297'
455
- Date:
456
- - Mon, 23 Mar 2015 09:25:25 GMT
271
+ - '0'
457
272
  body:
458
273
  encoding: US-ASCII
459
- string: ! '{"domains": [{"enabled": false, "id": "0308bdfa443d4e88934803de4346fa9c",
460
- "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c"},
461
- "name": "baz"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
462
- "previous": null, "next": null}}'
274
+ string: ''
463
275
  http_version:
464
- recorded_at: Mon, 23 Mar 2015 09:25:25 GMT
276
+ recorded_at: Tue, 23 Jun 2015 15:09:27 GMT
465
277
  - request:
466
- method: get
467
- uri: http://devstack.openstack.stack:35357/v3/domains?page=1&per_page=30
278
+ method: patch
279
+ uri: http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7
468
280
  body:
469
- encoding: US-ASCII
470
- string: ''
281
+ encoding: UTF-8
282
+ string: ! '{"domain":{"enabled":false}}'
471
283
  headers:
472
284
  User-Agent:
473
- - fog/1.28.0 fog-core/1.29.0
285
+ - fog/1.31.0 fog-core/1.31.1
474
286
  Content-Type:
475
287
  - application/json
476
288
  Accept:
477
289
  - application/json
478
290
  X-Auth-Token:
479
- - 5c8be712c59844cb9ba0ddef957a3005
291
+ - 0c4458de5ba5446885c65b1dedfb2404
480
292
  response:
481
293
  status:
482
- code: 200
294
+ code: 404
483
295
  message: ''
484
296
  headers:
297
+ Date:
298
+ - Tue, 23 Jun 2015 15:09:26 GMT
299
+ Server:
300
+ - Apache/2.4.7 (Ubuntu)
485
301
  Vary:
486
302
  - X-Auth-Token
487
- X-Distribution:
488
- - Ubuntu
489
- Content-Type:
490
- - application/json
303
+ X-Openstack-Request-Id:
304
+ - req-ae6b0c1e-a831-4d38-8e55-656233a0919f
491
305
  Content-Length:
492
- - '518'
493
- Date:
494
- - Mon, 23 Mar 2015 09:25:25 GMT
495
- body:
496
- encoding: US-ASCII
497
- string: ! '{"domains": [{"enabled": false, "id": "0308bdfa443d4e88934803de4346fa9c",
498
- "links": {"self": "http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c"},
499
- "name": "baz"}, {"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
500
- "enabled": true, "description": "Owns users and tenants (i.e. projects) available
501
- on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
502
- "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next":
503
- null}}'
504
- http_version:
505
- recorded_at: Mon, 23 Mar 2015 09:25:25 GMT
506
- - request:
507
- method: delete
508
- uri: http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c
509
- body:
510
- encoding: US-ASCII
511
- string: ''
512
- headers:
513
- User-Agent:
514
- - fog/1.28.0 fog-core/1.29.0
306
+ - '116'
515
307
  Content-Type:
516
308
  - application/json
517
- Accept:
518
- - application/json
519
- X-Auth-Token:
520
- - 5c8be712c59844cb9ba0ddef957a3005
521
- response:
522
- status:
523
- code: 204
524
- message: ''
525
- headers:
526
- Vary:
527
- - X-Auth-Token
528
- X-Distribution:
529
- - Ubuntu
530
- Content-Length:
531
- - '0'
532
- Date:
533
- - Mon, 23 Mar 2015 09:25:25 GMT
534
309
  body:
535
310
  encoding: US-ASCII
536
- string: ''
311
+ string: ! '{"error": {"message": "Could not find domain: 2c2406af8b9645258705948ee07699b7",
312
+ "code": 404, "title": "Not Found"}}'
537
313
  http_version:
538
- recorded_at: Mon, 23 Mar 2015 09:25:25 GMT
314
+ recorded_at: Tue, 23 Jun 2015 15:09:27 GMT
539
315
  - request:
540
316
  method: get
541
- uri: http://devstack.openstack.stack:35357/v3/domains?page=1&per_page=30
317
+ uri: http://devstack.openstack.stack:35357/v3/domains
542
318
  body:
543
319
  encoding: US-ASCII
544
320
  string: ''
545
321
  headers:
546
322
  User-Agent:
547
- - fog/1.28.0 fog-core/1.29.0
323
+ - fog/1.31.0 fog-core/1.31.1
548
324
  Content-Type:
549
325
  - application/json
550
326
  Accept:
551
327
  - application/json
552
328
  X-Auth-Token:
553
- - 5c8be712c59844cb9ba0ddef957a3005
329
+ - 0c4458de5ba5446885c65b1dedfb2404
554
330
  response:
555
331
  status:
556
332
  code: 200
557
333
  message: ''
558
334
  headers:
335
+ Date:
336
+ - Tue, 23 Jun 2015 15:09:26 GMT
337
+ Server:
338
+ - Apache/2.4.7 (Ubuntu)
559
339
  Vary:
560
340
  - X-Auth-Token
561
- X-Distribution:
562
- - Ubuntu
341
+ X-Openstack-Request-Id:
342
+ - req-beb9452c-e781-4c1e-bbe8-5bab6b4f8573
343
+ Content-Length:
344
+ - '317'
563
345
  Content-Type:
564
346
  - application/json
565
- Content-Length:
566
- - '337'
567
- Date:
568
- - Mon, 23 Mar 2015 09:25:25 GMT
569
347
  body:
570
348
  encoding: US-ASCII
571
349
  string: ! '{"domains": [{"links": {"self": "http://devstack.openstack.stack:35357/v3/domains/default"},
572
350
  "enabled": true, "description": "Owns users and tenants (i.e. projects) available
573
351
  on Identity API v2.", "name": "Default", "id": "default"}], "links": {"self":
574
- "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next":
575
- null}}'
352
+ "http://devstack.openstack.stack:35357/v3/domains", "previous": null, "next": null}}'
576
353
  http_version:
577
- recorded_at: Mon, 23 Mar 2015 09:25:25 GMT
354
+ recorded_at: Tue, 23 Jun 2015 15:09:27 GMT
578
355
  - request:
579
356
  method: get
580
- uri: http://devstack.openstack.stack:35357/v3/domains/0308bdfa443d4e88934803de4346fa9c
357
+ uri: http://devstack.openstack.stack:35357/v3/domains/2c2406af8b9645258705948ee07699b7
581
358
  body:
582
359
  encoding: US-ASCII
583
360
  string: ''
584
361
  headers:
585
362
  User-Agent:
586
- - fog/1.28.0 fog-core/1.29.0
363
+ - fog/1.31.0 fog-core/1.31.1
587
364
  Content-Type:
588
365
  - application/json
589
366
  Accept:
590
367
  - application/json
591
368
  X-Auth-Token:
592
- - 5c8be712c59844cb9ba0ddef957a3005
369
+ - 0c4458de5ba5446885c65b1dedfb2404
593
370
  response:
594
371
  status:
595
372
  code: 404
596
373
  message: ''
597
374
  headers:
375
+ Date:
376
+ - Tue, 23 Jun 2015 15:09:27 GMT
377
+ Server:
378
+ - Apache/2.4.7 (Ubuntu)
598
379
  Vary:
599
380
  - X-Auth-Token
600
- X-Distribution:
601
- - Ubuntu
381
+ X-Openstack-Request-Id:
382
+ - req-e41b9d66-a6c8-45c8-b6e7-b9ed08370aed
383
+ Content-Length:
384
+ - '116'
602
385
  Content-Type:
603
386
  - application/json
604
- Content-Length:
605
- - '117'
606
- Date:
607
- - Mon, 23 Mar 2015 09:25:25 GMT
608
387
  body:
609
388
  encoding: US-ASCII
610
- string: ! '{"error": {"message": "Could not find domain, 0308bdfa443d4e88934803de4346fa9c.",
389
+ string: ! '{"error": {"message": "Could not find domain: 2c2406af8b9645258705948ee07699b7",
611
390
  "code": 404, "title": "Not Found"}}'
612
391
  http_version:
613
- recorded_at: Mon, 23 Mar 2015 09:25:25 GMT
392
+ recorded_at: Tue, 23 Jun 2015 15:09:27 GMT
614
393
  - request:
615
394
  method: get
616
- uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar&page=1&per_page=30
395
+ uri: http://devstack.openstack.stack:35357/v3/domains?name=foobar
617
396
  body:
618
397
  encoding: US-ASCII
619
398
  string: ''
620
399
  headers:
621
400
  User-Agent:
622
- - fog/1.28.0 fog-core/1.29.0
401
+ - fog/1.31.0 fog-core/1.31.1
623
402
  Content-Type:
624
403
  - application/json
625
404
  Accept:
626
405
  - application/json
627
406
  X-Auth-Token:
628
- - 5c8be712c59844cb9ba0ddef957a3005
407
+ - 0c4458de5ba5446885c65b1dedfb2404
629
408
  response:
630
409
  status:
631
410
  code: 200
632
411
  message: ''
633
412
  headers:
413
+ Date:
414
+ - Tue, 23 Jun 2015 15:09:27 GMT
415
+ Server:
416
+ - Apache/2.4.7 (Ubuntu)
634
417
  Vary:
635
418
  - X-Auth-Token
636
- X-Distribution:
637
- - Ubuntu
419
+ X-Openstack-Request-Id:
420
+ - req-3667c2bc-a416-4936-b724-d8d66aa633f7
421
+ Content-Length:
422
+ - '120'
638
423
  Content-Type:
639
424
  - application/json
640
- Content-Length:
641
- - '118'
642
- Date:
643
- - Mon, 23 Mar 2015 09:25:26 GMT
644
425
  body:
645
426
  encoding: US-ASCII
646
- string: ! '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
427
+ string: ! '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=foobar",
647
428
  "previous": null, "next": null}}'
648
429
  http_version:
649
- recorded_at: Mon, 23 Mar 2015 09:25:25 GMT
430
+ recorded_at: Tue, 23 Jun 2015 15:09:27 GMT
650
431
  - request:
651
432
  method: get
652
- uri: http://devstack.openstack.stack:35357/v3/domains?name=baz&page=1&per_page=30
433
+ uri: http://devstack.openstack.stack:35357/v3/domains?name=baz
653
434
  body:
654
435
  encoding: US-ASCII
655
436
  string: ''
656
437
  headers:
657
438
  User-Agent:
658
- - fog/1.28.0 fog-core/1.29.0
439
+ - fog/1.31.0 fog-core/1.31.1
659
440
  Content-Type:
660
441
  - application/json
661
442
  Accept:
662
443
  - application/json
663
444
  X-Auth-Token:
664
- - 5c8be712c59844cb9ba0ddef957a3005
445
+ - 0c4458de5ba5446885c65b1dedfb2404
665
446
  response:
666
447
  status:
667
448
  code: 200
668
449
  message: ''
669
450
  headers:
451
+ Date:
452
+ - Tue, 23 Jun 2015 15:09:27 GMT
453
+ Server:
454
+ - Apache/2.4.7 (Ubuntu)
670
455
  Vary:
671
456
  - X-Auth-Token
672
- X-Distribution:
673
- - Ubuntu
457
+ X-Openstack-Request-Id:
458
+ - req-6a574e03-0ba8-40c0-9752-238c2df55b01
459
+ Content-Length:
460
+ - '117'
674
461
  Content-Type:
675
462
  - application/json
676
- Content-Length:
677
- - '118'
678
- Date:
679
- - Mon, 23 Mar 2015 09:25:26 GMT
680
463
  body:
681
464
  encoding: US-ASCII
682
- string: ! '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains",
465
+ string: ! '{"domains": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/domains?name=baz",
683
466
  "previous": null, "next": null}}'
684
467
  http_version:
685
- recorded_at: Mon, 23 Mar 2015 09:25:26 GMT
468
+ recorded_at: Tue, 23 Jun 2015 15:09:27 GMT
686
469
  recorded_with: VCR 2.9.3