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
@@ -0,0 +1,187 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://devstack.openstack.stack:5000/v3/auth/tokens
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"password","id":"aa9f25defa6d4cafb48466df83106065"}}}}}'
9
+ headers:
10
+ User-Agent:
11
+ - fog/1.31.0 fog-core/1.31.1
12
+ Content-Type:
13
+ - application/json
14
+ response:
15
+ status:
16
+ code: 201
17
+ message: ''
18
+ headers:
19
+ Date:
20
+ - Tue, 23 Jun 2015 15:09:15 GMT
21
+ Server:
22
+ - Apache/2.4.7 (Ubuntu)
23
+ X-Subject-Token:
24
+ - 9f7df72efb3749ed8eb12699d16f56cc
25
+ Vary:
26
+ - X-Auth-Token
27
+ X-Openstack-Request-Id:
28
+ - req-77ed8c5d-de40-42ea-b7ac-013eedf72558
29
+ Content-Length:
30
+ - '297'
31
+ Content-Type:
32
+ - application/json
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ! '{"token": {"methods": ["password"], "expires_at": "2015-06-23T16:09:15.097008Z",
36
+ "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
37
+ "aa9f25defa6d4cafb48466df83106065", "name": "admin"}, "audit_ids": ["K9N-CugNRDSarC82lwYYHQ"],
38
+ "issued_at": "2015-06-23T15:09:15.097078Z"}}'
39
+ http_version:
40
+ recorded_at: Tue, 23 Jun 2015 15:09:15 GMT
41
+ - request:
42
+ method: get
43
+ uri: http://devstack.openstack.stack:5000/v3/users/aa9f25defa6d4cafb48466df83106065/projects
44
+ body:
45
+ encoding: US-ASCII
46
+ string: ''
47
+ headers:
48
+ User-Agent:
49
+ - fog/1.31.0 fog-core/1.31.1
50
+ Content-Type:
51
+ - application/json
52
+ Accept:
53
+ - application/json
54
+ X-Auth-Token:
55
+ - 9f7df72efb3749ed8eb12699d16f56cc
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: ''
60
+ headers:
61
+ Date:
62
+ - Tue, 23 Jun 2015 15:09:15 GMT
63
+ Server:
64
+ - Apache/2.4.7 (Ubuntu)
65
+ Vary:
66
+ - X-Auth-Token
67
+ X-Openstack-Request-Id:
68
+ - req-99d9e960-accc-4943-b647-f0454eb9f9ba
69
+ Content-Length:
70
+ - '617'
71
+ Content-Type:
72
+ - application/json
73
+ body:
74
+ encoding: US-ASCII
75
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:5000/v3/users/aa9f25defa6d4cafb48466df83106065/projects",
76
+ "previous": null, "next": null}, "projects": [{"description": null, "links":
77
+ {"self": "http://devstack.openstack.stack:5000/v3/projects/123ac695d4db400a9001b91bb3b8aa46"},
78
+ "enabled": true, "id": "123ac695d4db400a9001b91bb3b8aa46", "parent_id": null,
79
+ "domain_id": "default", "name": "admin"}, {"description": null, "links": {"self":
80
+ "http://devstack.openstack.stack:5000/v3/projects/3ed7ee0512b641d3bb1fe17fc86d8bff"},
81
+ "enabled": true, "id": "3ed7ee0512b641d3bb1fe17fc86d8bff", "parent_id": null,
82
+ "domain_id": "default", "name": "demo"}]}'
83
+ http_version:
84
+ recorded_at: Tue, 23 Jun 2015 15:09:15 GMT
85
+ - request:
86
+ method: post
87
+ uri: http://devstack.openstack.stack:5000/v3/auth/tokens
88
+ body:
89
+ encoding: UTF-8
90
+ string: ! '{"auth":{"identity":{"methods":["token"],"token":{"id":"9f7df72efb3749ed8eb12699d16f56cc"}},"scope":{"project":{"name":"admin","domain":{"id":"default"}}}}}'
91
+ headers:
92
+ User-Agent:
93
+ - fog/1.31.0 fog-core/1.31.1
94
+ Content-Type:
95
+ - application/json
96
+ response:
97
+ status:
98
+ code: 201
99
+ message: ''
100
+ headers:
101
+ Date:
102
+ - Tue, 23 Jun 2015 15:09:15 GMT
103
+ Server:
104
+ - Apache/2.4.7 (Ubuntu)
105
+ X-Subject-Token:
106
+ - 6974d4e66dbb47e9a4ca379c14f706f4
107
+ Vary:
108
+ - X-Auth-Token
109
+ X-Openstack-Request-Id:
110
+ - req-7111935d-8900-4dff-ba6f-f1f691cb6b48
111
+ Content-Length:
112
+ - '5909'
113
+ Content-Type:
114
+ - application/json
115
+ body:
116
+ encoding: US-ASCII
117
+ string: ! '{"token": {"methods": ["token", "password"], "roles": [{"id": "6ead57f8ae124996af8b0beb72ff1007",
118
+ "name": "admin"}], "expires_at": "2015-06-23T16:09:15.097008Z", "project":
119
+ {"domain": {"id": "default", "name": "Default"}, "id": "123ac695d4db400a9001b91bb3b8aa46",
120
+ "name": "admin"}, "catalog": [{"endpoints": [{"region_id": "RegionOne", "url":
121
+ "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface": "public",
122
+ "id": "6e82c8912d3f49a09df51035681d564c"}, {"region_id": "RegionOne", "url":
123
+ "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface": "admin",
124
+ "id": "7e44d321ae80457abc3728fa1e6feb32"}, {"region_id": "RegionOne", "url":
125
+ "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface": "internal",
126
+ "id": "c9a090a4597040849c03bc13588167f6"}], "type": "image", "id": "0d56500210a24c38a3702b6825e24164",
127
+ "name": "glance"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/123ac695d4db400a9001b91bb3b8aa46",
128
+ "region": "RegionOne", "interface": "internal", "id": "261aaf6239bb49a4a1cfa87c19859138"},
129
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/123ac695d4db400a9001b91bb3b8aa46",
130
+ "region": "RegionOne", "interface": "admin", "id": "437d282e0bb94622aaacc4d194c069a9"},
131
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/123ac695d4db400a9001b91bb3b8aa46",
132
+ "region": "RegionOne", "interface": "public", "id": "5e78bf7bae7c4ff5b9720b2c2e4da743"}],
133
+ "type": "volumev2", "id": "2b92e79c45254516932c633229cd0e8b", "name": "cinderv2"},
134
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/",
135
+ "region": "RegionOne", "interface": "admin", "id": "1ce26a6fffd0424bac135b9c68055b6e"},
136
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
137
+ "RegionOne", "interface": "public", "id": "98db699b9ffa4dffb027d78163aad8cc"},
138
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
139
+ "RegionOne", "interface": "internal", "id": "ece52860cf1e4eb6a8fed05c47a30147"}],
140
+ "type": "ec2", "id": "3364a7b95c664bf89a7a8db081576364", "name": "ec2"}, {"endpoints":
141
+ [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/123ac695d4db400a9001b91bb3b8aa46",
142
+ "region": "RegionOne", "interface": "admin", "id": "4442fbd064844a7bbe6a792507d4b8e3"},
143
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/123ac695d4db400a9001b91bb3b8aa46",
144
+ "region": "RegionOne", "interface": "internal", "id": "4b4178fd2e3d4f329600cc4ceaaa7e3a"},
145
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/123ac695d4db400a9001b91bb3b8aa46",
146
+ "region": "RegionOne", "interface": "public", "id": "90977723dba04ea9a2a184c99565ccff"}],
147
+ "type": "volume", "id": "511b94ce0482484ea09028091dd5e9a5", "name": "cinder"},
148
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/123ac695d4db400a9001b91bb3b8aa46",
149
+ "region": "RegionOne", "interface": "internal", "id": "81c51855280345e9a6c322ca986d4e4b"},
150
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/123ac695d4db400a9001b91bb3b8aa46",
151
+ "region": "RegionOne", "interface": "admin", "id": "a0310a37cf6144a6a967cbae9a7959ba"},
152
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/123ac695d4db400a9001b91bb3b8aa46",
153
+ "region": "RegionOne", "interface": "public", "id": "f6d38c03b9c04a9e924aaa288ce014b8"}],
154
+ "type": "compute", "id": "5b7028751ed045d79467c7845ecb8c58", "name": "nova"},
155
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/123ac695d4db400a9001b91bb3b8aa46",
156
+ "region": "RegionOne", "interface": "internal", "id": "2f17e155b0aa47838394e6c4f6fe30e0"},
157
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/123ac695d4db400a9001b91bb3b8aa46",
158
+ "region": "RegionOne", "interface": "public", "id": "9d2555fd27dd44e5acfb5e56127d974b"},
159
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/123ac695d4db400a9001b91bb3b8aa46",
160
+ "region": "RegionOne", "interface": "admin", "id": "e8bdd9403fbb4efa8d77bfd4f6a5e34a"}],
161
+ "type": "computev21", "id": "97e665cbada043718180c5a6316df76a", "name": "novav21"},
162
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3",
163
+ "region": "RegionOne", "interface": "admin", "id": "185eda94de9340e58245062f75d7f80e"},
164
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
165
+ "RegionOne", "interface": "internal", "id": "9abd6797844d455f875af9537325cba4"},
166
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
167
+ "RegionOne", "interface": "public", "id": "d3b31f24e4ea40699f731e29e625c187"}],
168
+ "type": "identity", "id": "b577d8f7c7074d04a1165fcca638b600", "name": "keystone_v3x"},
169
+ {"endpoints": [{"region_id": "europe", "url": "http://devstack.openstack.stack:35357/v3",
170
+ "region": "europe", "interface": "admin", "id": "32bb2c6aea944ea6b4956eb24142d2e2"},
171
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
172
+ "RegionOne", "interface": "public", "id": "480ea71dc8cf4c959df1c6304be87056"},
173
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
174
+ "europe", "interface": "public", "id": "600638643d22494fad4f30e3b22ae124"},
175
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
176
+ "RegionOne", "interface": "internal", "id": "8a254651925e4a3e9505c863a00c017e"},
177
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
178
+ "europe", "interface": "internal", "id": "b93da6aaba654d8cb451ff8378d7d2a5"},
179
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
180
+ "RegionOne", "interface": "admin", "id": "d5f8e0da0f3345529a5fb324d735d4a3"}],
181
+ "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009", "name": "keystone_v3"}],
182
+ "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
183
+ "aa9f25defa6d4cafb48466df83106065", "name": "admin"}, "audit_ids": ["1yvNE0UcSCWjedTDCBbDsA",
184
+ "K9N-CugNRDSarC82lwYYHQ"], "issued_at": "2015-06-23T15:09:15.359531Z"}}'
185
+ http_version:
186
+ recorded_at: Tue, 23 Jun 2015 15:09:15 GMT
187
+ recorded_with: VCR 2.9.3
@@ -2,112 +2,118 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
5
+ uri: http://devstack.openstack.stack:35357/v3/policies
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:46 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-101fa1d1-0ee1-4880-97f8-0e54b2f52bab
31
+ Content-Length:
32
+ - '110'
27
33
  Content-Type:
