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
@@ -5,10 +5,10 @@ http_interactions:
5
5
  uri: http://devstack.openstack.stack:5000/v3/auth/tokens
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"openstack","domain":{"name":"Default"},"name":"admin"}}},"scope":{"project":{"name":"admin","domain":{"name":"Default"}}}}}'
8
+ string: ! '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"password","domain":{"name":"Default"},"name":"admin"}}},"scope":{"project":{"name":"admin","domain":{"name":"Default"}}}}}'
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
  response:
@@ -16,46 +16,90 @@ http_interactions:
16
16
  code: 201
17
17
  message: ''
18
18
  headers:
19
+ Date:
20
+ - Tue, 23 Jun 2015 15:09:16 GMT
21
+ Server:
22
+ - Apache/2.4.7 (Ubuntu)
19
23
  X-Subject-Token:
20
- - 49335972ad684380b8768871f309872c
24
+ - 3b7d657cc17843e48049d77fdbe68b83
21
25
  Vary:
22
26
  - X-Auth-Token
23
- X-Distribution:
24
- - Ubuntu
27
+ X-Openstack-Request-Id:
28
+ - req-7576d06c-1d8f-4974-b881-a392558826cf
29
+ Content-Length:
30
+ - '5874'
25
31
  Content-Type:
26
32
  - application/json
27
- Content-Length:
28
- - '2254'
29
- Date:
30
- - Fri, 13 Mar 2015 11:39:44 GMT
31
33
  body:
32
34
  encoding: US-ASCII
