fog 1.37.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1936) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +173 -0
  3. data/CONTRIBUTORS.md +3 -1
  4. data/README.md +8 -9
  5. data/Rakefile +23 -14
  6. data/fog.gemspec +7 -4
  7. data/lib/fog.rb +0 -1
  8. data/lib/fog/bin.rb +0 -1
  9. data/lib/fog/bin/digitalocean.rb +1 -1
  10. data/lib/fog/digitalocean.rb +1 -1
  11. data/lib/fog/digitalocean/compute_v2.rb +2 -2
  12. data/lib/fog/digitalocean/core.rb +1 -1
  13. data/lib/fog/digitalocean/models/compute_v2/images.rb +10 -4
  14. data/lib/fog/digitalocean/models/compute_v2/regions.rb +1 -1
  15. data/lib/fog/digitalocean/models/compute_v2/server.rb +1 -1
  16. data/lib/fog/digitalocean/models/compute_v2/servers.rb +8 -4
  17. data/lib/fog/digitalocean/models/compute_v2/ssh_keys.rb +9 -4
  18. data/lib/fog/digitalocean/models/paging_collection.rb +41 -0
  19. data/lib/fog/digitalocean/requests/compute_v2/{delete_server.rb → destroy_server.rb} +8 -1
  20. data/lib/fog/digitalocean/requests/compute_v2/list_images.rb +3 -3
  21. data/lib/fog/digitalocean/requests/compute_v2/list_regions.rb +3 -3
  22. data/lib/fog/digitalocean/requests/compute_v2/list_servers.rb +4 -4
  23. data/lib/fog/fogdocker/requests/compute/container_action.rb +2 -2
  24. data/lib/fog/vcloud_director/README.md +3 -0
  25. data/lib/fog/vcloud_director/compute.rb +10 -0
  26. data/lib/fog/vcloud_director/generators/compute/compose_common.rb +121 -0
  27. data/lib/fog/vcloud_director/generators/compute/compose_vapp.rb +25 -0
  28. data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +1 -1
  29. data/lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb +30 -0
  30. data/lib/fog/vcloud_director/generators/compute/recompose_vapp.rb +34 -0
  31. data/lib/fog/vcloud_director/models/compute/catalog_item.rb +7 -0
  32. data/lib/fog/vcloud_director/models/compute/template_vm.rb +52 -0
  33. data/lib/fog/vcloud_director/models/compute/template_vms.rb +41 -0
  34. data/lib/fog/vcloud_director/models/compute/vapp_template.rb +26 -0
  35. data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +40 -0
  36. data/lib/fog/vcloud_director/models/compute/vdc.rb +5 -0
  37. data/lib/fog/vcloud_director/models/compute/vm.rb +13 -0
  38. data/lib/fog/vcloud_director/parsers/compute/vm.rb +19 -14
  39. data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +1 -0
  40. data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +62 -0
  41. data/lib/fog/vcloud_director/parsers/compute/vms.rb +15 -42
  42. data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +74 -0
  43. data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +41 -0
  44. data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +1 -1
  45. data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +30 -37
  46. data/lib/fog/vcloud_director/requests/compute/post_compose_vapp.rb +45 -0
  47. data/lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb +21 -0
  48. data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +4 -1
  49. data/lib/fog/version.rb +1 -1
  50. data/lib/tasks/changelog_task.rb +1 -0
  51. data/spec/fog/bin_spec.rb +0 -3
  52. data/spec/vcloud_director/generators/compute/instantiate_vapp_template_params_spec.rb +68 -0
  53. data/spec/vcloud_director/requests/compute/instantiate_vapp_template_spec.rb +78 -0
  54. data/spec/vcloud_director/spec_helper.rb +11 -0
  55. data/tests/vcloud_director/fixtures/vapp.xml +532 -0
  56. data/tests/vcloud_director/fixtures/vm.xml +213 -0
  57. data/tests/vcloud_director/generators/compute/compose_vapp_tests.rb +108 -0
  58. data/tests/vcloud_director/models/compute/catalog_items_tests.rb +1 -0
  59. data/tests/vcloud_director/models/compute/vapp_template_tests.rb +29 -0
  60. data/tests/vcloud_director/models/compute/vms_tests.rb +2 -0
  61. data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +1 -1
  62. metadata +92 -2241
  63. data/lib/fog/bin/hp.rb +0 -60
  64. data/lib/fog/digitalocean/compute.rb +0 -130
  65. data/lib/fog/digitalocean/models/compute/flavor.rb +0 -12
  66. data/lib/fog/digitalocean/models/compute/flavors.rb +0 -22
  67. data/lib/fog/digitalocean/models/compute/image.rb +0 -13
  68. data/lib/fog/digitalocean/models/compute/images.rb +0 -22
  69. data/lib/fog/digitalocean/models/compute/region.rb +0 -12
  70. data/lib/fog/digitalocean/models/compute/regions.rb +0 -22
  71. data/lib/fog/digitalocean/models/compute/server.rb +0 -202
  72. data/lib/fog/digitalocean/models/compute/servers.rb +0 -95
  73. data/lib/fog/digitalocean/models/compute/ssh_key.rb +0 -26
  74. data/lib/fog/digitalocean/models/compute/ssh_keys.rb +0 -25
  75. data/lib/fog/digitalocean/requests/compute/create_server.rb +0 -77
  76. data/lib/fog/digitalocean/requests/compute/create_ssh_key.rb +0 -34
  77. data/lib/fog/digitalocean/requests/compute/destroy_server.rb +0 -35
  78. data/lib/fog/digitalocean/requests/compute/destroy_ssh_key.rb +0 -33
  79. data/lib/fog/digitalocean/requests/compute/get_server_details.rb +0 -31
  80. data/lib/fog/digitalocean/requests/compute/get_ssh_key.rb +0 -35
  81. data/lib/fog/digitalocean/requests/compute/list_flavors.rb +0 -34
  82. data/lib/fog/digitalocean/requests/compute/list_images.rb +0 -45
  83. data/lib/fog/digitalocean/requests/compute/list_regions.rb +0 -34
  84. data/lib/fog/digitalocean/requests/compute/list_servers.rb +0 -27
  85. data/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb +0 -27
  86. data/lib/fog/digitalocean/requests/compute/power_cycle_server.rb +0 -29
  87. data/lib/fog/digitalocean/requests/compute/power_off_server.rb +0 -29
  88. data/lib/fog/digitalocean/requests/compute/power_on_server.rb +0 -29
  89. data/lib/fog/digitalocean/requests/compute/reboot_server.rb +0 -29
  90. data/lib/fog/digitalocean/requests/compute/shutdown_server.rb +0 -32
  91. data/lib/fog/hp.rb +0 -9
  92. data/lib/fog/hp/CHANGELOG.hp +0 -156
  93. data/lib/fog/hp/README.md +0 -57
  94. data/lib/fog/hp/articles/auth_caching.md +0 -23
  95. data/lib/fog/hp/block_storage.rb +0 -170
  96. data/lib/fog/hp/block_storage_v2.rb +0 -159
  97. data/lib/fog/hp/cdn.rb +0 -154
  98. data/lib/fog/hp/compute.rb +0 -252
  99. data/lib/fog/hp/compute_v2.rb +0 -306
  100. data/lib/fog/hp/core.rb +0 -353
  101. data/lib/fog/hp/dns.rb +0 -130
  102. data/lib/fog/hp/docs/connect.md +0 -152
  103. data/lib/fog/hp/docs/install.md +0 -133
  104. data/lib/fog/hp/examples/block_storage.md +0 -296
  105. data/lib/fog/hp/examples/block_storage_v2.md +0 -446
  106. data/lib/fog/hp/examples/cdn.md +0 -54
  107. data/lib/fog/hp/examples/compute.md +0 -794
  108. data/lib/fog/hp/examples/compute_v2.md +0 -851
  109. data/lib/fog/hp/examples/getting_started_examples.md +0 -30
  110. data/lib/fog/hp/examples/networking.md +0 -472
  111. data/lib/fog/hp/examples/object_storage.md +0 -387
  112. data/lib/fog/hp/lb.rb +0 -163
  113. data/lib/fog/hp/models/block_storage/bootable_volumes.rb +0 -24
  114. data/lib/fog/hp/models/block_storage/snapshot.rb +0 -52
  115. data/lib/fog/hp/models/block_storage/snapshots.rb +0 -25
  116. data/lib/fog/hp/models/block_storage/volume.rb +0 -98
  117. data/lib/fog/hp/models/block_storage/volumes.rb +0 -24
  118. data/lib/fog/hp/models/block_storage_v2/snapshot.rb +0 -72
  119. data/lib/fog/hp/models/block_storage_v2/snapshots.rb +0 -39
  120. data/lib/fog/hp/models/block_storage_v2/volume.rb +0 -135
  121. data/lib/fog/hp/models/block_storage_v2/volume_backup.rb +0 -54
  122. data/lib/fog/hp/models/block_storage_v2/volume_backups.rb +0 -38
  123. data/lib/fog/hp/models/block_storage_v2/volumes.rb +0 -38
  124. data/lib/fog/hp/models/compute/address.rb +0 -66
  125. data/lib/fog/hp/models/compute/addresses.rb +0 -25
  126. data/lib/fog/hp/models/compute/flavor.rb +0 -20
  127. data/lib/fog/hp/models/compute/flavors.rb +0 -24
  128. data/lib/fog/hp/models/compute/image.rb +0 -72
  129. data/lib/fog/hp/models/compute/images.rb +0 -25
  130. data/lib/fog/hp/models/compute/key_pair.rb +0 -51
  131. data/lib/fog/hp/models/compute/key_pairs.rb +0 -28
  132. data/lib/fog/hp/models/compute/meta.rb +0 -27
  133. data/lib/fog/hp/models/compute/metadata.rb +0 -74
  134. data/lib/fog/hp/models/compute/security_group.rb +0 -48
  135. data/lib/fog/hp/models/compute/security_groups.rb +0 -26
  136. data/lib/fog/hp/models/compute/server.rb +0 -293
  137. data/lib/fog/hp/models/compute/servers.rb +0 -32
  138. data/lib/fog/hp/models/compute_v2/address.rb +0 -66
  139. data/lib/fog/hp/models/compute_v2/addresses.rb +0 -25
  140. data/lib/fog/hp/models/compute_v2/availability_zone.rb +0 -18
  141. data/lib/fog/hp/models/compute_v2/availability_zones.rb +0 -25
  142. data/lib/fog/hp/models/compute_v2/flavor.rb +0 -18
  143. data/lib/fog/hp/models/compute_v2/flavors.rb +0 -38
  144. data/lib/fog/hp/models/compute_v2/image.rb +0 -82
  145. data/lib/fog/hp/models/compute_v2/images.rb +0 -39
  146. data/lib/fog/hp/models/compute_v2/key_pair.rb +0 -51
  147. data/lib/fog/hp/models/compute_v2/key_pairs.rb +0 -28
  148. data/lib/fog/hp/models/compute_v2/meta.rb +0 -27
  149. data/lib/fog/hp/models/compute_v2/meta_parent.rb +0 -31
  150. data/lib/fog/hp/models/compute_v2/metadata.rb +0 -74
  151. data/lib/fog/hp/models/compute_v2/server.rb +0 -334
  152. data/lib/fog/hp/models/compute_v2/servers.rb +0 -52
  153. data/lib/fog/hp/models/compute_v2/volume_attachment.rb +0 -41
  154. data/lib/fog/hp/models/compute_v2/volume_attachments.rb +0 -29
  155. data/lib/fog/hp/models/dns/domain.rb +0 -53
  156. data/lib/fog/hp/models/dns/domains.rb +0 -25
  157. data/lib/fog/hp/models/dns/record.rb +0 -57
  158. data/lib/fog/hp/models/dns/records.rb +0 -29
  159. data/lib/fog/hp/models/lb/algorithm.rb +0 -23
  160. data/lib/fog/hp/models/lb/algorithms.rb +0 -25
  161. data/lib/fog/hp/models/lb/load_balancer.rb +0 -82
  162. data/lib/fog/hp/models/lb/load_balancers.rb +0 -25
  163. data/lib/fog/hp/models/lb/node.rb +0 -51
  164. data/lib/fog/hp/models/lb/nodes.rb +0 -28
  165. data/lib/fog/hp/models/lb/protocol.rb +0 -24
  166. data/lib/fog/hp/models/lb/protocols.rb +0 -25
  167. data/lib/fog/hp/models/lb/virtual_ip.rb +0 -33
  168. data/lib/fog/hp/models/lb/virtual_ips.rb +0 -31
  169. data/lib/fog/hp/models/meta_parent.rb +0 -31
  170. data/lib/fog/hp/models/network/floating_ip.rb +0 -43
  171. data/lib/fog/hp/models/network/floating_ips.rb +0 -33
  172. data/lib/fog/hp/models/network/network.rb +0 -54
  173. data/lib/fog/hp/models/network/networks.rb +0 -33
  174. data/lib/fog/hp/models/network/port.rb +0 -51
  175. data/lib/fog/hp/models/network/ports.rb +0 -33
  176. data/lib/fog/hp/models/network/router.rb +0 -64
  177. data/lib/fog/hp/models/network/routers.rb +0 -33
  178. data/lib/fog/hp/models/network/security_group.rb +0 -28
  179. data/lib/fog/hp/models/network/security_group_rule.rb +0 -33
  180. data/lib/fog/hp/models/network/security_group_rules.rb +0 -33
  181. data/lib/fog/hp/models/network/security_groups.rb +0 -33
  182. data/lib/fog/hp/models/network/subnet.rb +0 -47
  183. data/lib/fog/hp/models/network/subnets.rb +0 -33
  184. data/lib/fog/hp/models/storage/directories.rb +0 -71
  185. data/lib/fog/hp/models/storage/directory.rb +0 -305
  186. data/lib/fog/hp/models/storage/file.rb +0 -105
  187. data/lib/fog/hp/models/storage/files.rb +0 -129
  188. data/lib/fog/hp/models/storage/meta.rb +0 -27
  189. data/lib/fog/hp/models/storage/meta_parent.rb +0 -21
  190. data/lib/fog/hp/models/storage/metadata.rb +0 -77
  191. data/lib/fog/hp/models/storage/shared_directories.rb +0 -51
  192. data/lib/fog/hp/models/storage/shared_directory.rb +0 -36
  193. data/lib/fog/hp/models/storage/shared_file.rb +0 -64
  194. data/lib/fog/hp/models/storage/shared_files.rb +0 -60
  195. data/lib/fog/hp/network.rb +0 -200
  196. data/lib/fog/hp/requests/block_storage/create_snapshot.rb +0 -72
  197. data/lib/fog/hp/requests/block_storage/create_volume.rb +0 -83
  198. data/lib/fog/hp/requests/block_storage/delete_snapshot.rb +0 -34
  199. data/lib/fog/hp/requests/block_storage/delete_volume.rb +0 -34
  200. data/lib/fog/hp/requests/block_storage/get_bootable_volume_details.rb +0 -54
  201. data/lib/fog/hp/requests/block_storage/get_snapshot_details.rb +0 -49
  202. data/lib/fog/hp/requests/block_storage/get_volume_details.rb +0 -53
  203. data/lib/fog/hp/requests/block_storage/list_bootable_volumes.rb +0 -49
  204. data/lib/fog/hp/requests/block_storage/list_snapshots.rb +0 -44
  205. data/lib/fog/hp/requests/block_storage/list_volumes.rb +0 -48
  206. data/lib/fog/hp/requests/block_storage_v2/create_snapshot.rb +0 -72
  207. data/lib/fog/hp/requests/block_storage_v2/create_volume.rb +0 -86
  208. data/lib/fog/hp/requests/block_storage_v2/create_volume_backup.rb +0 -79
  209. data/lib/fog/hp/requests/block_storage_v2/delete_snapshot.rb +0 -34
  210. data/lib/fog/hp/requests/block_storage_v2/delete_volume.rb +0 -34
  211. data/lib/fog/hp/requests/block_storage_v2/delete_volume_backup.rb +0 -34
  212. data/lib/fog/hp/requests/block_storage_v2/get_snapshot_details.rb +0 -49
  213. data/lib/fog/hp/requests/block_storage_v2/get_volume_backup_details.rb +0 -50
  214. data/lib/fog/hp/requests/block_storage_v2/get_volume_details.rb +0 -53
  215. data/lib/fog/hp/requests/block_storage_v2/list_snapshots.rb +0 -53
  216. data/lib/fog/hp/requests/block_storage_v2/list_snapshots_detail.rb +0 -50
  217. data/lib/fog/hp/requests/block_storage_v2/list_volume_backups.rb +0 -48
  218. data/lib/fog/hp/requests/block_storage_v2/list_volume_backups_detail.rb +0 -54
  219. data/lib/fog/hp/requests/block_storage_v2/list_volumes.rb +0 -57
  220. data/lib/fog/hp/requests/block_storage_v2/list_volumes_detail.rb +0 -55
  221. data/lib/fog/hp/requests/block_storage_v2/restore_volume_backup.rb +0 -93
  222. data/lib/fog/hp/requests/block_storage_v2/update_snapshot.rb +0 -64
  223. data/lib/fog/hp/requests/block_storage_v2/update_volume.rb +0 -66
  224. data/lib/fog/hp/requests/cdn/delete_container.rb +0 -35
  225. data/lib/fog/hp/requests/cdn/get_containers.rb +0 -39
  226. data/lib/fog/hp/requests/cdn/head_container.rb +0 -47
  227. data/lib/fog/hp/requests/cdn/post_container.rb +0 -49
  228. data/lib/fog/hp/requests/cdn/put_container.rb +0 -50
  229. data/lib/fog/hp/requests/compute/allocate_address.rb +0 -44
  230. data/lib/fog/hp/requests/compute/associate_address.rb +0 -38
  231. data/lib/fog/hp/requests/compute/attach_volume.rb +0 -74
  232. data/lib/fog/hp/requests/compute/change_password_server.rb +0 -29
  233. data/lib/fog/hp/requests/compute/confirm_resized_server.rb +0 -30
  234. data/lib/fog/hp/requests/compute/create_image.rb +0 -55
  235. data/lib/fog/hp/requests/compute/create_key_pair.rb +0 -76
  236. data/lib/fog/hp/requests/compute/create_persistent_server.rb +0 -163
  237. data/lib/fog/hp/requests/compute/create_security_group.rb +0 -78
  238. data/lib/fog/hp/requests/compute/create_security_group_rule.rb +0 -70
  239. data/lib/fog/hp/requests/compute/create_server.rb +0 -142
  240. data/lib/fog/hp/requests/compute/delete_image.rb +0 -40
  241. data/lib/fog/hp/requests/compute/delete_key_pair.rb +0 -35
  242. data/lib/fog/hp/requests/compute/delete_meta.rb +0 -50
  243. data/lib/fog/hp/requests/compute/delete_security_group.rb +0 -37
  244. data/lib/fog/hp/requests/compute/delete_security_group_rule.rb +0 -44
  245. data/lib/fog/hp/requests/compute/delete_server.rb +0 -39
  246. data/lib/fog/hp/requests/compute/detach_volume.rb +0 -43
  247. data/lib/fog/hp/requests/compute/disassociate_address.rb +0 -35
  248. data/lib/fog/hp/requests/compute/get_address.rb +0 -41
  249. data/lib/fog/hp/requests/compute/get_console_output.rb +0 -37
  250. data/lib/fog/hp/requests/compute/get_flavor_details.rb +0 -47
  251. data/lib/fog/hp/requests/compute/get_image_details.rb +0 -38
  252. data/lib/fog/hp/requests/compute/get_meta.rb +0 -52
  253. data/lib/fog/hp/requests/compute/get_security_group.rb +0 -53
  254. data/lib/fog/hp/requests/compute/get_server_details.rb +0 -48
  255. data/lib/fog/hp/requests/compute/get_vnc_console.rb +0 -41
  256. data/lib/fog/hp/requests/compute/get_windows_password.rb +0 -40
  257. data/lib/fog/hp/requests/compute/list_addresses.rb +0 -37
  258. data/lib/fog/hp/requests/compute/list_flavors.rb +0 -40
  259. data/lib/fog/hp/requests/compute/list_flavors_detail.rb +0 -42
  260. data/lib/fog/hp/requests/compute/list_images.rb +0 -36
  261. data/lib/fog/hp/requests/compute/list_images_detail.rb +0 -45
  262. data/lib/fog/hp/requests/compute/list_key_pairs.rb +0 -40
  263. data/lib/fog/hp/requests/compute/list_metadata.rb +0 -52
  264. data/lib/fog/hp/requests/compute/list_security_groups.rb +0 -50
  265. data/lib/fog/hp/requests/compute/list_server_addresses.rb +0 -38
  266. data/lib/fog/hp/requests/compute/list_server_private_addresses.rb +0 -54
  267. data/lib/fog/hp/requests/compute/list_server_public_addresses.rb +0 -54
  268. data/lib/fog/hp/requests/compute/list_server_volumes.rb +0 -45
  269. data/lib/fog/hp/requests/compute/list_servers.rb +0 -37
  270. data/lib/fog/hp/requests/compute/list_servers_detail.rb +0 -52
  271. data/lib/fog/hp/requests/compute/reboot_server.rb +0 -30
  272. data/lib/fog/hp/requests/compute/rebuild_server.rb +0 -27
  273. data/lib/fog/hp/requests/compute/release_address.rb +0 -35
  274. data/lib/fog/hp/requests/compute/resize_server.rb +0 -35
  275. data/lib/fog/hp/requests/compute/revert_resized_server.rb +0 -31
  276. data/lib/fog/hp/requests/compute/server_action.rb +0 -23
  277. data/lib/fog/hp/requests/compute/set_metadata.rb +0 -53
  278. data/lib/fog/hp/requests/compute/update_meta.rb +0 -54
  279. data/lib/fog/hp/requests/compute/update_metadata.rb +0 -53
  280. data/lib/fog/hp/requests/compute/update_server.rb +0 -38
  281. data/lib/fog/hp/requests/compute_v2/add_security_group.rb +0 -36
  282. data/lib/fog/hp/requests/compute_v2/allocate_address.rb +0 -48
  283. data/lib/fog/hp/requests/compute_v2/associate_address.rb +0 -42
  284. data/lib/fog/hp/requests/compute_v2/attach_volume.rb +0 -76
  285. data/lib/fog/hp/requests/compute_v2/create_image.rb +0 -58
  286. data/lib/fog/hp/requests/compute_v2/create_key_pair.rb +0 -68
  287. data/lib/fog/hp/requests/compute_v2/create_persistent_server.rb +0 -177
  288. data/lib/fog/hp/requests/compute_v2/create_server.rb +0 -164
  289. data/lib/fog/hp/requests/compute_v2/delete_image.rb +0 -39
  290. data/lib/fog/hp/requests/compute_v2/delete_key_pair.rb +0 -34
  291. data/lib/fog/hp/requests/compute_v2/delete_meta.rb +0 -50
  292. data/lib/fog/hp/requests/compute_v2/delete_server.rb +0 -39
  293. data/lib/fog/hp/requests/compute_v2/detach_volume.rb +0 -43
  294. data/lib/fog/hp/requests/compute_v2/disassociate_address.rb +0 -35
  295. data/lib/fog/hp/requests/compute_v2/get_address.rb +0 -44
  296. data/lib/fog/hp/requests/compute_v2/get_console_output.rb +0 -37
  297. data/lib/fog/hp/requests/compute_v2/get_flavor_details.rb +0 -53
  298. data/lib/fog/hp/requests/compute_v2/get_image_details.rb +0 -50
  299. data/lib/fog/hp/requests/compute_v2/get_key_pair.rb +0 -40
  300. data/lib/fog/hp/requests/compute_v2/get_meta.rb +0 -52
  301. data/lib/fog/hp/requests/compute_v2/get_server_details.rb +0 -68
  302. data/lib/fog/hp/requests/compute_v2/get_server_volume_details.rb +0 -43
  303. data/lib/fog/hp/requests/compute_v2/get_vnc_console.rb +0 -41
  304. data/lib/fog/hp/requests/compute_v2/get_windows_password.rb +0 -40
  305. data/lib/fog/hp/requests/compute_v2/list_addresses.rb +0 -40
  306. data/lib/fog/hp/requests/compute_v2/list_availability_zones.rb +0 -43
  307. data/lib/fog/hp/requests/compute_v2/list_flavors.rb +0 -49
  308. data/lib/fog/hp/requests/compute_v2/list_flavors_detail.rb +0 -49
  309. data/lib/fog/hp/requests/compute_v2/list_images.rb +0 -48
  310. data/lib/fog/hp/requests/compute_v2/list_images_detail.rb +0 -62
  311. data/lib/fog/hp/requests/compute_v2/list_key_pairs.rb +0 -38
  312. data/lib/fog/hp/requests/compute_v2/list_limits.rb +0 -58
  313. data/lib/fog/hp/requests/compute_v2/list_metadata.rb +0 -52
  314. data/lib/fog/hp/requests/compute_v2/list_server_addresses.rb +0 -38
  315. data/lib/fog/hp/requests/compute_v2/list_server_addresses_by_network.rb +0 -42
  316. data/lib/fog/hp/requests/compute_v2/list_server_volumes.rb +0 -45
  317. data/lib/fog/hp/requests/compute_v2/list_servers.rb +0 -49
  318. data/lib/fog/hp/requests/compute_v2/list_servers_detail.rb +0 -76
  319. data/lib/fog/hp/requests/compute_v2/reboot_server.rb +0 -30
  320. data/lib/fog/hp/requests/compute_v2/rebuild_server.rb +0 -77
  321. data/lib/fog/hp/requests/compute_v2/release_address.rb +0 -34
  322. data/lib/fog/hp/requests/compute_v2/remove_security_group.rb +0 -33
  323. data/lib/fog/hp/requests/compute_v2/server_action.rb +0 -23
  324. data/lib/fog/hp/requests/compute_v2/set_metadata.rb +0 -53
  325. data/lib/fog/hp/requests/compute_v2/update_meta.rb +0 -54
  326. data/lib/fog/hp/requests/compute_v2/update_metadata.rb +0 -53
  327. data/lib/fog/hp/requests/compute_v2/update_server.rb +0 -69
  328. data/lib/fog/hp/requests/dns/create_domain.rb +0 -65
  329. data/lib/fog/hp/requests/dns/create_record.rb +0 -76
  330. data/lib/fog/hp/requests/dns/delete_domain.rb +0 -32
  331. data/lib/fog/hp/requests/dns/delete_record.rb +0 -34
  332. data/lib/fog/hp/requests/dns/get_domain.rb +0 -41
  333. data/lib/fog/hp/requests/dns/get_record.rb +0 -46
  334. data/lib/fog/hp/requests/dns/get_servers_hosting_domain.rb +0 -60
  335. data/lib/fog/hp/requests/dns/list_domains.rb +0 -36
  336. data/lib/fog/hp/requests/dns/list_records_in_a_domain.rb +0 -53
  337. data/lib/fog/hp/requests/dns/update_domain.rb +0 -61
  338. data/lib/fog/hp/requests/dns/update_record.rb +0 -66
  339. data/lib/fog/hp/requests/lb/create_load_balancer.rb +0 -109
  340. data/lib/fog/hp/requests/lb/create_load_balancer_node.rb +0 -68
  341. data/lib/fog/hp/requests/lb/delete_load_balancer.rb +0 -32
  342. data/lib/fog/hp/requests/lb/delete_load_balancer_node.rb +0 -43
  343. data/lib/fog/hp/requests/lb/get_load_balancer.rb +0 -57
  344. data/lib/fog/hp/requests/lb/get_load_balancer_node.rb +0 -51
  345. data/lib/fog/hp/requests/lb/list_algorithms.rb +0 -31
  346. data/lib/fog/hp/requests/lb/list_limits.rb +0 -36
  347. data/lib/fog/hp/requests/lb/list_load_balancer_nodes.rb +0 -39
  348. data/lib/fog/hp/requests/lb/list_load_balancer_virtual_ips.rb +0 -41
  349. data/lib/fog/hp/requests/lb/list_load_balancers.rb +0 -39
  350. data/lib/fog/hp/requests/lb/list_protocols.rb +0 -33
  351. data/lib/fog/hp/requests/lb/list_versions.rb +0 -24
  352. data/lib/fog/hp/requests/lb/update_load_balancer.rb +0 -45
  353. data/lib/fog/hp/requests/lb/update_load_balancer_node.rb +0 -55
  354. data/lib/fog/hp/requests/network/add_router_interface.rb +0 -73
  355. data/lib/fog/hp/requests/network/associate_floating_ip.rb +0 -69
  356. data/lib/fog/hp/requests/network/create_floating_ip.rb +0 -67
  357. data/lib/fog/hp/requests/network/create_network.rb +0 -65
  358. data/lib/fog/hp/requests/network/create_port.rb +0 -90
  359. data/lib/fog/hp/requests/network/create_router.rb +0 -62
  360. data/lib/fog/hp/requests/network/create_security_group.rb +0 -95
  361. data/lib/fog/hp/requests/network/create_security_group_rule.rb +0 -78
  362. data/lib/fog/hp/requests/network/create_subnet.rb +0 -95
  363. data/lib/fog/hp/requests/network/delete_floating_ip.rb +0 -32
  364. data/lib/fog/hp/requests/network/delete_network.rb +0 -32
  365. data/lib/fog/hp/requests/network/delete_port.rb +0 -32
  366. data/lib/fog/hp/requests/network/delete_router.rb +0 -32
  367. data/lib/fog/hp/requests/network/delete_security_group.rb +0 -32
  368. data/lib/fog/hp/requests/network/delete_security_group_rule.rb +0 -32
  369. data/lib/fog/hp/requests/network/delete_subnet.rb +0 -32
  370. data/lib/fog/hp/requests/network/disassociate_floating_ip.rb +0 -69
  371. data/lib/fog/hp/requests/network/get_floating_ip.rb +0 -44
  372. data/lib/fog/hp/requests/network/get_network.rb +0 -46
  373. data/lib/fog/hp/requests/network/get_port.rb +0 -51
  374. data/lib/fog/hp/requests/network/get_router.rb +0 -44
  375. data/lib/fog/hp/requests/network/get_security_group.rb +0 -52
  376. data/lib/fog/hp/requests/network/get_security_group_rule.rb +0 -47
  377. data/lib/fog/hp/requests/network/get_subnet.rb +0 -50
  378. data/lib/fog/hp/requests/network/list_floating_ips.rb +0 -44
  379. data/lib/fog/hp/requests/network/list_networks.rb +0 -58
  380. data/lib/fog/hp/requests/network/list_ports.rb +0 -50
  381. data/lib/fog/hp/requests/network/list_routers.rb +0 -43
  382. data/lib/fog/hp/requests/network/list_security_group_rules.rb +0 -48
  383. data/lib/fog/hp/requests/network/list_security_groups.rb +0 -53
  384. data/lib/fog/hp/requests/network/list_subnets.rb +0 -49
  385. data/lib/fog/hp/requests/network/remove_router_interface.rb +0 -65
  386. data/lib/fog/hp/requests/network/update_network.rb +0 -60
  387. data/lib/fog/hp/requests/network/update_port.rb +0 -73
  388. data/lib/fog/hp/requests/network/update_router.rb +0 -60
  389. data/lib/fog/hp/requests/network/update_subnet.rb +0 -70
  390. data/lib/fog/hp/requests/storage/delete_container.rb +0 -38
  391. data/lib/fog/hp/requests/storage/delete_object.rb +0 -39
  392. data/lib/fog/hp/requests/storage/delete_shared_object.rb +0 -33
  393. data/lib/fog/hp/requests/storage/get_container.rb +0 -87
  394. data/lib/fog/hp/requests/storage/get_containers.rb +0 -66
  395. data/lib/fog/hp/requests/storage/get_object.rb +0 -82
  396. data/lib/fog/hp/requests/storage/get_object_temp_url.rb +0 -26
  397. data/lib/fog/hp/requests/storage/get_shared_container.rb +0 -69
  398. data/lib/fog/hp/requests/storage/get_shared_object.rb +0 -61
  399. data/lib/fog/hp/requests/storage/head_container.rb +0 -36
  400. data/lib/fog/hp/requests/storage/head_containers.rb +0 -32
  401. data/lib/fog/hp/requests/storage/head_object.rb +0 -31
  402. data/lib/fog/hp/requests/storage/head_shared_container.rb +0 -40
  403. data/lib/fog/hp/requests/storage/head_shared_object.rb +0 -34
  404. data/lib/fog/hp/requests/storage/post_container.rb +0 -33
  405. data/lib/fog/hp/requests/storage/post_object.rb +0 -51
  406. data/lib/fog/hp/requests/storage/put_container.rb +0 -45
  407. data/lib/fog/hp/requests/storage/put_object.rb +0 -100
  408. data/lib/fog/hp/requests/storage/put_shared_object.rb +0 -80
  409. data/lib/fog/hp/simple_http_instrumentor.rb +0 -58
  410. data/lib/fog/hp/storage.rb +0 -438
  411. data/lib/fog/openstack.rb +0 -15
  412. data/lib/fog/openstack/CHANGELOG.md +0 -47
  413. data/lib/fog/openstack/baremetal.rb +0 -308
  414. data/lib/fog/openstack/common.rb +0 -46
  415. data/lib/fog/openstack/compute.rb +0 -395
  416. data/lib/fog/openstack/core.rb +0 -634
  417. data/lib/fog/openstack/docs/compute.md +0 -681
  418. data/lib/fog/openstack/docs/getting_started.md +0 -81
  419. data/lib/fog/openstack/docs/orchestration.md +0 -318
  420. data/lib/fog/openstack/docs/planning.md +0 -270
  421. data/lib/fog/openstack/docs/storage.md +0 -453
  422. data/lib/fog/openstack/examples/compute/basics.rb +0 -50
  423. data/lib/fog/openstack/examples/compute/block_device_mapping_v2.rb +0 -32
  424. data/lib/fog/openstack/examples/identity/basics.rb +0 -68
  425. data/lib/fog/openstack/examples/image/upload-test-image.rb +0 -77
  426. data/lib/fog/openstack/examples/network/network_subnets_routers.rb +0 -62
  427. data/lib/fog/openstack/examples/planning/basics.rb +0 -53
  428. data/lib/fog/openstack/examples/storage/set-account-quota.rb +0 -66
  429. data/lib/fog/openstack/identity.rb +0 -27
  430. data/lib/fog/openstack/identity_v2.rb +0 -200
  431. data/lib/fog/openstack/identity_v3.rb +0 -178
  432. data/lib/fog/openstack/image.rb +0 -22
  433. data/lib/fog/openstack/image_v1.rb +0 -148
  434. data/lib/fog/openstack/image_v2.rb +0 -142
  435. data/lib/fog/openstack/metering.rb +0 -145
  436. data/lib/fog/openstack/models/baremetal/chassis.rb +0 -49
  437. data/lib/fog/openstack/models/baremetal/chassis_collection.rb +0 -44
  438. data/lib/fog/openstack/models/baremetal/driver.rb +0 -24
  439. data/lib/fog/openstack/models/baremetal/drivers.rb +0 -21
  440. data/lib/fog/openstack/models/baremetal/node.rb +0 -96
  441. data/lib/fog/openstack/models/baremetal/nodes.rb +0 -44
  442. data/lib/fog/openstack/models/baremetal/port.rb +0 -50
  443. data/lib/fog/openstack/models/baremetal/ports.rb +0 -44
  444. data/lib/fog/openstack/models/collection.rb +0 -45
  445. data/lib/fog/openstack/models/compute/address.rb +0 -67
  446. data/lib/fog/openstack/models/compute/addresses.rb +0 -28
  447. data/lib/fog/openstack/models/compute/aggregate.rb +0 -58
  448. data/lib/fog/openstack/models/compute/aggregates.rb +0 -26
  449. data/lib/fog/openstack/models/compute/availability_zone.rb +0 -14
  450. data/lib/fog/openstack/models/compute/availability_zones.rb +0 -22
  451. data/lib/fog/openstack/models/compute/flavor.rb +0 -52
  452. data/lib/fog/openstack/models/compute/flavors.rb +0 -29
  453. data/lib/fog/openstack/models/compute/host.rb +0 -28
  454. data/lib/fog/openstack/models/compute/hosts.rb +0 -28
  455. data/lib/fog/openstack/models/compute/image.rb +0 -48
  456. data/lib/fog/openstack/models/compute/images.rb +0 -38
  457. data/lib/fog/openstack/models/compute/key_pair.rb +0 -56
  458. data/lib/fog/openstack/models/compute/key_pairs.rb +0 -29
  459. data/lib/fog/openstack/models/compute/metadata.rb +0 -65
  460. data/lib/fog/openstack/models/compute/metadatum.rb +0 -27
  461. data/lib/fog/openstack/models/compute/network.rb +0 -13
  462. data/lib/fog/openstack/models/compute/networks.rb +0 -30
  463. data/lib/fog/openstack/models/compute/security_group.rb +0 -57
  464. data/lib/fog/openstack/models/compute/security_group_rule.rb +0 -32
  465. data/lib/fog/openstack/models/compute/security_group_rules.rb +0 -21
  466. data/lib/fog/openstack/models/compute/security_groups.rb +0 -24
  467. data/lib/fog/openstack/models/compute/server.rb +0 -400
  468. data/lib/fog/openstack/models/compute/servers.rb +0 -59
  469. data/lib/fog/openstack/models/compute/service.rb +0 -42
  470. data/lib/fog/openstack/models/compute/services.rb +0 -23
  471. data/lib/fog/openstack/models/compute/snapshot.rb +0 -32
  472. data/lib/fog/openstack/models/compute/snapshots.rb +0 -37
  473. data/lib/fog/openstack/models/compute/tenant.rb +0 -24
  474. data/lib/fog/openstack/models/compute/tenants.rb +0 -25
  475. data/lib/fog/openstack/models/compute/volume.rb +0 -52
  476. data/lib/fog/openstack/models/compute/volumes.rb +0 -37
  477. data/lib/fog/openstack/models/identity_v2/ec2_credential.rb +0 -39
  478. data/lib/fog/openstack/models/identity_v2/ec2_credentials.rb +0 -56
  479. data/lib/fog/openstack/models/identity_v2/role.rb +0 -52
  480. data/lib/fog/openstack/models/identity_v2/roles.rb +0 -22
  481. data/lib/fog/openstack/models/identity_v2/tenant.rb +0 -60
  482. data/lib/fog/openstack/models/identity_v2/tenants.rb +0 -31
  483. data/lib/fog/openstack/models/identity_v2/user.rb +0 -69
  484. data/lib/fog/openstack/models/identity_v2/users.rb +0 -45
  485. data/lib/fog/openstack/models/identity_v3/domain.rb +0 -49
  486. data/lib/fog/openstack/models/identity_v3/domains.rb +0 -50
  487. data/lib/fog/openstack/models/identity_v3/endpoint.rb +0 -46
  488. data/lib/fog/openstack/models/identity_v3/endpoints.rb +0 -26
  489. data/lib/fog/openstack/models/identity_v3/group.rb +0 -92
  490. data/lib/fog/openstack/models/identity_v3/groups.rb +0 -31
  491. data/lib/fog/openstack/models/identity_v3/os_credential.rb +0 -73
  492. data/lib/fog/openstack/models/identity_v3/os_credentials.rb +0 -31
  493. data/lib/fog/openstack/models/identity_v3/policies.rb +0 -31
  494. data/lib/fog/openstack/models/identity_v3/policy.rb +0 -42
  495. data/lib/fog/openstack/models/identity_v3/project.rb +0 -106
  496. data/lib/fog/openstack/models/identity_v3/projects.rb +0 -57
  497. data/lib/fog/openstack/models/identity_v3/role.rb +0 -40
  498. data/lib/fog/openstack/models/identity_v3/role_assignment.rb +0 -22
  499. data/lib/fog/openstack/models/identity_v3/role_assignments.rb +0 -25
  500. data/lib/fog/openstack/models/identity_v3/roles.rb +0 -39
  501. data/lib/fog/openstack/models/identity_v3/service.rb +0 -47
  502. data/lib/fog/openstack/models/identity_v3/services.rb +0 -31
  503. data/lib/fog/openstack/models/identity_v3/token.rb +0 -26
  504. data/lib/fog/openstack/models/identity_v3/tokens.rb +0 -41
  505. data/lib/fog/openstack/models/identity_v3/user.rb +0 -81
  506. data/lib/fog/openstack/models/identity_v3/users.rb +0 -35
  507. data/lib/fog/openstack/models/image_v1/image.rb +0 -78
  508. data/lib/fog/openstack/models/image_v1/images.rb +0 -70
  509. data/lib/fog/openstack/models/image_v2/image.rb +0 -149
  510. data/lib/fog/openstack/models/image_v2/images.rb +0 -67
  511. data/lib/fog/openstack/models/meta_parent.rb +0 -31
  512. data/lib/fog/openstack/models/metering/meter.rb +0 -0
  513. data/lib/fog/openstack/models/metering/meters.rb +0 -0
  514. data/lib/fog/openstack/models/metering/resource.rb +0 -15
  515. data/lib/fog/openstack/models/metering/resources.rb +0 -23
  516. data/lib/fog/openstack/models/model.rb +0 -44
  517. data/lib/fog/openstack/models/network/floating_ip.rb +0 -40
  518. data/lib/fog/openstack/models/network/floating_ips.rb +0 -32
  519. data/lib/fog/openstack/models/network/lb_health_monitor.rb +0 -57
  520. data/lib/fog/openstack/models/network/lb_health_monitors.rb +0 -32
  521. data/lib/fog/openstack/models/network/lb_member.rb +0 -42
  522. data/lib/fog/openstack/models/network/lb_members.rb +0 -32
  523. data/lib/fog/openstack/models/network/lb_pool.rb +0 -67
  524. data/lib/fog/openstack/models/network/lb_pools.rb +0 -32
  525. data/lib/fog/openstack/models/network/lb_vip.rb +0 -48
  526. data/lib/fog/openstack/models/network/lb_vips.rb +0 -32
  527. data/lib/fog/openstack/models/network/network.rb +0 -43
  528. data/lib/fog/openstack/models/network/networks.rb +0 -32
  529. data/lib/fog/openstack/models/network/port.rb +0 -42
  530. data/lib/fog/openstack/models/network/ports.rb +0 -32
  531. data/lib/fog/openstack/models/network/router.rb +0 -61
  532. data/lib/fog/openstack/models/network/routers.rb +0 -32
  533. data/lib/fog/openstack/models/network/security_group.rb +0 -32
  534. data/lib/fog/openstack/models/network/security_group_rule.rb +0 -33
  535. data/lib/fog/openstack/models/network/security_group_rules.rb +0 -32
  536. data/lib/fog/openstack/models/network/security_groups.rb +0 -32
  537. data/lib/fog/openstack/models/network/subnet.rb +0 -44
  538. data/lib/fog/openstack/models/network/subnets.rb +0 -32
  539. data/lib/fog/openstack/models/orchestration/event.rb +0 -20
  540. data/lib/fog/openstack/models/orchestration/events.rb +0 -31
  541. data/lib/fog/openstack/models/orchestration/resource.rb +0 -32
  542. data/lib/fog/openstack/models/orchestration/resource_schemas.rb +0 -17
  543. data/lib/fog/openstack/models/orchestration/resources.rb +0 -36
  544. data/lib/fog/openstack/models/orchestration/stack.rb +0 -120
  545. data/lib/fog/openstack/models/orchestration/stacks.rb +0 -64
  546. data/lib/fog/openstack/models/orchestration/template.rb +0 -15
  547. data/lib/fog/openstack/models/orchestration/templates.rb +0 -45
  548. data/lib/fog/openstack/models/planning/plan.rb +0 -70
  549. data/lib/fog/openstack/models/planning/plans.rb +0 -31
  550. data/lib/fog/openstack/models/planning/role.rb +0 -23
  551. data/lib/fog/openstack/models/planning/roles.rb +0 -16
  552. data/lib/fog/openstack/models/storage/directories.rb +0 -36
  553. data/lib/fog/openstack/models/storage/directory.rb +0 -50
  554. data/lib/fog/openstack/models/storage/file.rb +0 -185
  555. data/lib/fog/openstack/models/storage/files.rb +0 -101
  556. data/lib/fog/openstack/models/volume/availability_zone.rb +0 -10
  557. data/lib/fog/openstack/models/volume/availability_zones.rb +0 -14
  558. data/lib/fog/openstack/models/volume/transfer.rb +0 -28
  559. data/lib/fog/openstack/models/volume/transfers.rb +0 -35
  560. data/lib/fog/openstack/models/volume/volume.rb +0 -36
  561. data/lib/fog/openstack/models/volume/volume_type.rb +0 -36
  562. data/lib/fog/openstack/models/volume/volume_types.rb +0 -22
  563. data/lib/fog/openstack/models/volume/volumes.rb +0 -35
  564. data/lib/fog/openstack/models/volume_v1/availability_zone.rb +0 -15
  565. data/lib/fog/openstack/models/volume_v1/availability_zones.rb +0 -16
  566. data/lib/fog/openstack/models/volume_v1/transfer.rb +0 -18
  567. data/lib/fog/openstack/models/volume_v1/transfers.rb +0 -16
  568. data/lib/fog/openstack/models/volume_v1/volume.rb +0 -26
  569. data/lib/fog/openstack/models/volume_v1/volume_type.rb +0 -16
  570. data/lib/fog/openstack/models/volume_v1/volume_types.rb +0 -16
  571. data/lib/fog/openstack/models/volume_v1/volumes.rb +0 -16
  572. data/lib/fog/openstack/models/volume_v2/availability_zone.rb +0 -15
  573. data/lib/fog/openstack/models/volume_v2/availability_zones.rb +0 -16
  574. data/lib/fog/openstack/models/volume_v2/transfer.rb +0 -19
  575. data/lib/fog/openstack/models/volume_v2/transfers.rb +0 -16
  576. data/lib/fog/openstack/models/volume_v2/volume.rb +0 -27
  577. data/lib/fog/openstack/models/volume_v2/volume_type.rb +0 -16
  578. data/lib/fog/openstack/models/volume_v2/volume_types.rb +0 -16
  579. data/lib/fog/openstack/models/volume_v2/volumes.rb +0 -16
  580. data/lib/fog/openstack/network.rb +0 -293
  581. data/lib/fog/openstack/orchestration.rb +0 -192
  582. data/lib/fog/openstack/planning.rb +0 -174
  583. data/lib/fog/openstack/requests/baremetal/create_chassis.rb +0 -44
  584. data/lib/fog/openstack/requests/baremetal/create_node.rb +0 -54
  585. data/lib/fog/openstack/requests/baremetal/create_port.rb +0 -46
  586. data/lib/fog/openstack/requests/baremetal/delete_chassis.rb +0 -25
  587. data/lib/fog/openstack/requests/baremetal/delete_node.rb +0 -25
  588. data/lib/fog/openstack/requests/baremetal/delete_port.rb +0 -25
  589. data/lib/fog/openstack/requests/baremetal/get_chassis.rb +0 -24
  590. data/lib/fog/openstack/requests/baremetal/get_driver.rb +0 -24
  591. data/lib/fog/openstack/requests/baremetal/get_driver_properties.rb +0 -40
  592. data/lib/fog/openstack/requests/baremetal/get_node.rb +0 -24
  593. data/lib/fog/openstack/requests/baremetal/get_port.rb +0 -24
  594. data/lib/fog/openstack/requests/baremetal/list_chassis.rb +0 -42
  595. data/lib/fog/openstack/requests/baremetal/list_chassis_detailed.rb +0 -25
  596. data/lib/fog/openstack/requests/baremetal/list_drivers.rb +0 -25
  597. data/lib/fog/openstack/requests/baremetal/list_nodes.rb +0 -34
  598. data/lib/fog/openstack/requests/baremetal/list_nodes_detailed.rb +0 -25
  599. data/lib/fog/openstack/requests/baremetal/list_ports.rb +0 -42
  600. data/lib/fog/openstack/requests/baremetal/list_ports_detailed.rb +0 -25
  601. data/lib/fog/openstack/requests/baremetal/patch_chassis.rb +0 -42
  602. data/lib/fog/openstack/requests/baremetal/patch_node.rb +0 -41
  603. data/lib/fog/openstack/requests/baremetal/patch_port.rb +0 -41
  604. data/lib/fog/openstack/requests/baremetal/set_node_maintenance.rb +0 -36
  605. data/lib/fog/openstack/requests/baremetal/set_node_power_state.rb +0 -35
  606. data/lib/fog/openstack/requests/baremetal/set_node_provision_state.rb +0 -38
  607. data/lib/fog/openstack/requests/baremetal/unset_node_maintenance.rb +0 -36
  608. data/lib/fog/openstack/requests/compute/add_aggregate_host.rb +0 -30
  609. data/lib/fog/openstack/requests/compute/add_fixed_ip.rb +0 -29
  610. data/lib/fog/openstack/requests/compute/add_flavor_access.rb +0 -31
  611. data/lib/fog/openstack/requests/compute/add_security_group.rb +0 -20
  612. data/lib/fog/openstack/requests/compute/allocate_address.rb +0 -39
  613. data/lib/fog/openstack/requests/compute/associate_address.rb +0 -30
  614. data/lib/fog/openstack/requests/compute/attach_volume.rb +0 -38
  615. data/lib/fog/openstack/requests/compute/boot_from_snapshot.rb +0 -41
  616. data/lib/fog/openstack/requests/compute/change_server_password.rb +0 -20
  617. data/lib/fog/openstack/requests/compute/confirm_resize_server.rb +0 -20
  618. data/lib/fog/openstack/requests/compute/create_aggregate.rb +0 -42
  619. data/lib/fog/openstack/requests/compute/create_flavor.rb +0 -85
  620. data/lib/fog/openstack/requests/compute/create_flavor_metadata.rb +0 -38
  621. data/lib/fog/openstack/requests/compute/create_image.rb +0 -44
  622. data/lib/fog/openstack/requests/compute/create_key_pair.rb +0 -46
  623. data/lib/fog/openstack/requests/compute/create_security_group.rb +0 -50
  624. data/lib/fog/openstack/requests/compute/create_security_group_rule.rb +0 -57
  625. data/lib/fog/openstack/requests/compute/create_server.rb +0 -185
  626. data/lib/fog/openstack/requests/compute/create_volume.rb +0 -51
  627. data/lib/fog/openstack/requests/compute/create_volume_snapshot.rb +0 -44
  628. data/lib/fog/openstack/requests/compute/delete_aggregate.rb +0 -28
  629. data/lib/fog/openstack/requests/compute/delete_flavor.rb +0 -28
  630. data/lib/fog/openstack/requests/compute/delete_image.rb +0 -35
  631. data/lib/fog/openstack/requests/compute/delete_key_pair.rb +0 -29
  632. data/lib/fog/openstack/requests/compute/delete_meta.rb +0 -35
  633. data/lib/fog/openstack/requests/compute/delete_metadata.rb +0 -23
  634. data/lib/fog/openstack/requests/compute/delete_security_group.rb +0 -31
  635. data/lib/fog/openstack/requests/compute/delete_security_group_rule.rb +0 -31
  636. data/lib/fog/openstack/requests/compute/delete_server.rb +0 -34
  637. data/lib/fog/openstack/requests/compute/delete_service.rb +0 -32
  638. data/lib/fog/openstack/requests/compute/delete_snapshot.rb +0 -23
  639. data/lib/fog/openstack/requests/compute/delete_volume.rb +0 -28
  640. data/lib/fog/openstack/requests/compute/detach_volume.rb +0 -28
  641. data/lib/fog/openstack/requests/compute/disable_service.rb +0 -37
  642. data/lib/fog/openstack/requests/compute/disable_service_log_reason.rb +0 -38
  643. data/lib/fog/openstack/requests/compute/disassociate_address.rb +0 -25
  644. data/lib/fog/openstack/requests/compute/enable_service.rb +0 -38
  645. data/lib/fog/openstack/requests/compute/evacuate_server.rb +0 -26
  646. data/lib/fog/openstack/requests/compute/get_address.rb +0 -38
  647. data/lib/fog/openstack/requests/compute/get_aggregate.rb +0 -26
  648. data/lib/fog/openstack/requests/compute/get_console_output.rb +0 -24
  649. data/lib/fog/openstack/requests/compute/get_flavor_details.rb +0 -39
  650. data/lib/fog/openstack/requests/compute/get_flavor_metadata.rb +0 -27
  651. data/lib/fog/openstack/requests/compute/get_host_details.rb +0 -66
  652. data/lib/fog/openstack/requests/compute/get_hypervisor_statistics.rb +0 -39
  653. data/lib/fog/openstack/requests/compute/get_image_details.rb +0 -28
  654. data/lib/fog/openstack/requests/compute/get_limits.rb +0 -89
  655. data/lib/fog/openstack/requests/compute/get_metadata.rb +0 -24
  656. data/lib/fog/openstack/requests/compute/get_quota.rb +0 -26
  657. data/lib/fog/openstack/requests/compute/get_quota_defaults.rb +0 -26
  658. data/lib/fog/openstack/requests/compute/get_security_group.rb +0 -37
  659. data/lib/fog/openstack/requests/compute/get_security_group_rule.rb +0 -38
  660. data/lib/fog/openstack/requests/compute/get_server_details.rb +0 -28
  661. data/lib/fog/openstack/requests/compute/get_server_volumes.rb +0 -27
  662. data/lib/fog/openstack/requests/compute/get_snapshot_details.rb +0 -34
  663. data/lib/fog/openstack/requests/compute/get_usage.rb +0 -51
  664. data/lib/fog/openstack/requests/compute/get_vnc_console.rb +0 -40
  665. data/lib/fog/openstack/requests/compute/get_volume_details.rb +0 -28
  666. data/lib/fog/openstack/requests/compute/list_address_pools.rb +0 -28
  667. data/lib/fog/openstack/requests/compute/list_addresses.rb +0 -28
  668. data/lib/fog/openstack/requests/compute/list_aggregates.rb +0 -36
  669. data/lib/fog/openstack/requests/compute/list_all_addresses.rb +0 -62
  670. data/lib/fog/openstack/requests/compute/list_flavors.rb +0 -35
  671. data/lib/fog/openstack/requests/compute/list_flavors_detail.rb +0 -35
  672. data/lib/fog/openstack/requests/compute/list_hosts.rb +0 -28
  673. data/lib/fog/openstack/requests/compute/list_images.rb +0 -29
  674. data/lib/fog/openstack/requests/compute/list_images_detail.rb +0 -36
  675. data/lib/fog/openstack/requests/compute/list_key_pairs.rb +0 -38
  676. data/lib/fog/openstack/requests/compute/list_metadata.rb +0 -24
  677. data/lib/fog/openstack/requests/compute/list_private_addresses.rb +0 -28
  678. data/lib/fog/openstack/requests/compute/list_public_addresses.rb +0 -28
  679. data/lib/fog/openstack/requests/compute/list_security_groups.rb +0 -69
  680. data/lib/fog/openstack/requests/compute/list_servers.rb +0 -36
  681. data/lib/fog/openstack/requests/compute/list_servers_detail.rb +0 -43
  682. data/lib/fog/openstack/requests/compute/list_services.rb +0 -72
  683. data/lib/fog/openstack/requests/compute/list_snapshots.rb +0 -41
  684. data/lib/fog/openstack/requests/compute/list_snapshots_detail.rb +0 -27
  685. data/lib/fog/openstack/requests/compute/list_tenants.rb +0 -45
  686. data/lib/fog/openstack/requests/compute/list_tenants_with_flavor_access.rb +0 -26
  687. data/lib/fog/openstack/requests/compute/list_usages.rb +0 -41
  688. data/lib/fog/openstack/requests/compute/list_volumes.rb +0 -39
  689. data/lib/fog/openstack/requests/compute/list_volumes_detail.rb +0 -25
  690. data/lib/fog/openstack/requests/compute/list_zones.rb +0 -33
  691. data/lib/fog/openstack/requests/compute/list_zones_detailed.rb +0 -55
  692. data/lib/fog/openstack/requests/compute/live_migrate_server.rb +0 -26
  693. data/lib/fog/openstack/requests/compute/migrate_server.rb +0 -20
  694. data/lib/fog/openstack/requests/compute/pause_server.rb +0 -24
  695. data/lib/fog/openstack/requests/compute/reboot_server.rb +0 -20
  696. data/lib/fog/openstack/requests/compute/rebuild_server.rb +0 -34
  697. data/lib/fog/openstack/requests/compute/release_address.rb +0 -29
  698. data/lib/fog/openstack/requests/compute/remove_aggregate_host.rb +0 -30
  699. data/lib/fog/openstack/requests/compute/remove_fixed_ip.rb +0 -29
  700. data/lib/fog/openstack/requests/compute/remove_flavor_access.rb +0 -31
  701. data/lib/fog/openstack/requests/compute/remove_security_group.rb +0 -20
  702. data/lib/fog/openstack/requests/compute/rescue_server.rb +0 -24
  703. data/lib/fog/openstack/requests/compute/reset_server_state.rb +0 -20
  704. data/lib/fog/openstack/requests/compute/resize_server.rb +0 -20
  705. data/lib/fog/openstack/requests/compute/resume_server.rb +0 -24
  706. data/lib/fog/openstack/requests/compute/revert_resize_server.rb +0 -26
  707. data/lib/fog/openstack/requests/compute/server_action.rb +0 -16
  708. data/lib/fog/openstack/requests/compute/server_actions.rb +0 -38
  709. data/lib/fog/openstack/requests/compute/server_diagnostics.rb +0 -25
  710. data/lib/fog/openstack/requests/compute/set_metadata.rb +0 -37
  711. data/lib/fog/openstack/requests/compute/set_tenant.rb +0 -19
  712. data/lib/fog/openstack/requests/compute/shelve_offload_server.rb +0 -24
  713. data/lib/fog/openstack/requests/compute/shelve_server.rb +0 -24
  714. data/lib/fog/openstack/requests/compute/start_server.rb +0 -24
  715. data/lib/fog/openstack/requests/compute/stop_server.rb +0 -24
  716. data/lib/fog/openstack/requests/compute/suspend_server.rb +0 -24
  717. data/lib/fog/openstack/requests/compute/unpause_server.rb +0 -24
  718. data/lib/fog/openstack/requests/compute/unshelve_server.rb +0 -24
  719. data/lib/fog/openstack/requests/compute/update_aggregate.rb +0 -37
  720. data/lib/fog/openstack/requests/compute/update_aggregate_metadata.rb +0 -30
  721. data/lib/fog/openstack/requests/compute/update_meta.rb +0 -38
  722. data/lib/fog/openstack/requests/compute/update_metadata.rb +0 -38
  723. data/lib/fog/openstack/requests/compute/update_quota.rb +0 -28
  724. data/lib/fog/openstack/requests/compute/update_server.rb +0 -31
  725. data/lib/fog/openstack/requests/identity_v2/add_user_to_tenant.rb +0 -36
  726. data/lib/fog/openstack/requests/identity_v2/check_token.rb +0 -22
  727. data/lib/fog/openstack/requests/identity_v2/create_ec2_credential.rb +0 -59
  728. data/lib/fog/openstack/requests/identity_v2/create_role.rb +0 -38
  729. data/lib/fog/openstack/requests/identity_v2/create_tenant.rb +0 -34
  730. data/lib/fog/openstack/requests/identity_v2/create_user.rb +0 -45
  731. data/lib/fog/openstack/requests/identity_v2/create_user_role.rb +0 -26
  732. data/lib/fog/openstack/requests/identity_v2/delete_ec2_credential.rb +0 -43
  733. data/lib/fog/openstack/requests/identity_v2/delete_role.rb +0 -30
  734. data/lib/fog/openstack/requests/identity_v2/delete_tenant.rb +0 -33
  735. data/lib/fog/openstack/requests/identity_v2/delete_user.rb +0 -30
  736. data/lib/fog/openstack/requests/identity_v2/delete_user_role.rb +0 -25
  737. data/lib/fog/openstack/requests/identity_v2/get_ec2_credential.rb +0 -50
  738. data/lib/fog/openstack/requests/identity_v2/get_role.rb +0 -30
  739. data/lib/fog/openstack/requests/identity_v2/get_tenant.rb +0 -33
  740. data/lib/fog/openstack/requests/identity_v2/get_tenants_by_id.rb +0 -20
  741. data/lib/fog/openstack/requests/identity_v2/get_tenants_by_name.rb +0 -20
  742. data/lib/fog/openstack/requests/identity_v2/get_user_by_id.rb +0 -34
  743. data/lib/fog/openstack/requests/identity_v2/get_user_by_name.rb +0 -29
  744. data/lib/fog/openstack/requests/identity_v2/list_ec2_credentials.rb +0 -61
  745. data/lib/fog/openstack/requests/identity_v2/list_endpoints_for_token.rb +0 -20
  746. data/lib/fog/openstack/requests/identity_v2/list_roles.rb +0 -34
  747. data/lib/fog/openstack/requests/identity_v2/list_roles_for_user_on_tenant.rb +0 -32
  748. data/lib/fog/openstack/requests/identity_v2/list_tenants.rb +0 -53
  749. data/lib/fog/openstack/requests/identity_v2/list_user_global_roles.rb +0 -20
  750. data/lib/fog/openstack/requests/identity_v2/list_users.rb +0 -47
  751. data/lib/fog/openstack/requests/identity_v2/remove_user_from_tenant.rb +0 -22
  752. data/lib/fog/openstack/requests/identity_v2/set_tenant.rb +0 -21
  753. data/lib/fog/openstack/requests/identity_v2/update_tenant.rb +0 -30
  754. data/lib/fog/openstack/requests/identity_v2/update_user.rb +0 -34
  755. data/lib/fog/openstack/requests/identity_v2/validate_token.rb +0 -22
  756. data/lib/fog/openstack/requests/identity_v3/add_user_to_group.rb +0 -20
  757. data/lib/fog/openstack/requests/identity_v3/auth_domains.rb +0 -24
  758. data/lib/fog/openstack/requests/identity_v3/auth_projects.rb +0 -24
  759. data/lib/fog/openstack/requests/identity_v3/check_domain_group_role.rb +0 -20
  760. data/lib/fog/openstack/requests/identity_v3/check_domain_user_role.rb +0 -20
  761. data/lib/fog/openstack/requests/identity_v3/check_project_group_role.rb +0 -20
  762. data/lib/fog/openstack/requests/identity_v3/check_project_user_role.rb +0 -20
  763. data/lib/fog/openstack/requests/identity_v3/create_domain.rb +0 -21
  764. data/lib/fog/openstack/requests/identity_v3/create_endpoint.rb +0 -21
  765. data/lib/fog/openstack/requests/identity_v3/create_group.rb +0 -21
  766. data/lib/fog/openstack/requests/identity_v3/create_os_credential.rb +0 -21
  767. data/lib/fog/openstack/requests/identity_v3/create_policy.rb +0 -21
  768. data/lib/fog/openstack/requests/identity_v3/create_project.rb +0 -21
  769. data/lib/fog/openstack/requests/identity_v3/create_role.rb +0 -21
  770. data/lib/fog/openstack/requests/identity_v3/create_service.rb +0 -21
  771. data/lib/fog/openstack/requests/identity_v3/create_user.rb +0 -21
  772. data/lib/fog/openstack/requests/identity_v3/delete_domain.rb +0 -20
  773. data/lib/fog/openstack/requests/identity_v3/delete_endpoint.rb +0 -20
  774. data/lib/fog/openstack/requests/identity_v3/delete_group.rb +0 -20
  775. data/lib/fog/openstack/requests/identity_v3/delete_os_credential.rb +0 -20
  776. data/lib/fog/openstack/requests/identity_v3/delete_policy.rb +0 -20
  777. data/lib/fog/openstack/requests/identity_v3/delete_project.rb +0 -20
  778. data/lib/fog/openstack/requests/identity_v3/delete_role.rb +0 -20
  779. data/lib/fog/openstack/requests/identity_v3/delete_service.rb +0 -20
  780. data/lib/fog/openstack/requests/identity_v3/delete_user.rb +0 -20
  781. data/lib/fog/openstack/requests/identity_v3/get_domain.rb +0 -23
  782. data/lib/fog/openstack/requests/identity_v3/get_endpoint.rb +0 -23
  783. data/lib/fog/openstack/requests/identity_v3/get_group.rb +0 -23
  784. data/lib/fog/openstack/requests/identity_v3/get_os_credential.rb +0 -23
  785. data/lib/fog/openstack/requests/identity_v3/get_policy.rb +0 -23
  786. data/lib/fog/openstack/requests/identity_v3/get_project.rb +0 -23
  787. data/lib/fog/openstack/requests/identity_v3/get_role.rb +0 -23
  788. data/lib/fog/openstack/requests/identity_v3/get_service.rb +0 -23
  789. data/lib/fog/openstack/requests/identity_v3/get_user.rb +0 -23
  790. data/lib/fog/openstack/requests/identity_v3/grant_domain_group_role.rb +0 -20
  791. data/lib/fog/openstack/requests/identity_v3/grant_domain_user_role.rb +0 -20
  792. data/lib/fog/openstack/requests/identity_v3/grant_project_group_role.rb +0 -20
  793. data/lib/fog/openstack/requests/identity_v3/grant_project_user_role.rb +0 -20
  794. data/lib/fog/openstack/requests/identity_v3/group_user_check.rb +0 -20
  795. data/lib/fog/openstack/requests/identity_v3/list_domain_group_roles.rb +0 -23
  796. data/lib/fog/openstack/requests/identity_v3/list_domain_user_roles.rb +0 -23
  797. data/lib/fog/openstack/requests/identity_v3/list_domains.rb +0 -24
  798. data/lib/fog/openstack/requests/identity_v3/list_endpoints.rb +0 -24
  799. data/lib/fog/openstack/requests/identity_v3/list_group_users.rb +0 -24
  800. data/lib/fog/openstack/requests/identity_v3/list_groups.rb +0 -32
  801. data/lib/fog/openstack/requests/identity_v3/list_os_credentials.rb +0 -24
  802. data/lib/fog/openstack/requests/identity_v3/list_policies.rb +0 -24
  803. data/lib/fog/openstack/requests/identity_v3/list_project_group_roles.rb +0 -23
  804. data/lib/fog/openstack/requests/identity_v3/list_project_user_roles.rb +0 -23
  805. data/lib/fog/openstack/requests/identity_v3/list_projects.rb +0 -31
  806. data/lib/fog/openstack/requests/identity_v3/list_role_assignments.rb +0 -39
  807. data/lib/fog/openstack/requests/identity_v3/list_roles.rb +0 -24
  808. data/lib/fog/openstack/requests/identity_v3/list_services.rb +0 -24
  809. data/lib/fog/openstack/requests/identity_v3/list_user_groups.rb +0 -23
  810. data/lib/fog/openstack/requests/identity_v3/list_user_projects.rb +0 -23
  811. data/lib/fog/openstack/requests/identity_v3/list_users.rb +0 -24
  812. data/lib/fog/openstack/requests/identity_v3/remove_user_from_group.rb +0 -20
  813. data/lib/fog/openstack/requests/identity_v3/revoke_domain_group_role.rb +0 -20
  814. data/lib/fog/openstack/requests/identity_v3/revoke_domain_user_role.rb +0 -20
  815. data/lib/fog/openstack/requests/identity_v3/revoke_project_group_role.rb +0 -20
  816. data/lib/fog/openstack/requests/identity_v3/revoke_project_user_role.rb +0 -20
  817. data/lib/fog/openstack/requests/identity_v3/token_authenticate.rb +0 -21
  818. data/lib/fog/openstack/requests/identity_v3/token_check.rb +0 -21
  819. data/lib/fog/openstack/requests/identity_v3/token_revoke.rb +0 -21
  820. data/lib/fog/openstack/requests/identity_v3/token_validate.rb +0 -22
  821. data/lib/fog/openstack/requests/identity_v3/update_domain.rb +0 -21
  822. data/lib/fog/openstack/requests/identity_v3/update_endpoint.rb +0 -21
  823. data/lib/fog/openstack/requests/identity_v3/update_group.rb +0 -21
  824. data/lib/fog/openstack/requests/identity_v3/update_os_credential.rb +0 -21
  825. data/lib/fog/openstack/requests/identity_v3/update_policy.rb +0 -21
  826. data/lib/fog/openstack/requests/identity_v3/update_project.rb +0 -21
  827. data/lib/fog/openstack/requests/identity_v3/update_role.rb +0 -21
  828. data/lib/fog/openstack/requests/identity_v3/update_service.rb +0 -21
  829. data/lib/fog/openstack/requests/identity_v3/update_user.rb +0 -21
  830. data/lib/fog/openstack/requests/image_v1/add_member_to_image.rb +0 -25
  831. data/lib/fog/openstack/requests/image_v1/create_image.rb +0 -78
  832. data/lib/fog/openstack/requests/image_v1/delete_image.rb +0 -25
  833. data/lib/fog/openstack/requests/image_v1/get_image.rb +0 -47
  834. data/lib/fog/openstack/requests/image_v1/get_image_by_id.rb +0 -34
  835. data/lib/fog/openstack/requests/image_v1/get_image_members.rb +0 -31
  836. data/lib/fog/openstack/requests/image_v1/get_shared_images.rb +0 -31
  837. data/lib/fog/openstack/requests/image_v1/list_public_images.rb +0 -35
  838. data/lib/fog/openstack/requests/image_v1/list_public_images_detailed.rb +0 -37
  839. data/lib/fog/openstack/requests/image_v1/remove_member_from_image.rb +0 -25
  840. data/lib/fog/openstack/requests/image_v1/set_tenant.rb +0 -21
  841. data/lib/fog/openstack/requests/image_v1/update_image.rb +0 -66
  842. data/lib/fog/openstack/requests/image_v1/update_image_members.rb +0 -39
  843. data/lib/fog/openstack/requests/image_v2/add_member_to_image.rb +0 -26
  844. data/lib/fog/openstack/requests/image_v2/add_tag_to_image.rb +0 -25
  845. data/lib/fog/openstack/requests/image_v2/create_image.rb +0 -54
  846. data/lib/fog/openstack/requests/image_v2/deactivate_image.rb +0 -25
  847. data/lib/fog/openstack/requests/image_v2/delete_image.rb +0 -25
  848. data/lib/fog/openstack/requests/image_v2/download_image.rb +0 -29
  849. data/lib/fog/openstack/requests/image_v2/get_image.rb +0 -47
  850. data/lib/fog/openstack/requests/image_v2/get_image_by_id.rb +0 -34
  851. data/lib/fog/openstack/requests/image_v2/get_image_members.rb +0 -31
  852. data/lib/fog/openstack/requests/image_v2/get_member_details.rb +0 -33
  853. data/lib/fog/openstack/requests/image_v2/get_shared_images.rb +0 -31
  854. data/lib/fog/openstack/requests/image_v2/list_images.rb +0 -35
  855. data/lib/fog/openstack/requests/image_v2/reactivate_image.rb +0 -25
  856. data/lib/fog/openstack/requests/image_v2/remove_member_from_image.rb +0 -25
  857. data/lib/fog/openstack/requests/image_v2/remove_tag_from_image.rb +0 -25
  858. data/lib/fog/openstack/requests/image_v2/set_tenant.rb +0 -21
  859. data/lib/fog/openstack/requests/image_v2/update_image.rb +0 -49
  860. data/lib/fog/openstack/requests/image_v2/update_image_member.rb +0 -34
  861. data/lib/fog/openstack/requests/image_v2/upload_image.rb +0 -30
  862. data/lib/fog/openstack/requests/metering/get_resource.rb +0 -28
  863. data/lib/fog/openstack/requests/metering/get_samples.rb +0 -50
  864. data/lib/fog/openstack/requests/metering/get_statistics.rb +0 -51
  865. data/lib/fog/openstack/requests/metering/list_meters.rb +0 -45
  866. data/lib/fog/openstack/requests/metering/list_resources.rb +0 -28
  867. data/lib/fog/openstack/requests/network/add_router_interface.rb +0 -54
  868. data/lib/fog/openstack/requests/network/associate_floating_ip.rb +0 -47
  869. data/lib/fog/openstack/requests/network/associate_lb_health_monitor.rb +0 -37
  870. data/lib/fog/openstack/requests/network/create_floating_ip.rb +0 -45
  871. data/lib/fog/openstack/requests/network/create_lb_health_monitor.rb +0 -54
  872. data/lib/fog/openstack/requests/network/create_lb_member.rb +0 -51
  873. data/lib/fog/openstack/requests/network/create_lb_pool.rb +0 -58
  874. data/lib/fog/openstack/requests/network/create_lb_vip.rb +0 -58
  875. data/lib/fog/openstack/requests/network/create_network.rb +0 -97
  876. data/lib/fog/openstack/requests/network/create_port.rb +0 -53
  877. data/lib/fog/openstack/requests/network/create_router.rb +0 -76
  878. data/lib/fog/openstack/requests/network/create_security_group.rb +0 -94
  879. data/lib/fog/openstack/requests/network/create_security_group_rule.rb +0 -79
  880. data/lib/fog/openstack/requests/network/create_subnet.rb +0 -54
  881. data/lib/fog/openstack/requests/network/delete_floating_ip.rb +0 -28
  882. data/lib/fog/openstack/requests/network/delete_lb_health_monitor.rb +0 -28
  883. data/lib/fog/openstack/requests/network/delete_lb_member.rb +0 -28
  884. data/lib/fog/openstack/requests/network/delete_lb_pool.rb +0 -28
  885. data/lib/fog/openstack/requests/network/delete_lb_vip.rb +0 -28
  886. data/lib/fog/openstack/requests/network/delete_network.rb +0 -28
  887. data/lib/fog/openstack/requests/network/delete_port.rb +0 -28
  888. data/lib/fog/openstack/requests/network/delete_quota.rb +0 -23
  889. data/lib/fog/openstack/requests/network/delete_router.rb +0 -28
  890. data/lib/fog/openstack/requests/network/delete_security_group.rb +0 -32
  891. data/lib/fog/openstack/requests/network/delete_security_group_rule.rb +0 -32
  892. data/lib/fog/openstack/requests/network/delete_subnet.rb +0 -28
  893. data/lib/fog/openstack/requests/network/disassociate_floating_ip.rb +0 -47
  894. data/lib/fog/openstack/requests/network/disassociate_lb_health_monitor.rb +0 -29
  895. data/lib/fog/openstack/requests/network/get_floating_ip.rb +0 -39
  896. data/lib/fog/openstack/requests/network/get_lb_health_monitor.rb +0 -28
  897. data/lib/fog/openstack/requests/network/get_lb_member.rb +0 -28
  898. data/lib/fog/openstack/requests/network/get_lb_pool.rb +0 -28
  899. data/lib/fog/openstack/requests/network/get_lb_pool_stats.rb +0 -33
  900. data/lib/fog/openstack/requests/network/get_lb_vip.rb +0 -28
  901. data/lib/fog/openstack/requests/network/get_network.rb +0 -40
  902. data/lib/fog/openstack/requests/network/get_port.rb +0 -51
  903. data/lib/fog/openstack/requests/network/get_quota.rb +0 -26
  904. data/lib/fog/openstack/requests/network/get_quotas.rb +0 -26
  905. data/lib/fog/openstack/requests/network/get_router.rb +0 -30
  906. data/lib/fog/openstack/requests/network/get_security_group.rb +0 -52
  907. data/lib/fog/openstack/requests/network/get_security_group_rule.rb +0 -47
  908. data/lib/fog/openstack/requests/network/get_subnet.rb +0 -47
  909. data/lib/fog/openstack/requests/network/list_floating_ips.rb +0 -25
  910. data/lib/fog/openstack/requests/network/list_lb_health_monitors.rb +0 -25
  911. data/lib/fog/openstack/requests/network/list_lb_members.rb +0 -25
  912. data/lib/fog/openstack/requests/network/list_lb_pools.rb +0 -25
  913. data/lib/fog/openstack/requests/network/list_lb_vips.rb +0 -25
  914. data/lib/fog/openstack/requests/network/list_networks.rb +0 -25
  915. data/lib/fog/openstack/requests/network/list_ports.rb +0 -25
  916. data/lib/fog/openstack/requests/network/list_routers.rb +0 -25
  917. data/lib/fog/openstack/requests/network/list_security_group_rules.rb +0 -48
  918. data/lib/fog/openstack/requests/network/list_security_groups.rb +0 -53
  919. data/lib/fog/openstack/requests/network/list_subnets.rb +0 -25
  920. data/lib/fog/openstack/requests/network/remove_router_interface.rb +0 -34
  921. data/lib/fog/openstack/requests/network/set_tenant.rb +0 -20
  922. data/lib/fog/openstack/requests/network/update_lb_health_monitor.rb +0 -43
  923. data/lib/fog/openstack/requests/network/update_lb_member.rb +0 -39
  924. data/lib/fog/openstack/requests/network/update_lb_pool.rb +0 -40
  925. data/lib/fog/openstack/requests/network/update_lb_vip.rb +0 -42
  926. data/lib/fog/openstack/requests/network/update_network.rb +0 -39
  927. data/lib/fog/openstack/requests/network/update_port.rb +0 -43
  928. data/lib/fog/openstack/requests/network/update_quota.rb +0 -27
  929. data/lib/fog/openstack/requests/network/update_router.rb +0 -69
  930. data/lib/fog/openstack/requests/network/update_subnet.rb +0 -43
  931. data/lib/fog/openstack/requests/orchestration/abandon_stack.rb +0 -15
  932. data/lib/fog/openstack/requests/orchestration/build_info.rb +0 -15
  933. data/lib/fog/openstack/requests/orchestration/create_stack.rb +0 -75
  934. data/lib/fog/openstack/requests/orchestration/delete_stack.rb +0 -58
  935. data/lib/fog/openstack/requests/orchestration/get_stack_template.rb +0 -20
  936. data/lib/fog/openstack/requests/orchestration/list_events.rb +0 -46
  937. data/lib/fog/openstack/requests/orchestration/list_resource_events.rb +0 -28
  938. data/lib/fog/openstack/requests/orchestration/list_resource_types.rb +0 -27
  939. data/lib/fog/openstack/requests/orchestration/list_resources.rb +0 -46
  940. data/lib/fog/openstack/requests/orchestration/list_stack_data.rb +0 -27
  941. data/lib/fog/openstack/requests/orchestration/list_stack_data_detailed.rb +0 -49
  942. data/lib/fog/openstack/requests/orchestration/list_stack_events.rb +0 -27
  943. data/lib/fog/openstack/requests/orchestration/patch_stack.rb +0 -37
  944. data/lib/fog/openstack/requests/orchestration/preview_stack.rb +0 -16
  945. data/lib/fog/openstack/requests/orchestration/show_event_details.rb +0 -26
  946. data/lib/fog/openstack/requests/orchestration/show_resource_data.rb +0 -26
  947. data/lib/fog/openstack/requests/orchestration/show_resource_metadata.rb +0 -26
  948. data/lib/fog/openstack/requests/orchestration/show_resource_schema.rb +0 -15
  949. data/lib/fog/openstack/requests/orchestration/show_resource_template.rb +0 -20
  950. data/lib/fog/openstack/requests/orchestration/show_stack_details.rb +0 -26
  951. data/lib/fog/openstack/requests/orchestration/update_stack.rb +0 -66
  952. data/lib/fog/openstack/requests/orchestration/validate_template.rb +0 -16
  953. data/lib/fog/openstack/requests/planning/add_role_to_plan.rb +0 -40
  954. data/lib/fog/openstack/requests/planning/create_plan.rb +0 -33
  955. data/lib/fog/openstack/requests/planning/delete_plan.rb +0 -23
  956. data/lib/fog/openstack/requests/planning/get_plan.rb +0 -58
  957. data/lib/fog/openstack/requests/planning/get_plan_templates.rb +0 -28
  958. data/lib/fog/openstack/requests/planning/list_plans.rb +0 -61
  959. data/lib/fog/openstack/requests/planning/list_roles.rb +0 -32
  960. data/lib/fog/openstack/requests/planning/patch_plan.rb +0 -51
  961. data/lib/fog/openstack/requests/planning/remove_role_from_plan.rb +0 -32
  962. data/lib/fog/openstack/requests/storage/copy_object.rb +0 -25
  963. data/lib/fog/openstack/requests/storage/delete_container.rb +0 -20
  964. data/lib/fog/openstack/requests/storage/delete_multiple_objects.rb +0 -65
  965. data/lib/fog/openstack/requests/storage/delete_object.rb +0 -21
  966. data/lib/fog/openstack/requests/storage/delete_static_large_object.rb +0 -41
  967. data/lib/fog/openstack/requests/storage/get_container.rb +0 -42
  968. data/lib/fog/openstack/requests/storage/get_containers.rb +0 -31
  969. data/lib/fog/openstack/requests/storage/get_object.rb +0 -27
  970. data/lib/fog/openstack/requests/storage/get_object_http_url.rb +0 -21
  971. data/lib/fog/openstack/requests/storage/get_object_https_url.rb +0 -81
  972. data/lib/fog/openstack/requests/storage/head_container.rb +0 -26
  973. data/lib/fog/openstack/requests/storage/head_containers.rb +0 -23
  974. data/lib/fog/openstack/requests/storage/head_object.rb +0 -21
  975. data/lib/fog/openstack/requests/storage/post_set_meta_temp_url_key.rb +0 -33
  976. data/lib/fog/openstack/requests/storage/public_url.rb +0 -28
  977. data/lib/fog/openstack/requests/storage/put_container.rb +0 -24
  978. data/lib/fog/openstack/requests/storage/put_dynamic_obj_manifest.rb +0 -41
  979. data/lib/fog/openstack/requests/storage/put_object.rb +0 -41
  980. data/lib/fog/openstack/requests/storage/put_object_manifest.rb +0 -14
  981. data/lib/fog/openstack/requests/storage/put_static_obj_manifest.rb +0 -55
  982. data/lib/fog/openstack/requests/volume/accept_transfer.rb +0 -22
  983. data/lib/fog/openstack/requests/volume/create_transfer.rb +0 -25
  984. data/lib/fog/openstack/requests/volume/create_volume.rb +0 -22
  985. data/lib/fog/openstack/requests/volume/create_volume_snapshot.rb +0 -26
  986. data/lib/fog/openstack/requests/volume/create_volume_type.rb +0 -41
  987. data/lib/fog/openstack/requests/volume/delete_snapshot.rb +0 -23
  988. data/lib/fog/openstack/requests/volume/delete_transfer.rb +0 -15
  989. data/lib/fog/openstack/requests/volume/delete_volume.rb +0 -23
  990. data/lib/fog/openstack/requests/volume/delete_volume_type.rb +0 -23
  991. data/lib/fog/openstack/requests/volume/extend_volume.rb +0 -25
  992. data/lib/fog/openstack/requests/volume/get_quota.rb +0 -26
  993. data/lib/fog/openstack/requests/volume/get_quota_defaults.rb +0 -26
  994. data/lib/fog/openstack/requests/volume/get_quota_usage.rb +0 -44
  995. data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +0 -15
  996. data/lib/fog/openstack/requests/volume/get_transfer_details.rb +0 -17
  997. data/lib/fog/openstack/requests/volume/get_volume_details.rb +0 -16
  998. data/lib/fog/openstack/requests/volume/get_volume_type_details.rb +0 -32
  999. data/lib/fog/openstack/requests/volume/list_snapshots.rb +0 -41
  1000. data/lib/fog/openstack/requests/volume/list_snapshots_detailed.rb +0 -27
  1001. data/lib/fog/openstack/requests/volume/list_transfers.rb +0 -18
  1002. data/lib/fog/openstack/requests/volume/list_transfers_detailed.rb +0 -18
  1003. data/lib/fog/openstack/requests/volume/list_volume_types.rb +0 -41
  1004. data/lib/fog/openstack/requests/volume/list_volumes.rb +0 -30
  1005. data/lib/fog/openstack/requests/volume/list_volumes_detailed.rb +0 -16
  1006. data/lib/fog/openstack/requests/volume/list_zones.rb +0 -32
  1007. data/lib/fog/openstack/requests/volume/set_tenant.rb +0 -19
  1008. data/lib/fog/openstack/requests/volume/update_quota.rb +0 -28
  1009. data/lib/fog/openstack/requests/volume/update_volume_type.rb +0 -41
  1010. data/lib/fog/openstack/requests/volume_v1/accept_transfer.rb +0 -2
  1011. data/lib/fog/openstack/requests/volume_v1/create_transfer.rb +0 -2
  1012. data/lib/fog/openstack/requests/volume_v1/create_volume.rb +0 -49
  1013. data/lib/fog/openstack/requests/volume_v1/create_volume_snapshot.rb +0 -44
  1014. data/lib/fog/openstack/requests/volume_v1/create_volume_type.rb +0 -2
  1015. data/lib/fog/openstack/requests/volume_v1/delete_snapshot.rb +0 -2
  1016. data/lib/fog/openstack/requests/volume_v1/delete_transfer.rb +0 -2
  1017. data/lib/fog/openstack/requests/volume_v1/delete_volume.rb +0 -2
  1018. data/lib/fog/openstack/requests/volume_v1/delete_volume_type.rb +0 -2
  1019. data/lib/fog/openstack/requests/volume_v1/extend_volume.rb +0 -2
  1020. data/lib/fog/openstack/requests/volume_v1/get_quota.rb +0 -2
  1021. data/lib/fog/openstack/requests/volume_v1/get_quota_defaults.rb +0 -2
  1022. data/lib/fog/openstack/requests/volume_v1/get_quota_usage.rb +0 -2
  1023. data/lib/fog/openstack/requests/volume_v1/get_snapshot_details.rb +0 -32
  1024. data/lib/fog/openstack/requests/volume_v1/get_transfer_details.rb +0 -2
  1025. data/lib/fog/openstack/requests/volume_v1/get_volume_details.rb +0 -35
  1026. data/lib/fog/openstack/requests/volume_v1/get_volume_type_details.rb +0 -2
  1027. data/lib/fog/openstack/requests/volume_v1/list_snapshots.rb +0 -2
  1028. data/lib/fog/openstack/requests/volume_v1/list_snapshots_detailed.rb +0 -2
  1029. data/lib/fog/openstack/requests/volume_v1/list_transfers.rb +0 -2
  1030. data/lib/fog/openstack/requests/volume_v1/list_transfers_detailed.rb +0 -2
  1031. data/lib/fog/openstack/requests/volume_v1/list_volume_types.rb +0 -2
  1032. data/lib/fog/openstack/requests/volume_v1/list_volumes.rb +0 -46
  1033. data/lib/fog/openstack/requests/volume_v1/list_volumes_detailed.rb +0 -46
  1034. data/lib/fog/openstack/requests/volume_v1/list_zones.rb +0 -2
  1035. data/lib/fog/openstack/requests/volume_v1/real.rb +0 -11
  1036. data/lib/fog/openstack/requests/volume_v1/real_mock.rb +0 -14
  1037. data/lib/fog/openstack/requests/volume_v1/set_tenant.rb +0 -2
  1038. data/lib/fog/openstack/requests/volume_v1/update_quota.rb +0 -2
  1039. data/lib/fog/openstack/requests/volume_v2/accept_transfer.rb +0 -2
  1040. data/lib/fog/openstack/requests/volume_v2/create_transfer.rb +0 -2
  1041. data/lib/fog/openstack/requests/volume_v2/create_volume.rb +0 -49
  1042. data/lib/fog/openstack/requests/volume_v2/create_volume_snapshot.rb +0 -43
  1043. data/lib/fog/openstack/requests/volume_v2/create_volume_type.rb +0 -2
  1044. data/lib/fog/openstack/requests/volume_v2/delete_snapshot.rb +0 -2
  1045. data/lib/fog/openstack/requests/volume_v2/delete_transfer.rb +0 -2
  1046. data/lib/fog/openstack/requests/volume_v2/delete_volume.rb +0 -2
  1047. data/lib/fog/openstack/requests/volume_v2/delete_volume_type.rb +0 -2
  1048. data/lib/fog/openstack/requests/volume_v2/extend_volume.rb +0 -2
  1049. data/lib/fog/openstack/requests/volume_v2/get_quota.rb +0 -2
  1050. data/lib/fog/openstack/requests/volume_v2/get_quota_defaults.rb +0 -2
  1051. data/lib/fog/openstack/requests/volume_v2/get_quota_usage.rb +0 -2
  1052. data/lib/fog/openstack/requests/volume_v2/get_snapshot_details.rb +0 -32
  1053. data/lib/fog/openstack/requests/volume_v2/get_transfer_details.rb +0 -2
  1054. data/lib/fog/openstack/requests/volume_v2/get_volume_details.rb +0 -35
  1055. data/lib/fog/openstack/requests/volume_v2/get_volume_type_details.rb +0 -2
  1056. data/lib/fog/openstack/requests/volume_v2/list_snapshots.rb +0 -2
  1057. data/lib/fog/openstack/requests/volume_v2/list_snapshots_detailed.rb +0 -2
  1058. data/lib/fog/openstack/requests/volume_v2/list_transfers.rb +0 -2
  1059. data/lib/fog/openstack/requests/volume_v2/list_transfers_detailed.rb +0 -2
  1060. data/lib/fog/openstack/requests/volume_v2/list_volume_types.rb +0 -2
  1061. data/lib/fog/openstack/requests/volume_v2/list_volumes.rb +0 -46
  1062. data/lib/fog/openstack/requests/volume_v2/list_volumes_detailed.rb +0 -46
  1063. data/lib/fog/openstack/requests/volume_v2/list_zones.rb +0 -2
  1064. data/lib/fog/openstack/requests/volume_v2/real.rb +0 -11
  1065. data/lib/fog/openstack/requests/volume_v2/real_mock.rb +0 -14
  1066. data/lib/fog/openstack/requests/volume_v2/set_tenant.rb +0 -2
  1067. data/lib/fog/openstack/requests/volume_v2/update_quota.rb +0 -2
  1068. data/lib/fog/openstack/requests/volume_v2/update_volume_type.rb +0 -2
  1069. data/lib/fog/openstack/storage.rb +0 -182
  1070. data/lib/fog/openstack/volume.rb +0 -31
  1071. data/lib/fog/openstack/volume_v1.rb +0 -163
  1072. data/lib/fog/openstack/volume_v2.rb +0 -164
  1073. data/lib/fog/rackspace.rb +0 -16
  1074. data/lib/fog/rackspace/auto_scale.rb +0 -134
  1075. data/lib/fog/rackspace/block_storage.rb +0 -175
  1076. data/lib/fog/rackspace/cdn.rb +0 -198
  1077. data/lib/fog/rackspace/cdn_v2.rb +0 -123
  1078. data/lib/fog/rackspace/compute.rb +0 -256
  1079. data/lib/fog/rackspace/compute_v2.rb +0 -251
  1080. data/lib/fog/rackspace/core.rb +0 -150
  1081. data/lib/fog/rackspace/databases.rb +0 -164
  1082. data/lib/fog/rackspace/dns.rb +0 -172
  1083. data/lib/fog/rackspace/docs/auto_scale.md +0 -503
  1084. data/lib/fog/rackspace/docs/block_storage.md +0 -417
  1085. data/lib/fog/rackspace/docs/cdn_v2.md +0 -351
  1086. data/lib/fog/rackspace/docs/compute_v2.md +0 -723
  1087. data/lib/fog/rackspace/docs/getting_started.md +0 -88
  1088. data/lib/fog/rackspace/docs/networking_v2.md +0 -422
  1089. data/lib/fog/rackspace/docs/orchestration.md +0 -356
  1090. data/lib/fog/rackspace/docs/queues.md +0 -312
  1091. data/lib/fog/rackspace/docs/storage.md +0 -557
  1092. data/lib/fog/rackspace/errors.rb +0 -33
  1093. data/lib/fog/rackspace/examples/README.md +0 -47
  1094. data/lib/fog/rackspace/examples/auto_scale/add_policy.rb +0 -66
  1095. data/lib/fog/rackspace/examples/auto_scale/add_webhook.rb +0 -74
  1096. data/lib/fog/rackspace/examples/auto_scale/create_scaling_group.rb +0 -111
  1097. data/lib/fog/rackspace/examples/auto_scale/delete_policy.rb +0 -71
  1098. data/lib/fog/rackspace/examples/auto_scale/delete_scaling_group.rb +0 -59
  1099. data/lib/fog/rackspace/examples/auto_scale/delete_webhook.rb +0 -89
  1100. data/lib/fog/rackspace/examples/block_storage/create_snapshot.rb +0 -116
  1101. data/lib/fog/rackspace/examples/block_storage/create_volume.rb +0 -58
  1102. data/lib/fog/rackspace/examples/block_storage/delete_volume.rb +0 -53
  1103. data/lib/fog/rackspace/examples/compute_v2/bootstrap_server.rb +0 -96
  1104. data/lib/fog/rackspace/examples/compute_v2/create_image.rb +0 -59
  1105. data/lib/fog/rackspace/examples/compute_v2/create_network.rb +0 -81
  1106. data/lib/fog/rackspace/examples/compute_v2/create_server.rb +0 -87
  1107. data/lib/fog/rackspace/examples/compute_v2/delete_image.rb +0 -60
  1108. data/lib/fog/rackspace/examples/compute_v2/delete_network.rb +0 -78
  1109. data/lib/fog/rackspace/examples/compute_v2/delete_server.rb +0 -55
  1110. data/lib/fog/rackspace/examples/compute_v2/detach_volume.rb +0 -93
  1111. data/lib/fog/rackspace/examples/compute_v2/resize_server.rb +0 -106
  1112. data/lib/fog/rackspace/examples/compute_v2/server_attachments.rb +0 -68
  1113. data/lib/fog/rackspace/examples/compute_v2/server_metadata.rb +0 -83
  1114. data/lib/fog/rackspace/examples/queues/claim_messages.rb +0 -60
  1115. data/lib/fog/rackspace/examples/queues/create_queue.rb +0 -45
  1116. data/lib/fog/rackspace/examples/queues/delete_message.rb +0 -71
  1117. data/lib/fog/rackspace/examples/queues/delete_queue.rb +0 -53
  1118. data/lib/fog/rackspace/examples/queues/list_messages.rb +0 -64
  1119. data/lib/fog/rackspace/examples/queues/post_message.rb +0 -59
  1120. data/lib/fog/rackspace/examples/storage/create_cdn_directory.rb +0 -43
  1121. data/lib/fog/rackspace/examples/storage/create_private_directory.rb +0 -43
  1122. data/lib/fog/rackspace/examples/storage/delete_directory.rb +0 -62
  1123. data/lib/fog/rackspace/examples/storage/delete_file.rb +0 -70
  1124. data/lib/fog/rackspace/examples/storage/download_file.rb +0 -75
  1125. data/lib/fog/rackspace/examples/storage/lorem.txt +0 -1
  1126. data/lib/fog/rackspace/examples/storage/storage_metadata.rb +0 -76
  1127. data/lib/fog/rackspace/examples/storage/upload_file.rb +0 -44
  1128. data/lib/fog/rackspace/examples/storage/upload_large_files.rb +0 -101
  1129. data/lib/fog/rackspace/identity.rb +0 -83
  1130. data/lib/fog/rackspace/load_balancers.rb +0 -206
  1131. data/lib/fog/rackspace/mock_data.rb +0 -252
  1132. data/lib/fog/rackspace/models/auto_scale/group.rb +0 -214
  1133. data/lib/fog/rackspace/models/auto_scale/group_builder.rb +0 -86
  1134. data/lib/fog/rackspace/models/auto_scale/group_config.rb +0 -76
  1135. data/lib/fog/rackspace/models/auto_scale/groups.rb +0 -45
  1136. data/lib/fog/rackspace/models/auto_scale/launch_config.rb +0 -61
  1137. data/lib/fog/rackspace/models/auto_scale/policies.rb +0 -65
  1138. data/lib/fog/rackspace/models/auto_scale/policy.rb +0 -220
  1139. data/lib/fog/rackspace/models/auto_scale/webhook.rb +0 -116
  1140. data/lib/fog/rackspace/models/auto_scale/webhooks.rb +0 -62
  1141. data/lib/fog/rackspace/models/block_storage/snapshot.rb +0 -93
  1142. data/lib/fog/rackspace/models/block_storage/snapshots.rb +0 -39
  1143. data/lib/fog/rackspace/models/block_storage/volume.rb +0 -134
  1144. data/lib/fog/rackspace/models/block_storage/volume_type.rb +0 -19
  1145. data/lib/fog/rackspace/models/block_storage/volume_types.rb +0 -39
  1146. data/lib/fog/rackspace/models/block_storage/volumes.rb +0 -39
  1147. data/lib/fog/rackspace/models/cdn_v2/flavor.rb +0 -14
  1148. data/lib/fog/rackspace/models/cdn_v2/flavors.rb +0 -24
  1149. data/lib/fog/rackspace/models/cdn_v2/service.rb +0 -66
  1150. data/lib/fog/rackspace/models/cdn_v2/services.rb +0 -24
  1151. data/lib/fog/rackspace/models/compute/flavor.rb +0 -42
  1152. data/lib/fog/rackspace/models/compute/flavors.rb +0 -24
  1153. data/lib/fog/rackspace/models/compute/image.rb +0 -44
  1154. data/lib/fog/rackspace/models/compute/images.rb +0 -31
  1155. data/lib/fog/rackspace/models/compute/server.rb +0 -102
  1156. data/lib/fog/rackspace/models/compute/servers.rb +0 -32
  1157. data/lib/fog/rackspace/models/compute_v2/attachment.rb +0 -61
  1158. data/lib/fog/rackspace/models/compute_v2/attachments.rb +0 -38
  1159. data/lib/fog/rackspace/models/compute_v2/flavor.rb +0 -33
  1160. data/lib/fog/rackspace/models/compute_v2/flavors.rb +0 -39
  1161. data/lib/fog/rackspace/models/compute_v2/image.rb +0 -117
  1162. data/lib/fog/rackspace/models/compute_v2/images.rb +0 -73
  1163. data/lib/fog/rackspace/models/compute_v2/key_pair.rb +0 -54
  1164. data/lib/fog/rackspace/models/compute_v2/key_pairs.rb +0 -40
  1165. data/lib/fog/rackspace/models/compute_v2/meta_parent.rb +0 -40
  1166. data/lib/fog/rackspace/models/compute_v2/metadata.rb +0 -108
  1167. data/lib/fog/rackspace/models/compute_v2/metadatum.rb +0 -39
  1168. data/lib/fog/rackspace/models/compute_v2/network.rb +0 -27
  1169. data/lib/fog/rackspace/models/compute_v2/networks.rb +0 -23
  1170. data/lib/fog/rackspace/models/compute_v2/server.rb +0 -655
  1171. data/lib/fog/rackspace/models/compute_v2/servers.rb +0 -64
  1172. data/lib/fog/rackspace/models/compute_v2/virtual_interface.rb +0 -85
  1173. data/lib/fog/rackspace/models/compute_v2/virtual_interfaces.rb +0 -46
  1174. data/lib/fog/rackspace/models/databases/database.rb +0 -43
  1175. data/lib/fog/rackspace/models/databases/databases.rb +0 -30
  1176. data/lib/fog/rackspace/models/databases/flavor.rb +0 -15
  1177. data/lib/fog/rackspace/models/databases/flavors.rb +0 -24
  1178. data/lib/fog/rackspace/models/databases/instance.rb +0 -104
  1179. data/lib/fog/rackspace/models/databases/instances.rb +0 -24
  1180. data/lib/fog/rackspace/models/databases/user.rb +0 -33
  1181. data/lib/fog/rackspace/models/databases/users.rb +0 -30
  1182. data/lib/fog/rackspace/models/dns/callback.rb +0 -28
  1183. data/lib/fog/rackspace/models/dns/record.rb +0 -98
  1184. data/lib/fog/rackspace/models/dns/records.rb +0 -58
  1185. data/lib/fog/rackspace/models/dns/zone.rb +0 -66
  1186. data/lib/fog/rackspace/models/dns/zones.rb +0 -74
  1187. data/lib/fog/rackspace/models/identity/credential.rb +0 -13
  1188. data/lib/fog/rackspace/models/identity/credentials.rb +0 -32
  1189. data/lib/fog/rackspace/models/identity/role.rb +0 -14
  1190. data/lib/fog/rackspace/models/identity/roles.rb +0 -31
  1191. data/lib/fog/rackspace/models/identity/service_catalog.rb +0 -84
  1192. data/lib/fog/rackspace/models/identity/tenant.rb +0 -15
  1193. data/lib/fog/rackspace/models/identity/tenants.rb +0 -27
  1194. data/lib/fog/rackspace/models/identity/user.rb +0 -53
  1195. data/lib/fog/rackspace/models/identity/users.rb +0 -35
  1196. data/lib/fog/rackspace/models/load_balancers/access_rule.rb +0 -38
  1197. data/lib/fog/rackspace/models/load_balancers/access_rules.rb +0 -29
  1198. data/lib/fog/rackspace/models/load_balancers/load_balancer.rb +0 -286
  1199. data/lib/fog/rackspace/models/load_balancers/load_balancers.rb +0 -25
  1200. data/lib/fog/rackspace/models/load_balancers/node.rb +0 -65
  1201. data/lib/fog/rackspace/models/load_balancers/nodes.rb +0 -29
  1202. data/lib/fog/rackspace/models/load_balancers/virtual_ip.rb +0 -34
  1203. data/lib/fog/rackspace/models/load_balancers/virtual_ips.rb +0 -32
  1204. data/lib/fog/rackspace/models/monitoring/agent_token.rb +0 -38
  1205. data/lib/fog/rackspace/models/monitoring/agent_tokens.rb +0 -29
  1206. data/lib/fog/rackspace/models/monitoring/alarm.rb +0 -58
  1207. data/lib/fog/rackspace/models/monitoring/alarm_example.rb +0 -24
  1208. data/lib/fog/rackspace/models/monitoring/alarm_examples.rb +0 -29
  1209. data/lib/fog/rackspace/models/monitoring/alarms.rb +0 -41
  1210. data/lib/fog/rackspace/models/monitoring/base.rb +0 -29
  1211. data/lib/fog/rackspace/models/monitoring/check.rb +0 -72
  1212. data/lib/fog/rackspace/models/monitoring/check_type.rb +0 -15
  1213. data/lib/fog/rackspace/models/monitoring/check_types.rb +0 -21
  1214. data/lib/fog/rackspace/models/monitoring/checks.rb +0 -41
  1215. data/lib/fog/rackspace/models/monitoring/data_point.rb +0 -18
  1216. data/lib/fog/rackspace/models/monitoring/data_points.rb +0 -47
  1217. data/lib/fog/rackspace/models/monitoring/entities.rb +0 -47
  1218. data/lib/fog/rackspace/models/monitoring/entity.rb +0 -62
  1219. data/lib/fog/rackspace/models/monitoring/metric.rb +0 -22
  1220. data/lib/fog/rackspace/models/monitoring/metrics.rb +0 -25
  1221. data/lib/fog/rackspace/models/monitoring/notification.rb +0 -40
  1222. data/lib/fog/rackspace/models/monitoring/notifications.rb +0 -28
  1223. data/lib/fog/rackspace/models/networking/network.rb +0 -27
  1224. data/lib/fog/rackspace/models/networking/networks.rb +0 -23
  1225. data/lib/fog/rackspace/models/networking/virtual_interface.rb +0 -85
  1226. data/lib/fog/rackspace/models/networking/virtual_interfaces.rb +0 -45
  1227. data/lib/fog/rackspace/models/networking_v2/network.rb +0 -36
  1228. data/lib/fog/rackspace/models/networking_v2/networks.rb +0 -23
  1229. data/lib/fog/rackspace/models/networking_v2/port.rb +0 -39
  1230. data/lib/fog/rackspace/models/networking_v2/ports.rb +0 -23
  1231. data/lib/fog/rackspace/models/networking_v2/security_group.rb +0 -32
  1232. data/lib/fog/rackspace/models/networking_v2/security_group_rule.rb +0 -38
  1233. data/lib/fog/rackspace/models/networking_v2/security_group_rules.rb +0 -23
  1234. data/lib/fog/rackspace/models/networking_v2/security_groups.rb +0 -23
  1235. data/lib/fog/rackspace/models/networking_v2/subnet.rb +0 -38
  1236. data/lib/fog/rackspace/models/networking_v2/subnets.rb +0 -23
  1237. data/lib/fog/rackspace/models/orchestration/event.rb +0 -18
  1238. data/lib/fog/rackspace/models/orchestration/events.rb +0 -28
  1239. data/lib/fog/rackspace/models/orchestration/resource.rb +0 -30
  1240. data/lib/fog/rackspace/models/orchestration/resource_schemas.rb +0 -16
  1241. data/lib/fog/rackspace/models/orchestration/resources.rb +0 -35
  1242. data/lib/fog/rackspace/models/orchestration/stack.rb +0 -48
  1243. data/lib/fog/rackspace/models/orchestration/stacks.rb +0 -40
  1244. data/lib/fog/rackspace/models/orchestration/template.rb +0 -13
  1245. data/lib/fog/rackspace/models/orchestration/templates.rb +0 -31
  1246. data/lib/fog/rackspace/models/queues/claim.rb +0 -139
  1247. data/lib/fog/rackspace/models/queues/claims.rb +0 -64
  1248. data/lib/fog/rackspace/models/queues/message.rb +0 -88
  1249. data/lib/fog/rackspace/models/queues/messages.rb +0 -90
  1250. data/lib/fog/rackspace/models/queues/queue.rb +0 -135
  1251. data/lib/fog/rackspace/models/queues/queues.rb +0 -46
  1252. data/lib/fog/rackspace/models/storage/account.rb +0 -50
  1253. data/lib/fog/rackspace/models/storage/directories.rb +0 -62
  1254. data/lib/fog/rackspace/models/storage/directory.rb +0 -194
  1255. data/lib/fog/rackspace/models/storage/file.rb +0 -286
  1256. data/lib/fog/rackspace/models/storage/files.rb +0 -201
  1257. data/lib/fog/rackspace/models/storage/metadata.rb +0 -165
  1258. data/lib/fog/rackspace/monitoring.rb +0 -184
  1259. data/lib/fog/rackspace/networking.rb +0 -192
  1260. data/lib/fog/rackspace/networking_v2.rb +0 -222
  1261. data/lib/fog/rackspace/orchestration.rb +0 -227
  1262. data/lib/fog/rackspace/queues.rb +0 -406
  1263. data/lib/fog/rackspace/requests/auto_scale/create_group.rb +0 -58
  1264. data/lib/fog/rackspace/requests/auto_scale/create_policy.rb +0 -42
  1265. data/lib/fog/rackspace/requests/auto_scale/create_webhook.rb +0 -54
  1266. data/lib/fog/rackspace/requests/auto_scale/delete_group.rb +0 -22
  1267. data/lib/fog/rackspace/requests/auto_scale/delete_policy.rb +0 -29
  1268. data/lib/fog/rackspace/requests/auto_scale/delete_webhook.rb +0 -33
  1269. data/lib/fog/rackspace/requests/auto_scale/execute_anonymous_webhook.rb +0 -21
  1270. data/lib/fog/rackspace/requests/auto_scale/execute_policy.rb +0 -21
  1271. data/lib/fog/rackspace/requests/auto_scale/get_group.rb +0 -26
  1272. data/lib/fog/rackspace/requests/auto_scale/get_group_config.rb +0 -27
  1273. data/lib/fog/rackspace/requests/auto_scale/get_group_state.rb +0 -58
  1274. data/lib/fog/rackspace/requests/auto_scale/get_launch_config.rb +0 -27
  1275. data/lib/fog/rackspace/requests/auto_scale/get_policy.rb +0 -31
  1276. data/lib/fog/rackspace/requests/auto_scale/get_webhook.rb +0 -36
  1277. data/lib/fog/rackspace/requests/auto_scale/list_groups.rb +0 -34
  1278. data/lib/fog/rackspace/requests/auto_scale/list_policies.rb +0 -22
  1279. data/lib/fog/rackspace/requests/auto_scale/list_webhooks.rb +0 -31
  1280. data/lib/fog/rackspace/requests/auto_scale/pause_group_state.rb +0 -22
  1281. data/lib/fog/rackspace/requests/auto_scale/resume_group_state.rb +0 -21
  1282. data/lib/fog/rackspace/requests/auto_scale/update_group_config.rb +0 -37
  1283. data/lib/fog/rackspace/requests/auto_scale/update_launch_config.rb +0 -34
  1284. data/lib/fog/rackspace/requests/auto_scale/update_policy.rb +0 -31
  1285. data/lib/fog/rackspace/requests/auto_scale/update_webhook.rb +0 -41
  1286. data/lib/fog/rackspace/requests/block_storage/create_snapshot.rb +0 -77
  1287. data/lib/fog/rackspace/requests/block_storage/create_volume.rb +0 -96
  1288. data/lib/fog/rackspace/requests/block_storage/delete_snapshot.rb +0 -31
  1289. data/lib/fog/rackspace/requests/block_storage/delete_volume.rb +0 -42
  1290. data/lib/fog/rackspace/requests/block_storage/get_snapshot.rb +0 -45
  1291. data/lib/fog/rackspace/requests/block_storage/get_volume.rb +0 -55
  1292. data/lib/fog/rackspace/requests/block_storage/get_volume_type.rb +0 -41
  1293. data/lib/fog/rackspace/requests/block_storage/list_snapshots.rb +0 -39
  1294. data/lib/fog/rackspace/requests/block_storage/list_volume_types.rb +0 -34
  1295. data/lib/fog/rackspace/requests/block_storage/list_volumes.rb +0 -42
  1296. data/lib/fog/rackspace/requests/cdn/delete_object.rb +0 -39
  1297. data/lib/fog/rackspace/requests/cdn/get_containers.rb +0 -66
  1298. data/lib/fog/rackspace/requests/cdn/head_container.rb +0 -58
  1299. data/lib/fog/rackspace/requests/cdn/post_container.rb +0 -52
  1300. data/lib/fog/rackspace/requests/cdn/put_container.rb +0 -52
  1301. data/lib/fog/rackspace/requests/cdn_v2/create_service.rb +0 -10
  1302. data/lib/fog/rackspace/requests/cdn_v2/delete_assets.rb +0 -12
  1303. data/lib/fog/rackspace/requests/cdn_v2/delete_service.rb +0 -9
  1304. data/lib/fog/rackspace/requests/cdn_v2/get_flavor.rb +0 -9
  1305. data/lib/fog/rackspace/requests/cdn_v2/get_home_document.rb +0 -9
  1306. data/lib/fog/rackspace/requests/cdn_v2/get_ping.rb +0 -10
  1307. data/lib/fog/rackspace/requests/cdn_v2/get_service.rb +0 -9
  1308. data/lib/fog/rackspace/requests/cdn_v2/list_flavors.rb +0 -9
  1309. data/lib/fog/rackspace/requests/cdn_v2/list_services.rb +0 -9
  1310. data/lib/fog/rackspace/requests/cdn_v2/update_service.rb +0 -13
  1311. data/lib/fog/rackspace/requests/compute/confirm_resized_server.rb +0 -30
  1312. data/lib/fog/rackspace/requests/compute/create_image.rb +0 -56
  1313. data/lib/fog/rackspace/requests/compute/create_server.rb +0 -90
  1314. data/lib/fog/rackspace/requests/compute/delete_image.rb +0 -40
  1315. data/lib/fog/rackspace/requests/compute/delete_server.rb +0 -39
  1316. data/lib/fog/rackspace/requests/compute/get_flavor_details.rb +0 -48
  1317. data/lib/fog/rackspace/requests/compute/get_image_details.rb +0 -25
  1318. data/lib/fog/rackspace/requests/compute/get_server_details.rb +0 -48
  1319. data/lib/fog/rackspace/requests/compute/list_addresses.rb +0 -39
  1320. data/lib/fog/rackspace/requests/compute/list_flavors.rb +0 -41
  1321. data/lib/fog/rackspace/requests/compute/list_flavors_detail.rb +0 -43
  1322. data/lib/fog/rackspace/requests/compute/list_images.rb +0 -36
  1323. data/lib/fog/rackspace/requests/compute/list_images_detail.rb +0 -45
  1324. data/lib/fog/rackspace/requests/compute/list_private_addresses.rb +0 -37
  1325. data/lib/fog/rackspace/requests/compute/list_public_addresses.rb +0 -37
  1326. data/lib/fog/rackspace/requests/compute/list_servers.rb +0 -37
  1327. data/lib/fog/rackspace/requests/compute/list_servers_detail.rb +0 -52
  1328. data/lib/fog/rackspace/requests/compute/reboot_server.rb +0 -26
  1329. data/lib/fog/rackspace/requests/compute/resize_server.rb +0 -35
  1330. data/lib/fog/rackspace/requests/compute/revert_resized_server.rb +0 -31
  1331. data/lib/fog/rackspace/requests/compute/server_action.rb +0 -23
  1332. data/lib/fog/rackspace/requests/compute/update_server.rb +0 -41
  1333. data/lib/fog/rackspace/requests/compute_v2/attach_volume.rb +0 -78
  1334. data/lib/fog/rackspace/requests/compute_v2/change_server_password.rb +0 -38
  1335. data/lib/fog/rackspace/requests/compute_v2/confirm_resize_server.rb +0 -41
  1336. data/lib/fog/rackspace/requests/compute_v2/create_image.rb +0 -97
  1337. data/lib/fog/rackspace/requests/compute_v2/create_keypair.rb +0 -62
  1338. data/lib/fog/rackspace/requests/compute_v2/create_network.rb +0 -36
  1339. data/lib/fog/rackspace/requests/compute_v2/create_server.rb +0 -243
  1340. data/lib/fog/rackspace/requests/compute_v2/create_virtual_interface.rb +0 -30
  1341. data/lib/fog/rackspace/requests/compute_v2/delete_attachment.rb +0 -39
  1342. data/lib/fog/rackspace/requests/compute_v2/delete_image.rb +0 -32
  1343. data/lib/fog/rackspace/requests/compute_v2/delete_keypair.rb +0 -34
  1344. data/lib/fog/rackspace/requests/compute_v2/delete_metadata_item.rb +0 -36
  1345. data/lib/fog/rackspace/requests/compute_v2/delete_network.rb +0 -21
  1346. data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +0 -35
  1347. data/lib/fog/rackspace/requests/compute_v2/delete_virtual_interface.rb +0 -23
  1348. data/lib/fog/rackspace/requests/compute_v2/get_attachment.rb +0 -38
  1349. data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +0 -43
  1350. data/lib/fog/rackspace/requests/compute_v2/get_image.rb +0 -47
  1351. data/lib/fog/rackspace/requests/compute_v2/get_keypair.rb +0 -39
  1352. data/lib/fog/rackspace/requests/compute_v2/get_metadata_item.rb +0 -38
  1353. data/lib/fog/rackspace/requests/compute_v2/get_network.rb +0 -21
  1354. data/lib/fog/rackspace/requests/compute_v2/get_server.rb +0 -63
  1355. data/lib/fog/rackspace/requests/compute_v2/get_vnc_console.rb +0 -45
  1356. data/lib/fog/rackspace/requests/compute_v2/list_addresses.rb +0 -39
  1357. data/lib/fog/rackspace/requests/compute_v2/list_addresses_by_network.rb +0 -48
  1358. data/lib/fog/rackspace/requests/compute_v2/list_attachments.rb +0 -37
  1359. data/lib/fog/rackspace/requests/compute_v2/list_flavors.rb +0 -35
  1360. data/lib/fog/rackspace/requests/compute_v2/list_flavors_detail.rb +0 -38
  1361. data/lib/fog/rackspace/requests/compute_v2/list_images.rb +0 -45
  1362. data/lib/fog/rackspace/requests/compute_v2/list_images_detail.rb +0 -52
  1363. data/lib/fog/rackspace/requests/compute_v2/list_keypairs.rb +0 -35
  1364. data/lib/fog/rackspace/requests/compute_v2/list_metadata.rb +0 -37
  1365. data/lib/fog/rackspace/requests/compute_v2/list_networks.rb +0 -18
  1366. data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +0 -56
  1367. data/lib/fog/rackspace/requests/compute_v2/list_virtual_interfaces.rb +0 -22
  1368. data/lib/fog/rackspace/requests/compute_v2/reboot_server.rb +0 -44
  1369. data/lib/fog/rackspace/requests/compute_v2/rebuild_server.rb +0 -71
  1370. data/lib/fog/rackspace/requests/compute_v2/rescue_server.rb +0 -43
  1371. data/lib/fog/rackspace/requests/compute_v2/resize_server.rb +0 -44
  1372. data/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb +0 -42
  1373. data/lib/fog/rackspace/requests/compute_v2/set_metadata.rb +0 -39
  1374. data/lib/fog/rackspace/requests/compute_v2/set_metadata_item.rb +0 -40
  1375. data/lib/fog/rackspace/requests/compute_v2/unrescue_server.rb +0 -40
  1376. data/lib/fog/rackspace/requests/compute_v2/update_metadata.rb +0 -39
  1377. data/lib/fog/rackspace/requests/compute_v2/update_server.rb +0 -44
  1378. data/lib/fog/rackspace/requests/databases/check_root_user.rb +0 -15
  1379. data/lib/fog/rackspace/requests/databases/create_database.rb +0 -24
  1380. data/lib/fog/rackspace/requests/databases/create_instance.rb +0 -28
  1381. data/lib/fog/rackspace/requests/databases/create_user.rb +0 -25
  1382. data/lib/fog/rackspace/requests/databases/delete_database.rb +0 -15
  1383. data/lib/fog/rackspace/requests/databases/delete_instance.rb +0 -15
  1384. data/lib/fog/rackspace/requests/databases/delete_user.rb +0 -15
  1385. data/lib/fog/rackspace/requests/databases/enable_root_user.rb +0 -15
  1386. data/lib/fog/rackspace/requests/databases/get_flavor.rb +0 -15
  1387. data/lib/fog/rackspace/requests/databases/get_instance.rb +0 -15
  1388. data/lib/fog/rackspace/requests/databases/grant_user_access.rb +0 -32
  1389. data/lib/fog/rackspace/requests/databases/list_databases.rb +0 -15
  1390. data/lib/fog/rackspace/requests/databases/list_flavors.rb +0 -15
  1391. data/lib/fog/rackspace/requests/databases/list_instances.rb +0 -15
  1392. data/lib/fog/rackspace/requests/databases/list_users.rb +0 -15
  1393. data/lib/fog/rackspace/requests/databases/resize_instance.rb +0 -22
  1394. data/lib/fog/rackspace/requests/databases/resize_instance_volume.rb +0 -24
  1395. data/lib/fog/rackspace/requests/databases/restart_instance.rb +0 -20
  1396. data/lib/fog/rackspace/requests/databases/revoke_user_access.rb +0 -26
  1397. data/lib/fog/rackspace/requests/dns/add_records.rb +0 -37
  1398. data/lib/fog/rackspace/requests/dns/callback.rb +0 -18
  1399. data/lib/fog/rackspace/requests/dns/create_domains.rb +0 -48
  1400. data/lib/fog/rackspace/requests/dns/list_domain_details.rb +0 -31
  1401. data/lib/fog/rackspace/requests/dns/list_domains.rb +0 -20
  1402. data/lib/fog/rackspace/requests/dns/list_record_details.rb +0 -20
  1403. data/lib/fog/rackspace/requests/dns/list_records.rb +0 -22
  1404. data/lib/fog/rackspace/requests/dns/list_subdomains.rb +0 -22
  1405. data/lib/fog/rackspace/requests/dns/modify_domain.rb +0 -35
  1406. data/lib/fog/rackspace/requests/dns/modify_record.rb +0 -36
  1407. data/lib/fog/rackspace/requests/dns/remove_domain.rb +0 -28
  1408. data/lib/fog/rackspace/requests/dns/remove_domains.rb +0 -26
  1409. data/lib/fog/rackspace/requests/dns/remove_record.rb +0 -20
  1410. data/lib/fog/rackspace/requests/dns/remove_records.rb +0 -19
  1411. data/lib/fog/rackspace/requests/identity/create_token.rb +0 -222
  1412. data/lib/fog/rackspace/requests/identity/create_user.rb +0 -25
  1413. data/lib/fog/rackspace/requests/identity/delete_user.rb +0 -15
  1414. data/lib/fog/rackspace/requests/identity/get_user_by_id.rb +0 -15
  1415. data/lib/fog/rackspace/requests/identity/get_user_by_name.rb +0 -15
  1416. data/lib/fog/rackspace/requests/identity/list_credentials.rb +0 -22
  1417. data/lib/fog/rackspace/requests/identity/list_tenants.rb +0 -45
  1418. data/lib/fog/rackspace/requests/identity/list_user_roles.rb +0 -22
  1419. data/lib/fog/rackspace/requests/identity/list_users.rb +0 -22
  1420. data/lib/fog/rackspace/requests/identity/update_user.rb +0 -24
  1421. data/lib/fog/rackspace/requests/load_balancers/create_access_rule.rb +0 -24
  1422. data/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +0 -109
  1423. data/lib/fog/rackspace/requests/load_balancers/create_node.rb +0 -30
  1424. data/lib/fog/rackspace/requests/load_balancers/create_virtual_ip.rb +0 -20
  1425. data/lib/fog/rackspace/requests/load_balancers/delete_access_rule.rb +0 -15
  1426. data/lib/fog/rackspace/requests/load_balancers/delete_all_access_rules.rb +0 -15
  1427. data/lib/fog/rackspace/requests/load_balancers/delete_load_balancer.rb +0 -23
  1428. data/lib/fog/rackspace/requests/load_balancers/delete_node.rb +0 -15
  1429. data/lib/fog/rackspace/requests/load_balancers/delete_nodes.rb +0 -16
  1430. data/lib/fog/rackspace/requests/load_balancers/delete_virtual_ip.rb +0 -15
  1431. data/lib/fog/rackspace/requests/load_balancers/get_connection_logging.rb +0 -15
  1432. data/lib/fog/rackspace/requests/load_balancers/get_connection_throttling.rb +0 -15
  1433. data/lib/fog/rackspace/requests/load_balancers/get_content_caching.rb +0 -15
  1434. data/lib/fog/rackspace/requests/load_balancers/get_error_page.rb +0 -15
  1435. data/lib/fog/rackspace/requests/load_balancers/get_load_balancer.rb +0 -44
  1436. data/lib/fog/rackspace/requests/load_balancers/get_load_balancer_usage.rb +0 -21
  1437. data/lib/fog/rackspace/requests/load_balancers/get_monitor.rb +0 -15
  1438. data/lib/fog/rackspace/requests/load_balancers/get_node.rb +0 -15
  1439. data/lib/fog/rackspace/requests/load_balancers/get_session_persistence.rb +0 -15
  1440. data/lib/fog/rackspace/requests/load_balancers/get_ssl_termination.rb +0 -15
  1441. data/lib/fog/rackspace/requests/load_balancers/get_stats.rb +0 -30
  1442. data/lib/fog/rackspace/requests/load_balancers/get_usage.rb +0 -20
  1443. data/lib/fog/rackspace/requests/load_balancers/list_access_rules.rb +0 -15
  1444. data/lib/fog/rackspace/requests/load_balancers/list_algorithms.rb +0 -15
  1445. data/lib/fog/rackspace/requests/load_balancers/list_load_balancers.rb +0 -21
  1446. data/lib/fog/rackspace/requests/load_balancers/list_nodes.rb +0 -15
  1447. data/lib/fog/rackspace/requests/load_balancers/list_protocols.rb +0 -15
  1448. data/lib/fog/rackspace/requests/load_balancers/list_virtual_ips.rb +0 -15
  1449. data/lib/fog/rackspace/requests/load_balancers/remove_connection_throttling.rb +0 -15
  1450. data/lib/fog/rackspace/requests/load_balancers/remove_error_page.rb +0 -15
  1451. data/lib/fog/rackspace/requests/load_balancers/remove_monitor.rb +0 -15
  1452. data/lib/fog/rackspace/requests/load_balancers/remove_session_persistence.rb +0 -15
  1453. data/lib/fog/rackspace/requests/load_balancers/remove_ssl_termination.rb +0 -15
  1454. data/lib/fog/rackspace/requests/load_balancers/set_connection_logging.rb +0 -21
  1455. data/lib/fog/rackspace/requests/load_balancers/set_connection_throttling.rb +0 -22
  1456. data/lib/fog/rackspace/requests/load_balancers/set_content_caching.rb +0 -21
  1457. data/lib/fog/rackspace/requests/load_balancers/set_error_page.rb +0 -21
  1458. data/lib/fog/rackspace/requests/load_balancers/set_monitor.rb +0 -31
  1459. data/lib/fog/rackspace/requests/load_balancers/set_session_persistence.rb +0 -21
  1460. data/lib/fog/rackspace/requests/load_balancers/set_ssl_termination.rb +0 -31
  1461. data/lib/fog/rackspace/requests/load_balancers/update_load_balancer.rb +0 -26
  1462. data/lib/fog/rackspace/requests/load_balancers/update_node.rb +0 -29
  1463. data/lib/fog/rackspace/requests/monitoring/create_agent_token.rb +0 -47
  1464. data/lib/fog/rackspace/requests/monitoring/create_alarm.rb +0 -47
  1465. data/lib/fog/rackspace/requests/monitoring/create_check.rb +0 -47
  1466. data/lib/fog/rackspace/requests/monitoring/create_entity.rb +0 -47
  1467. data/lib/fog/rackspace/requests/monitoring/create_notification.rb +0 -17
  1468. data/lib/fog/rackspace/requests/monitoring/delete_agent_token.rb +0 -45
  1469. data/lib/fog/rackspace/requests/monitoring/delete_alarm.rb +0 -41
  1470. data/lib/fog/rackspace/requests/monitoring/delete_check.rb +0 -40
  1471. data/lib/fog/rackspace/requests/monitoring/delete_entity.rb +0 -40
  1472. data/lib/fog/rackspace/requests/monitoring/delete_notification.rb +0 -15
  1473. data/lib/fog/rackspace/requests/monitoring/evaluate_alarm_example.rb +0 -18
  1474. data/lib/fog/rackspace/requests/monitoring/get_agent.rb +0 -44
  1475. data/lib/fog/rackspace/requests/monitoring/get_agent_token.rb +0 -47
  1476. data/lib/fog/rackspace/requests/monitoring/get_alarm.rb +0 -51
  1477. data/lib/fog/rackspace/requests/monitoring/get_alarm_example.rb +0 -15
  1478. data/lib/fog/rackspace/requests/monitoring/get_check.rb +0 -56
  1479. data/lib/fog/rackspace/requests/monitoring/get_cpus_info.rb +0 -61
  1480. data/lib/fog/rackspace/requests/monitoring/get_disks_info.rb +0 -54
  1481. data/lib/fog/rackspace/requests/monitoring/get_entity.rb +0 -55
  1482. data/lib/fog/rackspace/requests/monitoring/get_filesystems_info.rb +0 -62
  1483. data/lib/fog/rackspace/requests/monitoring/get_logged_in_user_info.rb +0 -56
  1484. data/lib/fog/rackspace/requests/monitoring/get_memory_info.rb +0 -57
  1485. data/lib/fog/rackspace/requests/monitoring/get_monitoring_zone.rb +0 -15
  1486. data/lib/fog/rackspace/requests/monitoring/get_network_interfaces_info.rb +0 -89
  1487. data/lib/fog/rackspace/requests/monitoring/get_notification.rb +0 -46
  1488. data/lib/fog/rackspace/requests/monitoring/get_processes_info.rb +0 -70
  1489. data/lib/fog/rackspace/requests/monitoring/get_system_info.rb +0 -51
  1490. data/lib/fog/rackspace/requests/monitoring/list_agent_tokens.rb +0 -55
  1491. data/lib/fog/rackspace/requests/monitoring/list_agents.rb +0 -61
  1492. data/lib/fog/rackspace/requests/monitoring/list_alarm_examples.rb +0 -15
  1493. data/lib/fog/rackspace/requests/monitoring/list_alarms.rb +0 -64
  1494. data/lib/fog/rackspace/requests/monitoring/list_check_types.rb +0 -86
  1495. data/lib/fog/rackspace/requests/monitoring/list_checks.rb +0 -70
  1496. data/lib/fog/rackspace/requests/monitoring/list_data_points.rb +0 -51
  1497. data/lib/fog/rackspace/requests/monitoring/list_entities.rb +0 -70
  1498. data/lib/fog/rackspace/requests/monitoring/list_metrics.rb +0 -80
  1499. data/lib/fog/rackspace/requests/monitoring/list_monitoring_zones.rb +0 -15
  1500. data/lib/fog/rackspace/requests/monitoring/list_notification_plans.rb +0 -70
  1501. data/lib/fog/rackspace/requests/monitoring/list_notifications.rb +0 -63
  1502. data/lib/fog/rackspace/requests/monitoring/list_overview.rb +0 -111
  1503. data/lib/fog/rackspace/requests/monitoring/update_alarm.rb +0 -45
  1504. data/lib/fog/rackspace/requests/monitoring/update_check.rb +0 -45
  1505. data/lib/fog/rackspace/requests/monitoring/update_entity.rb +0 -45
  1506. data/lib/fog/rackspace/requests/monitoring/update_notification.rb +0 -16
  1507. data/lib/fog/rackspace/requests/networking/create_network.rb +0 -36
  1508. data/lib/fog/rackspace/requests/networking/create_virtual_interface.rb +0 -30
  1509. data/lib/fog/rackspace/requests/networking/delete_network.rb +0 -21
  1510. data/lib/fog/rackspace/requests/networking/delete_virtual_interface.rb +0 -23
  1511. data/lib/fog/rackspace/requests/networking/get_network.rb +0 -21
  1512. data/lib/fog/rackspace/requests/networking/list_networks.rb +0 -18
  1513. data/lib/fog/rackspace/requests/networking/list_virtual_interfaces.rb +0 -22
  1514. data/lib/fog/rackspace/requests/networking_v2/create_network.rb +0 -18
  1515. data/lib/fog/rackspace/requests/networking_v2/create_port.rb +0 -18
  1516. data/lib/fog/rackspace/requests/networking_v2/create_security_group.rb +0 -12
  1517. data/lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb +0 -12
  1518. data/lib/fog/rackspace/requests/networking_v2/create_subnet.rb +0 -18
  1519. data/lib/fog/rackspace/requests/networking_v2/delete_network.rb +0 -11
  1520. data/lib/fog/rackspace/requests/networking_v2/delete_port.rb +0 -11
  1521. data/lib/fog/rackspace/requests/networking_v2/delete_security_group.rb +0 -5
  1522. data/lib/fog/rackspace/requests/networking_v2/delete_security_group_rule.rb +0 -5
  1523. data/lib/fog/rackspace/requests/networking_v2/delete_subnet.rb +0 -11
  1524. data/lib/fog/rackspace/requests/networking_v2/list_networks.rb +0 -11
  1525. data/lib/fog/rackspace/requests/networking_v2/list_ports.rb +0 -11
  1526. data/lib/fog/rackspace/requests/networking_v2/list_security_group_rules.rb +0 -5
  1527. data/lib/fog/rackspace/requests/networking_v2/list_security_groups.rb +0 -5
  1528. data/lib/fog/rackspace/requests/networking_v2/list_subnets.rb +0 -11
  1529. data/lib/fog/rackspace/requests/networking_v2/show_network.rb +0 -11
  1530. data/lib/fog/rackspace/requests/networking_v2/show_port.rb +0 -11
  1531. data/lib/fog/rackspace/requests/networking_v2/show_security_group.rb +0 -5
  1532. data/lib/fog/rackspace/requests/networking_v2/show_security_group_rule.rb +0 -5
  1533. data/lib/fog/rackspace/requests/networking_v2/show_subnet.rb +0 -11
  1534. data/lib/fog/rackspace/requests/networking_v2/update_network.rb +0 -18
  1535. data/lib/fog/rackspace/requests/networking_v2/update_port.rb +0 -18
  1536. data/lib/fog/rackspace/requests/networking_v2/update_security_group.rb +0 -12
  1537. data/lib/fog/rackspace/requests/networking_v2/update_subnet.rb +0 -23
  1538. data/lib/fog/rackspace/requests/orchestration/abandon_stack.rb +0 -15
  1539. data/lib/fog/rackspace/requests/orchestration/build_info.rb +0 -15
  1540. data/lib/fog/rackspace/requests/orchestration/create_stack.rb +0 -16
  1541. data/lib/fog/rackspace/requests/orchestration/delete_stack.rb +0 -15
  1542. data/lib/fog/rackspace/requests/orchestration/get_stack_template.rb +0 -20
  1543. data/lib/fog/rackspace/requests/orchestration/list_resource_events.rb +0 -19
  1544. data/lib/fog/rackspace/requests/orchestration/list_resource_types.rb +0 -22
  1545. data/lib/fog/rackspace/requests/orchestration/list_resources.rb +0 -19
  1546. data/lib/fog/rackspace/requests/orchestration/list_stack_data.rb +0 -22
  1547. data/lib/fog/rackspace/requests/orchestration/list_stack_events.rb +0 -19
  1548. data/lib/fog/rackspace/requests/orchestration/preview_stack.rb +0 -16
  1549. data/lib/fog/rackspace/requests/orchestration/show_event_details.rb +0 -22
  1550. data/lib/fog/rackspace/requests/orchestration/show_resource_data.rb +0 -22
  1551. data/lib/fog/rackspace/requests/orchestration/show_resource_metadata.rb +0 -22
  1552. data/lib/fog/rackspace/requests/orchestration/show_resource_schema.rb +0 -15
  1553. data/lib/fog/rackspace/requests/orchestration/show_resource_template.rb +0 -20
  1554. data/lib/fog/rackspace/requests/orchestration/show_stack_details.rb +0 -22
  1555. data/lib/fog/rackspace/requests/orchestration/update_stack.rb +0 -16
  1556. data/lib/fog/rackspace/requests/orchestration/validate_template.rb +0 -16
  1557. data/lib/fog/rackspace/requests/queues/create_claim.rb +0 -72
  1558. data/lib/fog/rackspace/requests/queues/create_message.rb +0 -56
  1559. data/lib/fog/rackspace/requests/queues/create_queue.rb +0 -39
  1560. data/lib/fog/rackspace/requests/queues/delete_claim.rb +0 -42
  1561. data/lib/fog/rackspace/requests/queues/delete_message.rb +0 -62
  1562. data/lib/fog/rackspace/requests/queues/delete_queue.rb +0 -33
  1563. data/lib/fog/rackspace/requests/queues/get_claim.rb +0 -37
  1564. data/lib/fog/rackspace/requests/queues/get_message.rb +0 -41
  1565. data/lib/fog/rackspace/requests/queues/get_queue.rb +0 -36
  1566. data/lib/fog/rackspace/requests/queues/get_queue_stats.rb +0 -57
  1567. data/lib/fog/rackspace/requests/queues/list_messages.rb +0 -73
  1568. data/lib/fog/rackspace/requests/queues/list_queues.rb +0 -62
  1569. data/lib/fog/rackspace/requests/queues/update_claim.rb +0 -39
  1570. data/lib/fog/rackspace/requests/storage/copy_object.rb +0 -29
  1571. data/lib/fog/rackspace/requests/storage/delete_container.rb +0 -36
  1572. data/lib/fog/rackspace/requests/storage/delete_multiple_objects.rb +0 -128
  1573. data/lib/fog/rackspace/requests/storage/delete_object.rb +0 -36
  1574. data/lib/fog/rackspace/requests/storage/delete_static_large_object.rb +0 -78
  1575. data/lib/fog/rackspace/requests/storage/extract_archive.rb +0 -37
  1576. data/lib/fog/rackspace/requests/storage/get_container.rb +0 -69
  1577. data/lib/fog/rackspace/requests/storage/get_containers.rb +0 -51
  1578. data/lib/fog/rackspace/requests/storage/get_object.rb +0 -54
  1579. data/lib/fog/rackspace/requests/storage/get_object_http_url.rb +0 -35
  1580. data/lib/fog/rackspace/requests/storage/get_object_https_url.rb +0 -71
  1581. data/lib/fog/rackspace/requests/storage/head_container.rb +0 -41
  1582. data/lib/fog/rackspace/requests/storage/head_containers.rb +0 -44
  1583. data/lib/fog/rackspace/requests/storage/head_object.rb +0 -48
  1584. data/lib/fog/rackspace/requests/storage/post_set_meta_temp_url_key.rb +0 -46
  1585. data/lib/fog/rackspace/requests/storage/put_container.rb +0 -42
  1586. data/lib/fog/rackspace/requests/storage/put_dynamic_obj_manifest.rb +0 -63
  1587. data/lib/fog/rackspace/requests/storage/put_object.rb +0 -77
  1588. data/lib/fog/rackspace/requests/storage/put_object_manifest.rb +0 -22
  1589. data/lib/fog/rackspace/requests/storage/put_static_obj_manifest.rb +0 -102
  1590. data/lib/fog/rackspace/service.rb +0 -142
  1591. data/lib/fog/rackspace/storage.rb +0 -465
  1592. data/spec/fog/bin/hp_spec.rb +0 -10
  1593. data/spec/fog/openstack/identity_v3/authv3_a.yml +0 -74
  1594. data/spec/fog/openstack/identity_v3/authv3_b.yml +0 -74
  1595. data/spec/fog/openstack/identity_v3/authv3_c.yml +0 -419
  1596. data/spec/fog/openstack/identity_v3/authv3_token.yml +0 -490
  1597. data/spec/fog/openstack/identity_v3/authv3_unscoped.yml +0 -592
  1598. data/spec/fog/openstack/identity_v3/authv3_unscoped_reauth.yml +0 -835
  1599. data/spec/fog/openstack/identity_v3/common_setup.yml +0 -98
  1600. data/spec/fog/openstack/identity_v3/idv3_credential.yml +0 -147
  1601. data/spec/fog/openstack/identity_v3/idv3_credential_crud.yml +0 -938
  1602. data/spec/fog/openstack/identity_v3/idv3_domain.yml +0 -156
  1603. data/spec/fog/openstack/identity_v3/idv3_domain_crud.yml +0 -536
  1604. data/spec/fog/openstack/identity_v3/idv3_domain_group_roles_mutation.yml +0 -1013
  1605. data/spec/fog/openstack/identity_v3/idv3_domain_roles_mutation.yml +0 -841
  1606. data/spec/fog/openstack/identity_v3/idv3_endpoint.yml +0 -623
  1607. data/spec/fog/openstack/identity_v3/idv3_endpoints_crud.yml +0 -1005
  1608. data/spec/fog/openstack/identity_v3/idv3_group_crud_mutation.yml +0 -1325
  1609. data/spec/fog/openstack/identity_v3/idv3_policy.yml +0 -195
  1610. data/spec/fog/openstack/identity_v3/idv3_policy_crud.yml +0 -488
  1611. data/spec/fog/openstack/identity_v3/idv3_project.yml +0 -397
  1612. data/spec/fog/openstack/identity_v3/idv3_project_crud.yml +0 -490
  1613. data/spec/fog/openstack/identity_v3/idv3_project_group_user_roles_mutation.yml +0 -1519
  1614. data/spec/fog/openstack/identity_v3/idv3_project_hier_crud_list.yml +0 -1405
  1615. data/spec/fog/openstack/identity_v3/idv3_role.yml +0 -279
  1616. data/spec/fog/openstack/identity_v3/idv3_role_crud.yml +0 -602
  1617. data/spec/fog/openstack/identity_v3/idv3_service.yml +0 -331
  1618. data/spec/fog/openstack/identity_v3/idv3_services_crud.yml +0 -600
  1619. data/spec/fog/openstack/identity_v3/idv3_token.yml +0 -370
  1620. data/spec/fog/openstack/identity_v3/idv3_user_crud.yml +0 -827
  1621. data/spec/fog/openstack/identity_v3/idv3_users.yml +0 -409
  1622. data/spec/fog/openstack/identity_v3_spec.rb +0 -1034
  1623. data/spec/fog/openstack/image_v1/common_setup.yml +0 -144
  1624. data/spec/fog/openstack/image_v1/list_images.yml +0 -54
  1625. data/spec/fog/openstack/image_v1_spec.rb +0 -24
  1626. data/spec/fog/openstack/image_v2/common_setup.yml +0 -144
  1627. data/spec/fog/openstack/image_v2/image_schema.json +0 -190
  1628. data/spec/fog/openstack/image_v2/image_v2_activation.yml +0 -3988
  1629. data/spec/fog/openstack/image_v2/image_v2_create_id.yml +0 -291
  1630. data/spec/fog/openstack/image_v2/image_v2_crud.yml +0 -437
  1631. data/spec/fog/openstack/image_v2/image_v2_member_crudl.yml +0 -451
  1632. data/spec/fog/openstack/image_v2/image_v2_tags.yml +0 -532
  1633. data/spec/fog/openstack/image_v2/image_v2_upload_download.yml +0 -3966
  1634. data/spec/fog/openstack/image_v2/minimal.ova +0 -0
  1635. data/spec/fog/openstack/image_v2_spec.rb +0 -285
  1636. data/spec/fog/openstack/image_v2_upload_spec.rb +0 -74
  1637. data/spec/fog/openstack/network/common_setup.yml +0 -140
  1638. data/spec/fog/openstack/network/subnets_crud.yml +0 -180
  1639. data/spec/fog/openstack/network_spec.rb +0 -43
  1640. data/spec/fog/openstack/shared_context.rb +0 -115
  1641. data/spec/fog/openstack/volume/common_setup.yml +0 -100
  1642. data/spec/fog/openstack/volume/volume_crud.yml +0 -611
  1643. data/spec/fog/openstack/volume/volume_extend.yml +0 -669
  1644. data/spec/fog/openstack/volume/volume_transfer_and_accept.yml +0 -1072
  1645. data/spec/fog/openstack/volume/volume_transfer_and_delete.yml +0 -666
  1646. data/spec/fog/openstack/volume/volume_type_read.yml +0 -114
  1647. data/spec/fog/openstack/volume_spec.rb +0 -362
  1648. data/spec/fog/openstack/volume_v1/common_setup.yml +0 -100
  1649. data/spec/fog/openstack/volume_v1/volume_crud.yml +0 -535
  1650. data/spec/fog/openstack/volume_v1/volume_extend.yml +0 -596
  1651. data/spec/fog/openstack/volume_v1/volume_transfer_and_accept.yml +0 -1010
  1652. data/spec/fog/openstack/volume_v1/volume_transfer_and_delete.yml +0 -645
  1653. data/spec/fog/openstack/volume_v1/volume_type_read.yml +0 -114
  1654. data/spec/fog/openstack/volume_v2/common_setup.yml +0 -100
  1655. data/spec/fog/openstack/volume_v2/volume_crud.yml +0 -611
  1656. data/spec/fog/openstack/volume_v2/volume_extend.yml +0 -669
  1657. data/spec/fog/openstack/volume_v2/volume_transfer_and_accept.yml +0 -1072
  1658. data/spec/fog/openstack/volume_v2/volume_transfer_and_delete.yml +0 -666
  1659. data/spec/fog/openstack/volume_v2/volume_type_read.yml +0 -114
  1660. data/tests/digitalocean/models/compute/flavor_tests.rb +0 -29
  1661. data/tests/digitalocean/models/compute/image_tests.rb +0 -30
  1662. data/tests/digitalocean/models/compute/region_tests.rb +0 -29
  1663. data/tests/digitalocean/models/compute/server_tests.rb +0 -93
  1664. data/tests/digitalocean/models/compute/servers_tests.rb +0 -39
  1665. data/tests/digitalocean/models/compute/ssh_key_tests.rb +0 -43
  1666. data/tests/digitalocean/models/compute/ssh_keys_tests.rb +0 -32
  1667. data/tests/digitalocean/requests/compute/create_server_tests.rb +0 -32
  1668. data/tests/digitalocean/requests/compute/create_ssh_key_tests.rb +0 -22
  1669. data/tests/digitalocean/requests/compute/destroy_server_tests.rb +0 -14
  1670. data/tests/digitalocean/requests/compute/destroy_ssh_key_tests.rb +0 -23
  1671. data/tests/digitalocean/requests/compute/get_server_details_tests.rb +0 -13
  1672. data/tests/digitalocean/requests/compute/get_ssh_key_tests.rb +0 -25
  1673. data/tests/digitalocean/requests/compute/list_flavors_tests.rb +0 -23
  1674. data/tests/digitalocean/requests/compute/list_images_tests.rb +0 -24
  1675. data/tests/digitalocean/requests/compute/list_regions_tests.rb +0 -23
  1676. data/tests/digitalocean/requests/compute/list_servers_tests.rb +0 -27
  1677. data/tests/digitalocean/requests/compute/list_ssh_keys_tests.rb +0 -24
  1678. data/tests/digitalocean/requests/compute/power_cycle_server_tests.rb +0 -20
  1679. data/tests/digitalocean/requests/compute/power_state_tests.rb +0 -25
  1680. data/tests/digitalocean/requests/compute/reboot_server_tests.rb +0 -14
  1681. data/tests/openstack/authenticate_tests.rb +0 -197
  1682. data/tests/openstack/models/compute/images_tests.rb +0 -13
  1683. data/tests/openstack/models/compute/security_group_tests.rb +0 -54
  1684. data/tests/openstack/models/compute/server_tests.rb +0 -220
  1685. data/tests/openstack/models/identity/ec2_credential_tests.rb +0 -41
  1686. data/tests/openstack/models/identity/ec2_credentials_tests.rb +0 -58
  1687. data/tests/openstack/models/identity/role_tests.rb +0 -26
  1688. data/tests/openstack/models/identity/roles_tests.rb +0 -20
  1689. data/tests/openstack/models/identity/tenant_tests.rb +0 -30
  1690. data/tests/openstack/models/identity/tenants_tests.rb +0 -26
  1691. data/tests/openstack/models/identity/user_tests.rb +0 -46
  1692. data/tests/openstack/models/identity/users_tests.rb +0 -42
  1693. data/tests/openstack/models/image/image_tests.rb +0 -36
  1694. data/tests/openstack/models/image/images_tests.rb +0 -19
  1695. data/tests/openstack/models/network/floating_ip_tests.rb +0 -22
  1696. data/tests/openstack/models/network/floating_ips_tests.rb +0 -19
  1697. data/tests/openstack/models/network/lb_health_monitor_tests.rb +0 -52
  1698. data/tests/openstack/models/network/lb_health_monitors_tests.rb +0 -21
  1699. data/tests/openstack/models/network/lb_member_tests.rb +0 -28
  1700. data/tests/openstack/models/network/lb_members_tests.rb +0 -21
  1701. data/tests/openstack/models/network/lb_pool_tests.rb +0 -53
  1702. data/tests/openstack/models/network/lb_pools_tests.rb +0 -20
  1703. data/tests/openstack/models/network/lb_vip_tests.rb +0 -39
  1704. data/tests/openstack/models/network/lb_vips_tests.rb +0 -21
  1705. data/tests/openstack/models/network/network_tests.rb +0 -61
  1706. data/tests/openstack/models/network/networks_tests.rb +0 -21
  1707. data/tests/openstack/models/network/port_tests.rb +0 -28
  1708. data/tests/openstack/models/network/ports_tests.rb +0 -25
  1709. data/tests/openstack/models/network/router_tests.rb +0 -39
  1710. data/tests/openstack/models/network/routers_tests.rb +0 -21
  1711. data/tests/openstack/models/network/security_group_rule_tests.rb +0 -27
  1712. data/tests/openstack/models/network/security_group_rules_tests.rb +0 -25
  1713. data/tests/openstack/models/network/security_group_tests.rb +0 -17
  1714. data/tests/openstack/models/network/security_groups_tests.rb +0 -16
  1715. data/tests/openstack/models/network/subnet_tests.rb +0 -30
  1716. data/tests/openstack/models/network/subnets_tests.rb +0 -27
  1717. data/tests/openstack/models/planning/.gitkeep +0 -0
  1718. data/tests/openstack/models/planning/plan_tests.rb +0 -51
  1719. data/tests/openstack/models/planning/plans_tests.rb +0 -18
  1720. data/tests/openstack/models/planning/role_tests.rb +0 -14
  1721. data/tests/openstack/models/storage/file_tests.rb +0 -251
  1722. data/tests/openstack/requests/baremetal/chassis_tests.rb +0 -48
  1723. data/tests/openstack/requests/baremetal/driver_tests.rb +0 -40
  1724. data/tests/openstack/requests/baremetal/node_tests.rb +0 -83
  1725. data/tests/openstack/requests/baremetal/port_tests.rb +0 -56
  1726. data/tests/openstack/requests/compute/address_tests.rb +0 -58
  1727. data/tests/openstack/requests/compute/aggregate_tests.rb +0 -59
  1728. data/tests/openstack/requests/compute/availability_zone_tests.rb +0 -18
  1729. data/tests/openstack/requests/compute/flavor_tests.rb +0 -95
  1730. data/tests/openstack/requests/compute/helper.rb +0 -41
  1731. data/tests/openstack/requests/compute/image_tests.rb +0 -58
  1732. data/tests/openstack/requests/compute/keypair_tests.rb +0 -30
  1733. data/tests/openstack/requests/compute/limit_tests.rb +0 -59
  1734. data/tests/openstack/requests/compute/quota_tests.rb +0 -60
  1735. data/tests/openstack/requests/compute/security_group_tests.rb +0 -61
  1736. data/tests/openstack/requests/compute/server_tests.rb +0 -289
  1737. data/tests/openstack/requests/compute/service_tests.rb +0 -33
  1738. data/tests/openstack/requests/compute/tenant_tests.rb +0 -19
  1739. data/tests/openstack/requests/compute/volume_tests.rb +0 -38
  1740. data/tests/openstack/requests/identity/ec2_credentials_tests.rb +0 -44
  1741. data/tests/openstack/requests/identity/helper.rb +0 -13
  1742. data/tests/openstack/requests/identity/role_tests.rb +0 -45
  1743. data/tests/openstack/requests/identity/tenant_tests.rb +0 -56
  1744. data/tests/openstack/requests/identity/user_tests.rb +0 -41
  1745. data/tests/openstack/requests/image/image_tests.rb +0 -134
  1746. data/tests/openstack/requests/metering/meter_tests.rb +0 -52
  1747. data/tests/openstack/requests/metering/resource_tests.rb +0 -19
  1748. data/tests/openstack/requests/network/lb_health_monitor_tests.rb +0 -93
  1749. data/tests/openstack/requests/network/lb_member_tests.rb +0 -60
  1750. data/tests/openstack/requests/network/lb_pool_tests.rb +0 -80
  1751. data/tests/openstack/requests/network/lb_vip_tests.rb +0 -71
  1752. data/tests/openstack/requests/network/network_tests.rb +0 -107
  1753. data/tests/openstack/requests/network/port_tests.rb +0 -66
  1754. data/tests/openstack/requests/network/quota_tests.rb +0 -65
  1755. data/tests/openstack/requests/network/router_tests.rb +0 -73
  1756. data/tests/openstack/requests/network/security_group_rule_tests.rb +0 -58
  1757. data/tests/openstack/requests/network/security_group_tests.rb +0 -43
  1758. data/tests/openstack/requests/network/subnet_tests.rb +0 -66
  1759. data/tests/openstack/requests/orchestration/stack_tests.rb +0 -64
  1760. data/tests/openstack/requests/planning/.gitkeep +0 -0
  1761. data/tests/openstack/requests/planning/plan_tests.rb +0 -65
  1762. data/tests/openstack/requests/planning/role_tests.rb +0 -16
  1763. data/tests/openstack/requests/storage/container_tests.rb +0 -64
  1764. data/tests/openstack/requests/storage/large_object_tests.rb +0 -372
  1765. data/tests/openstack/requests/storage/object_tests.rb +0 -208
  1766. data/tests/openstack/requests/volume/availability_zone_tests.rb +0 -13
  1767. data/tests/openstack/requests/volume/quota_tests.rb +0 -50
  1768. data/tests/openstack/requests/volume/volume_type_tests.rb +0 -32
  1769. data/tests/openstack/storage_tests.rb +0 -18
  1770. data/tests/openstack/version_tests.rb +0 -55
  1771. data/tests/openstack/volume_tests.rb +0 -18
  1772. data/tests/rackspace/auto_scale_tests.rb +0 -83
  1773. data/tests/rackspace/block_storage_tests.rb +0 -119
  1774. data/tests/rackspace/cdn_tests.rb +0 -186
  1775. data/tests/rackspace/compute_tests.rb +0 -100
  1776. data/tests/rackspace/compute_v2_tests.rb +0 -118
  1777. data/tests/rackspace/databases_tests.rb +0 -140
  1778. data/tests/rackspace/dns_tests.rb +0 -110
  1779. data/tests/rackspace/helper.rb +0 -106
  1780. data/tests/rackspace/identity_tests.rb +0 -26
  1781. data/tests/rackspace/load_balancer_tests.rb +0 -135
  1782. data/tests/rackspace/models/auto_scale/group_builder_tests.rb +0 -145
  1783. data/tests/rackspace/models/auto_scale/group_tests.rb +0 -35
  1784. data/tests/rackspace/models/auto_scale/groups_tests.rb +0 -17
  1785. data/tests/rackspace/models/auto_scale/policies_tests.rb +0 -24
  1786. data/tests/rackspace/models/auto_scale/policy_tests.rb +0 -35
  1787. data/tests/rackspace/models/auto_scale/webhook_tests.rb +0 -42
  1788. data/tests/rackspace/models/auto_scale/webhooks_tests.rb +0 -28
  1789. data/tests/rackspace/models/block_storage/snapshot_tests.rb +0 -25
  1790. data/tests/rackspace/models/block_storage/snapshots_tests.rb +0 -18
  1791. data/tests/rackspace/models/block_storage/volume_tests.rb +0 -31
  1792. data/tests/rackspace/models/block_storage/volume_types_tests.rb +0 -18
  1793. data/tests/rackspace/models/block_storage/volumes_tests.rb +0 -9
  1794. data/tests/rackspace/models/compute_v2/flavors_tests.rb +0 -17
  1795. data/tests/rackspace/models/compute_v2/image_tests.rb +0 -74
  1796. data/tests/rackspace/models/compute_v2/images_tests.rb +0 -20
  1797. data/tests/rackspace/models/compute_v2/keypairs_tests.rb +0 -47
  1798. data/tests/rackspace/models/compute_v2/metadata_tests.rb +0 -44
  1799. data/tests/rackspace/models/compute_v2/network_tests.rb +0 -10
  1800. data/tests/rackspace/models/compute_v2/networks_tests.rb +0 -10
  1801. data/tests/rackspace/models/compute_v2/server_tests.rb +0 -274
  1802. data/tests/rackspace/models/compute_v2/servers_tests.rb +0 -22
  1803. data/tests/rackspace/models/compute_v2/virtual_interface_tests.rb +0 -33
  1804. data/tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb +0 -24
  1805. data/tests/rackspace/models/databases/database_tests.rb +0 -29
  1806. data/tests/rackspace/models/databases/databases_tests.rb +0 -17
  1807. data/tests/rackspace/models/databases/flavors_tests.rb +0 -20
  1808. data/tests/rackspace/models/databases/instance_tests.rb +0 -43
  1809. data/tests/rackspace/models/databases/instances_tests.rb +0 -14
  1810. data/tests/rackspace/models/databases/user_tests.rb +0 -21
  1811. data/tests/rackspace/models/databases/users_tests.rb +0 -21
  1812. data/tests/rackspace/models/dns/zone_tests.rb +0 -14
  1813. data/tests/rackspace/models/dns/zones_tests.rb +0 -36
  1814. data/tests/rackspace/models/identity/credentials_tests.rb +0 -25
  1815. data/tests/rackspace/models/identity/roles_tests.rb +0 -16
  1816. data/tests/rackspace/models/identity/service_catalog_tests.rb +0 -154
  1817. data/tests/rackspace/models/identity/tenants_tests.rb +0 -21
  1818. data/tests/rackspace/models/identity/user_tests.rb +0 -17
  1819. data/tests/rackspace/models/identity/users_tests.rb +0 -17
  1820. data/tests/rackspace/models/load_balancers/access_list_tests.rb +0 -12
  1821. data/tests/rackspace/models/load_balancers/access_lists_tests.rb +0 -12
  1822. data/tests/rackspace/models/load_balancers/load_balancer_tests.rb +0 -229
  1823. data/tests/rackspace/models/load_balancers/load_balancers_tests.rb +0 -19
  1824. data/tests/rackspace/models/load_balancers/node_tests.rb +0 -19
  1825. data/tests/rackspace/models/load_balancers/nodes_tests.rb +0 -12
  1826. data/tests/rackspace/models/load_balancers/virtual_ip_tests.rb +0 -16
  1827. data/tests/rackspace/models/load_balancers/virtual_ips_tests.rb +0 -12
  1828. data/tests/rackspace/models/monitoring/agent_token_tests.rb +0 -9
  1829. data/tests/rackspace/models/monitoring/agent_tokens_tests.rb +0 -9
  1830. data/tests/rackspace/models/monitoring/alarm_example_tests.rb +0 -18
  1831. data/tests/rackspace/models/monitoring/alarm_examples_tests.rb +0 -19
  1832. data/tests/rackspace/models/monitoring/alarm_tests.rb +0 -59
  1833. data/tests/rackspace/models/monitoring/alarms_tests.rb +0 -25
  1834. data/tests/rackspace/models/monitoring/check_tests.rb +0 -49
  1835. data/tests/rackspace/models/monitoring/check_types_tests.rb +0 -14
  1836. data/tests/rackspace/models/monitoring/checks_tests.rb +0 -16
  1837. data/tests/rackspace/models/monitoring/data_points_tests.rb +0 -19
  1838. data/tests/rackspace/models/monitoring/entities_tests.rb +0 -14
  1839. data/tests/rackspace/models/monitoring/entity_tests.rb +0 -26
  1840. data/tests/rackspace/models/monitoring/metric_tests.rb +0 -19
  1841. data/tests/rackspace/models/monitoring/metrics_tests.rb +0 -17
  1842. data/tests/rackspace/models/monitoring/notification_tests.rb +0 -19
  1843. data/tests/rackspace/models/monitoring/notifications_tests.rb +0 -10
  1844. data/tests/rackspace/models/networking/network_tests.rb +0 -10
  1845. data/tests/rackspace/models/networking/networks_tests.rb +0 -10
  1846. data/tests/rackspace/models/networking/virtual_interface_tests.rb +0 -33
  1847. data/tests/rackspace/models/networking/virtual_interfaces_tests.rb +0 -24
  1848. data/tests/rackspace/models/queues/claim_tests.rb +0 -41
  1849. data/tests/rackspace/models/queues/claims_tests.rb +0 -53
  1850. data/tests/rackspace/models/queues/message_tests.rb +0 -49
  1851. data/tests/rackspace/models/queues/messages_tests.rb +0 -16
  1852. data/tests/rackspace/models/queues/queue_tests.rb +0 -37
  1853. data/tests/rackspace/models/queues/queues_tests.rb +0 -8
  1854. data/tests/rackspace/models/storage/account_tests.rb +0 -26
  1855. data/tests/rackspace/models/storage/directories_tests.rb +0 -26
  1856. data/tests/rackspace/models/storage/directory_tests.rb +0 -138
  1857. data/tests/rackspace/models/storage/file_tests.rb +0 -400
  1858. data/tests/rackspace/models/storage/files_tests.rb +0 -39
  1859. data/tests/rackspace/models/storage/metadata_tests.rb +0 -208
  1860. data/tests/rackspace/monitoring_tests.rb +0 -76
  1861. data/tests/rackspace/networking_tests.rb +0 -118
  1862. data/tests/rackspace/queues_tests.rb +0 -105
  1863. data/tests/rackspace/rackspace_tests.rb +0 -56
  1864. data/tests/rackspace/requests/auto_scale/config_tests.rb +0 -97
  1865. data/tests/rackspace/requests/auto_scale/group_tests.rb +0 -50
  1866. data/tests/rackspace/requests/auto_scale/helper.rb +0 -224
  1867. data/tests/rackspace/requests/auto_scale/policy_tests.rb +0 -71
  1868. data/tests/rackspace/requests/auto_scale/webhook_tests.rb +0 -58
  1869. data/tests/rackspace/requests/block_storage/snapshot_tests.rb +0 -80
  1870. data/tests/rackspace/requests/block_storage/volume_tests.rb +0 -75
  1871. data/tests/rackspace/requests/block_storage/volume_type_tests.rb +0 -21
  1872. data/tests/rackspace/requests/cdn/cdn_tests.rb +0 -75
  1873. data/tests/rackspace/requests/compute/address_tests.rb +0 -42
  1874. data/tests/rackspace/requests/compute/flavor_tests.rb +0 -39
  1875. data/tests/rackspace/requests/compute/helper.rb +0 -10
  1876. data/tests/rackspace/requests/compute/image_tests.rb +0 -70
  1877. data/tests/rackspace/requests/compute/resize_tests.rb +0 -35
  1878. data/tests/rackspace/requests/compute/server_tests.rb +0 -94
  1879. data/tests/rackspace/requests/compute_v2/address_tests.rb +0 -45
  1880. data/tests/rackspace/requests/compute_v2/attachment_tests.rb +0 -66
  1881. data/tests/rackspace/requests/compute_v2/flavor_tests.rb +0 -47
  1882. data/tests/rackspace/requests/compute_v2/image_tests.rb +0 -77
  1883. data/tests/rackspace/requests/compute_v2/keypair_tests.rb +0 -55
  1884. data/tests/rackspace/requests/compute_v2/metadata_tests.rb +0 -104
  1885. data/tests/rackspace/requests/compute_v2/network_tests.rb +0 -49
  1886. data/tests/rackspace/requests/compute_v2/server_tests.rb +0 -172
  1887. data/tests/rackspace/requests/compute_v2/virtual_interface_tests.rb +0 -49
  1888. data/tests/rackspace/requests/databases/database_tests.rb +0 -39
  1889. data/tests/rackspace/requests/databases/flavor_tests.rb +0 -16
  1890. data/tests/rackspace/requests/databases/helper.rb +0 -79
  1891. data/tests/rackspace/requests/databases/instance_tests.rb +0 -77
  1892. data/tests/rackspace/requests/databases/user_tests.rb +0 -37
  1893. data/tests/rackspace/requests/dns/dns_tests.rb +0 -125
  1894. data/tests/rackspace/requests/dns/helper.rb +0 -124
  1895. data/tests/rackspace/requests/dns/records_tests.rb +0 -83
  1896. data/tests/rackspace/requests/identity/tenants_tests.rb +0 -21
  1897. data/tests/rackspace/requests/identity/token_tests.rb +0 -70
  1898. data/tests/rackspace/requests/identity/user_tests.rb +0 -106
  1899. data/tests/rackspace/requests/load_balancers/access_list_tests.rb +0 -56
  1900. data/tests/rackspace/requests/load_balancers/algorithm_tests.rb +0 -19
  1901. data/tests/rackspace/requests/load_balancers/connection_logging_tests.rb +0 -25
  1902. data/tests/rackspace/requests/load_balancers/connection_throttling_tests.rb +0 -37
  1903. data/tests/rackspace/requests/load_balancers/content_caching_tests.rb +0 -25
  1904. data/tests/rackspace/requests/load_balancers/error_page_tests.rb +0 -31
  1905. data/tests/rackspace/requests/load_balancers/get_stats_tests.rb +0 -13
  1906. data/tests/rackspace/requests/load_balancers/helper.rb +0 -229
  1907. data/tests/rackspace/requests/load_balancers/load_balancer_tests.rb +0 -86
  1908. data/tests/rackspace/requests/load_balancers/load_balancer_usage_tests.rb +0 -19
  1909. data/tests/rackspace/requests/load_balancers/monitor_tests.rb +0 -46
  1910. data/tests/rackspace/requests/load_balancers/node_tests.rb +0 -93
  1911. data/tests/rackspace/requests/load_balancers/protocol_tests.rb +0 -21
  1912. data/tests/rackspace/requests/load_balancers/session_persistence_tests.rb +0 -33
  1913. data/tests/rackspace/requests/load_balancers/ssl_termination_tests.rb +0 -38
  1914. data/tests/rackspace/requests/load_balancers/usage_tests.rb +0 -19
  1915. data/tests/rackspace/requests/load_balancers/virtual_ip_tests.rb +0 -40
  1916. data/tests/rackspace/requests/monitoring/agent_tests.rb +0 -74
  1917. data/tests/rackspace/requests/monitoring/alarm_example_tests.rb +0 -30
  1918. data/tests/rackspace/requests/monitoring/alarm_tests.rb +0 -55
  1919. data/tests/rackspace/requests/monitoring/check_tests.rb +0 -39
  1920. data/tests/rackspace/requests/monitoring/entity_tests.rb +0 -36
  1921. data/tests/rackspace/requests/monitoring/helper.rb +0 -139
  1922. data/tests/rackspace/requests/monitoring/list_tests.rb +0 -83
  1923. data/tests/rackspace/requests/monitoring/notification_tests.rb +0 -46
  1924. data/tests/rackspace/requests/networking/network_tests.rb +0 -49
  1925. data/tests/rackspace/requests/networking/virtual_interface_tests.rb +0 -49
  1926. data/tests/rackspace/requests/queues/claim_tests.rb +0 -60
  1927. data/tests/rackspace/requests/queues/helper.rb +0 -50
  1928. data/tests/rackspace/requests/queues/messages_tests.rb +0 -54
  1929. data/tests/rackspace/requests/queues/queues_tests.rb +0 -38
  1930. data/tests/rackspace/requests/storage/account_tests.rb +0 -15
  1931. data/tests/rackspace/requests/storage/container_tests.rb +0 -67
  1932. data/tests/rackspace/requests/storage/large_object_tests.rb +0 -355
  1933. data/tests/rackspace/requests/storage/object_tests.rb +0 -230
  1934. data/tests/rackspace/service_tests.rb +0 -82
  1935. data/tests/rackspace/storage_tests.rb +0 -128
  1936. data/tests/rackspace/url_encoding_tests.rb +0 -5