28
34
  - application/json
29
- Content-Length:
30
- - '120'
31
- Date:
32
- - Fri, 13 Mar 2015 11:40:33 GMT
33
35
  body:
34
36
  encoding: US-ASCII
35
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
36
- "previous": null, "next": null}, "policies": []}'
37
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
38
+ null, "next": null}, "policies": []}'
37
39
  http_version:
38
- recorded_at: Fri, 13 Mar 2015 11:40:33 GMT
40
+ recorded_at: Tue, 23 Jun 2015 15:09:47 GMT
39
41
  - request:
40
42
  method: get
41
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
43
+ uri: http://devstack.openstack.stack:35357/v3/policies
42
44
  body:
43
45
  encoding: US-ASCII
44
46
  string: ''
45
47
  headers:
46
48
  User-Agent:
47
- - fog/1.28.0 fog-core/1.29.0
49
+ - fog/1.31.0 fog-core/1.31.1
48
50
  Content-Type:
49
51
  - application/json
50
52
  Accept:
51
53
  - application/json
52
54
  X-Auth-Token:
53
- - d8291e2a2a2046259316f7c2d4253e92
55
+ - 0c4458de5ba5446885c65b1dedfb2404
54
56
  response:
55
57
  status:
56
58
  code: 200
57
59
  message: ''