33
- string: ! '{"token": {"methods": ["password"], "roles": [{"id": "7ebef8a2837246eda8f83f96ffb82b2f",
34
- "name": "admin"}], "expires_at": "2015-03-13T12:39:44.564162Z", "project":
35
- {"domain": {"id": "default", "name": "Default"}, "id": "c7767afa57b74f33863a420daba5f57f",
36
- "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://devstack.openstack.stack:5000/v2.0",
37
- "region": "europe", "interface": "public", "id": "0b4b1e907e184880a1c3f32f00cd676f"},
38
- {"url": "http://devstack.openstack.stack:35357/v2.0", "region": "europe",
39
- "interface": "admin", "id": "53d872f1c5d04f35ac69509e41600c0b"}, {"url": "http://devstack.openstack.stack:5000/v2.0",
40
- "region": "europe", "interface": "internal", "id": "67aa3eedc510444faadb9ef3c7e8b2e4"}],
41
- "type": "identity", "id": "8e53f1d389df4059aeab1acfece2fc66", "name": "keystone"},
42
- {"endpoints": [{"url": "http://devstack.openstack.stack:5000/v3", "region":
43
- "europe", "interface": "internal", "id": "7002cfd6dbe74512b0b817d3b7380abb"},
44
- {"url": "http://devstack.openstack.stack:5000/v3", "region": "europe", "interface":
45
- "public", "id": "a7c634aa7f034284b62ddf974ddc04eb"}, {"url": "http://devstack.openstack.stack:35357/v3",
46
- "region": "europe", "interface": "admin", "id": "cba56e3e7a9c4ddfb39e1e4053bd04ab"}],
47
- "type": "identity_v3", "id": "a47e0f0014fa409993cef0bd984a5ac6", "name": "identity_v3"},
48
- {"endpoints": [{"url": "http://localhost/testurl/c7767afa57b74f33863a420daba5f57f",
49
- "region": "europe", "interface": "public", "id": "3387dfbf7bc440728e7aa1488f6ca96e"}],
50
- "type": "test_stefan", "id": "d36a1f72832b428688b7dae7d0ab8a39", "name": "test_stefan"},
51
- {"endpoints": [{"url": "http://devstack.openstack.stack:9292", "region": "europe",
52
- "interface": "public", "id": "0dabc688a031422381d3c92b7dfdfe4c"}, {"url":
53
- "http://devstack.openstack.stack:9292", "region": "europe", "interface": "admin",
54
- "id": "768f3eb8b29d49a19c4d50a85541d42e"}, {"url": "http://devstack.openstack.stack:9292",
55
- "region": "europe", "interface": "internal", "id": "a0c5556c80e448aca907a3ee785bd602"}],
56
- "type": "image", "id": "ee073ec39e804cca96d2440d8f109932", "name": "glance"}],
35
+ string: ! '{"token": {"methods": ["password"], "roles": [{"id": "6ead57f8ae124996af8b0beb72ff1007",
36
+ "name": "admin"}], "expires_at": "2015-06-23T16:09:16.620987Z", "project":
37
+ {"domain": {"id": "default", "name": "Default"}, "id": "123ac695d4db400a9001b91bb3b8aa46",
38
+ "name": "admin"}, "catalog": [{"endpoints": [{"region_id": "RegionOne", "url":
39
+ "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface": "public",
40
+ "id": "6e82c8912d3f49a09df51035681d564c"}, {"region_id": "RegionOne", "url":
41
+ "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface": "admin",
42
+ "id": "7e44d321ae80457abc3728fa1e6feb32"}, {"region_id": "RegionOne", "url":
43
+ "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface": "internal",
44
+ "id": "c9a090a4597040849c03bc13588167f6"}], "type": "image", "id": "0d56500210a24c38a3702b6825e24164",
45
+ "name": "glance"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/123ac695d4db400a9001b91bb3b8aa46",
46
+ "region": "RegionOne", "interface": "internal", "id": "261aaf6239bb49a4a1cfa87c19859138"},
47
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/123ac695d4db400a9001b91bb3b8aa46",
48
+ "region": "RegionOne", "interface": "admin", "id": "437d282e0bb94622aaacc4d194c069a9"},
49
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/123ac695d4db400a9001b91bb3b8aa46",
50
+ "region": "RegionOne", "interface": "public", "id": "5e78bf7bae7c4ff5b9720b2c2e4da743"}],
51
+ "type": "volumev2", "id": "2b92e79c45254516932c633229cd0e8b", "name": "cinderv2"},
52
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/",
53
+ "region": "RegionOne", "interface": "admin", "id": "1ce26a6fffd0424bac135b9c68055b6e"},
54
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
55
+ "RegionOne", "interface": "public", "id": "98db699b9ffa4dffb027d78163aad8cc"},
56
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
57
+ "RegionOne", "interface": "internal", "id": "ece52860cf1e4eb6a8fed05c47a30147"}],
58
+ "type": "ec2", "id": "3364a7b95c664bf89a7a8db081576364", "name": "ec2"}, {"endpoints":
59
+ [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/123ac695d4db400a9001b91bb3b8aa46",
60
+ "region": "RegionOne", "interface": "admin", "id": "4442fbd064844a7bbe6a792507d4b8e3"},
61
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/123ac695d4db400a9001b91bb3b8aa46",
62
+ "region": "RegionOne", "interface": "internal", "id": "4b4178fd2e3d4f329600cc4ceaaa7e3a"},
63
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/123ac695d4db400a9001b91bb3b8aa46",
64
+ "region": "RegionOne", "interface": "public", "id": "90977723dba04ea9a2a184c99565ccff"}],
65
+ "type": "volume", "id": "511b94ce0482484ea09028091dd5e9a5", "name": "cinder"},
66
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/123ac695d4db400a9001b91bb3b8aa46",
67
+ "region": "RegionOne", "interface": "internal", "id": "81c51855280345e9a6c322ca986d4e4b"},
68
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/123ac695d4db400a9001b91bb3b8aa46",
69
+ "region": "RegionOne", "interface": "admin", "id": "a0310a37cf6144a6a967cbae9a7959ba"},
70
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/123ac695d4db400a9001b91bb3b8aa46",
71
+ "region": "RegionOne", "interface": "public", "id": "f6d38c03b9c04a9e924aaa288ce014b8"}],
72
+ "type": "compute", "id": "5b7028751ed045d79467c7845ecb8c58", "name": "nova"},
73
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/123ac695d4db400a9001b91bb3b8aa46",
74
+ "region": "RegionOne", "interface": "internal", "id": "2f17e155b0aa47838394e6c4f6fe30e0"},
75
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/123ac695d4db400a9001b91bb3b8aa46",
76
+ "region": "RegionOne", "interface": "public", "id": "9d2555fd27dd44e5acfb5e56127d974b"},
77
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/123ac695d4db400a9001b91bb3b8aa46",
78
+ "region": "RegionOne", "interface": "admin", "id": "e8bdd9403fbb4efa8d77bfd4f6a5e34a"}],
79
+ "type": "computev21", "id": "97e665cbada043718180c5a6316df76a", "name": "novav21"},
80
+ {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3",
81
+ "region": "RegionOne", "interface": "admin", "id": "185eda94de9340e58245062f75d7f80e"},
82
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
83
+ "RegionOne", "interface": "internal", "id": "9abd6797844d455f875af9537325cba4"},
84
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
85
+ "RegionOne", "interface": "public", "id": "d3b31f24e4ea40699f731e29e625c187"}],
86
+ "type": "identity", "id": "b577d8f7c7074d04a1165fcca638b600", "name": "keystone_v3x"},
87
+ {"endpoints": [{"region_id": "europe", "url": "http://devstack.openstack.stack:35357/v3",
88
+ "region": "europe", "interface": "admin", "id": "32bb2c6aea944ea6b4956eb24142d2e2"},
89
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
90
+ "RegionOne", "interface": "public", "id": "480ea71dc8cf4c959df1c6304be87056"},
91
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
92
+ "europe", "interface": "public", "id": "600638643d22494fad4f30e3b22ae124"},
93
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
94
+ "RegionOne", "interface": "internal", "id": "8a254651925e4a3e9505c863a00c017e"},
95
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
96
+ "europe", "interface": "internal", "id": "b93da6aaba654d8cb451ff8378d7d2a5"},
97
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
98
+ "RegionOne", "interface": "admin", "id": "d5f8e0da0f3345529a5fb324d735d4a3"}],
99
+ "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009", "name": "keystone_v3"}],
57
100
  "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
