fog 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (582) hide show
  1. data/Gemfile.lock +4 -4
  2. data/README.rdoc +2 -2
  3. data/bin/fog +1 -1
  4. data/fog.gemspec +4 -4
  5. data/lib/fog.rb +7 -12
  6. data/lib/fog/{core/bin.rb → bin.rb} +15 -13
  7. data/lib/fog/{aws/bin.rb → bin/aws.rb} +19 -6
  8. data/lib/fog/{bluebox/bin.rb → bin/bluebox.rb} +7 -2
  9. data/lib/fog/{brightbox/bin.rb → bin/brightbox.rb} +6 -1
  10. data/lib/fog/{go_grid/bin.rb → bin/go_grid.rb} +7 -2
  11. data/lib/fog/{google/bin.rb → bin/google.rb} +6 -1
  12. data/lib/fog/{linode/bin.rb → bin/linode.rb} +9 -2
  13. data/lib/fog/{local/bin.rb → bin/local.rb} +7 -2
  14. data/lib/fog/{new_servers/bin.rb → bin/new_servers.rb} +8 -3
  15. data/lib/fog/{rackspace/bin.rb → bin/rackspace.rb} +11 -4
  16. data/lib/fog/{slicehost/bin.rb → bin/slicehost.rb} +8 -1
  17. data/lib/fog/{terremark/bin.rb → bin/terremark.rb} +0 -0
  18. data/lib/fog/bin/terremark_ecloud.rb +28 -0
  19. data/lib/fog/{vcloud/bin.rb → bin/vcloud.rb} +0 -0
  20. data/lib/fog/{zerigo/bin.rb → bin/zerigo.rb} +6 -1
  21. data/lib/fog/cdn.rb +19 -0
  22. data/lib/fog/{aws/cdn.rb → cdn/aws.rb} +17 -2
  23. data/lib/fog/{aws/parsers/cdn → cdn/parsers/aws}/distribution.rb +0 -0
  24. data/lib/fog/{aws/parsers/cdn → cdn/parsers/aws}/get_distribution_list.rb +0 -0
  25. data/lib/fog/{aws/parsers/cdn → cdn/parsers/aws}/post_invalidation.rb +0 -0
  26. data/lib/fog/{rackspace/cdn.rb → cdn/rackspace.rb} +17 -2
  27. data/lib/fog/{aws/requests/cdn → cdn/requests/aws}/delete_distribution.rb +0 -0
  28. data/lib/fog/{aws/requests/cdn → cdn/requests/aws}/get_distribution.rb +1 -1
  29. data/lib/fog/{aws/requests/cdn → cdn/requests/aws}/get_distribution_list.rb +1 -1
  30. data/lib/fog/{aws/requests/cdn → cdn/requests/aws}/post_distribution.rb +3 -3
  31. data/lib/fog/{aws/requests/cdn → cdn/requests/aws}/post_invalidation.rb +1 -1
  32. data/lib/fog/{aws/requests/cdn → cdn/requests/aws}/put_distribution_config.rb +1 -1
  33. data/lib/fog/{rackspace/requests/cdn → cdn/requests/rackspace}/get_containers.rb +0 -0
  34. data/lib/fog/{rackspace/requests/cdn → cdn/requests/rackspace}/head_container.rb +0 -0
  35. data/lib/fog/{rackspace/requests/cdn → cdn/requests/rackspace}/put_container.rb +0 -0
  36. data/lib/fog/{core/compute.rb → compute.rb} +13 -10
  37. data/lib/fog/{aws/compute.rb → compute/aws.rb} +34 -3
  38. data/lib/fog/{bluebox/compute.rb → compute/bluebox.rb} +18 -3
  39. data/lib/fog/{brightbox/compute.rb → compute/brightbox.rb} +34 -19
  40. data/lib/fog/{go_grid/compute.rb → compute/go_grid.rb} +17 -2
  41. data/lib/fog/{linode/compute.rb → compute/linode.rb} +17 -2
  42. data/lib/fog/{aws/models/compute → compute/models/aws}/address.rb +0 -0
  43. data/lib/fog/{aws/models/compute → compute/models/aws}/addresses.rb +1 -1
  44. data/lib/fog/{aws/models/compute → compute/models/aws}/flavor.rb +0 -0
  45. data/lib/fog/{aws/models/compute → compute/models/aws}/flavors.rb +1 -1
  46. data/lib/fog/{aws/models/compute → compute/models/aws}/image.rb +0 -0
  47. data/lib/fog/{aws/models/compute → compute/models/aws}/images.rb +1 -1
  48. data/lib/fog/{aws/models/compute → compute/models/aws}/key_pair.rb +0 -0
  49. data/lib/fog/{aws/models/compute → compute/models/aws}/key_pairs.rb +1 -1
  50. data/lib/fog/{aws/models/compute → compute/models/aws}/security_group.rb +0 -0
  51. data/lib/fog/{aws/models/compute → compute/models/aws}/security_groups.rb +1 -1
  52. data/lib/fog/{aws/models/compute → compute/models/aws}/server.rb +0 -0
  53. data/lib/fog/{aws/models/compute → compute/models/aws}/servers.rb +1 -1
  54. data/lib/fog/{aws/models/compute → compute/models/aws}/snapshot.rb +0 -0
  55. data/lib/fog/{aws/models/compute → compute/models/aws}/snapshots.rb +1 -1
  56. data/lib/fog/{aws/models/compute → compute/models/aws}/tag.rb +0 -0
  57. data/lib/fog/{aws/models/compute → compute/models/aws}/tags.rb +1 -1
  58. data/lib/fog/{aws/models/compute → compute/models/aws}/volume.rb +0 -0
  59. data/lib/fog/{aws/models/compute → compute/models/aws}/volumes.rb +1 -1
  60. data/lib/fog/{bluebox/models/compute → compute/models/bluebox}/flavor.rb +0 -0
  61. data/lib/fog/{bluebox/models/compute → compute/models/bluebox}/flavors.rb +1 -1
  62. data/lib/fog/{bluebox/models/compute → compute/models/bluebox}/image.rb +0 -0
  63. data/lib/fog/{bluebox/models/compute → compute/models/bluebox}/images.rb +1 -1
  64. data/lib/fog/{bluebox/models/compute → compute/models/bluebox}/server.rb +0 -0
  65. data/lib/fog/{bluebox/models/compute → compute/models/bluebox}/servers.rb +1 -1
  66. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/account.rb +0 -0
  67. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/cloud_ip.rb +0 -0
  68. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/cloud_ips.rb +1 -1
  69. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/flavor.rb +0 -0
  70. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/flavors.rb +1 -1
  71. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/image.rb +0 -0
  72. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/images.rb +1 -1
  73. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/load_balancer.rb +0 -0
  74. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/load_balancers.rb +1 -1
  75. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/server.rb +0 -0
  76. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/servers.rb +1 -1
  77. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/user.rb +0 -0
  78. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/users.rb +1 -1
  79. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/zone.rb +0 -0
  80. data/lib/fog/{brightbox/models/compute → compute/models/brightbox}/zones.rb +1 -1
  81. data/lib/fog/{go_grid/models/compute → compute/models/go_grid}/image.rb +0 -0
  82. data/lib/fog/{go_grid/models/compute → compute/models/go_grid}/images.rb +0 -0
  83. data/lib/fog/{go_grid/models/compute → compute/models/go_grid}/server.rb +0 -0
  84. data/lib/fog/{go_grid/models/compute → compute/models/go_grid}/servers.rb +0 -0
  85. data/lib/fog/{rackspace/models/compute → compute/models/rackspace}/flavor.rb +0 -0
  86. data/lib/fog/{rackspace/models/compute → compute/models/rackspace}/flavors.rb +1 -1
  87. data/lib/fog/{rackspace/models/compute → compute/models/rackspace}/image.rb +0 -0
  88. data/lib/fog/{rackspace/models/compute → compute/models/rackspace}/images.rb +1 -1
  89. data/lib/fog/{rackspace/models/compute → compute/models/rackspace}/server.rb +0 -0
  90. data/lib/fog/{rackspace/models/compute → compute/models/rackspace}/servers.rb +1 -1
  91. data/lib/fog/{slicehost/models/compute → compute/models/slicehost}/flavor.rb +0 -0
  92. data/lib/fog/{slicehost/models/compute → compute/models/slicehost}/flavors.rb +1 -1
  93. data/lib/fog/{slicehost/models/compute → compute/models/slicehost}/image.rb +0 -0
  94. data/lib/fog/{slicehost/models/compute → compute/models/slicehost}/images.rb +1 -1
  95. data/lib/fog/{slicehost/models/compute → compute/models/slicehost}/server.rb +0 -0
  96. data/lib/fog/{slicehost/models/compute → compute/models/slicehost}/servers.rb +1 -1
  97. data/lib/fog/{new_servers/compute.rb → compute/new_servers.rb} +17 -2
  98. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/allocate_address.rb +0 -0
  99. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/attach_volume.rb +0 -0
  100. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/basic.rb +0 -0
  101. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/create_image.rb +0 -0
  102. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/create_key_pair.rb +0 -0
  103. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/create_snapshot.rb +0 -0
  104. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/create_volume.rb +0 -0
  105. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/deregister_image.rb +0 -0
  106. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_addresses.rb +0 -0
  107. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_availability_zones.rb +0 -0
  108. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_images.rb +0 -0
  109. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_instances.rb +0 -0
  110. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_key_pairs.rb +0 -0
  111. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_regions.rb +0 -0
  112. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_reserved_instances.rb +0 -0
  113. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_security_groups.rb +0 -0
  114. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_snapshots.rb +0 -0
  115. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_tags.rb +0 -0
  116. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/describe_volumes.rb +0 -0
  117. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/detach_volume.rb +0 -0
  118. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/get_console_output.rb +0 -0
  119. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/import_key_pair.rb +0 -0
  120. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/register_image.rb +0 -0
  121. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/run_instances.rb +0 -0
  122. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/start_stop_instances.rb +0 -0
  123. data/lib/fog/{aws/parsers/compute → compute/parsers/aws}/terminate_instances.rb +0 -0
  124. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/create_slice.rb +0 -0
  125. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/get_backups.rb +0 -0
  126. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/get_flavor.rb +0 -0
  127. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/get_flavors.rb +0 -0
  128. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/get_image.rb +0 -0
  129. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/get_images.rb +0 -0
  130. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/get_slice.rb +0 -0
  131. data/lib/fog/{slicehost/parsers/compute → compute/parsers/slicehost}/get_slices.rb +0 -0
  132. data/lib/fog/compute/parsers/terremark_ecloud/get_catalog.rb +36 -0
  133. data/lib/fog/compute/parsers/terremark_ecloud/get_catalog_item.rb +43 -0
  134. data/lib/fog/compute/parsers/terremark_ecloud/get_ip_addresses.rb +27 -0
  135. data/lib/fog/compute/parsers/terremark_ecloud/get_network.rb +59 -0
  136. data/lib/fog/compute/parsers/terremark_ecloud/get_organization.rb +35 -0
  137. data/lib/fog/compute/parsers/terremark_ecloud/get_vdc.rb +110 -0
  138. data/lib/fog/compute/parsers/terremark_ecloud/get_versions.rb +28 -0
  139. data/lib/fog/compute/parsers/terremark_ecloud/login.rb +27 -0
  140. data/lib/fog/{rackspace/compute.rb → compute/rackspace.rb} +33 -2
  141. data/lib/fog/{aws/requests/compute → compute/requests/aws}/allocate_address.rb +1 -1
  142. data/lib/fog/{aws/requests/compute → compute/requests/aws}/associate_address.rb +0 -0
  143. data/lib/fog/{aws/requests/compute → compute/requests/aws}/attach_volume.rb +1 -1
  144. data/lib/fog/{aws/requests/compute → compute/requests/aws}/authorize_security_group_ingress.rb +0 -0
  145. data/lib/fog/{aws/requests/compute → compute/requests/aws}/create_image.rb +1 -1
  146. data/lib/fog/{aws/requests/compute → compute/requests/aws}/create_key_pair.rb +1 -1
  147. data/lib/fog/{aws/requests/compute → compute/requests/aws}/create_security_group.rb +0 -0
  148. data/lib/fog/{aws/requests/compute → compute/requests/aws}/create_snapshot.rb +1 -1
  149. data/lib/fog/{aws/requests/compute → compute/requests/aws}/create_tags.rb +0 -0
  150. data/lib/fog/{aws/requests/compute → compute/requests/aws}/create_volume.rb +1 -1
  151. data/lib/fog/{aws/requests/compute → compute/requests/aws}/delete_key_pair.rb +0 -0
  152. data/lib/fog/{aws/requests/compute → compute/requests/aws}/delete_security_group.rb +0 -0
  153. data/lib/fog/{aws/requests/compute → compute/requests/aws}/delete_snapshot.rb +0 -0
  154. data/lib/fog/{aws/requests/compute → compute/requests/aws}/delete_tags.rb +0 -0
  155. data/lib/fog/{aws/requests/compute → compute/requests/aws}/delete_volume.rb +0 -0
  156. data/lib/fog/{aws/requests/compute → compute/requests/aws}/deregister_image.rb +1 -1
  157. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_addresses.rb +1 -1
  158. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_availability_zones.rb +1 -1
  159. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_images.rb +1 -1
  160. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_instances.rb +1 -1
  161. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_key_pairs.rb +1 -1
  162. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_regions.rb +1 -1
  163. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_reserved_instances.rb +1 -1
  164. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_security_groups.rb +1 -1
  165. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_snapshots.rb +1 -1
  166. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_tags.rb +1 -1
  167. data/lib/fog/{aws/requests/compute → compute/requests/aws}/describe_volumes.rb +1 -1
  168. data/lib/fog/{aws/requests/compute → compute/requests/aws}/detach_volume.rb +1 -1
  169. data/lib/fog/{aws/requests/compute → compute/requests/aws}/disassociate_address.rb +0 -0
  170. data/lib/fog/{aws/requests/compute → compute/requests/aws}/get_console_output.rb +1 -1
  171. data/lib/fog/{aws/requests/compute → compute/requests/aws}/import_key_pair.rb +1 -1
  172. data/lib/fog/{aws/requests/compute → compute/requests/aws}/modify_image_attributes.rb +0 -0
  173. data/lib/fog/{aws/requests/compute → compute/requests/aws}/modify_snapshot_attribute.rb +0 -0
  174. data/lib/fog/{aws/requests/compute → compute/requests/aws}/reboot_instances.rb +0 -0
  175. data/lib/fog/{aws/requests/compute → compute/requests/aws}/register_image.rb +1 -1
  176. data/lib/fog/{aws/requests/compute → compute/requests/aws}/release_address.rb +0 -0
  177. data/lib/fog/{aws/requests/compute → compute/requests/aws}/revoke_security_group_ingress.rb +0 -0
  178. data/lib/fog/{aws/requests/compute → compute/requests/aws}/run_instances.rb +1 -1
  179. data/lib/fog/{aws/requests/compute → compute/requests/aws}/start_instances.rb +1 -1
  180. data/lib/fog/{aws/requests/compute → compute/requests/aws}/stop_instances.rb +1 -1
  181. data/lib/fog/{aws/requests/compute → compute/requests/aws}/terminate_instances.rb +1 -1
  182. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/create_block.rb +0 -0
  183. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/destroy_block.rb +0 -0
  184. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/get_block.rb +0 -0
  185. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/get_blocks.rb +0 -0
  186. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/get_product.rb +0 -0
  187. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/get_products.rb +0 -0
  188. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/get_template.rb +0 -0
  189. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/get_templates.rb +0 -0
  190. data/lib/fog/{bluebox/requests/compute → compute/requests/bluebox}/reboot_block.rb +0 -0
  191. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/add_nodes_load_balancer.rb +0 -0
  192. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/create_api_client.rb +0 -0
  193. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/create_cloud_ip.rb +0 -0
  194. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/create_image.rb +0 -0
  195. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/create_load_balancer.rb +0 -0
  196. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/create_server.rb +0 -0
  197. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/destroy_api_client.rb +0 -0
  198. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/destroy_cloud_ip.rb +0 -0
  199. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/destroy_image.rb +0 -0
  200. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/destroy_load_balancer.rb +0 -0
  201. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/destroy_server.rb +0 -0
  202. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_account.rb +0 -0
  203. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_api_client.rb +0 -0
  204. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_cloud_ip.rb +0 -0
  205. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_image.rb +0 -0
  206. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_interface.rb +0 -0
  207. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_load_balancer.rb +0 -0
  208. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_server.rb +0 -0
  209. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_server_type.rb +0 -0
  210. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_user.rb +0 -0
  211. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/get_zone.rb +0 -0
  212. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_api_clients.rb +0 -0
  213. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_cloud_ips.rb +0 -0
  214. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_images.rb +0 -0
  215. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_load_balancers.rb +0 -0
  216. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_server_types.rb +0 -0
  217. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_servers.rb +0 -0
  218. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_users.rb +0 -0
  219. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/list_zones.rb +0 -0
  220. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/map_cloud_ip.rb +0 -0
  221. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/remove_nodes_load_balancer.rb +0 -0
  222. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/reset_ftp_password_account.rb +0 -0
  223. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/resize_server.rb +0 -0
  224. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/shutdown_server.rb +0 -0
  225. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/snapshot_server.rb +0 -0
  226. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/start_server.rb +0 -0
  227. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/stop_server.rb +0 -0
  228. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/unmap_cloud_ip.rb +0 -0
  229. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/update_account.rb +0 -0
  230. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/update_api_client.rb +0 -0
  231. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/update_image.rb +0 -0
  232. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/update_load_balancer.rb +0 -0
  233. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/update_server.rb +0 -0
  234. data/lib/fog/{brightbox/requests/compute → compute/requests/brightbox}/update_user.rb +0 -0
  235. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/common_lookup_list.rb +0 -0
  236. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_image_get.rb +0 -0
  237. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_image_list.rb +0 -0
  238. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_ip_list.rb +0 -0
  239. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_loadbalancer_list.rb +0 -0
  240. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_server_add.rb +0 -0
  241. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_server_delete.rb +0 -0
  242. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_server_get.rb +0 -0
  243. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_server_list.rb +0 -0
  244. data/lib/fog/{go_grid/requests/compute → compute/requests/go_grid}/grid_server_power.rb +0 -0
  245. data/lib/fog/{linode/requests/compute → compute/requests/linode}/avail_datacenters.rb +0 -0
  246. data/lib/fog/{linode/requests/compute → compute/requests/linode}/avail_distributions.rb +0 -0
  247. data/lib/fog/{linode/requests/compute → compute/requests/linode}/avail_kernels.rb +0 -0
  248. data/lib/fog/{linode/requests/compute → compute/requests/linode}/avail_linodeplans.rb +0 -0
  249. data/lib/fog/{linode/requests/compute → compute/requests/linode}/avail_stackscripts.rb +0 -0
  250. data/lib/fog/{linode/requests/compute → compute/requests/linode}/linode_create.rb +0 -0
  251. data/lib/fog/{linode/requests/compute → compute/requests/linode}/linode_delete.rb +0 -0
  252. data/lib/fog/{linode/requests/compute → compute/requests/linode}/linode_list.rb +0 -0
  253. data/lib/fog/{linode/requests/compute → compute/requests/linode}/linode_reboot.rb +0 -0
  254. data/lib/fog/{new_servers/requests/compute → compute/requests/new_servers}/add_server.rb +0 -0
  255. data/lib/fog/{new_servers/requests/compute → compute/requests/new_servers}/cancel_server.rb +0 -0
  256. data/lib/fog/{new_servers/requests/compute → compute/requests/new_servers}/get_server.rb +0 -0
  257. data/lib/fog/{new_servers/requests/compute → compute/requests/new_servers}/list_images.rb +0 -0
  258. data/lib/fog/{new_servers/requests/compute → compute/requests/new_servers}/list_plans.rb +0 -0
  259. data/lib/fog/{new_servers/requests/compute → compute/requests/new_servers}/list_servers.rb +0 -0
  260. data/lib/fog/{new_servers/requests/compute → compute/requests/new_servers}/reboot_server.rb +0 -0
  261. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/confirm_resized_server.rb +0 -0
  262. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/create_image.rb +0 -0
  263. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/create_server.rb +0 -0
  264. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/delete_image.rb +0 -0
  265. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/delete_server.rb +0 -0
  266. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/get_flavor_details.rb +0 -0
  267. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/get_image_details.rb +0 -0
  268. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/get_server_details.rb +0 -0
  269. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_addresses.rb +0 -0
  270. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_flavors.rb +0 -0
  271. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_flavors_detail.rb +0 -0
  272. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_images.rb +0 -0
  273. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_images_detail.rb +0 -0
  274. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_private_addresses.rb +0 -0
  275. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_public_addresses.rb +0 -0
  276. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_servers.rb +0 -0
  277. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/list_servers_detail.rb +0 -0
  278. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/reboot_server.rb +0 -0
  279. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/resize_server.rb +0 -0
  280. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/revert_resized_server.rb +0 -0
  281. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/server_action.rb +0 -0
  282. data/lib/fog/{rackspace/requests/compute → compute/requests/rackspace}/update_server.rb +0 -0
  283. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/create_slice.rb +1 -1
  284. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/delete_slice.rb +0 -0
  285. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/get_backups.rb +1 -1
  286. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/get_flavor.rb +1 -1
  287. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/get_flavors.rb +1 -1
  288. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/get_image.rb +1 -1
  289. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/get_images.rb +1 -1
  290. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/get_slice.rb +1 -1
  291. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/get_slices.rb +1 -1
  292. data/lib/fog/{slicehost/requests/compute → compute/requests/slicehost}/reboot_slice.rb +0 -0
  293. data/lib/fog/compute/requests/terremark_ecloud/get_catalog.rb +27 -0
  294. data/lib/fog/compute/requests/terremark_ecloud/get_catalog_item.rb +27 -0
  295. data/lib/fog/compute/requests/terremark_ecloud/get_ip_addresses.rb +27 -0
  296. data/lib/fog/compute/requests/terremark_ecloud/get_network.rb +27 -0
  297. data/lib/fog/compute/requests/terremark_ecloud/get_organization.rb +27 -0
  298. data/lib/fog/compute/requests/terremark_ecloud/get_vdc.rb +27 -0
  299. data/lib/fog/compute/requests/terremark_ecloud/get_versions.rb +32 -0
  300. data/lib/fog/{slicehost/compute.rb → compute/slicehost.rb} +17 -2
  301. data/lib/fog/compute/terremark_ecloud.rb +109 -0
  302. data/lib/fog/core.rb +0 -3
  303. data/lib/fog/core/connection.rb +2 -2
  304. data/lib/fog/core/credentials.rb +2 -1
  305. data/lib/fog/core/parser.rb +4 -0
  306. data/lib/fog/core/provider.rb +2 -6
  307. data/lib/fog/{core/dns.rb → dns.rb} +5 -5
  308. data/lib/fog/{aws/dns.rb → dns/aws.rb} +17 -2
  309. data/lib/fog/{linode/dns.rb → dns/linode.rb} +17 -2
  310. data/lib/fog/{aws/models/dns → dns/models/aws}/record.rb +0 -0
  311. data/lib/fog/{aws/models/dns → dns/models/aws}/records.rb +4 -2
  312. data/lib/fog/{aws/models/dns → dns/models/aws}/zone.rb +1 -1
  313. data/lib/fog/{aws/models/dns → dns/models/aws}/zones.rb +1 -1
  314. data/lib/fog/{linode/models/dns → dns/models/linode}/record.rb +0 -0
  315. data/lib/fog/{linode/models/dns → dns/models/linode}/records.rb +1 -1
  316. data/lib/fog/{linode/models/dns → dns/models/linode}/zone.rb +1 -1
  317. data/lib/fog/{linode/models/dns → dns/models/linode}/zones.rb +1 -1
  318. data/lib/fog/{slicehost/models/dns → dns/models/slicehost}/record.rb +0 -0
  319. data/lib/fog/{slicehost/models/dns → dns/models/slicehost}/records.rb +1 -1
  320. data/lib/fog/{slicehost/models/dns → dns/models/slicehost}/zone.rb +1 -1
  321. data/lib/fog/{slicehost/models/dns → dns/models/slicehost}/zones.rb +1 -1
  322. data/lib/fog/{zerigo/models/dns → dns/models/zerigo}/record.rb +0 -0
  323. data/lib/fog/{zerigo/models/dns → dns/models/zerigo}/records.rb +1 -1
  324. data/lib/fog/{zerigo/models/dns → dns/models/zerigo}/zone.rb +1 -1
  325. data/lib/fog/{zerigo/models/dns → dns/models/zerigo}/zones.rb +1 -1
  326. data/lib/fog/{aws/parsers/dns → dns/parsers/aws}/change_resource_record_sets.rb +0 -0
  327. data/lib/fog/{aws/parsers/dns → dns/parsers/aws}/create_hosted_zone.rb +0 -0
  328. data/lib/fog/{aws/parsers/dns → dns/parsers/aws}/delete_hosted_zone.rb +0 -0
  329. data/lib/fog/{aws/parsers/dns → dns/parsers/aws}/get_change.rb +0 -0
  330. data/lib/fog/{aws/parsers/dns → dns/parsers/aws}/get_hosted_zone.rb +0 -0
  331. data/lib/fog/{aws/parsers/dns → dns/parsers/aws}/list_hosted_zones.rb +0 -0
  332. data/lib/fog/{aws/parsers/dns → dns/parsers/aws}/list_resource_record_sets.rb +0 -0
  333. data/lib/fog/{slicehost/parsers/dns → dns/parsers/slicehost}/create_record.rb +0 -0
  334. data/lib/fog/{slicehost/parsers/dns → dns/parsers/slicehost}/create_zone.rb +0 -0
  335. data/lib/fog/{slicehost/parsers/dns → dns/parsers/slicehost}/get_record.rb +0 -0
  336. data/lib/fog/{slicehost/parsers/dns → dns/parsers/slicehost}/get_records.rb +0 -0
  337. data/lib/fog/{slicehost/parsers/dns → dns/parsers/slicehost}/get_zone.rb +0 -0
  338. data/lib/fog/{slicehost/parsers/dns → dns/parsers/slicehost}/get_zones.rb +0 -0
  339. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/count_hosts.rb +0 -0
  340. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/count_zones.rb +0 -0
  341. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/create_host.rb +0 -0
  342. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/create_zone.rb +0 -0
  343. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/find_hosts.rb +0 -0
  344. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/get_host.rb +0 -0
  345. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/get_zone.rb +0 -0
  346. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/get_zone_stats.rb +0 -0
  347. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/list_hosts.rb +0 -0
  348. data/lib/fog/{zerigo/parsers/dns → dns/parsers/zerigo}/list_zones.rb +0 -0
  349. data/lib/fog/{aws/requests/dns → dns/requests/aws}/change_resource_record_sets.rb +1 -1
  350. data/lib/fog/{aws/requests/dns → dns/requests/aws}/create_hosted_zone.rb +1 -1
  351. data/lib/fog/{aws/requests/dns → dns/requests/aws}/delete_hosted_zone.rb +1 -1
  352. data/lib/fog/{aws/requests/dns → dns/requests/aws}/get_change.rb +1 -1
  353. data/lib/fog/{aws/requests/dns → dns/requests/aws}/get_hosted_zone.rb +1 -1
  354. data/lib/fog/{aws/requests/dns → dns/requests/aws}/list_hosted_zones.rb +1 -1
  355. data/lib/fog/{aws/requests/dns → dns/requests/aws}/list_resource_record_sets.rb +1 -1
  356. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_create.rb +0 -0
  357. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_delete.rb +0 -0
  358. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_list.rb +0 -0
  359. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_resource_create.rb +0 -0
  360. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_resource_delete.rb +0 -0
  361. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_resource_list.rb +0 -0
  362. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_resource_update.rb +0 -0
  363. data/lib/fog/{linode/requests/dns → dns/requests/linode}/domain_update.rb +0 -0
  364. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/create_record.rb +1 -1
  365. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/create_zone.rb +1 -1
  366. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/delete_record.rb +0 -0
  367. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/delete_zone.rb +0 -0
  368. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/get_record.rb +1 -1
  369. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/get_records.rb +1 -1
  370. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/get_zone.rb +1 -1
  371. data/lib/fog/{slicehost/requests/dns → dns/requests/slicehost}/get_zones.rb +1 -1
  372. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/count_hosts.rb +1 -1
  373. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/count_zones.rb +1 -1
  374. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/create_host.rb +1 -1
  375. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/create_zone.rb +1 -1
  376. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/delete_host.rb +0 -0
  377. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/delete_zone.rb +0 -0
  378. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/find_hosts.rb +1 -1
  379. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/get_host.rb +1 -1
  380. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/get_zone.rb +1 -1
  381. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/get_zone_stats.rb +1 -1
  382. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/list_hosts.rb +1 -1
  383. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/list_zones.rb +1 -1
  384. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/update_host.rb +0 -0
  385. data/lib/fog/{zerigo/requests/dns → dns/requests/zerigo}/update_zone.rb +0 -0
  386. data/lib/fog/{slicehost/dns.rb → dns/slicehost.rb} +17 -2
  387. data/lib/fog/{zerigo/dns.rb → dns/zerigo.rb} +18 -3
  388. data/lib/fog/providers.rb +12 -0
  389. data/lib/fog/{aws.rb → providers/aws.rb} +10 -11
  390. data/lib/fog/{bluebox.rb → providers/bluebox.rb} +2 -3
  391. data/lib/fog/providers/brightbox.rb +9 -0
  392. data/lib/fog/{go_grid.rb → providers/go_grid.rb} +2 -3
  393. data/lib/fog/{google.rb → providers/google.rb} +2 -3
  394. data/lib/fog/{linode.rb → providers/linode.rb} +3 -4
  395. data/lib/fog/{local.rb → providers/local.rb} +2 -3
  396. data/lib/fog/{new_servers.rb → providers/new_servers.rb} +2 -3
  397. data/lib/fog/{rackspace.rb → providers/rackspace.rb} +7 -8
  398. data/lib/fog/{slicehost.rb → providers/slicehost.rb} +3 -4
  399. data/lib/fog/providers/terremark_ecloud.rb +17 -0
  400. data/lib/fog/{zerigo.rb → providers/zerigo.rb} +2 -3
  401. data/lib/fog/{core/storage.rb → storage.rb} +6 -6
  402. data/lib/fog/{aws/storage.rb → storage/aws.rb} +32 -2
  403. data/lib/fog/{google/storage.rb → storage/google.rb} +17 -2
  404. data/lib/fog/{local/storage.rb → storage/local.rb} +18 -1
  405. data/lib/fog/{aws/models/storage → storage/models/aws}/directories.rb +1 -1
  406. data/lib/fog/{aws/models/storage → storage/models/aws}/directory.rb +1 -1
  407. data/lib/fog/{aws/models/storage → storage/models/aws}/file.rb +0 -0
  408. data/lib/fog/{aws/models/storage → storage/models/aws}/files.rb +1 -1
  409. data/lib/fog/{google/models/storage → storage/models/google}/directories.rb +1 -1
  410. data/lib/fog/{google/models/storage → storage/models/google}/directory.rb +1 -1
  411. data/lib/fog/{google/models/storage → storage/models/google}/file.rb +0 -0
  412. data/lib/fog/{google/models/storage → storage/models/google}/files.rb +1 -1
  413. data/lib/fog/{local/models/storage → storage/models/local}/directories.rb +1 -1
  414. data/lib/fog/{local/models/storage → storage/models/local}/directory.rb +1 -1
  415. data/lib/fog/{local/models/storage → storage/models/local}/file.rb +0 -0
  416. data/lib/fog/{local/models/storage → storage/models/local}/files.rb +1 -1
  417. data/lib/fog/{rackspace/models/storage → storage/models/rackspace}/directories.rb +1 -1
  418. data/lib/fog/{rackspace/models/storage → storage/models/rackspace}/directory.rb +1 -1
  419. data/lib/fog/{rackspace/models/storage → storage/models/rackspace}/file.rb +0 -0
  420. data/lib/fog/{rackspace/models/storage → storage/models/rackspace}/files.rb +1 -1
  421. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/access_control_list.rb +0 -0
  422. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/complete_multipart_upload.rb +0 -0
  423. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/copy_object.rb +0 -0
  424. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/get_bucket.rb +0 -0
  425. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/get_bucket_location.rb +0 -0
  426. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/get_bucket_logging.rb +0 -0
  427. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/get_bucket_object_versions.rb +0 -0
  428. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/get_bucket_versioning.rb +0 -0
  429. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/get_request_payment.rb +0 -0
  430. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/get_service.rb +0 -0
  431. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/initiate_multipart_upload.rb +0 -0
  432. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/list_multipart_uploads.rb +0 -0
  433. data/lib/fog/{aws/parsers/storage → storage/parsers/aws}/list_parts.rb +0 -0
  434. data/lib/fog/{google/parsers/storage → storage/parsers/google}/access_control_list.rb +0 -0
  435. data/lib/fog/{google/parsers/storage → storage/parsers/google}/copy_object.rb +0 -0
  436. data/lib/fog/{google/parsers/storage → storage/parsers/google}/get_bucket.rb +0 -0
  437. data/lib/fog/{google/parsers/storage → storage/parsers/google}/get_bucket_logging.rb +0 -0
  438. data/lib/fog/{google/parsers/storage → storage/parsers/google}/get_bucket_object_versions.rb +0 -0
  439. data/lib/fog/{google/parsers/storage → storage/parsers/google}/get_bucket_versioning.rb +0 -0
  440. data/lib/fog/{google/parsers/storage → storage/parsers/google}/get_request_payment.rb +0 -0
  441. data/lib/fog/{google/parsers/storage → storage/parsers/google}/get_service.rb +0 -0
  442. data/lib/fog/{rackspace/storage.rb → storage/rackspace.rb} +36 -4
  443. data/lib/fog/{aws/requests/storage → storage/requests/aws}/abort_multipart_upload.rb +0 -0
  444. data/lib/fog/{aws/requests/storage → storage/requests/aws}/complete_multipart_upload.rb +1 -1
  445. data/lib/fog/{aws/requests/storage → storage/requests/aws}/copy_object.rb +1 -1
  446. data/lib/fog/{aws/requests/storage → storage/requests/aws}/delete_bucket.rb +0 -0
  447. data/lib/fog/{aws/requests/storage → storage/requests/aws}/delete_object.rb +0 -0
  448. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_bucket.rb +1 -1
  449. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_bucket_acl.rb +1 -1
  450. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_bucket_location.rb +1 -1
  451. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_bucket_logging.rb +1 -1
  452. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_bucket_object_versions.rb +1 -1
  453. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_bucket_versioning.rb +1 -1
  454. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_object.rb +0 -0
  455. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_object_acl.rb +1 -1
  456. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_object_torrent.rb +0 -0
  457. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_object_url.rb +0 -0
  458. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_request_payment.rb +1 -1
  459. data/lib/fog/{aws/requests/storage → storage/requests/aws}/get_service.rb +1 -1
  460. data/lib/fog/{aws/requests/storage → storage/requests/aws}/head_object.rb +0 -0
  461. data/lib/fog/{aws/requests/storage → storage/requests/aws}/initiate_multipart_upload.rb +1 -1
  462. data/lib/fog/{aws/requests/storage → storage/requests/aws}/list_multipart_uploads.rb +1 -1
  463. data/lib/fog/{aws/requests/storage → storage/requests/aws}/list_parts.rb +1 -1
  464. data/lib/fog/{aws/requests/storage → storage/requests/aws}/post_object_hidden_fields.rb +0 -0
  465. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_bucket.rb +0 -0
  466. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_bucket_acl.rb +0 -0
  467. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_bucket_logging.rb +0 -0
  468. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_bucket_versioning.rb +0 -0
  469. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_object.rb +0 -0
  470. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_object_acl.rb +0 -0
  471. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_object_url.rb +0 -0
  472. data/lib/fog/{aws/requests/storage → storage/requests/aws}/put_request_payment.rb +0 -0
  473. data/lib/fog/{aws/requests/storage → storage/requests/aws}/sync_clock.rb +0 -0
  474. data/lib/fog/{aws/requests/storage → storage/requests/aws}/upload_part.rb +0 -0
  475. data/lib/fog/{google/requests/storage → storage/requests/google}/copy_object.rb +1 -1
  476. data/lib/fog/{google/requests/storage → storage/requests/google}/delete_bucket.rb +0 -0
  477. data/lib/fog/{google/requests/storage → storage/requests/google}/delete_object.rb +0 -0
  478. data/lib/fog/{google/requests/storage → storage/requests/google}/get_bucket.rb +1 -1
  479. data/lib/fog/{google/requests/storage → storage/requests/google}/get_bucket_acl.rb +1 -1
  480. data/lib/fog/{google/requests/storage → storage/requests/google}/get_object.rb +0 -0
  481. data/lib/fog/{google/requests/storage → storage/requests/google}/get_object_acl.rb +1 -1
  482. data/lib/fog/{google/requests/storage → storage/requests/google}/get_object_torrent.rb +0 -0
  483. data/lib/fog/{google/requests/storage → storage/requests/google}/get_object_url.rb +0 -0
  484. data/lib/fog/{google/requests/storage → storage/requests/google}/get_service.rb +1 -1
  485. data/lib/fog/{google/requests/storage → storage/requests/google}/head_object.rb +0 -0
  486. data/lib/fog/{google/requests/storage → storage/requests/google}/put_bucket.rb +0 -0
  487. data/lib/fog/{google/requests/storage → storage/requests/google}/put_bucket_acl.rb +0 -0
  488. data/lib/fog/{google/requests/storage → storage/requests/google}/put_object.rb +0 -0
  489. data/lib/fog/{google/requests/storage → storage/requests/google}/put_object_url.rb +0 -0
  490. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/delete_container.rb +0 -0
  491. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/delete_object.rb +0 -0
  492. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/get_container.rb +0 -0
  493. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/get_containers.rb +0 -0
  494. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/get_object.rb +0 -0
  495. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/head_container.rb +0 -0
  496. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/head_containers.rb +0 -0
  497. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/head_object.rb +0 -0
  498. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/put_container.rb +0 -0
  499. data/lib/fog/{rackspace/requests/storage → storage/requests/rackspace}/put_object.rb +0 -0
  500. data/lib/fog/terremark.rb +1 -1
  501. data/lib/fog/terremark/ecloud.rb +4 -0
  502. data/lib/fog/terremark/vcloud.rb +4 -0
  503. data/lib/fog/vcloud.rb +1 -1
  504. data/lib/fog/vcloud/terremark/ecloud.rb +4 -4
  505. data/lib/fog/vcloud/terremark/vcloud.rb +17 -0
  506. data/spec/aws/models/compute/address_spec.rb +1 -1
  507. data/spec/aws/models/compute/addresses_spec.rb +1 -1
  508. data/spec/aws/models/compute/key_pair_spec.rb +1 -1
  509. data/spec/aws/models/compute/key_pairs_spec.rb +1 -1
  510. data/spec/aws/models/compute/security_group_spec.rb +1 -1
  511. data/spec/aws/models/compute/security_groups_spec.rb +1 -1
  512. data/spec/aws/models/compute/server_spec.rb +1 -1
  513. data/spec/aws/models/compute/snapshot_spec.rb +1 -1
  514. data/spec/aws/models/compute/snapshots_spec.rb +1 -1
  515. data/spec/aws/models/compute/volume_spec.rb +1 -1
  516. data/spec/aws/models/compute/volumes_spec.rb +1 -1
  517. data/spec/spec_helper.rb +2 -2
  518. data/spec/vcloud/bin_spec.rb +1 -1
  519. data/spec/vcloud/models/vdc_spec.rb +1 -1
  520. data/spec/vcloud/requests/get_network_spec.rb +1 -1
  521. data/spec/vcloud/requests/get_organization_spec.rb +1 -1
  522. data/spec/vcloud/requests/get_vdc_spec.rb +1 -1
  523. data/spec/vcloud/requests/get_versions_spec.rb +1 -1
  524. data/spec/vcloud/requests/login_spec.rb +1 -1
  525. data/spec/vcloud/spec_helper.rb +3 -4
  526. data/spec/vcloud/terremark/ecloud/models/backup_internet_service_spec.rb +1 -1
  527. data/spec/vcloud/terremark/ecloud/models/backup_internet_services_spec.rb +1 -1
  528. data/spec/vcloud/terremark/ecloud/models/internet_service_spec.rb +1 -1
  529. data/spec/vcloud/terremark/ecloud/models/internet_services_spec.rb +1 -1
  530. data/spec/vcloud/terremark/ecloud/models/ip_spec.rb +1 -1
  531. data/spec/vcloud/terremark/ecloud/models/ips_spec.rb +1 -1
  532. data/spec/vcloud/terremark/ecloud/models/network_spec.rb +1 -1
  533. data/spec/vcloud/terremark/ecloud/models/networks_spec.rb +1 -1
  534. data/spec/vcloud/terremark/ecloud/models/node_spec.rb +1 -1
  535. data/spec/vcloud/terremark/ecloud/models/nodes_spec.rb +1 -1
  536. data/spec/vcloud/terremark/ecloud/models/public_ip_spec.rb +1 -1
  537. data/spec/vcloud/terremark/ecloud/models/public_ips_spec.rb +1 -1
  538. data/spec/vcloud/terremark/ecloud/models/server_spec.rb +1 -1
  539. data/spec/vcloud/terremark/ecloud/models/vdc_spec.rb +1 -1
  540. data/spec/vcloud/terremark/ecloud/models/vdcs_spec.rb +1 -1
  541. data/spec/vcloud/terremark/ecloud/requests/add_backup_internet_service_spec.rb +1 -1
  542. data/spec/vcloud/terremark/ecloud/requests/add_internet_service_spec.rb +1 -1
  543. data/spec/vcloud/terremark/ecloud/requests/add_node_spec.rb +1 -1
  544. data/spec/vcloud/terremark/ecloud/requests/configure_internet_service_spec.rb +1 -1
  545. data/spec/vcloud/terremark/ecloud/requests/configure_network_ip_spec.rb +1 -1
  546. data/spec/vcloud/terremark/ecloud/requests/configure_node_spec.rb +1 -1
  547. data/spec/vcloud/terremark/ecloud/requests/configure_vapp_spec.rb +1 -1
  548. data/spec/vcloud/terremark/ecloud/requests/delete_internet_service_spec.rb +1 -1
  549. data/spec/vcloud/terremark/ecloud/requests/delete_node_spec.rb +1 -1
  550. data/spec/vcloud/terremark/ecloud/requests/delete_vapp_spec.rb +1 -1
  551. data/spec/vcloud/terremark/ecloud/requests/get_catalog_item_spec.rb +1 -1
  552. data/spec/vcloud/terremark/ecloud/requests/get_catalog_spec.rb +1 -1
  553. data/spec/vcloud/terremark/ecloud/requests/get_customization_options_spec.rb +1 -1
  554. data/spec/vcloud/terremark/ecloud/requests/get_internet_services_spec.rb +1 -1
  555. data/spec/vcloud/terremark/ecloud/requests/get_network_ip_spec.rb +1 -1
  556. data/spec/vcloud/terremark/ecloud/requests/get_network_ips_spec.rb +1 -1
  557. data/spec/vcloud/terremark/ecloud/requests/get_network_spec.rb +1 -1
  558. data/spec/vcloud/terremark/ecloud/requests/get_node_spec.rb +1 -1
  559. data/spec/vcloud/terremark/ecloud/requests/get_nodes_spec.rb +1 -1
  560. data/spec/vcloud/terremark/ecloud/requests/get_public_ip_spec.rb +1 -1
  561. data/spec/vcloud/terremark/ecloud/requests/get_public_ips_spec.rb +1 -1
  562. data/spec/vcloud/terremark/ecloud/requests/get_vapp_spec.rb +1 -1
  563. data/spec/vcloud/terremark/ecloud/requests/get_vdc_spec.rb +1 -1
  564. data/spec/vcloud/terremark/ecloud/requests/instantiate_vapp_template_spec.rb +1 -1
  565. data/spec/vcloud/terremark/ecloud/requests/login_spec.rb +1 -1
  566. data/spec/vcloud/terremark/ecloud/requests/power_off_spec.rb +1 -1
  567. data/spec/vcloud/terremark/ecloud/requests/power_on_spec.rb +1 -1
  568. data/spec/vcloud/vcloud_spec.rb +1 -1
  569. data/tests/compute/requests/brightbox/helper.rb +2 -0
  570. data/tests/compute/requests/terremark_ecloud/catalog_tests.rb +47 -0
  571. data/tests/compute/requests/terremark_ecloud/helper.rb +45 -0
  572. data/tests/compute/requests/terremark_ecloud/network_tests.rb +30 -0
  573. data/tests/compute/requests/terremark_ecloud/organization_tests.rb +23 -0
  574. data/tests/compute/requests/terremark_ecloud/vdc_tests.rb +60 -0
  575. data/tests/helper.rb +30 -3
  576. data/tests/helpers/formats_helper.rb +3 -1
  577. metadata +508 -482
  578. data/lib/fog/aws/ec2.rb +0 -15
  579. data/lib/fog/aws/s3.rb +0 -15
  580. data/lib/fog/brightbox.rb +0 -9
  581. data/lib/fog/rackspace/files.rb +0 -15
  582. data/lib/fog/rackspace/servers.rb +0 -15