58
60
  headers:
61
+ Date:
62
+ - Tue, 23 Jun 2015 15:09:47 GMT
63
+ Server:
64
+ - Apache/2.4.7 (Ubuntu)
59
65
  Vary:
60
66
  - X-Auth-Token
61
- X-Distribution:
62
- - Ubuntu
67
+ X-Openstack-Request-Id:
68
+ - req-ee720c2a-dc63-457a-90e4-e9e392a191d3
69
+ Content-Length:
70
+ - '110'
63
71
  Content-Type:
64
72
  - application/json
65
- Content-Length:
66
- - '120'
67
- Date:
68
- - Fri, 13 Mar 2015 11:40:33 GMT
69
73
  body:
70
74
  encoding: US-ASCII
71
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
72
- "previous": null, "next": null}, "policies": []}'
75
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
76
+ null, "next": null}, "policies": []}'
73
77
  http_version:
74
- recorded_at: Fri, 13 Mar 2015 11:40:33 GMT
78
+ recorded_at: Tue, 23 Jun 2015 15:09:47 GMT
75
79
  - request:
76
80
  method: get
77
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
81
+ uri: http://devstack.openstack.stack:35357/v3/policies
78
82
  body:
79
83
  encoding: US-ASCII
80
84
  string: ''
81
85
  headers:
82
86
  User-Agent:
83
- - fog/1.28.0 fog-core/1.29.0
87
+ - fog/1.31.0 fog-core/1.31.1
84
88
  Content-Type:
85
89
  - application/json
86
90
  Accept:
87
91
  - application/json
88
92
  X-Auth-Token:
89
- - d8291e2a2a2046259316f7c2d4253e92
93
+ - 0c4458de5ba5446885c65b1dedfb2404
90
94
  response:
91
95
  status:
92
96
  code: 200
93
97
  message: ''
94
98
  headers:
99
+ Date:
100
+ - Tue, 23 Jun 2015 15:09:47 GMT
101
+ Server:
102
+ - Apache/2.4.7 (Ubuntu)
95
103
  Vary:
96
104
  - X-Auth-Token
97
- X-Distribution:
98
- - Ubuntu
105
+ X-Openstack-Request-Id:
106
+ - req-991b5ccd-8f91-4830-9d52-5d481b7edce9
107
+ Content-Length:
108
+ - '110'
99
109
  Content-Type:
100
110
  - application/json
101
- Content-Length:
102
- - '120'
103
- Date:
104
- - Fri, 13 Mar 2015 11:40:34 GMT
105
111
  body:
106
112
  encoding: US-ASCII
107
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
108
- "previous": null, "next": null}, "policies": []}'
113
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
114
+ null, "next": null}, "policies": []}'
109
115
  http_version:
110
- recorded_at: Fri, 13 Mar 2015 11:40:34 GMT
116
+ recorded_at: Tue, 23 Jun 2015 15:09:47 GMT
111
117
  - request:
112
118
  method: get
113
119
  uri: http://devstack.openstack.stack:35357/v3/policies/atlantis
@@ -116,32 +122,34 @@ http_interactions:
116
122
  string: ''
117
123
  headers:
118
124
  User-Agent:
119
- - fog/1.28.0 fog-core/1.29.0
125
+ - fog/1.31.0 fog-core/1.31.1
120
126
  Content-Type:
121
127
  - application/json
122
128
  Accept:
123
129
  - application/json
124
130
  X-Auth-Token:
125
- - d8291e2a2a2046259316f7c2d4253e92
131
+ - 0c4458de5ba5446885c65b1dedfb2404
126
132
  response:
127
133
  status:
128
134
  code: 404
129
135
  message: ''
130
136
  headers:
137
+ Date:
138
+ - Tue, 23 Jun 2015 15:09:47 GMT
139
+ Server:
140
+ - Apache/2.4.7 (Ubuntu)
131
141
  Vary:
132
142
  - X-Auth-Token
133
- X-Distribution:
134
- - Ubuntu
143
+ X-Openstack-Request-Id:
144
+ - req-46b1c5e9-e7f2-4a5a-9a12-cc16fb558a95
145
+ Content-Length:
146
+ - '92'
135
147
  Content-Type:
136
148
  - application/json
137
- Content-Length:
138
- - '93'
139
- Date:
140
- - Fri, 13 Mar 2015 11:40:34 GMT
141
149
  body:
142
150
  encoding: US-ASCII
143
- string: ! '{"error": {"message": "Could not find policy, atlantis.", "code":
151
+ string: ! '{"error": {"message": "Could not find policy: atlantis", "code":
144
152
  404, "title": "Not Found"}}'
145
153
  http_version:
146
- recorded_at: Fri, 13 Mar 2015 11:40:34 GMT
154
+ recorded_at: Tue, 23 Jun 2015 15:09:47 GMT
147
155
  recorded_with: VCR 2.9.3
@@ -2,40 +2,42 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
5
+ uri: http://devstack.openstack.stack:35357/v3/policies
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:47 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-ea24b863-f785-44d2-8286-46a2b044b8ca
31
+ Content-Length:
32
+ - '110'
27
33
  Content-Type:
28
34
  - application/json
29
- Content-Length:
30
- - '120'
31
- Date:
32
- - Fri, 13 Mar 2015 11:40:34 GMT
33
35
  body:
34
36
  encoding: US-ASCII
35
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
36
- "previous": null, "next": null}, "policies": []}'
37
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
38
+ null, "next": null}, "policies": []}'
37
39
  http_version:
38
- recorded_at: Fri, 13 Mar 2015 11:40:34 GMT
40
+ recorded_at: Tue, 23 Jun 2015 15:09:47 GMT
39
41
  - request:
40
42
  method: post
41
43
  uri: http://devstack.openstack.stack:35357/v3/policies
@@ -44,325 +46,343 @@ http_interactions:
44
46
  string: ! '{"policy":{"type":"application/json","blob":"{\"foobar_user\":[\"role:compute-user\"]}"}}'
45
47
  headers:
46
48
  User-Agent:
47
- - fog/1.28.0 fog-core/1.29.0
49
+ - fog/1.31.0 fog-core/1.31.1
48
50
  Content-Type:
49
51
  - application/json
50
52
  Accept:
51
53
  - application/json
52
54
  X-Auth-Token:
53
- - d8291e2a2a2046259316f7c2d4253e92
55
+ - 0c4458de5ba5446885c65b1dedfb2404
54
56
  response:
55
57
  status:
56
58
  code: 201
57
59
  message: ''
58
60
  headers:
61
+ Date:
62
+ - Tue, 23 Jun 2015 15:09:47 GMT
63
+ Server:
64
+ - Apache/2.4.7 (Ubuntu)
59
65
  Vary:
60
66
  - X-Auth-Token
61
- X-Distribution:
62
- - Ubuntu
67
+ X-Openstack-Request-Id:
68
+ - req-5f77dba3-1975-48c3-9eb8-8b6943263584
69
+ Content-Length:
70
+ - '230'
63
71
  Content-Type:
64
72
  - application/json
65
- Content-Length:
66
- - '240'
67
- Date:
68
- - Fri, 13 Mar 2015 11:40:34 GMT
69
73
  body:
70
74
  encoding: US-ASCII
71
- string: ! '{"policy": {"type": "application/json", "id": "ba1d80e5632346f1847b585eea231de2",
72
- "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2"},
75
+ string: ! '{"policy": {"type": "application/json", "id": "b32b559596b445e8a3f7e4e148f7a528",
76
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528"},
73
77
  "blob": "{\"foobar_user\":[\"role:compute-user\"]}"}}'
74
78
  http_version:
75
- recorded_at: Fri, 13 Mar 2015 11:40:34 GMT
79
+ recorded_at: Tue, 23 Jun 2015 15:09:47 GMT
76
80
  - request:
77
81
  method: get
78
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
82
+ uri: http://devstack.openstack.stack:35357/v3/policies
79
83
  body:
80
84
  encoding: US-ASCII
81
85
  string: ''
82
86
  headers:
83
87
  User-Agent:
84
- - fog/1.28.0 fog-core/1.29.0
88
+ - fog/1.31.0 fog-core/1.31.1
85
89
  Content-Type:
86
90
  - application/json
87
91
  Accept:
88
92
  - application/json
89
93
  X-Auth-Token:
90
- - d8291e2a2a2046259316f7c2d4253e92
94
+ - 0c4458de5ba5446885c65b1dedfb2404
91
95
  response:
92
96
  status:
93
97
  code: 200
94
98
  message: ''
95
99
  headers:
100
+ Date:
101
+ - Tue, 23 Jun 2015 15:09:47 GMT
102
+ Server:
103
+ - Apache/2.4.7 (Ubuntu)
96
104
  Vary:
97
105
  - X-Auth-Token
98
- X-Distribution:
99
- - Ubuntu
106
+ X-Openstack-Request-Id:
107
+ - req-b695a693-68e1-4967-8400-cdbd474618d2
108
+ Content-Length:
109
+ - '328'
100
110
  Content-Type:
101
111
  - application/json
102
- Content-Length:
103
- - '348'
104
- Date:
105
- - Fri, 13 Mar 2015 11:40:34 GMT
106
112
  body:
107
113
  encoding: US-ASCII
108
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
109
- "previous": null, "next": null}, "policies": [{"type": "application/json",
110
- "id": "ba1d80e5632346f1847b585eea231de2", "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2"},
114
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
115
+ null, "next": null}, "policies": [{"type": "application/json", "id": "b32b559596b445e8a3f7e4e148f7a528",
116
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528"},
111
117
  "blob": "{\"foobar_user\":[\"role:compute-user\"]}"}]}'
112
118
  http_version:
113
- recorded_at: Fri, 13 Mar 2015 11:40:34 GMT
119
+ recorded_at: Tue, 23 Jun 2015 15:09:47 GMT
114
120
  - request:
115
121
  method: patch
116
- uri: http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2
122
+ uri: http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528
117
123
  body:
118
124
  encoding: UTF-8
119
125
  string: ! '{"policy":{"blob":"{\"baz_user\":[\"role:compute-user\"]}"}}'