58
- "8d5732a0ebd9485396351d74e24c9647", "name": "admin"}, "issued_at": "2015-03-13T11:39:44.564227Z"}}'
101
+ "aa9f25defa6d4cafb48466df83106065", "name": "admin"}, "audit_ids": ["cr8lTJyrR7Si8-nrQYKMdg"],
102
+ "issued_at": "2015-06-23T15:09:16.621047Z"}}'
59
103
  http_version:
60
- recorded_at: Fri, 13 Mar 2015 11:39:44 GMT
104
+ recorded_at: Tue, 23 Jun 2015 15:09:16 GMT
61
105
  recorded_with: VCR 2.9.3
@@ -2,71 +2,204 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://devstack.openstack.stack:5000/v3/auth/tokens
5
+ uri: http://devstack.openstack.stack:35357/v3/users
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"openstack","domain":{"id":"default"},"name":"demo"}}},"scope":{"project":{"name":"demo","domain":{"id":"default"}}}}}'
8
+ string: ! '{"user":{"name":"foobar_385","email":"foobar_demo@example.com","domain_id":"default","password":"s3cret!"}}'
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
+ Accept:
15
+ - application/json
16
+ X-Auth-Token:
17
+ - 0c4458de5ba5446885c65b1dedfb2404
14
18
  response:
15
19
  status:
16
20
  code: 201
17
21
  message: ''
18
22
  headers:
19
- X-Subject-Token:
20
- - 6d4d18cad41b4e508b376e8a2c8f0faa
23
+ Date:
24
+ - Tue, 23 Jun 2015 15:09:24 GMT
25
+ Server:
26
+ - Apache/2.4.7 (Ubuntu)
21
27
  Vary:
22
28
  - X-Auth-Token
23
- X-Distribution:
24
- - Ubuntu
29
+ X-Openstack-Request-Id:
30
+ - req-7500224b-d72c-40fa-9f57-c502b7e467a1
31
+ Content-Length:
32
+ - '243'
33
+ Content-Type:
34
+ - application/json
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"user": {"name": "foobar_385", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/47d9bd80f4b549089609fcca39479140"},
38
+ "domain_id": "default", "enabled": true, "email": "foobar_demo@example.com",
39
+ "id": "47d9bd80f4b549089609fcca39479140"}}'
40
+ http_version:
41
+ recorded_at: Tue, 23 Jun 2015 15:09:24 GMT
42
+ - request:
43
+ method: post
44
+ uri: http://devstack.openstack.stack:35357/v3/roles
45
+ body:
46
+ encoding: UTF-8
47
+ string: ! '{"role":{"name":"foobar_role390"}}'
48
+ headers:
49
+ User-Agent:
50
+ - fog/1.31.0 fog-core/1.31.1
25
51
  Content-Type:
26
52
  - application/json
53
+ Accept:
54
+ - application/json
55
+ X-Auth-Token:
56
+ - 0c4458de5ba5446885c65b1dedfb2404
57
+ response:
58
+ status:
59
+ code: 201
60
+ message: ''
61
+ headers:
62
+ Date:
63
+ - Tue, 23 Jun 2015 15:09:24 GMT
64
+ Server:
65
+ - Apache/2.4.7 (Ubuntu)
66
+ Vary:
67
+ - X-Auth-Token
68
+ X-Openstack-Request-Id:
69
+ - req-5b6421c3-072e-485e-93be-5add1c84a22d
70
+ Content-Length:
71
+ - '170'
72
+ Content-Type:
73
+ - application/json
74
+ body:
75
+ encoding: US-ASCII
76
+ string: ! '{"role": {"id": "a60c9dcd072b4fad8ec326e5e61d9955", "links": {"self":
77
+ "http://devstack.openstack.stack:35357/v3/roles/a60c9dcd072b4fad8ec326e5e61d9955"},
78
+ "name": "foobar_role390"}}'
79
+ http_version:
80
+ recorded_at: Tue, 23 Jun 2015 15:09:24 GMT
81
+ - request:
82
+ method: put
83
+ uri: http://devstack.openstack.stack:35357/v3/domains/default/users/47d9bd80f4b549089609fcca39479140/roles/a60c9dcd072b4fad8ec326e5e61d9955
84
+ body:
85
+ encoding: US-ASCII
86
+ string: ''
87
+ headers:
88
+ User-Agent:
89
+ - fog/1.31.0 fog-core/1.31.1
90
+ Content-Type:
91
+ - application/json
92
+ Accept:
93
+ - application/json
94
+ X-Auth-Token:
95
+ - 0c4458de5ba5446885c65b1dedfb2404
96
+ response:
97
+ status:
98
+ code: 204
99
+ message: ''
100
+ headers:
101
+ Date:
102
+ - Tue, 23 Jun 2015 15:09:24 GMT
103
+ Server:
104
+ - Apache/2.4.7 (Ubuntu)
105
+ Vary:
106
+ - X-Auth-Token
107
+ X-Openstack-Request-Id:
108
+ - req-d6fa789d-8e54-4263-a495-400afebc911d
27
109
  Content-Length:
28
- - '2255'
110
+ - '0'
111
+ body:
112
+ encoding: US-ASCII
113
+ string: ''
114
+ http_version:
115
+ recorded_at: Tue, 23 Jun 2015 15:09:24 GMT
116
+ - request:
117
+ method: post
118
+ uri: http://devstack.openstack.stack:5000/v3/auth/tokens
119
+ body:
120
+ encoding: UTF-8
121
+ string: ! '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"s3cret!","domain":{"id":"default"},"name":"foobar_385"}}},"scope":{"domain":{"id":"default"}}}}'
122
+ headers:
123
+ User-Agent:
124
+ - fog/1.31.0 fog-core/1.31.1
125
+ Content-Type:
126
+ - application/json
127
+ response:
128
+ status:
129
+ code: 201
130
+ message: ''
131
+ headers:
29
132
  Date:
30
- - Fri, 13 Mar 2015 11:39:57 GMT
133
+ - Tue, 23 Jun 2015 15:09:24 GMT
134
+ Server:
135
+ - Apache/2.4.7 (Ubuntu)
136
+ X-Subject-Token:
137
+ - de277fd5e2054079a380d41e43b40686
138
+ Vary:
139
+ - X-Auth-Token
140
+ X-Openstack-Request-Id:
141
+ - req-9d90ce38-e1c6-4316-930d-780764790067
142
+ Content-Length:
143
+ - '3546'
144
+ Content-Type:
145
+ - application/json
31
146
  body:
32
147
  encoding: US-ASCII