@@ -0,0 +1,43 @@
1
+ module Fog
2
+ module Parsers
3
+ module TerremarkEcloud
4
+ module Compute
5
+
6
+ class GetCatalogItem < Fog::Parsers::Base
7
+
8
+ def reset
9
+ @response = { 'Entity' => {}, 'Link' => {}, 'Property' => {} }
10
+ end
11
+
12
+ def start_element(name, attrs = [])
13
+ case name
14
+ when 'CatalogItem'
15
+ for attribute in %w{href type name}
16
+ if value = attr_value(attribute, attrs)
17
+ @response[attribute] = value
18
+ end
19
+ end
20
+ when 'Link', 'Entity'
21
+ for attribute in %w{href name rel type}
22
+ if value = attr_value(attribute, attrs)
23
+ @response[name][attribute] = value
24
+ end
25
+ end
26
+ when 'Property'
27
+ @property_key = attr_value('key', attrs)
28
+ end
29
+
30
+ super
31
+ end
32
+
33
+ def end_element(name)
34
+ case name
35
+ when 'Property'
36
+ @response['Property'][@property_key] = @value
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,27 @@
1
+ module Fog
2
+ module Parsers
3
+ module TerremarkEcloud
4
+ module Compute
5
+
6
+ class GetIpAddresses < Fog::Parsers::Base
7
+
8
+ def reset
9
+ @response = { 'IpAddresses' => [] }
10
+ @ip_address = {}
11
+ end
12
+
13
+ def end_element(name)
14
+ case name
15
+ when 'Id', 'Href', 'Name', 'RnatAddress', 'Server', 'Status'
16
+ @ip_address[name] = @value
17
+ when 'IpAddress'
18
+ @response['IpAddresses'] << @ip_address
19
+ @ip_address = {}
20
+ end
21
+ end
22
+
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,59 @@
1
+ module Fog
2
+ module Parsers
3
+ module TerremarkEcloud
4
+ module Compute
5
+
6
+ class GetNetwork < Fog::Parsers::Base
7
+
8
+ def reset
9
+ @response = {
10
+ 'Configuration' => {},
11
+ 'Features' => {},
12
+ 'Link' => {}
13
+ }
14
+ end
15
+
16
+ def start_element(name, attrs = [])
17
+ case name
18
+ when 'Network'
19
+ for attribute in %w{href name}
20
+ if value = attr_value(attribute, attrs)
21
+ @response[attribute] = value
22
+ end
23
+ end
24
+ when 'Link'
25
+ for attribute in %w{href name rel type}
26
+ if value = attr_value(attribute, attrs)
27
+ @response[name][attribute] = value
28
+ end
29
+ end
30
+ when 'Configuration'
31
+ @in_configuration = true
32
+ when 'Features'
33
+ @in_features = true
34
+ end
35
+
36
+ super
37
+ end
38
+
39
+ def end_element(name)
40
+ case name
41
+ when 'Configuration'
42
+ @in_configuration = false
43
+ when 'Gateway', 'Netmask'
44
+ if @in_configuration
45
+ @response['Configuration'][name] = @value
46
+ end
47
+ when 'Features'
48
+ @in_features = false
49
+ else
50
+ if @in_features
51
+ @response['Features'][name] = @value
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,35 @@
1
+ module Fog
2
+ module Parsers
3
+ module TerremarkEcloud
4
+ module Compute
5
+
6
+ class GetOrganization < Fog::Parsers::Base
7
+
8
+ def reset
9
+ @response = { 'Link' => [] }
10
+ end
11
+
12
+ def start_element(name, attrs = [])
13
+ case name
14
+ when 'Link'
15
+ link = {}
16
+ for attribute in %w{href name rel type}
17
+ if value = attr_value(attribute, attrs)
18
+ link[attribute] = value
19
+ end
20
+ end
21
+ @response['Link'] << link
22
+ when 'Org'
23
+ for attribute in %w{href name}
24
+ if value = attr_value(attribute, attrs)
25
+ @response[attribute] = value
26
+ end
27
+ end
28
+ end
29
+ end
30
+
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,110 @@
1
+ module Fog
2
+ module Parsers
3
+ module TerremarkEcloud
4
+ module Compute
5
+
6
+ class GetVdc < Fog::Parsers::Base
7
+
8
+ def reset
9
+ @response = {
10
+ 'AvailableNetworks' => [],
11
+ 'ComputeCapacity' => {
12
+ 'Cpu' => {},
13
+ 'DeployedVmsQuota' => {},
14
+ 'InstantiatedVmsQuota' => {},
15
+ 'Memory' => {}
16
+ },
17
+ 'Link' => [],
18
+ 'ResourceEntities' => [],
19
+ 'StorageCapacity' => {}
20
+ }
21
+ end
22
+
23
+ def start_element(name, attrs = [])
24
+ case name
25
+ when 'Cpu'
26
+ @in_cpu = true
27
+ when 'DeployedVmsQuota'
28
+ @in_deployed_vms_quota = true
29
+ when 'InstantiatedVmsQuota'
30
+ @in_instantiated_vms_quota = true
31
+ when 'Link'
32
+ link = {}
33
+ for attribute in %w{href name rel type}
34
+ if value = attr_value(attribute, attrs)
35
+ link[attribute] = value
36
+ end
37
+ end
38
+ @response['Link'] << link
39
+ when 'Memory'
40
+ @in_memory = true
41
+ when 'Network'
42
+ network = {}
43
+ for attribute in %w{href name type}
44
+ if value = attr_value(attribute, attrs)
45
+ network[attribute] = value
46
+ end
47
+ end
48
+ @response['AvailableNetworks'] << network
49
+ when 'StorageCapacity'
50
+ @in_storage_capacity = true
51
+ when 'ResourceEntity'
52
+ resource_entity = {}
53
+ for attribute in %w{href name type}
54
+ if value = attr_value(attribute, attrs)
55
+ resource_entity[attribute] = value
56
+ end
57
+ end
58
+ @response['ResourceEntities'] << resource_entity
59
+ when 'Vdc'
60
+ for attribute in %w{href name}
61
+ if value = attr_value(attribute, attrs)
62
+ @response[attribute] = value
63
+ end
64
+ end
65
+ end
66
+ super
67
+ end
68
+
69
+ def end_element(name)
70
+ case name
71
+ when 'Description'
72
+ @response[name] = @value
73
+ when 'Allocated', 'Limit', 'Used'
74
+ if @in_cpu
75
+ @response['ComputeCapacity']['Cpu'][name] = @value.to_i
76
+ elsif @in_deployed_vms_quota
77
+ @response['ComputeCapacity']['DeployedVmsQuota'][name] = @value.to_i
78
+ elsif @in_instantiated_vms_quota
79
+ @response['ComputeCapacity']['InstantiatedVmsQuota'][name] = @value.to_i
80
+ elsif @in_memory
81
+ @response['ComputeCapacity']['Memory'][name] = @value.to_i
82
+ elsif @in_storage_capacity
83
+ @response['StorageCapacity'][name] = @value.to_i
84
+ end
85
+ when 'Cpu'
86
+ @in_cpu = false
87
+ when 'DeployedVmsQuota'
88
+ @in_deployed_vms_quota = false
89
+ when 'InstantiatedVmsQuota'
90
+ @in_instantiated_vms_quota = false
91
+ when 'Memory'
92
+ @in_memory = false
93
+ when 'StorageCapacity'
94
+ @in_storage_capacity = false
95
+ when 'Units'
96
+ if @in_storage_capacity
97
+ @response['StorageCapacity'][name] = @value
98
+ elsif @in_cpu
99
+ @response['ComputeCapacity']['Cpu'][name] = @value
100
+ elsif @in_memory
101
+ @response['ComputeCapacity']['Memory'][name] = @value
102
+ end
103
+ end
104
+ end
105
+
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,28 @@
1
+ module Fog
2
+ module Parsers
3
+ module TerremarkEcloud
4
+ module Compute
5
+
6
+ class GetVersions < Fog::Parsers::Base
7
+
8
+ def reset
9
+ @response = { 'SupportedVersions' => [] }
10
+ @version_info = {}
11
+ end
12
+
13
+ def end_element(name)
14
+ case name
15
+ when 'LoginUrl', 'Version'
16
+ @version_info[name] = @value
17
+ when 'VersionInfo'
18
+ @response['SupportedVersions'] << @version_info
19
+ @version_info = {}
20
+ end
21
+ end
22
+
23
+ end
24
+
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,27 @@
1
+ module Fog
2
+ module Parsers
3
+ module TerremarkEcloud
4
+ module Compute
5
+
6
+ class Login < Fog::Parsers::Base
7
+
8
+ def reset
9
+ @response = { 'OrgList' => [] }
10
+ end
11
+
12
+ def start_element(name, attrs = [])
13
+ case name
14
+ when 'Org'
15
+ @response['OrgList'] << {
16
+ 'href' => attr_value('href', attrs),
17
+ 'name' => attr_value('name', attrs),
18
+ 'type' => attr_value('type', attrs)
19
+ }
20
+ end
21
+ end
22
+
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -1,11 +1,28 @@
1
+ module Fog
2
+ module Rackspace
3
+ class Servers
4
+
5
+ def self.new(attributes = {})
6
+ location = caller.first
7
+ warning = "[yellow][WARN] Fog::Rackspace::Servers#new is deprecated, use Fog::Rackspace::Compute#new instead[/]"
8
+ warning << " [light_black](" << location << ")[/] "
9
+ Formatador.display_line(warning)
10
+ Fog::Rackspace::Compute.new(attributes)
11
+ end
12
+
13
+ end
14
+ end
15
+ end
16
+
1
17
  module Fog