120
126
  headers:
121
127
  User-Agent:
122
- - fog/1.28.0 fog-core/1.29.0
128
+ - fog/1.31.0 fog-core/1.31.1
123
129
  Content-Type:
124
130
  - application/json
125
131
  Accept:
126
132
  - application/json
127
133
  X-Auth-Token:
128
- - d8291e2a2a2046259316f7c2d4253e92
134
+ - 0c4458de5ba5446885c65b1dedfb2404
129
135
  response:
130
136
  status:
131
137
  code: 200
132
138
  message: ''
133
139
  headers:
140
+ Date:
141
+ - Tue, 23 Jun 2015 15:09:47 GMT
142
+ Server:
143
+ - Apache/2.4.7 (Ubuntu)
134
144
  Vary:
135
145
  - X-Auth-Token
136
- X-Distribution:
137
- - Ubuntu
146
+ X-Openstack-Request-Id:
147
+ - req-f5b9a8d5-7989-45ee-a2e3-4498313fe317
148
+ Content-Length:
149
+ - '227'
138
150
  Content-Type:
139
151
  - application/json
140
- Content-Length:
141
- - '237'
142
- Date:
143
- - Fri, 13 Mar 2015 11:40:34 GMT
144
152
  body:
145
153
  encoding: US-ASCII
146
- string: ! '{"policy": {"type": "application/json", "id": "ba1d80e5632346f1847b585eea231de2",
147
- "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2"},
154
+ string: ! '{"policy": {"type": "application/json", "id": "b32b559596b445e8a3f7e4e148f7a528",
155
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528"},
148
156
  "blob": "{\"baz_user\":[\"role:compute-user\"]}"}}'
149
157
  http_version:
150
- recorded_at: Fri, 13 Mar 2015 11:40:34 GMT
158
+ recorded_at: Tue, 23 Jun 2015 15:09:48 GMT
151
159
  - request:
152
160
  method: get
153
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
161
+ uri: http://devstack.openstack.stack:35357/v3/policies
154
162
  body:
155
163
  encoding: US-ASCII
156
164
  string: ''
157
165
  headers:
158
166
  User-Agent:
159
- - fog/1.28.0 fog-core/1.29.0
167
+ - fog/1.31.0 fog-core/1.31.1
160
168
  Content-Type:
161
169
  - application/json
162
170
  Accept:
163
171
  - application/json
164
172
  X-Auth-Token:
165
- - d8291e2a2a2046259316f7c2d4253e92
173
+ - 0c4458de5ba5446885c65b1dedfb2404
166
174
  response:
167
175
  status:
168
176
  code: 200
169
177
  message: ''
170
178
  headers:
179
+ Date:
180
+ - Tue, 23 Jun 2015 15:09:48 GMT
181
+ Server:
182
+ - Apache/2.4.7 (Ubuntu)
171
183
  Vary:
172
184
  - X-Auth-Token
173
- X-Distribution:
174
- - Ubuntu
185
+ X-Openstack-Request-Id:
186
+ - req-2268e0d1-2a64-4697-aa82-ff1e8c8bedfd
187
+ Content-Length:
188
+ - '325'
175
189
  Content-Type:
176
190
  - application/json
177
- Content-Length:
178
- - '345'
179
- Date:
180
- - Fri, 13 Mar 2015 11:40:35 GMT
181
191
  body:
182
192
  encoding: US-ASCII
183
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
184
- "previous": null, "next": null}, "policies": [{"type": "application/json",
185
- "id": "ba1d80e5632346f1847b585eea231de2", "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2"},
193
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
194
+ null, "next": null}, "policies": [{"type": "application/json", "id": "b32b559596b445e8a3f7e4e148f7a528",
195
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528"},
186
196
  "blob": "{\"baz_user\":[\"role:compute-user\"]}"}]}'
187
197
  http_version:
188
- recorded_at: Fri, 13 Mar 2015 11:40:35 GMT
198
+ recorded_at: Tue, 23 Jun 2015 15:09:48 GMT
189
199
  - request:
190
200
  method: get
191
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
201
+ uri: http://devstack.openstack.stack:35357/v3/policies
192
202
  body:
193
203
  encoding: US-ASCII
194
204
  string: ''
195
205
  headers:
196
206
  User-Agent:
197
- - fog/1.28.0 fog-core/1.29.0
207
+ - fog/1.31.0 fog-core/1.31.1
198
208
  Content-Type:
199
209
  - application/json
200
210
  Accept:
201
211
  - application/json
202
212
  X-Auth-Token:
203
- - d8291e2a2a2046259316f7c2d4253e92
213
+ - 0c4458de5ba5446885c65b1dedfb2404
204
214
  response:
205
215
  status:
206
216
  code: 200
207
217
  message: ''
208
218
  headers:
219
+ Date:
220
+ - Tue, 23 Jun 2015 15:09:48 GMT
221
+ Server:
222
+ - Apache/2.4.7 (Ubuntu)
209
223
  Vary:
210
224
  - X-Auth-Token
211
- X-Distribution:
212
- - Ubuntu
225
+ X-Openstack-Request-Id:
226
+ - req-601d03cc-4753-47b9-9a96-0e86e5f5b2a1
227
+ Content-Length:
228
+ - '325'
213
229
  Content-Type:
214
230
  - application/json
215
- Content-Length:
216
- - '345'
217
- Date:
218
- - Fri, 13 Mar 2015 11:40:35 GMT
219
231
  body:
220
232
  encoding: US-ASCII
221
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
222
- "previous": null, "next": null}, "policies": [{"type": "application/json",
223
- "id": "ba1d80e5632346f1847b585eea231de2", "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2"},
233
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
234
+ null, "next": null}, "policies": [{"type": "application/json", "id": "b32b559596b445e8a3f7e4e148f7a528",
235
+ "links": {"self": "http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528"},
224
236
  "blob": "{\"baz_user\":[\"role:compute-user\"]}"}]}'
225
237
  http_version:
226
- recorded_at: Fri, 13 Mar 2015 11:40:35 GMT
238
+ recorded_at: Tue, 23 Jun 2015 15:09:48 GMT
227
239
  - request:
228
240
  method: delete
229
- uri: http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2
241
+ uri: http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528
230
242
  body:
231
243
  encoding: US-ASCII
232
244
  string: ''
233
245
  headers:
234
246
  User-Agent:
235
- - fog/1.28.0 fog-core/1.29.0
247
+ - fog/1.31.0 fog-core/1.31.1
236
248
  Content-Type:
237
249
  - application/json
238
250
  Accept:
239
251
  - application/json
240
252
  X-Auth-Token:
241
- - d8291e2a2a2046259316f7c2d4253e92
253
+ - 0c4458de5ba5446885c65b1dedfb2404
242
254
  response:
243
255
  status:
244
256
  code: 204
245
257
  message: ''
246
258
  headers:
259
+ Date:
260
+ - Tue, 23 Jun 2015 15:09:48 GMT
261
+ Server:
262
+ - Apache/2.4.7 (Ubuntu)
247
263
  Vary:
248
264
  - X-Auth-Token
249
- X-Distribution:
250
- - Ubuntu
265
+ X-Openstack-Request-Id:
266
+ - req-06eadca3-8e9f-4732-892c-e8fac82da864
251
267
  Content-Length:
252
268
  - '0'
253
- Date:
254
- - Fri, 13 Mar 2015 11:40:35 GMT
255
269
  body:
256
270
  encoding: US-ASCII
257
271
  string: ''
258
272
  http_version:
259
- recorded_at: Fri, 13 Mar 2015 11:40:35 GMT
273
+ recorded_at: Tue, 23 Jun 2015 15:09:48 GMT
260
274
  - request:
261
275
  method: get
262
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
276
+ uri: http://devstack.openstack.stack:35357/v3/policies
263
277
  body:
264
278
  encoding: US-ASCII
265
279
  string: ''
266
280
  headers:
267
281
  User-Agent:
268
- - fog/1.28.0 fog-core/1.29.0
282
+ - fog/1.31.0 fog-core/1.31.1
269
283
  Content-Type:
270
284
  - application/json
271
285
  Accept:
272
286
  - application/json
273
287
  X-Auth-Token:
274
- - d8291e2a2a2046259316f7c2d4253e92
288
+ - 0c4458de5ba5446885c65b1dedfb2404
275
289
  response:
276
290
  status:
277
291
  code: 200
278
292
  message: ''
279
293
  headers:
294
+ Date:
295
+ - Tue, 23 Jun 2015 15:09:48 GMT
296
+ Server:
297
+ - Apache/2.4.7 (Ubuntu)
280
298
  Vary:
281
299
  - X-Auth-Token
282
- X-Distribution:
283
- - Ubuntu
300
+ X-Openstack-Request-Id:
301
+ - req-e60d4cb6-1f43-4f8f-a76a-b42e5d21a4c2
302
+ Content-Length:
303
+ - '110'
284
304
  Content-Type:
285
305
  - application/json
286
- Content-Length:
287
- - '120'
288
- Date:
289
- - Fri, 13 Mar 2015 11:40:35 GMT
290
306
  body:
291
307
  encoding: US-ASCII
292
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
293
- "previous": null, "next": null}, "policies": []}'
308
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
309
+ null, "next": null}, "policies": []}'
294
310
  http_version:
295
- recorded_at: Fri, 13 Mar 2015 11:40:35 GMT
311
+ recorded_at: Tue, 23 Jun 2015 15:09:48 GMT
296
312
  - request:
297
313
  method: get
298
- uri: http://devstack.openstack.stack:35357/v3/policies/ba1d80e5632346f1847b585eea231de2
314
+ uri: http://devstack.openstack.stack:35357/v3/policies/b32b559596b445e8a3f7e4e148f7a528
299
315
  body:
300
316
  encoding: US-ASCII
301
317
  string: ''
302
318
  headers:
303
319
  User-Agent:
304
- - fog/1.28.0 fog-core/1.29.0
320
+ - fog/1.31.0 fog-core/1.31.1
305
321
  Content-Type:
306
322
  - application/json
307
323
  Accept:
308
324
  - application/json
309
325
  X-Auth-Token:
310
- - d8291e2a2a2046259316f7c2d4253e92
326
+ - 0c4458de5ba5446885c65b1dedfb2404
311
327
  response:
312
328
  status:
313
329
  code: 404
314
330
  message: ''
315
331
  headers:
332
+ Date:
333
+ - Tue, 23 Jun 2015 15:09:48 GMT
334
+ Server:
335
+ - Apache/2.4.7 (Ubuntu)
316
336
  Vary:
317
337
  - X-Auth-Token
318
- X-Distribution:
319
- - Ubuntu
338
+ X-Openstack-Request-Id:
339
+ - req-c65477a3-03dc-440b-b5ea-1fbe8aa8d0b7
340
+ Content-Length:
341
+ - '116'
320
342
  Content-Type:
321
343
  - application/json
322
- Content-Length:
323
- - '117'
324
- Date:
325
- - Fri, 13 Mar 2015 11:40:35 GMT
326
344
  body:
327
345
  encoding: US-ASCII
328
- string: ! '{"error": {"message": "Could not find policy, ba1d80e5632346f1847b585eea231de2.",
346
+ string: ! '{"error": {"message": "Could not find policy: b32b559596b445e8a3f7e4e148f7a528",
329
347
  "code": 404, "title": "Not Found"}}'
330
348
  http_version:
331
- recorded_at: Fri, 13 Mar 2015 11:40:35 GMT
349
+ recorded_at: Tue, 23 Jun 2015 15:09:48 GMT
332
350
  - request:
333
351
  method: get
334
- uri: http://devstack.openstack.stack:35357/v3/policies?page=1&per_page=30
352
+ uri: http://devstack.openstack.stack:35357/v3/policies
335
353
  body:
336
354
  encoding: US-ASCII
337
355
  string: ''
338
356
  headers:
339
357
  User-Agent:
340
- - fog/1.28.0 fog-core/1.29.0
358
+ - fog/1.31.0 fog-core/1.31.1
341
359
  Content-Type:
342
360
  - application/json
343
361
  Accept:
344
362
  - application/json
345
363
  X-Auth-Token:
346
- - d8291e2a2a2046259316f7c2d4253e92
364
+ - 0c4458de5ba5446885c65b1dedfb2404
347
365
  response:
348
366
  status:
349
367
  code: 200
350
368
  message: ''
351
369
  headers:
370
+ Date:
371
+ - Tue, 23 Jun 2015 15:09:48 GMT
372
+ Server:
373
+ - Apache/2.4.7 (Ubuntu)
352
374
  Vary:
353
375
  - X-Auth-Token
354
- X-Distribution:
355
- - Ubuntu
376
+ X-Openstack-Request-Id:
377
+ - req-ef3e5e0a-6e50-4121-89ff-dee245b1e8dd
378
+ Content-Length:
379
+ - '110'
356
380
  Content-Type:
357
381
  - application/json
358
- Content-Length:
359
- - '120'
360
- Date:
361
- - Fri, 13 Mar 2015 11:40:35 GMT
362
382
  body:
363
383
  encoding: US-ASCII
364
- string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies",
365
- "previous": null, "next": null}, "policies": []}'
384
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:35357/v3/policies", "previous":
385
+ null, "next": null}, "policies": []}'
366
386
  http_version:
367
- recorded_at: Fri, 13 Mar 2015 11:40:35 GMT
387
+ recorded_at: Tue, 23 Jun 2015 15:09:49 GMT
368
388
  recorded_with: VCR 2.9.3