33
- string: ! '{"token": {"methods": ["password"], "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab",
34
- "name": "_member_"}], "expires_at": "2015-03-13T12:39:57.708450Z", "project":
35
- {"domain": {"id": "default", "name": "Default"}, "id": "c9f75b1200f64bf09ed079206a1a1b75",
36
- "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://devstack.openstack.stack:5000/v2.0",
37
- "region": "europe", "interface": "public", "id": "0b4b1e907e184880a1c3f32f00cd676f"},
38
- {"url": "http://devstack.openstack.stack:35357/v2.0", "region": "europe",
39
- "interface": "admin", "id": "53d872f1c5d04f35ac69509e41600c0b"}, {"url": "http://devstack.openstack.stack:5000/v2.0",
40
- "region": "europe", "interface": "internal", "id": "67aa3eedc510444faadb9ef3c7e8b2e4"}],
41
- "type": "identity", "id": "8e53f1d389df4059aeab1acfece2fc66", "name": "keystone"},
42
- {"endpoints": [{"url": "http://devstack.openstack.stack:5000/v3", "region":
43
- "europe", "interface": "internal", "id": "7002cfd6dbe74512b0b817d3b7380abb"},
44
- {"url": "http://devstack.openstack.stack:5000/v3", "region": "europe", "interface":
45
- "public", "id": "a7c634aa7f034284b62ddf974ddc04eb"}, {"url": "http://devstack.openstack.stack:35357/v3",
46
- "region": "europe", "interface": "admin", "id": "cba56e3e7a9c4ddfb39e1e4053bd04ab"}],
47
- "type": "identity_v3", "id": "a47e0f0014fa409993cef0bd984a5ac6", "name": "identity_v3"},
48
- {"endpoints": [{"url": "http://localhost/testurl/c9f75b1200f64bf09ed079206a1a1b75",
49
- "region": "europe", "interface": "public", "id": "3387dfbf7bc440728e7aa1488f6ca96e"}],
50
- "type": "test_stefan", "id": "d36a1f72832b428688b7dae7d0ab8a39", "name": "test_stefan"},
51
- {"endpoints": [{"url": "http://devstack.openstack.stack:9292", "region": "europe",
52
- "interface": "public", "id": "0dabc688a031422381d3c92b7dfdfe4c"}, {"url":
53
- "http://devstack.openstack.stack:9292", "region": "europe", "interface": "admin",
54
- "id": "768f3eb8b29d49a19c4d50a85541d42e"}, {"url": "http://devstack.openstack.stack:9292",
55
- "region": "europe", "interface": "internal", "id": "a0c5556c80e448aca907a3ee785bd602"}],
56
- "type": "image", "id": "ee073ec39e804cca96d2440d8f109932", "name": "glance"}],
148
+ string: ! '{"token": {"domain": {"id": "default", "name": "Default"}, "methods":
149
+ ["password"], "roles": [{"id": "a60c9dcd072b4fad8ec326e5e61d9955", "name":
150
+ "foobar_role390"}], "expires_at": "2015-06-23T16:09:24.930033Z", "catalog":
151
+ [{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292",
152
+ "region": "RegionOne", "interface": "public", "id": "6e82c8912d3f49a09df51035681d564c"},
153
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292", "region":
154
+ "RegionOne", "interface": "admin", "id": "7e44d321ae80457abc3728fa1e6feb32"},
155
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292", "region":
156
+ "RegionOne", "interface": "internal", "id": "c9a090a4597040849c03bc13588167f6"}],
157
+ "type": "image", "id": "0d56500210a24c38a3702b6825e24164", "name": "glance"},
158
+ {"endpoints": [], "type": "volumev2", "id": "2b92e79c45254516932c633229cd0e8b",
159
+ "name": "cinderv2"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/",
160
+ "region": "RegionOne", "interface": "admin", "id": "1ce26a6fffd0424bac135b9c68055b6e"},
161
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
162
+ "RegionOne", "interface": "public", "id": "98db699b9ffa4dffb027d78163aad8cc"},
163
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
164
+ "RegionOne", "interface": "internal", "id": "ece52860cf1e4eb6a8fed05c47a30147"}],
165
+ "type": "ec2", "id": "3364a7b95c664bf89a7a8db081576364", "name": "ec2"}, {"endpoints":
166
+ [], "type": "volume", "id": "511b94ce0482484ea09028091dd5e9a5", "name": "cinder"},
167
+ {"endpoints": [], "type": "compute", "id": "5b7028751ed045d79467c7845ecb8c58",
168
+ "name": "nova"}, {"endpoints": [], "type": "computev21", "id": "97e665cbada043718180c5a6316df76a",
169
+ "name": "novav21"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3",
170
+ "region": "RegionOne", "interface": "admin", "id": "185eda94de9340e58245062f75d7f80e"},
171
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
172
+ "RegionOne", "interface": "internal", "id": "9abd6797844d455f875af9537325cba4"},
173
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
174
+ "RegionOne", "interface": "public", "id": "d3b31f24e4ea40699f731e29e625c187"}],
175
+ "type": "identity", "id": "b577d8f7c7074d04a1165fcca638b600", "name": "keystone_v3x"},
176
+ {"endpoints": [{"region_id": "europe", "url": "http://devstack.openstack.stack:35357/v3",
177
+ "region": "europe", "interface": "admin", "id": "32bb2c6aea944ea6b4956eb24142d2e2"},
178
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
179
+ "RegionOne", "interface": "public", "id": "480ea71dc8cf4c959df1c6304be87056"},
180
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
181
+ "europe", "interface": "public", "id": "600638643d22494fad4f30e3b22ae124"},
182
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
183
+ "RegionOne", "interface": "internal", "id": "8a254651925e4a3e9505c863a00c017e"},
184
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
185
+ "europe", "interface": "internal", "id": "b93da6aaba654d8cb451ff8378d7d2a5"},
186
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
187
+ "RegionOne", "interface": "admin", "id": "d5f8e0da0f3345529a5fb324d735d4a3"}],
188
+ "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009", "name": "keystone_v3"}],
57
189
  "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
58
- "ac33746004f1470b904e364d408cf42e", "name": "demo"}, "issued_at": "2015-03-13T11:39:57.708522Z"}}'
190
+ "47d9bd80f4b549089609fcca39479140", "name": "foobar_385"}, "audit_ids": ["FsYe1DR9RcuaXCjkm0ElvA"],
191
+ "issued_at": "2015-06-23T15:09:24.930079Z"}}'
59
192
  http_version:
60
- recorded_at: Fri, 13 Mar 2015 11:39:57 GMT
193
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
61
194
  - request:
62
195
  method: post
63
196
  uri: http://devstack.openstack.stack:5000/v3/auth/tokens
64
197
  body:
65
198
  encoding: UTF-8
66
- string: ! '{"auth":{"identity":{"methods":["token"],"token":{"id":"6d4d18cad41b4e508b376e8a2c8f0faa"}}}}'
199
+ string: ! '{"auth":{"identity":{"methods":["token"],"token":{"id":"de277fd5e2054079a380d41e43b40686"}}}}'
67
200
  headers:
68
201
  User-Agent:
69
- - fog/1.28.0 fog-core/1.29.0
202
+ - fog/1.31.0 fog-core/1.31.1
70
203
  Content-Type:
71
204
  - application/json
72
205
  response:
@@ -74,48 +207,144 @@ http_interactions:
74
207
  code: 201
75
208
  message: ''
76
209
  headers:
210
+ Date:
211
+ - Tue, 23 Jun 2015 15:09:24 GMT
212
+ Server:
213
+ - Apache/2.4.7 (Ubuntu)
77
214
  X-Subject-Token:
78
- - f78591c26b75454180d20cb818cf6c6e
215
+ - 357daba7c7654ea4a40f95bfc18e152a
79
216
  Vary:
80
217
  - X-Auth-Token
81
- X-Distribution:
82
- - Ubuntu
218
+ X-Openstack-Request-Id:
219
+ - req-93e38120-8f8b-4605-9ae5-9b350532b251
220
+ Content-Length:
221
+ - '337'
83
222
  Content-Type:
84
223
  - application/json
224
+ body:
225
+ encoding: US-ASCII
226
+ string: ! '{"token": {"methods": ["token", "password"], "expires_at": "2015-06-23T16:09:24.930033Z",
227
+ "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
228
+ "47d9bd80f4b549089609fcca39479140", "name": "foobar_385"}, "audit_ids": ["4CUW0pnWTn2mkdyTsIDqEQ",
229
+ "FsYe1DR9RcuaXCjkm0ElvA"], "issued_at": "2015-06-23T15:09:25.076422Z"}}'
230
+ http_version:
231
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
232
+ - request:
233
+ method: get
234
+ uri: http://devstack.openstack.stack:5000/v3/users/47d9bd80f4b549089609fcca39479140/projects
235
+ body:
236
+ encoding: US-ASCII
237
+ string: ''
238
+ headers:
239
+ User-Agent:
240
+ - fog/1.31.0 fog-core/1.31.1
241
+ Content-Type:
242
+ - application/json
243
+ Accept:
244
+ - application/json
245
+ X-Auth-Token:
246
+ - 357daba7c7654ea4a40f95bfc18e152a
247
+ response:
248
+ status:
249
+ code: 200
250
+ message: ''
251
+ headers:
252
+ Date:
253
+ - Tue, 23 Jun 2015 15:09:25 GMT
254
+ Server:
255
+ - Apache/2.4.7 (Ubuntu)
256
+ Vary:
257
+ - X-Auth-Token
258
+ X-Openstack-Request-Id:
259
+ - req-e9978caa-587c-4bc0-a147-39b1e3104a21
85
260
  Content-Length:
86
- - '2264'
261
+ - '148'
262
+ Content-Type:
263
+ - application/json
264
+ body:
265
+ encoding: US-ASCII
266
+ string: ! '{"links": {"self": "http://devstack.openstack.stack:5000/v3/users/47d9bd80f4b549089609fcca39479140/projects",
267
+ "previous": null, "next": null}, "projects": []}'
268
+ http_version:
269
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
270
+ - request:
271
+ method: post
272
+ uri: http://devstack.openstack.stack:5000/v3/auth/tokens
273
+ body:
274
+ encoding: UTF-8
275
+ string: ! '{"auth":{"identity":{"methods":["token"],"token":{"id":"de277fd5e2054079a380d41e43b40686"}},"scope":{"domain":{"id":"default"}}}}'
276
+ headers:
277
+ User-Agent:
278
+ - fog/1.31.0 fog-core/1.31.1
279
+ Content-Type:
280
+ - application/json
281
+ response:
282
+ status:
283
+ code: 201
284
+ message: ''
285
+ headers:
87
286
  Date:
88
- - Fri, 13 Mar 2015 11:39:57 GMT
287
+ - Tue, 23 Jun 2015 15:09:25 GMT
288
+ Server:
289
+ - Apache/2.4.7 (Ubuntu)
290
+ X-Subject-Token:
291
+ - 315efd1c5f8d4664815cd5fe69406b38
292
+ Vary:
293
+ - X-Auth-Token
294
+ X-Openstack-Request-Id:
295
+ - req-f7e6a683-17b1-4177-8224-d9aaf3ba2584
296
+ Content-Length:
297
+ - '3581'
298
+ Content-Type:
299
+ - application/json
89
300
  body:
90
301
  encoding: US-ASCII