2
18
  module Rackspace
3
19
  class Compute < Fog::Service
4
20
 
5
21
  requires :rackspace_api_key, :rackspace_username
6
22
  recognizes :rackspace_auth_url, :persistent
23
+ recognizes :provider # remove post deprecation
7
24
 
8
- model_path 'fog/rackspace/models/compute'
25
+ model_path 'fog/compute/models/rackspace'
9
26
  model :flavor
10
27
  collection :flavors
11
28
  model :image
@@ -13,7 +30,7 @@ module Fog
13
30
  model :server
14
31
  collection :servers
15
32
 
16
- request_path 'fog/rackspace/requests/compute'
33
+ request_path 'fog/compute/requests/rackspace'
17
34
  request :confirm_resized_server
18
35
  request :create_image
19
36
  request :create_server
@@ -59,6 +76,13 @@ module Fog
59
76
  end
60
77
 
61
78
  def initialize(options={})
79
+ unless options.delete(:provider)
80
+ location = caller.first
81
+ warning = "[yellow][WARN] Fog::Rackspace::Compute.new is deprecated, use Fog::Compute.new(:provider => 'Rackspace') instead[/]"
82
+ warning << " [light_black](" << location << ")[/] "
83
+ Formatador.display_line(warning)
84
+ end
85
+
62
86
  @rackspace_username = options[:rackspace_username]