@@ -1,409 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://devstack.openstack.stack:35357/v3/users
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - fog-core/1.32.1
12
- Proxy-Connection:
13
- - Keep-Alive
14
- Content-Type:
15
- - application/json
16
- Accept:
17
- - application/json
18
- X-Auth-Token:
19
- - e6b2788de4cb4562b55c8a7bb05e8444
20
- response:
21
- status:
22
- code: 200
23
- message: ''
24
- headers:
25
- Date:
26
- - Wed, 28 Oct 2015 16:05:38 GMT
27
- Server:
28
- - Apache/2.4.7 (Ubuntu)
29
- Vary:
30
- - X-Auth-Token
31
- X-Openstack-Request-Id:
32
- - req-58232f8a-a376-45af-9838-2eb6ebdad5d9
33
- Content-Length:
34
- - '1845'
35
- Content-Type:
36
- - application/json
37
- X-Cache:
38
- - MISS from i056593-vagrant
39
- X-Cache-Lookup:
40
- - MISS from i056593-vagrant:3128
41
- Via:
42
- - 1.1 i056593-vagrant (squid/3.3.8)
43
- Connection:
44
- - keep-alive
45
- body:
46
- encoding: UTF-8
47
- string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
48
- "domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
49
- {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
50
- "domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
51
- {"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
52
- "domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
53
- {"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
54
- "domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
55
- {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
56
- "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
57
- "83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
58
- "domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
59
- {"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
60
- "domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
61
- "user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
62
- "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
63
- "domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
64
- "user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
65
- {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
66
- http_version:
67
- recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
68
- - request:
69
- method: get
70
- uri: http://devstack.openstack.stack:35357/v3/users/u-random-blah
71
- body:
72
- encoding: US-ASCII
73
- string: ''
74
- headers:
75
- User-Agent:
76
- - fog-core/1.32.1
77
- Proxy-Connection:
78
- - Keep-Alive
79
- Content-Type:
80
- - application/json
81
- Accept:
82
- - application/json
83
- X-Auth-Token:
84
- - e6b2788de4cb4562b55c8a7bb05e8444
85
- response:
86
- status:
87
- code: 404
88
- message: ''
89
- headers:
90
- Date:
91
- - Wed, 28 Oct 2015 16:05:38 GMT
92
- Server:
93
- - Apache/2.4.7 (Ubuntu)
94
- Vary:
95
- - X-Auth-Token
96
- X-Openstack-Request-Id:
97
- - req-39fc72ff-d50a-458c-9224-4ef6eea6f15b
98
- Content-Length:
99
- - '95'
100
- Content-Type:
101
- - application/json
102
- X-Cache:
103
- - MISS from i056593-vagrant
104
- X-Cache-Lookup:
105
- - MISS from i056593-vagrant:3128
106
- Via:
107
- - 1.1 i056593-vagrant (squid/3.3.8)
108
- Connection:
109
- - keep-alive
110
- body:
111
- encoding: UTF-8
112
- string: '{"error": {"message": "Could not find user: u-random-blah", "code":
113
- 404, "title": "Not Found"}}'
114
- http_version:
115
- recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
116
- - request:
117
- method: get
118
- uri: http://devstack.openstack.stack:35357/v3/users?name=admin
119
- body:
120
- encoding: US-ASCII
121
- string: ''
122
- headers:
123
- User-Agent:
124
- - fog-core/1.32.1
125
- Proxy-Connection:
126
- - Keep-Alive
127
- Content-Type:
128
- - application/json
129
- Accept:
130
- - application/json
131
- X-Auth-Token:
132
- - e6b2788de4cb4562b55c8a7bb05e8444
133
- response:
134
- status:
135
- code: 200
136
- message: ''
137
- headers:
138
- Date:
139
- - Wed, 28 Oct 2015 16:05:38 GMT
140
- Server:
141
- - Apache/2.4.7 (Ubuntu)
142
- Vary:
143
- - X-Auth-Token
144
- X-Openstack-Request-Id:
145
- - req-2e8e7182-0f8b-4745-af24-8e6c568f5fc7
146
- Content-Length:
147
- - '316'
148
- Content-Type:
149
- - application/json
150
- X-Cache:
151
- - MISS from i056593-vagrant
152
- X-Cache-Lookup:
153
- - MISS from i056593-vagrant:3128
154
- Via:
155
- - 1.1 i056593-vagrant (squid/3.3.8)
156
- Connection:
157
- - keep-alive
158
- body:
159
- encoding: UTF-8
160
- string: '{"users": [{"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
161
- "domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"}],
162
- "links": {"self": "http://devstack.openstack.stack:35357/v3/users?name=admin", "previous":
163
- null, "next": null}}'
164
- http_version:
165
- recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
166
- - request:
167
- method: get
168
- uri: http://devstack.openstack.stack:35357/v3/users
169
- body:
170
- encoding: US-ASCII
171
- string: ''
172
- headers:
173
- User-Agent:
174
- - fog-core/1.32.1
175
- Proxy-Connection:
176
- - Keep-Alive
177
- Content-Type:
178
- - application/json
179
- Accept:
180
- - application/json
181
- X-Auth-Token:
182
- - e6b2788de4cb4562b55c8a7bb05e8444
183
- response:
184
- status:
185
- code: 200
186
- message: ''
187
- headers:
188
- Date:
189
- - Wed, 28 Oct 2015 16:05:38 GMT
190
- Server:
191
- - Apache/2.4.7 (Ubuntu)
192
- Vary:
193
- - X-Auth-Token
194
- X-Openstack-Request-Id:
195
- - req-5eb69a28-e4f3-4838-80a8-d7da793a2038
196
- Content-Length:
197
- - '1845'
198
- Content-Type:
199
- - application/json
200
- X-Cache:
201
- - MISS from i056593-vagrant
202
- X-Cache-Lookup:
203
- - MISS from i056593-vagrant:3128
204
- Via:
205
- - 1.1 i056593-vagrant (squid/3.3.8)
206
- Connection:
207
- - keep-alive
208
- body:
209
- encoding: UTF-8
210
- string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
211
- "domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
212
- {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
213
- "domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
214
- {"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
215
- "domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
216
- {"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
217
- "domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
218
- {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
219
- "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
220
- "83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
221
- "domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
222
- {"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
223
- "domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
224
- "user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
225
- "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
226
- "domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
227
- "user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
228
- {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
229
- http_version:
230
- recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
231
- - request:
232
- method: get
233
- uri: http://devstack.openstack.stack:35357/v3/users
234
- body:
235
- encoding: US-ASCII
236
- string: ''
237
- headers:
238
- User-Agent:
239
- - fog-core/1.32.1
240
- Proxy-Connection:
241
- - Keep-Alive
242
- Content-Type:
243
- - application/json
244
- Accept:
245
- - application/json
246
- X-Auth-Token:
247
- - e6b2788de4cb4562b55c8a7bb05e8444
248
- response:
249
- status:
250
- code: 200
251
- message: ''
252
- headers:
253
- Date:
254
- - Wed, 28 Oct 2015 16:05:38 GMT
255
- Server:
256
- - Apache/2.4.7 (Ubuntu)
257
- Vary:
258
- - X-Auth-Token
259
- X-Openstack-Request-Id:
260
- - req-8ea7a216-9570-4d2c-b953-5a33fcd2bf3a
261
- Content-Length:
262
- - '1845'
263
- Content-Type:
264
- - application/json
265
- X-Cache:
266
- - MISS from i056593-vagrant
267
- X-Cache-Lookup:
268
- - MISS from i056593-vagrant:3128
269
- Via:
270
- - 1.1 i056593-vagrant (squid/3.3.8)
271
- Connection:
272
- - keep-alive
273
- body:
274
- encoding: UTF-8
275
- string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
276
- "domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
277
- {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
278
- "domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
279
- {"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
280
- "domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
281
- {"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
282
- "domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
283
- {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
284
- "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
285
- "83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
286
- "domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
287
- {"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
288
- "domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
289
- "user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
290
- "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
291
- "domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
292
- "user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
293
- {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
294
- http_version:
295
- recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
296
- - request:
297
- method: get
298
- uri: http://devstack.openstack.stack:35357/v3/users
299
- body:
300
- encoding: US-ASCII
301
- string: ''
302
- headers:
303
- User-Agent:
304
- - fog-core/1.32.1
305
- Proxy-Connection:
306
- - Keep-Alive
307
- Content-Type:
308
- - application/json
309
- Accept:
310
- - application/json
311
- X-Auth-Token:
312
- - e6b2788de4cb4562b55c8a7bb05e8444
313
- response:
314
- status:
315
- code: 200
316
- message: ''
317
- headers:
318
- Date:
319
- - Wed, 28 Oct 2015 16:05:38 GMT
320
- Server:
321
- - Apache/2.4.7 (Ubuntu)
322
- Vary:
323
- - X-Auth-Token
324
- X-Openstack-Request-Id:
325
- - req-752736e4-8b7b-49dd-88b9-4a5392f3293f
326
- Content-Length:
327
- - '1845'
328
- Content-Type:
329
- - application/json
330
- X-Cache:
331
- - MISS from i056593-vagrant
332
- X-Cache-Lookup:
333
- - MISS from i056593-vagrant:3128
334
- Via:
335
- - 1.1 i056593-vagrant (squid/3.3.8)
336
- Connection:
337
- - keep-alive
338
- body:
339
- encoding: UTF-8
340
- string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
341
- "domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
342
- {"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
343
- "domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
344
- {"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
345
- "domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
346
- {"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
347
- "domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
348
- {"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
349
- "domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
350
- "83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
351
- "domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
352
- {"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
353
- "domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
354
- "user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
355
- "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
356
- "domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
357
- "user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
358
- {"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
359
- http_version:
360
- recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
361
- - request:
362
- method: get
363
- uri: http://devstack.openstack.stack:35357/v3/users?name=pimpernel
364
- body:
365
- encoding: US-ASCII
366
- string: ''
367
- headers:
368
- User-Agent:
369
- - fog-core/1.32.1
370
- Proxy-Connection:
371
- - Keep-Alive
372
- Content-Type:
373
- - application/json
374
- Accept:
375
- - application/json
376
- X-Auth-Token:
377
- - e6b2788de4cb4562b55c8a7bb05e8444
378
- response:
379
- status:
380
- code: 200
381
- message: ''
382
- headers:
383
- Date:
384
- - Wed, 28 Oct 2015 16:05:38 GMT
385
- Server:
386
- - Apache/2.4.7 (Ubuntu)
387
- Vary:
388
- - X-Auth-Token
389
- X-Openstack-Request-Id:
390
- - req-42d79e03-0fc0-4cba-99aa-ae7cf2117388
391
- Content-Length:
392
- - '116'
393
- Content-Type:
394
- - application/json
395
- X-Cache:
396
- - MISS from i056593-vagrant
397
- X-Cache-Lookup:
398
- - MISS from i056593-vagrant:3128
399
- Via:
400
- - 1.1 i056593-vagrant (squid/3.3.8)
401
- Connection:
402
- - keep-alive
403
- body:
404
- encoding: UTF-8
405
- string: '{"users": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/users?name=pimpernel",
406
- "previous": null, "next": null}}'
407
- http_version:
408
- recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
409
- recorded_with: VCR 2.9.3
@@ -1,1034 +0,0 @@
1
- require 'fog/openstack/identity'
2
- require 'fog/openstack/identity_v3'
3
-
4
- if RUBY_VERSION =~ /1.8/
5
- require File.expand_path('../shared_context', __FILE__)
6
- else
7
- require_relative './shared_context'
8
- end
9
-
10
- RSpec.describe Fog::Identity::OpenStack::V3 do
11
-
12
- include_context 'OpenStack specs with VCR'
13
- before :all do
14
- VCR_USER_ID='a18abc2039d6493aa7239a42033cc7c9'
15
- VCR_USER_NAME='admin'
16
- VCR_PASSWORD='devstack'
17
- VCR_DOMAIN_ID='default'
18
- VCR_DOMAIN_NAME='Default'
19
- VCR_PROJECT_NAME='admin'
20
- VCR_REGION='RegionOne'
21
-
22
- setup_vcr_and_service(
23
- :vcr_directory => 'spec/fog/openstack/identity_v3',
24
- :service_class => Fog::Identity::OpenStack::V3,
25
- :username => VCR_USER_NAME,
26
- :password => VCR_PASSWORD,
27
- :project_name => VCR_PROJECT_NAME,
28
- :domain_name => VCR_DOMAIN_NAME,
29
- :region_name => VCR_REGION
30
- )
31
- end
32
-
33
- it 'authenticates with password, userid and domain_id' do
34
- VCR.use_cassette('authv3_a') do
35
- Fog::Identity::OpenStack::V3.new(
36
- :openstack_domain_id => ENV['OS_USER_DOMAIN_ID'] || VCR_DOMAIN_ID,
37
- :openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
38
- :openstack_userid => ENV['OS_USER_ID'] || VCR_USER_ID,
39
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
40
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens")
41
- end
42
- end
43
-
44
- it 'authenticates with password, username and domain_id' do
45
- VCR.use_cassette('authv3_b') do
46
- Fog::Identity::OpenStack::V3.new(
47
- :openstack_domain_id => ENV['OS_USER_DOMAIN_ID'] || VCR_DOMAIN_ID,
48
- :openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
49
- :openstack_username => ENV['OS_USERNAME'] || VCR_USER_NAME,
50
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
51
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens")
52
- end
53
- end
54
-
55
- it 'authenticates with password, username and domain_name' do
56
- VCR.use_cassette('authv3_c') do
57
- Fog::Identity::OpenStack::V3.new(
58
- :openstack_user_domain => ENV['OS_USER_DOMAIN_NAME'] || VCR_DOMAIN_NAME,
59
- :openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
60
- :openstack_username => ENV['OS_USERNAME'] || VCR_USER_NAME,
61
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
62
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens")
63
- end
64
- end
65
-
66
- it 'authenticates in another region' do
67
- VCR.use_cassette('idv3_endpoint') do
68
- @endpoints_all = @service.endpoints.all
69
- end
70
- endpoints_in_region = @endpoints_all.select { |endpoint| endpoint.region == (ENV['OS_REGION_OTHER']||'europe') }
71
-
72
- VCR.use_cassette('idv3_other_region') do
73
- @fog = Fog::Identity::OpenStack::V3.new({
74
- :openstack_region => ENV['OS_REGION_OTHER']||'europe',
75
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens",
76
- :openstack_userid => ENV['OS_USER_ID'] || VCR_USER_ID,
77
- :openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD
78
- })
79
- expect(@fog).to_not be_nil
80
- end unless endpoints_in_region.empty?
81
- end
82
-
83
- it 'get an unscoped token, then reauthenticate with it' do
84
- VCR.use_cassette('authv3_unscoped_reauth') do
85
-
86
- id_v3 = Fog::Identity::OpenStack::V3.new(
87
- :openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
88
- :openstack_userid => ENV['OS_USER_ID'] || VCR_USER_ID,
89
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
90
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens")
91
-
92
- auth_params = {:provider => "openstack",
93
- :openstack_auth_token => id_v3.credentials[:openstack_auth_token],
94
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens",
95
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION}
96
- @fog2 = Fog::Identity::OpenStack::V3.new(auth_params)
97
-
98
- expect(@fog2).to_not be_nil
99
- token = @fog2.credentials[:openstack_auth_token]
100
- expect(token).to_not be_nil
101
-
102
- end
103
- end
104
-
105
- it 'authenticates with project scope' do
106
- VCR.use_cassette('authv3_project') do
107
- Fog::Identity::OpenStack::V3.new(
108
- :openstack_project_name => ENV['OS_PROJECT_NAME'] || VCR_PROJECT_NAME,
109
- :openstack_domain_name => ENV['OS_USER_DOMAIN_NAME'] || VCR_DOMAIN_NAME,
110
- :openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
111
- :openstack_username => ENV['OS_USERNAME'] || VCR_USER_NAME,
112
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
113
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens")
114
- end
115
- end
116
-
117
- it 'get an unscoped token, then use it to get a scoped token' do
118
- VCR.use_cassette('authv3_unscoped') do
119
-
120
- id_v3 = Fog::Identity::OpenStack::V3.new(
121
- :openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
122
- :openstack_userid => ENV['OS_USER_ID']||VCR_USER_ID,
123
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
124
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens")
125
-
126
- # Exchange it for a project-scoped token
127
- auth = Fog::Identity::OpenStack::V3.new(
128
- :openstack_project_name => ENV['OS_PROJECT_NAME'] || VCR_PROJECT_NAME,
129
- :openstack_domain_name => ENV['OS_USER_DOMAIN_NAME'] || VCR_DOMAIN_NAME,
130
- :openstack_tenant => ENV['OS_USERNAME'] || VCR_USER_NAME,
131
- :openstack_auth_token => id_v3.credentials[:openstack_auth_token],
132
- :openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
133
- :openstack_auth_url => "#{@os_auth_url}/auth/tokens")
134
-
135
- token = auth.credentials[:openstack_auth_token]
136
-
137
- # We can use the unscoped token to validate the scoped token
138
- validated_token = id_v3.tokens.validate(token)
139
- expect(validated_token).to_not be_nil
140
-
141
- id_v3.tokens.check(token)
142
- expect { id_v3.tokens.check('random-token') }.to raise_error(Fog::Identity::OpenStack::NotFound)
143
- end
144
- end
145
-
146
- it "find specific user, lists users" do
147
- VCR.use_cassette('idv3_users') do
148
-
149
- expect { nonexistent_user = @service.users.find_by_id 'u-random-blah' }.to raise_error(Fog::Identity::OpenStack::NotFound)
150
-
151
- admin_user = @service.users.find_by_name ENV['OS_USERNAME'] || VCR_USER_NAME
152
- expect(admin_user.length).to be 1
153
-
154
- users = @service.users
155
- expect(users).to_not be_nil
156
- expect(users.length).to_not be 0
157
-
158
- users_all = @service.users.all
159
- expect(users_all).to_not be_nil
160
- expect(users_all.length).to_not be 0
161
-
162
- admin_by_id = @service.users.find_by_id admin_user.first.id
163
- expect(admin_by_id).to_not be_nil
164
-
165
- expect(@service.users.find_by_name('pimpernel').length).to be 0
166
- end
167
- end
168
-
169
- it 'CRUD users' do
170
- VCR.use_cassette('idv3_user_crud') do
171
-
172
- # Make sure there are no existing users called foobar or baz
173
- ['foobar', 'baz'].each do |username|
174
- user = @service.users.find_by_name(username).first
175
- user.update(:enabled => false) if user
176
- user.destroy if user
177
- end
178
- expect(@service.users.find_by_name('foobar').length).to be 0
179
- expect(@service.users.find_by_name('baz').length).to be 0
180
-
181
- # Create a user called foobar
182
- foobar_user = @service.users.create(:name => 'foobar',
183
- :email => 'foobar@example.com',
184
- :password => 's3cret!')
185
- foobar_id = foobar_user.id
186
- expect(@service.users.find_by_name('foobar').length).to be 1
187
-
188
- # Rename it to baz and disable it (required so we can delete it)
189
- foobar_user.update(:name => 'baz', :enabled => false)
190
- expect(foobar_user.name).to eq 'baz'
191
-
192
- # Read the user freshly and check the name & enabled state
193
- expect(@service.users.find_by_name('baz').length).to be 1
194
- baz_user = @service.users.find_by_id foobar_id
195
- expect(baz_user).to_not be_nil
196
- expect(baz_user.name).to eq 'baz'
197
- expect(baz_user.email).to eq 'foobar@example.com'
198
- expect(baz_user.enabled).to be false
199
-
200
- # Try to create the user again
201
- expect { @service.users.create(:name => 'baz',
202
- :email => 'foobar@example.com',
203
- :password => 's3cret!') }.to raise_error(Excon::Errors::Conflict)
204
-
205
- # Delete the user
206
- baz_user.destroy
207
- # Check that the deletion worked
208
- expect { @service.users.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
209
- expect(@service.users.all.select { |user| ['foobar', 'baz'].include? user.name }.length).to be 0
210
- expect(@service.users.find_by_name('foobar').length).to be 0
211
- expect(@service.users.find_by_name('baz').length).to be 0
212
- end
213
- end
214
-
215
- it "CRUD & manipulate groups" do
216
- VCR.use_cassette('idv3_group_crud_mutation') do
217
-
218
- # Make sure there are no existing groups called foobar or baz
219
- @service.groups.all.select { |group| ['foobar', 'baz'].include? group.name }.each do |group|
220
- group.destroy
221
- end
222
- expect(@service.groups.all.select { |group| ['foobar', 'baz'].include? group.name }.length).to be 0
223
-
224
- # Create a group called foobar
225
- foobar_group = @service.groups.create(:name => 'foobar', :description => "Group of Foobar users")
226
- foobar_id = foobar_group.id
227
- expect(@service.groups.all.select { |group| group.name == 'foobar' }.length).to be 1
228
-
229
- # Rename it to baz
230
- foobar_group.update(:name => 'baz', :description => "Group of Baz users")
231
- expect(foobar_group.name).to eq 'baz'
232
-
233
- # Read the group freshly and check the name
234
- expect(@service.groups.all.select { |group| group.name == 'baz' }.length).to be 1
235
- baz_group = @service.groups.find_by_id foobar_id
236
- expect(baz_group).to_not be_nil
237
- expect(baz_group.name).to eq 'baz'
238
-
239
- # Add users to the group
240
- #foobar_user1 = @service.users.find_by_name('foobar1').first
241
- #foobar_user1.destroy if foobar_user1
242
- foobar_user1 = @service.users.create(:name => 'foobar1',
243
- :email => 'foobar1@example.com',
244
- :password => 's3cret!1')
245
- #foobar_user2 = @service.users.find_by_name('foobar2').first
246
- #foobar_user2.destroy if foobar_user2
247
- foobar_user2 = @service.users.create(:name => 'foobar2',
248
- :email => 'foobar2@example.com',
249
- :password => 's3cret!2')
250
-
251
- expect(foobar_user1.groups.length).to be 0
252
- expect(baz_group.users.length).to be 0
253
-
254
- baz_group.add_user(foobar_user1.id)
255
-
256
- # Check that a user is in the group
257
- expect(foobar_user1.groups.length).to be 1
258
- expect(baz_group.contains_user? foobar_user1.id).to be true
259
-
260
- baz_group.add_user(foobar_user2.id)
261
-
262
- # List users in the group
263
- expect(baz_group.users.length).to be 2
264
-
265
-
266
- # Remove a user from the group
267
- baz_group.remove_user(foobar_user1.id)
268
- expect(baz_group.contains_user? foobar_user1.id).to be false
269
- expect(baz_group.users.length).to be 1
270
-
271
- # Delete the users and make sure they are no longer in the group
272
- foobar_user1.destroy
273
- foobar_user2.destroy
274
- expect(baz_group.contains_user? foobar_user2.id).to be false
275
- expect(baz_group.users.length).to be 0
276
-
277
- # Delete the group
278
- baz_group.destroy
279
- expect { @service.groups.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
280
- expect(@service.groups.all.select { |group| ['foobar', 'baz'].include? group.name }.length).to be 0
281
- end
282
- end
283
-
284
- it "gets a token, checks it and then revokes it" do
285
- VCR.use_cassette('idv3_token') do
286
- auth = {:auth => {:identity => {:methods => %w{password},
287
- :password => {:user => {:id => ENV['OS_USER_ID']||VCR_USER_ID,
288
- :password => ENV['OS_PASSWORD']||VCR_PASSWORD}}},
289
- :scope => {:project => {:domain => {:name => ENV['OS_USER_DOMAIN_NAME']||VCR_DOMAIN_NAME},
290
- :name => ENV['OS_PROJECT_NAME']||VCR_PROJECT_NAME}}}}
291
-
292
- token = @service.tokens.authenticate(auth)
293
- expect(token).to_not be_nil
294
-
295
- validated_token = @service.tokens.validate token.value
296
- expect(validated_token).to_not be_nil
297
-
298
- @service.tokens.check(token.value)
299
- @service.tokens.revoke(token.value)
300
-
301
- expect { @service.tokens.check(token.value) }.to raise_error(Fog::Identity::OpenStack::NotFound)
302
- end
303
- end
304
-
305
- it 'authenticates with a token' do
306
- VCR.use_cassette('authv3_token') do
307
- # Setup - get a non-admin token to check by using username/password authentication to start with
308
- auth_url = "#{@os_auth_url}/auth/tokens"
309
-
310
- begin
311
-
312
- foobar_user = @service.users.create(:name => 'foobar_385',
313
- :email => 'foobar_demo@example.com',
314
- :domain_id => ENV['OS_USER_DOMAIN_ID'] || VCR_DOMAIN_ID,
315
- :password => 's3cret!')
316
-
317
- foobar_role = @service.roles.create(:name => 'foobar_role390')
318
- foobar_user.grant_role(foobar_role.id)
319
-
320
- nonadmin_v3 = Fog::Identity::OpenStack::V3.new(
321
- :openstack_domain_id => foobar_user.domain_id,
322
- :openstack_api_key => 's3cret!',
323
- :openstack_username => 'foobar_385',
324
- :openstack_region => ENV['OS_REGION_NAME']||VCR_REGION,
325
- :openstack_auth_url => auth_url)
326
-
327
- # Test - check the token validity by using it to create a new Fog::Identity::OpenStack::V3 instance
328
- token_check = Fog::Identity::OpenStack::V3.new(
329
- :openstack_auth_token => nonadmin_v3.auth_token,
330
- :openstack_region => ENV['OS_REGION_NAME']||VCR_REGION,
331
- :openstack_auth_url => auth_url)
332
-
333
- expect(token_check).to_not be_nil
334
-
335
- expect { Fog::Identity::OpenStack::V3.new(
336
- :openstack_auth_token => 'blahblahblah',
337
- :openstack_region => ENV['OS_REGION_NAME']||VCR_REGION,
338
- :openstack_auth_url => auth_url) }.to raise_error(Excon::Errors::NotFound)
339
- ensure
340
- # Clean up
341
- foobar_user = @service.users.find_by_name('foobar_385').first unless foobar_user
342
- foobar_user.destroy if foobar_user
343
- foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role390' }.first unless foobar_role
344
- foobar_role.destroy if foobar_role
345
- end
346
-
347
- end
348
- end
349
-
350
- it "lists domains" do
351
- VCR.use_cassette('idv3_domain') do
352
-
353
- domains = @service.domains
354
- expect(domains).to_not be_nil
355
- expect(domains.length).to_not be 0
356
-
357
- domains_all = @service.domains.all
358
- expect(domains_all).to_not be_nil
359
- expect(domains_all.length).to_not be 0
360
-
361
- default_domain = @service.domains.find_by_id ENV['OS_USER_DOMAIN_ID']||VCR_DOMAIN_ID
362
- expect(default_domain).to_not be_nil
363
-
364
- expect { @service.domains.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
365
- end
366
- end
367
-
368
- it "CRUD domains" do
369
- VCR.use_cassette('idv3_domain_crud') do
370
-
371
- begin
372
- # Create a domain called foobar
373
- foobar_domain = @service.domains.create(:name => 'foobar')
374
- foobar_id = foobar_domain.id
375
- expect(@service.domains.all(:name => 'foobar').length).to be 1
376
-
377
- # Rename it to baz and disable it (required so we can delete it)
378
- foobar_domain.update(:name => 'baz', :enabled => false)
379
- expect(foobar_domain.name).to eq 'baz'
380
-
381
- # Read the domain freshly and check the name & enabled state
382
- expect(@service.domains.all(:name => 'baz').length).to be 1
383
- baz_domain = @service.domains.find_by_id foobar_id
384
- expect(baz_domain).to_not be_nil
385
- expect(baz_domain.name).to eq 'baz'
386
- expect(baz_domain.enabled).to be false
387
- ensure
388
- # Delete the domains
389
- begin
390
- baz_domain.update(:enabled => false) if baz_domain
391
- baz_domain.destroy if baz_domain
392
- foobar_domain.update(:enabled => false) if foobar_domain
393
- foobar_domain.destroy if foobar_domain
394
- rescue
395
- end
396
- # Check that the deletion worked
397
- expect { @service.domains.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
398
- ['foobar', 'baz'].each do |domain_name|
399
- expect(@service.domains.all(:name => domain_name).length).to be 0
400
- end
401
- end
402
- end
403
- end
404
-
405
- it "Manipulates roles on domains" do
406
- # Note that the domain is implicit in the user operations here
407
-
408
- VCR.use_cassette('idv3_domain_roles_mutation') do
409
- begin
410
- foobar_user = @service.users.create(:name => 'foobar_role_user',
411
- :email => 'foobar@example.com',
412
- :password => 's3cret!')
413
-
414
- # User has no roles initially
415
- expect(foobar_user.roles.length).to be 0
416
-
417
- # Create a role and add it to the user in the user's domain
418
- foobar_role = @service.roles.create(:name => 'foobar_role')
419
- foobar_user.grant_role(foobar_role.id)
420
- expect(foobar_user.roles.length).to be 1
421
- assignments = @service.role_assignments.all(:user_id => foobar_user.id)
422
- expect(assignments.length).to be 1
423
- expect(assignments.first.role['id']).to eq foobar_role.id
424
- expect(assignments.first.user['id']).to eq foobar_user.id
425
- expect(assignments.first.scope['domain']['id']).to eq foobar_user.domain_id
426
- expect(assignments.first.links['assignment'].end_with? "/v3/domains/#{foobar_user.domain_id}/users/#{foobar_user.id}/roles/#{foobar_role.id}").to be true
427
-
428
- # Quick test of @service.role_assignments.all while we're at it
429
- all_assignments = @service.role_assignments.all
430
- expect(all_assignments.length).to be >= 1
431
-
432
- # Check that the user has the role
433
- expect(foobar_user.check_role(foobar_role.id)).to be true
434
-
435
- # Revoke the role from the user
436
- foobar_user.revoke_role(foobar_role.id)
437
- expect(foobar_user.check_role(foobar_role.id)).to be false
438
- ensure
439
- foobar_user = @service.users.find_by_name('foobar_role_user').first unless foobar_user
440
- foobar_user.destroy if foobar_user
441
- foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role' }.first unless foobar_role
442
- foobar_role.destroy if foobar_role
443
- end
444
-
445
- end
446
- end
447
-
448
- it "Manipulates roles on domain groups" do
449
- VCR.use_cassette('idv3_domain_group_roles_mutation') do
450
-
451
- begin
452
- # Create a domain called foobar
453
- foobar_domain = @service.domains.create(:name => 'd-foobar')
454
-
455
- # Create a group in this domain
456
- foobar_group = @service.groups.create(:name => 'g-foobar',
457
- :description => "Group of Foobar users",
458
- :domain_id => foobar_domain.id)
459
-
460
- # Create a user in the domain
461
- foobar_user = @service.users.create(:name => 'u-foobar_foobar',
462
- :email => 'foobar@example.com',
463
- :password => 's3cret!',
464
- :domain_id => foobar_domain.id)
465
-
466
- # User has no roles initially
467
- expect(foobar_user.roles.length).to be 0
468
-
469
- # Create a role and add it to the domain group
470
- foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role' }.first
471
- foobar_role.destroy if foobar_role
472
- foobar_role = @service.roles.create(:name => 'foobar_role')
473
-
474
- foobar_group.grant_role foobar_role.id
475
- expect(foobar_group.roles.length).to be 1
476
-
477
- # Add user to the group and check that it inherits the role
478
- expect(foobar_user.check_role foobar_role.id).to be false
479
- expect(@service.role_assignments.all(:user_id => foobar_user.id, :effective => true).length).to be 0
480
- foobar_group.add_user foobar_user.id
481
- expect(foobar_user.check_role foobar_role.id).to be false # Still false in absolute assignment terms
482
- assignments = @service.role_assignments.all(:user_id => foobar_user.id, :effective => true)
483
- expect(assignments.length).to be 1
484
- expect(assignments.first.role['id']).to eq foobar_role.id
485
- expect(assignments.first.user['id']).to eq foobar_user.id
486
- expect(assignments.first.scope['domain']['id']).to eq foobar_user.domain_id
487
- expect(assignments.first.links['assignment'].end_with? "/v3/domains/#{foobar_domain.id}/groups/#{foobar_group.id}/roles/#{foobar_role.id}").to be true
488
- expect(assignments.first.links['membership'].end_with? "/v3/groups/#{foobar_group.id}/users/#{foobar_user.id}").to be true
489
-
490
- group_assignments = @service.role_assignments.all(:group_id => foobar_group.id)
491
- expect(group_assignments.length).to be 1
492
- expect(group_assignments.first.role['id']).to eq foobar_role.id
493
- expect(group_assignments.first.group['id']).to eq foobar_group.id
494
- expect(group_assignments.first.scope['domain']['id']).to eq foobar_user.domain_id
495
- expect(group_assignments.first.links['assignment'].end_with? "/v3/domains/#{foobar_domain.id}/groups/#{foobar_group.id}/roles/#{foobar_role.id}").to be true
496
-
497
- # Revoke the role from the group and check the user no longer has it
498
- foobar_group.revoke_role foobar_role.id
499
- expect(@service.role_assignments.all(:user_id => foobar_user.id, :effective => true).length).to be 0
500
- ensure
501
- # Clean up
502
- foobar_user = @service.users.find_by_name('u-foobar_foobar').first unless foobar_user
503
- foobar_user.destroy if foobar_user
504
- foobar_group = @service.groups.all.select { |group| group.name == 'g-foobar' }.first unless foobar_group
505
- foobar_group.destroy if foobar_group
506
- foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role' }.first unless foobar_role
507
- foobar_role.destroy if foobar_role
508
- foobar_domain = @service.domains.all.select { |domain| domain.name == 'd-foobar' }.first unless foobar_domain
509
- foobar_domain.update(:enabled => false) if foobar_domain
510
- foobar_domain.destroy if foobar_domain
511
- end
512
- end
513
- end
514
-
515
- it "lists roles" do
516
- VCR.use_cassette('idv3_role') do
517
-
518
- roles = @service.roles
519
- expect(roles).to_not be_nil
520
- expect(roles.length).to_not be 0
521
-
522
- roles_all = @service.roles.all
523
- expect(roles_all).to_not be_nil
524
- expect(roles_all.length).to_not be 0
525
-
526
- role_by_id = @service.roles.find_by_id roles_all.first.id
527
- expect(role_by_id).to_not be_nil
528
-
529
- expect { @service.roles.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
530
- end
531
- end
532
-
533
- it "CRUD roles" do
534
- VCR.use_cassette('idv3_role_crud') do
535
-
536
- begin
537
- # Create a role called foobar
538
- foobar_role = @service.roles.create(:name => 'foobar23')
539
- foobar_id = foobar_role.id
540
- expect(@service.roles.all(:name => 'foobar23').length).to be 1
541
-
542
- # Rename it to baz
543
- foobar_role.update(:name => 'baz23')
544
- expect(foobar_role.name).to eq 'baz23'
545
-
546
- # Read the role freshly and check the name & enabled state
547
- expect(@service.roles.all(:name => 'baz23').length).to be 1
548
- baz_role = @service.roles.find_by_id foobar_id
549
- expect(baz_role).to_not be_nil
550
- expect(baz_role.name).to eq 'baz23'
551
- baz_role.destroy
552
- baz_role = nil
553
- # Check that the deletion worked
554
- expect { @service.roles.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
555
- ['foobar23', 'baz23'].each do |role_name|
556
- expect(@service.roles.all(:name => role_name).length).to be 0
557
- end
558
- ensure
559
- # Delete the roles
560
- foobar_by_name = @service.roles.all(:name => 'foobar23').first
561
- foobar_by_name.destroy if foobar_by_name
562
- baz_by_name = @service.roles.all(:name => 'baz23').first
563
- baz_by_name.destroy if baz_by_name
564
- end
565
- end
566
- end
567
-
568
- it "lists projects" do
569
- VCR.use_cassette('idv3_project') do
570
-
571
- projects = @service.projects
572
- expect(projects).to_not be_nil
573
- expect(projects.length).to_not be 0
574
-
575
- projects_all = @service.projects.all
576
- expect(projects_all).to_not be_nil
577
- expect(projects_all.length).to_not be 0
578
- project_byid = @service.projects.find_by_id projects_all.first.id
579
- expect(project_byid).to_not be_nil
580
-
581
- expect { @service.projects.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
582
- end
583
- end
584
-
585
- it "CRUD projects" do
586
- VCR.use_cassette('idv3_project_crud') do
587
-
588
- default_domain = @service.domains.find_by_id ENV['OS_USER_DOMAIN_ID']||VCR_DOMAIN_ID
589
-
590
- begin
591
- # Create a project called foobar - should not work without domain id?
592
- foobar_project = @service.projects.create(:name => 'p-foobar46')
593
- foobar_id = foobar_project.id
594
- expect(@service.projects.all(:name => 'p-foobar46').length).to be 1
595
- expect(foobar_project.domain_id).to eq default_domain.id
596
-
597
- # Rename it to baz and disable it (required so we can delete it)
598
- foobar_project.update(:name => 'p-baz46', :enabled => false)
599
- expect(foobar_project.name).to eq 'p-baz46'
600
-
601
- # Read the project freshly and check the name & enabled state
602
- expect(@service.projects.all(:name => 'p-baz46').length).to be 1
603
- baz_project = @service.projects.find_by_id foobar_id
604
- expect(baz_project).to_not be_nil
605
- expect(baz_project.name).to eq 'p-baz46'
606
- expect(baz_project.enabled).to be false
607
- ensure
608
- # Delete the project
609
- baz_project.destroy
610
-
611
- # Check that the deletion worked
612
- expect { @service.projects.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
613
- ['p-foobar46', 'p-baz46'].each do |project_name|
614
- expect(@service.projects.all(:name => project_name).length).to be 0
615
- end
616
- end
617
- end
618
- end
619
-
620
- it "CRUD & list hierarchical projects" do
621
- VCR.use_cassette('idv3_project_hier_crud_list') do
622
-
623
- default_domain = @service.domains.find_by_id ENV['OS_USER_DOMAIN_ID']||VCR_DOMAIN_ID
624
-
625
- begin
626
- # Create a project called foobar
627
- foobar_project = @service.projects.create(:name => 'p-foobar67')
628
- foobar_id = foobar_project.id
629
-
630
- # Create a sub-project called baz
631
- baz_project = @service.projects.create(:name => 'p-baz67', :parent_id => foobar_id)
632
- baz_id = baz_project.id
633
-
634
- expect(baz_project.parent_id).to eq foobar_id
635
-
636
- # Read the project freshly and check the parent_id
637
- fresh_baz_project = @service.projects.all(:name => 'p-baz67').first
638
- expect(fresh_baz_project).to_not be_nil
639
- expect(fresh_baz_project.parent_id).to eq foobar_id
640
-
641
- # Create another sub-project called boo
642
- boo_project = @service.projects.create(:name => 'p-boo67', :parent_id => foobar_id)
643
- boo_id = boo_project.id
644
-
645
- # Create a sub-project of boo called booboo
646
- booboo_project = @service.projects.create(:name => 'p-booboo67', :parent_id => boo_id)
647
- booboo_id = booboo_project.id
648
-
649
- # Make sure we have a role on all these projects (needed for subtree_as_list and parents_as_list)
650
- prj_role = @service.roles.create(:name => 'r-project67')
651
- [foobar_project, baz_project, boo_project, booboo_project].each do |project|
652
- project.grant_role_to_user(prj_role.id, @service.current_user_id)
653
- end
654
-
655
- # Get the children of foobar, as a tree of IDs
656
- foobar_kids = @service.projects.find_by_id(foobar_id, :subtree_as_ids).subtree
657
- expect(foobar_kids.keys.length).to eq 2
658
-
659
- boo_index = foobar_kids.keys.index boo_id
660
- expect(boo_index).to_not be_nil
661
-
662
- foobar_child_id = foobar_kids.keys[boo_index]
663
- expect(foobar_kids[foobar_child_id].length).to eq 1
664
- foobar_grandchild_id = foobar_kids[foobar_child_id].keys.first
665
- expect(foobar_grandchild_id).to eq booboo_id
666
-
667
- # Get the children of foobar, as a list of objects
668
- foobar_kids = @service.projects.find_by_id(foobar_id, :subtree_as_list).subtree
669
- expect(foobar_kids.length).to eq 3
670
- expect([foobar_kids[0].id,foobar_kids[1].id,foobar_kids[2].id].sort
671
- ).to eq [baz_id, boo_id, booboo_id].sort
672
-
673
- # Create a another sub-project of boo called fooboo and check that it appears in the parent's subtree
674
- fooboo_project = @service.projects.create(:name => 'p-fooboo67', :parent_id => boo_id)
675
- fooboo_id = fooboo_project.id
676
- fooboo_project.grant_role_to_user(prj_role.id, @service.current_user_id)
677
- foobar_new_kids = @service.projects.find_by_id(foobar_id, :subtree_as_list).subtree
678
- expect(foobar_new_kids.length).to eq 4
679
-
680
- # Get the parents of booboo, as a tree of IDs
681
- booboo_parents = @service.projects.find_by_id(booboo_id, :parents_as_ids).parents
682
- expect(booboo_parents.keys.length).to eq 1
683
- booboo_parent_id = booboo_parents.keys.first
684
- expect(booboo_parents[booboo_parent_id].length).to eq 1
685
- booboo_grandparent_id = booboo_parents[booboo_parent_id].keys.first
686
- expect(booboo_grandparent_id).to eq foobar_id
687
- expect(booboo_parents[booboo_parent_id][booboo_grandparent_id]).to be_nil
688
-
689
- # Get the parents of booboo, as a list of objects
690
- booboo_parents = @service.projects.find_by_id(booboo_id, :parents_as_list).parents
691
- expect(booboo_parents.length).to eq 2
692
- expect([booboo_parents[0].id,booboo_parents[1].id].sort).to eq [foobar_id, boo_id].sort
693
- ensure
694
- # Delete the projects
695
- fooboo_project.destroy if fooboo_project
696
- booboo_project.destroy if booboo_project
697
- boo_project.destroy if boo_project
698
- baz_project.destroy if baz_project
699
- foobar_project.destroy if foobar_project
700
- prj_role = @service.roles.all(:name => 'r-project67').first unless prj_role
701
- prj_role.destroy if prj_role
702
- # Check that the deletion worked
703
- expect { @service.projects.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
704
- ['p-booboo67', 'p-fooboo67', 'p-boo67', 'p-baz67', 'p-foobar67'].each do |project_name|
705
- prj = @service.projects.all(:name => project_name).first
706
- prj.destroy if prj
707
- expect(@service.projects.all(:name => project_name).length).to be 0
708
- end
709
- end
710
- end
711
- end
712
-
713
- it "Manipulates projects - add/remove users/groups via role assignment/revocation" do
714
- VCR.use_cassette('idv3_project_group_user_roles_mutation') do
715
-
716
- # Make sure there is no existing project called foobar
717
- @service.projects.all(:name => 'p-foobar69').each do |project|
718
- project.update(:enabled => false)
719
- project.destroy
720
- end
721
- expect(@service.projects.all(:name => 'p-foobar69').length).to be 0
722
-
723
- begin
724
- # Create a project called foobar
725
- foobar_project = @service.projects.create(:name => 'p-foobar69')
726
- # Create a role called baz
727
- @service.roles.all(:name => 'baz').each do |role|
728
- role.update(:enabled => false)
729
- role.destroy
730
- end
731
- baz_role = @service.roles.create(:name => 'baz69')
732
-
733
- # Create a user
734
- foobar_user = @service.users.create(:name => 'u-foobar69',
735
- :email => 'foobar@example.com',
736
- :password => 's3cret!')
737
-
738
- # Create a group and add the user to it
739
- foobar_group = @service.groups.create(:name => 'g-foobar69',
740
- :description => "Group of Foobar users")
741
- foobar_group.add_user foobar_user.id
742
-
743
- # User has no projects initially
744
- expect(foobar_user.projects.length).to be 0
745
- expect(@service.role_assignments.all(:user_id => foobar_user.id,
746
- :project_id => foobar_project.id,
747
- :effective => true).length).to be 0
748
- expect(foobar_project.user_roles(foobar_user.id).length).to be 0
749
-
750
- # Grant role to the user in the new project - this assigns the project to the user
751
- foobar_project.grant_role_to_user(baz_role.id, foobar_user.id)
752
- expect(foobar_user.projects.length).to be 1
753
- expect(foobar_project.check_user_role(foobar_user.id, baz_role.id)).to be true
754
- expect(foobar_project.user_roles(foobar_user.id).length).to be 1
755
-
756
- # Revoke role from the user in the new project - this removes the user from the project
757
- foobar_project.revoke_role_from_user(baz_role.id, foobar_user.id)
758
- expect(foobar_user.projects.length).to be 0
759
- expect(foobar_project.check_user_role(foobar_user.id, baz_role.id)).to be false
760
-
761
- # Group initially has no roles in project
762
- expect(foobar_project.group_roles(foobar_group.id).length).to be 0
763
-
764
- expect(@service.role_assignments.all(:user_id => foobar_user.id,
765
- :project_id => foobar_project.id,
766
- :effective => true).length).to be 0
767
-
768
- # Grant role to the group in the new project - this assigns the project to the group
769
- foobar_project.grant_role_to_group(baz_role.id, foobar_group.id)
770
- expect(foobar_project.check_group_role(foobar_group.id, baz_role.id)).to be true
771
- expect(foobar_project.group_roles(foobar_group.id).length).to be 1
772
-
773
- # Now we check that a user has the role in that project
774
- assignments = @service.role_assignments.all(:user_id => foobar_user.id,
775
- :project_id => foobar_project.id,
776
- :effective => true)
777
- expect(assignments.length).to be 1
778
- expect(assignments.first.role['id']).to eq baz_role.id
779
- expect(assignments.first.user['id']).to eq foobar_user.id
780
- expect(assignments.first.scope['project']['id']).to eq foobar_project.id
781
- expect(assignments.first.links['assignment'].end_with? "/v3/projects/#{foobar_project.id}/groups/#{foobar_group.id}/roles/#{baz_role.id}").to be true
782
- expect(assignments.first.links['membership'].end_with? "/v3/groups/#{foobar_group.id}/users/#{foobar_user.id}").to be true
783
-
784
- # and we check that the user is in the project because of group membership
785
- expect(foobar_user.projects.length).to be 1
786
-
787
- # Revoke role from the group in the new project - this removes the group from the project
788
- foobar_project.revoke_role_from_group(baz_role.id, foobar_group.id)
789
- expect(foobar_user.projects.length).to be 0
790
- expect(foobar_project.check_group_role(foobar_group.id, baz_role.id)).to be false
791
-
792
- ensure
793
- # Clean up
794
- foobar_user.destroy if foobar_user
795
- foobar_group.destroy if foobar_group
796
- baz_role.destroy if baz_role
797
- foobar_project.update(:enabled => false) if foobar_project
798
- foobar_project.destroy if foobar_project
799
- end
800
- end
801
- end
802
-
803
- it "lists services" do
804
- VCR.use_cassette('idv3_service') do
805
-
806
- services = @service.services
807
- expect(services).to_not be_nil
808
- expect(services.length).to_not be 0
809
-
810
- services_all = @service.services.all
811
- expect(services_all).to_not be_nil
812
- expect(services_all.length).to_not be 0
813
-
814
- some_service = @service.services.find_by_id services_all.first.id
815
- expect(some_service).to_not be_nil
816
-
817
- expect { @service.services.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
818
- end
819
- end
820
-
821
- it "CRUD services" do
822
- VCR.use_cassette('idv3_services_crud') do
823
-
824
- all_services = @service.services.all
825
-
826
- begin
827
- # Create a service called foobar
828
- foobar_service = @service.services.create(:type => 'volume', :name => 'foobar')
829
- foobar_id = foobar_service.id
830
- expect(@service.services.all(:type => 'volume').select { |service| service.name == 'foobar' }.length).to be 1
831
-
832
- # Rename it to baz
833
- foobar_service.update(:name => 'baz')
834
- expect(foobar_service.name).to eq 'baz'
835
-
836
- # Read the service freshly and check the name
837
- expect(@service.services.all.select { |service| service.name == 'baz' }.length).to be 1
838
- baz_service = @service.services.find_by_id foobar_id
839
- expect(baz_service).to_not be_nil
840
- expect(baz_service.name).to eq 'baz'
841
- expect(baz_service.type).to eq 'volume'
842
- ensure
843
- # Delete the service
844
- baz_service.destroy if baz_service
845
-
846
- # Check that the deletion worked
847
- expect { @service.services.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
848
- expect(@service.services.all.select { |service| ['foobar', 'baz'].include? service.name }.length).to be 0
849
- end
850
- end
851
- end
852
-
853
- it "lists endpoints" do
854
- VCR.use_cassette('idv3_endpoint') do
855
-
856
- endpoints = @service.endpoints
857
- expect(endpoints).to_not be_nil
858
- expect(endpoints.length).to_not be 0
859
-
860
- endpoints_all = @service.endpoints.all
861
- expect(endpoints_all).to_not be_nil
862
- expect(endpoints_all.length).to_not be 0
863
-
864
- some_endpoint = @service.endpoints.find_by_id endpoints_all.first.id
865
- expect(some_endpoint).to_not be_nil
866
-
867
- expect { @service.endpoints.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
868
- end
869
- end
870
-
871
- it "CRUD endpoints" do
872
- VCR.use_cassette('idv3_endpoints_crud') do
873
-
874
- service = @service.services.all.first
875
- all_endpoints = @service.endpoints.all
876
-
877
- begin
878
- # Create a endpoint called foobar
879
- foobar_endpoint = @service.endpoints.create(:service_id => service.id,
880
- :interface => 'internal',
881
- :name => 'foobar',
882
- :url => 'http://example.com/foobar',
883
- :enabled => false)
884
- foobar_id = foobar_endpoint.id
885
- expect(@service.endpoints.all(:interface => 'internal').select { |endpoint| endpoint.name == 'foobar' }.length).to be 1
886
-
887
- # Rename it to baz
888
- foobar_endpoint.update(:name => 'baz', :url => 'http://example.com/baz')
889
- expect(foobar_endpoint.name).to eq 'baz'
890
- expect(foobar_endpoint.url).to eq 'http://example.com/baz'
891
-
892
- # Read the endpoint freshly and check the name
893
- expect(@service.endpoints.all(:interface => 'internal').select { |endpoint| endpoint.name == 'baz' }.length).to be 1
894
- baz_endpoint = @service.endpoints.find_by_id foobar_id
895
- expect(baz_endpoint).to_not be_nil
896
- expect(baz_endpoint.name).to eq 'baz'
897
- expect(baz_endpoint.url).to eq 'http://example.com/baz'
898
- expect(baz_endpoint.interface).to eq 'internal'
899
- ensure
900
- # Delete the endpoint
901
- baz_endpoint.destroy
902
-
903
- # Check that the deletion worked
904
- expect { @service.endpoints.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
905
- expect(@service.endpoints.all.select { |endpoint| ['foobar', 'baz'].include? endpoint.name }.length).to be 0
906
- end
907
- end
908
- end
909
-
910
- it "lists OS credentials" do
911
- VCR.use_cassette('idv3_credential') do
912
- credentials = @service.os_credentials
913
- expect(credentials).to_not be_nil
914
-
915
- credentials_all = @service.os_credentials.all
916
- expect(credentials_all).to_not be_nil
917
-
918
- expect { @service.os_credentials.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
919
- end
920
- end
921
-
922
- it "CRUD OS credentials" do
923
- VCR.use_cassette('idv3_credential_crud') do
924
-
925
- begin
926
- # Create a user
927
- foobar_user = @service.users.create(:name => 'u-foobar_cred',
928
- :email => 'foobar@example.com',
929
- :password => 's3cret!')
930
- project = @service.projects.all.first
931
-
932
- access_key = '9c4e774a-f644-498f-90c4-970b3f817fc5'
933
- secret_key = '7e084117-b13d-4656-9eca-85376b690897'
934
-
935
- # OpenStack Keystone requires the blob to be a JSON string - i.e. not JSON, but a string containing JSON :-/
936
- blob_json = {:access => access_key,
937
- :secret => secret_key}.to_json
938
-
939
- # Make sure there are no existing ec2 credentials
940
- @service.os_credentials.all.select { |credential| credential.type == 'foo' || credential.type == 'ec2' }.each do |credential|
941
- credential.destroy
942
- end
943
- expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 0
944
-
945
- # Create a credential
946
- foo_credential = @service.os_credentials.create(:type => 'ec2',
947
- :project_id => project.id,
948
- :user_id => foobar_user.id,
949
- :blob => blob_json)
950
- credential_id = foo_credential.id
951
- expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 1
952
-
953
- # Update secret key
954
- new_secret_key = '62307bcd-ca3c-47ae-a114-27a6cadb5bc9'
955
- new_blob_json = {:access => access_key,
956
- :secret => new_secret_key}.to_json
957
- foo_credential.update(:blob => new_blob_json)
958
- expect(JSON.parse(foo_credential.blob)['secret']).to eq new_secret_key
959
-
960
- # Read the credential freshly and check the secret key
961
- expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 1
962
- updated_credential = @service.os_credentials.find_by_id credential_id
963
- expect(updated_credential).to_not be_nil
964
- expect(updated_credential.type).to eq 'ec2'
965
- expect(JSON.parse(updated_credential.blob)['secret']).to eq new_secret_key
966
-
967
- ensure
968
- foobar_user = @service.users.find_by_name('u-foobar_cred').first unless foobar_user
969
- foobar_user.destroy if foobar_user
970
- # Delete the credential
971
- begin
972
- updated_credential.destroy if updated_credential
973
- foo_credential.destroy if foo_credential
974
- rescue
975
- false
976
- end
977
-
978
- # Check that the deletion worked
979
- expect { @service.os_credentials.find_by_id credential_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if credential_id
980
- expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 0
981
- end
982
- end
983
- end
984
-
985
- it "lists policies" do
986
- VCR.use_cassette('idv3_policy') do
987
- policies = @service.policies
988
- expect(policies).to_not be_nil
989
- expect(policies.length).to be 0
990
-
991
- policies_all = @service.policies.all
992
- expect(policies_all).to_not be_nil
993
- expect(policies_all.length).to be 0
994
-
995
- expect { @service.policies.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
996
- end
997
- end
998
-
999
- it "CRUD policies" do
1000
- VCR.use_cassette('idv3_policy_crud') do
1001
-
1002
- blob = {'foobar_user' => ['role:compute-user']}.to_json
1003
-
1004
- # Make sure there are no existing policies
1005
- expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 0
1006
-
1007
- # Create a policy
1008
- foo_policy = @service.policies.create(:type => 'application/json',
1009
- :blob => blob)
1010
- policy_id = foo_policy.id
1011
- expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 1
1012
-
1013
- # Update policy blob
1014
- new_blob = {'baz_user' => ['role:compute-user']}.to_json
1015
- foo_policy.update(:blob => new_blob)
1016
- expect(foo_policy.blob).to eq new_blob
1017
-
1018
- # Read the policy freshly and check the secret key
1019
- expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 1
1020
- updated_policy = @service.policies.find_by_id policy_id
1021
- expect(updated_policy).to_not be_nil
1022
- expect(updated_policy.type).to eq 'application/json'
1023
- expect(updated_policy.blob).to eq new_blob
1024
-
1025
- # Delete the policy
1026
- updated_policy.destroy
1027
-
1028
- # Check that the deletion worked
1029
- expect { @service.policies.find_by_id policy_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
1030
- expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 0
1031
- end
1032
- end
1033
-
1034
- end