91
- string: ! '{"token": {"methods": ["token", "password"], "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab",
92
- "name": "_member_"}], "expires_at": "2015-03-13T12:39:57.708450Z", "project":
93
- {"domain": {"id": "default", "name": "Default"}, "id": "c9f75b1200f64bf09ed079206a1a1b75",
94
- "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://devstack.openstack.stack:5000/v2.0",
95
- "region": "europe", "interface": "public", "id": "0b4b1e907e184880a1c3f32f00cd676f"},
96
- {"url": "http://devstack.openstack.stack:35357/v2.0", "region": "europe",
97
- "interface": "admin", "id": "53d872f1c5d04f35ac69509e41600c0b"}, {"url": "http://devstack.openstack.stack:5000/v2.0",
98
- "region": "europe", "interface": "internal", "id": "67aa3eedc510444faadb9ef3c7e8b2e4"}],
99
- "type": "identity", "id": "8e53f1d389df4059aeab1acfece2fc66", "name": "keystone"},
100
- {"endpoints": [{"url": "http://devstack.openstack.stack:5000/v3", "region":
101
- "europe", "interface": "internal", "id": "7002cfd6dbe74512b0b817d3b7380abb"},
102
- {"url": "http://devstack.openstack.stack:5000/v3", "region": "europe", "interface":
103
- "public", "id": "a7c634aa7f034284b62ddf974ddc04eb"}, {"url": "http://devstack.openstack.stack:35357/v3",
104
- "region": "europe", "interface": "admin", "id": "cba56e3e7a9c4ddfb39e1e4053bd04ab"}],
105
- "type": "identity_v3", "id": "a47e0f0014fa409993cef0bd984a5ac6", "name": "identity_v3"},
106
- {"endpoints": [{"url": "http://localhost/testurl/c9f75b1200f64bf09ed079206a1a1b75",
107
- "region": "europe", "interface": "public", "id": "3387dfbf7bc440728e7aa1488f6ca96e"}],
108
- "type": "test_stefan", "id": "d36a1f72832b428688b7dae7d0ab8a39", "name": "test_stefan"},
109
- {"endpoints": [{"url": "http://devstack.openstack.stack:9292", "region": "europe",
110
- "interface": "public", "id": "0dabc688a031422381d3c92b7dfdfe4c"}, {"url":
111
- "http://devstack.openstack.stack:9292", "region": "europe", "interface": "admin",
112
- "id": "768f3eb8b29d49a19c4d50a85541d42e"}, {"url": "http://devstack.openstack.stack:9292",
113
- "region": "europe", "interface": "internal", "id": "a0c5556c80e448aca907a3ee785bd602"}],
114
- "type": "image", "id": "ee073ec39e804cca96d2440d8f109932", "name": "glance"}],
302
+ string: ! '{"token": {"domain": {"id": "default", "name": "Default"}, "methods":
303
+ ["token", "password"], "roles": [{"id": "a60c9dcd072b4fad8ec326e5e61d9955",
304
+ "name": "foobar_role390"}], "expires_at": "2015-06-23T16:09:24.930033Z", "catalog":
305
+ [{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292",
306
+ "region": "RegionOne", "interface": "public", "id": "6e82c8912d3f49a09df51035681d564c"},
307
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292", "region":
308
+ "RegionOne", "interface": "admin", "id": "7e44d321ae80457abc3728fa1e6feb32"},
309
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292", "region":
310
+ "RegionOne", "interface": "internal", "id": "c9a090a4597040849c03bc13588167f6"}],
311
+ "type": "image", "id": "0d56500210a24c38a3702b6825e24164", "name": "glance"},
312
+ {"endpoints": [], "type": "volumev2", "id": "2b92e79c45254516932c633229cd0e8b",
313
+ "name": "cinderv2"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/",
314
+ "region": "RegionOne", "interface": "admin", "id": "1ce26a6fffd0424bac135b9c68055b6e"},
315
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
316
+ "RegionOne", "interface": "public", "id": "98db699b9ffa4dffb027d78163aad8cc"},
317
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region":
318
+ "RegionOne", "interface": "internal", "id": "ece52860cf1e4eb6a8fed05c47a30147"}],
319
+ "type": "ec2", "id": "3364a7b95c664bf89a7a8db081576364", "name": "ec2"}, {"endpoints":
320
+ [], "type": "volume", "id": "511b94ce0482484ea09028091dd5e9a5", "name": "cinder"},
321
+ {"endpoints": [], "type": "compute", "id": "5b7028751ed045d79467c7845ecb8c58",
322
+ "name": "nova"}, {"endpoints": [], "type": "computev21", "id": "97e665cbada043718180c5a6316df76a",
323
+ "name": "novav21"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3",
324
+ "region": "RegionOne", "interface": "admin", "id": "185eda94de9340e58245062f75d7f80e"},
325
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
326
+ "RegionOne", "interface": "internal", "id": "9abd6797844d455f875af9537325cba4"},
327
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
328
+ "RegionOne", "interface": "public", "id": "d3b31f24e4ea40699f731e29e625c187"}],
329
+ "type": "identity", "id": "b577d8f7c7074d04a1165fcca638b600", "name": "keystone_v3x"},
330
+ {"endpoints": [{"region_id": "europe", "url": "http://devstack.openstack.stack:35357/v3",
331
+ "region": "europe", "interface": "admin", "id": "32bb2c6aea944ea6b4956eb24142d2e2"},
332
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
333
+ "RegionOne", "interface": "public", "id": "480ea71dc8cf4c959df1c6304be87056"},
334
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
335
+ "europe", "interface": "public", "id": "600638643d22494fad4f30e3b22ae124"},
336
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
337
+ "RegionOne", "interface": "internal", "id": "8a254651925e4a3e9505c863a00c017e"},
338
+ {"region_id": "europe", "url": "http://devstack.openstack.stack:5000/v3", "region":
339
+ "europe", "interface": "internal", "id": "b93da6aaba654d8cb451ff8378d7d2a5"},
340
+ {"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
341
+ "RegionOne", "interface": "admin", "id": "d5f8e0da0f3345529a5fb324d735d4a3"}],
342
+ "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009", "name": "keystone_v3"}],
115
343
  "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