63
87
  @data = self.class.data[@rackspace_username]
64
88
  end
@@ -68,6 +92,13 @@ module Fog
68
92
  class Real
69
93
 
70
94
  def initialize(options={})
95
+ unless options.delete(:provider)
96
+ location = caller.first
97
+ warning = "[yellow][WARN] Fog::Rackspace::Compute.new is deprecated, use Fog::Compute.new(:provider => 'Rackspace') instead[/]"
98
+ warning << " [light_black](" << location << ")[/] "
99
+ Formatador.display_line(warning)
100
+ end
101
+
71
102
  require 'json'
72
103
  credentials = Fog::Rackspace.authenticate(options)
73
104
  @auth_token = credentials['X-Auth-Token']
@@ -3,7 +3,7 @@ module Fog
3
3
  class Compute
4
4
  class Real
5
5
 
6
- require 'fog/aws/parsers/compute/allocate_address'
6
+ require 'fog/compute/parsers/aws/allocate_address'
7
7
 
8
8
  # Acquire an elastic IP address.
9
9
  #
@@ -3,7 +3,7 @@ module Fog
3
3
  class Compute
4
4
  class Real
5
5
 
6
- require 'fog/aws/parsers/compute/attach_volume'
6
+ require 'fog/compute/parsers/aws/attach_volume'
7
7
 
8
8
  # Attach an Amazon EBS volume with a running instance, exposing as specified device
9
9
  #
@@ -3,7 +3,7 @@ module Fog
3
3
  class Compute
4
4
  class Real
5
5
 
6
- require 'fog/aws/parsers/compute/create_image'
6
+ require 'fog/compute/parsers/aws/create_image'
7
7
 
8
8
  # Create a bootable EBS volume AMI
9
9
  #
@@ -3,7 +3,7 @@ module Fog
3
3
  class Compute
4
4
  class Real
5
5
 
6
- require 'fog/aws/parsers/compute/create_key_pair'
6
+ require 'fog/compute/parsers/aws/create_key_pair'
7
7
 
8
8
  # Create a new key pair
9
9
  #