116
- "ac33746004f1470b904e364d408cf42e", "name": "demo"}, "issued_at": "2015-03-13T11:39:57.981619Z"}}'
344
+ "47d9bd80f4b549089609fcca39479140", "name": "foobar_385"}, "audit_ids": ["_bDviad6S_mO37zUd1-z5g",
345
+ "FsYe1DR9RcuaXCjkm0ElvA"], "issued_at": "2015-06-23T15:09:25.280490Z"}}'
117
346
  http_version:
118
- recorded_at: Fri, 13 Mar 2015 11:39:58 GMT
347
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
119
348
  - request:
120
349
  method: post
121
350
  uri: http://devstack.openstack.stack:5000/v3/auth/tokens
@@ -124,7 +353,7 @@ http_interactions:
124
353
  string: ! '{"auth":{"identity":{"methods":["token"],"token":{"id":"blahblahblah"}}}}'
125
354
  headers:
126
355
  User-Agent:
127
- - fog/1.28.0 fog-core/1.29.0
356
+ - fog/1.31.0 fog-core/1.31.1
128
357
  Content-Type:
129
358
  - application/json
130
359
  response:
@@ -132,20 +361,92 @@ http_interactions:
132
361
  code: 404
133
362
  message: ''
134
363
  headers:
364
+ Date:
365
+ - Tue, 23 Jun 2015 15:09:25 GMT
366
+ Server:
367
+ - Apache/2.4.7 (Ubuntu)
135
368
  Vary:
136
369
  - X-Auth-Token
137
- X-Distribution:
138
- - Ubuntu
370
+ X-Openstack-Request-Id:
371
+ - req-dbae33aa-50fd-498d-86cc-0526abd157da
372
+ Content-Length:
373
+ - '95'
139
374
  Content-Type:
140
375
  - application/json
376
+ body:
377
+ encoding: US-ASCII
378
+ string: ! '{"error": {"message": "Could not find token: blahblahblah", "code":
379
+ 404, "title": "Not Found"}}'
380
+ http_version:
381
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
382
+ - request:
383
+ method: delete
384
+ uri: http://devstack.openstack.stack:35357/v3/users/47d9bd80f4b549089609fcca39479140
385
+ body:
386
+ encoding: US-ASCII
387
+ string: ''
388
+ headers:
389
+ User-Agent:
390
+ - fog/1.31.0 fog-core/1.31.1
391
+ Content-Type:
392
+ - application/json
393
+ Accept:
394
+ - application/json
395
+ X-Auth-Token:
396
+ - 0c4458de5ba5446885c65b1dedfb2404
397
+ response:
398
+ status:
399
+ code: 204
400
+ message: ''
401
+ headers:
402
+ Date:
403
+ - Tue, 23 Jun 2015 15:09:25 GMT
404
+ Server:
405
+ - Apache/2.4.7 (Ubuntu)
406
+ Vary:
407
+ - X-Auth-Token
408
+ X-Openstack-Request-Id:
409
+ - req-0662bfee-8245-44a7-9c8b-d71b8bfbc1eb
141
410
  Content-Length:
142
- - '96'
411
+ - '0'
412
+ body:
413
+ encoding: US-ASCII
414
+ string: ''
415
+ http_version:
416
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
417
+ - request:
418
+ method: delete
419
+ uri: http://devstack.openstack.stack:35357/v3/roles/a60c9dcd072b4fad8ec326e5e61d9955
420
+ body:
421
+ encoding: US-ASCII
422
+ string: ''
423
+ headers:
424
+ User-Agent:
425
+ - fog/1.31.0 fog-core/1.31.1
426
+ Content-Type:
427
+ - application/json
428
+ Accept:
429
+ - application/json
430
+ X-Auth-Token:
431
+ - 0c4458de5ba5446885c65b1dedfb2404
432
+ response:
433
+ status:
434
+ code: 204
435
+ message: ''
436
+ headers:
143
437
  Date:
144
- - Fri, 13 Mar 2015 11:39:58 GMT
438
+ - Tue, 23 Jun 2015 15:09:25 GMT
439
+ Server:
440
+ - Apache/2.4.7 (Ubuntu)
441
+ Vary:
442
+ - X-Auth-Token
443
+ X-Openstack-Request-Id:
444
+ - req-3e669481-17a2-4a05-9b87-13268be81781
445
+ Content-Length:
446
+ - '0'
145
447
  body:
146
448
  encoding: US-ASCII
147
- string: ! '{"error": {"message": "Could not find token, blahblahblah.", "code":
148
- 404, "title": "Not Found"}}'
449
+ string: ''
149
450
  http_version:
150
- recorded_at: Fri, 13 Mar 2015 11:39:58 GMT
451
+ recorded_at: Tue, 23 Jun 2015 15:09:25 GMT
151
452
  recorded_with: VCR 2.9.3