fog 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (683) hide show
  1. data/.gitignore +5 -0
  2. data/README.rdoc +1 -1
  3. data/Rakefile +3 -16
  4. data/changelog.txt +401 -2
  5. data/docs/_layouts/default.html +1 -1
  6. data/docs/index.markdown +2 -2
  7. data/docs/storage/index.markdown +4 -4
  8. data/fog.gemspec +7 -4
  9. data/lib/fog.rb +1 -1
  10. data/lib/fog/aws.rb +32 -6
  11. data/lib/fog/aws/auto_scaling.rb +1 -18
  12. data/lib/fog/aws/beanstalk.rb +140 -0
  13. data/lib/fog/aws/cloud_formation.rb +1 -18
  14. data/lib/fog/aws/cloud_watch.rb +2 -19
  15. data/lib/fog/aws/compute.rb +16 -21
  16. data/lib/fog/aws/dns.rb +2 -2
  17. data/lib/fog/aws/dynamodb.rb +162 -0
  18. data/lib/fog/aws/elasticache.rb +1 -14
  19. data/lib/fog/aws/elb.rb +34 -26
  20. data/lib/fog/aws/elb/policy_types.rb +35 -0
  21. data/lib/fog/aws/emr.rb +5 -4
  22. data/lib/fog/aws/iam.rb +16 -1
  23. data/lib/fog/aws/models/auto_scaling/activity.rb +1 -1
  24. data/lib/fog/aws/models/auto_scaling/group.rb +2 -2
  25. data/lib/fog/aws/models/beanstalk/application.rb +62 -0
  26. data/lib/fog/aws/models/beanstalk/applications.rb +25 -0
  27. data/lib/fog/aws/models/beanstalk/environment.rb +129 -0
  28. data/lib/fog/aws/models/beanstalk/environments.rb +29 -0
  29. data/lib/fog/aws/models/beanstalk/event.rb +20 -0
  30. data/lib/fog/aws/models/beanstalk/events.rb +19 -0
  31. data/lib/fog/aws/models/beanstalk/template.rb +62 -0
  32. data/lib/fog/aws/models/beanstalk/templates.rb +70 -0
  33. data/lib/fog/aws/models/beanstalk/version.rb +79 -0
  34. data/lib/fog/aws/models/beanstalk/versions.rb +31 -0
  35. data/lib/fog/aws/models/compute/address.rb +7 -4
  36. data/lib/fog/aws/models/compute/addresses.rb +2 -2
  37. data/lib/fog/aws/models/compute/flavors.rb +1 -1
  38. data/lib/fog/aws/models/compute/key_pairs.rb +2 -2
  39. data/lib/fog/aws/models/compute/security_group.rb +2 -2
  40. data/lib/fog/aws/models/compute/security_groups.rb +30 -5
  41. data/lib/fog/aws/models/compute/server.rb +2 -0
  42. data/lib/fog/aws/models/compute/servers.rb +2 -2
  43. data/lib/fog/aws/models/compute/subnet.rb +58 -0
  44. data/lib/fog/aws/models/compute/subnets.rb +99 -0
  45. data/lib/fog/aws/models/compute/volumes.rb +3 -3
  46. data/lib/fog/aws/models/compute/vpc.rb +63 -0
  47. data/lib/fog/aws/models/compute/vpcs.rb +93 -0
  48. data/lib/fog/aws/models/dns/record.rb +37 -23
  49. data/lib/fog/aws/models/elasticache/cluster.rb +1 -1
  50. data/lib/fog/aws/models/elb/listener.rb +9 -7
  51. data/lib/fog/aws/models/storage/directory.rb +22 -1
  52. data/lib/fog/aws/models/storage/file.rb +58 -7
  53. data/lib/fog/aws/models/storage/version.rb +36 -0
  54. data/lib/fog/aws/models/storage/versions.rb +38 -0
  55. data/lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb +3 -3
  56. data/lib/fog/aws/parsers/beanstalk/check_dns_availability.rb +19 -0
  57. data/lib/fog/aws/parsers/beanstalk/create_application.rb +24 -0
  58. data/lib/fog/aws/parsers/beanstalk/create_application_version.rb +26 -0
  59. data/lib/fog/aws/parsers/beanstalk/create_configuration_template.rb +29 -0
  60. data/lib/fog/aws/parsers/beanstalk/create_environment.rb +37 -0
  61. data/lib/fog/aws/parsers/beanstalk/create_storage_location.rb +18 -0
  62. data/lib/fog/aws/parsers/beanstalk/describe_application_versions.rb +26 -0
  63. data/lib/fog/aws/parsers/beanstalk/describe_applications.rb +24 -0
  64. data/lib/fog/aws/parsers/beanstalk/describe_configuration_options.rb +32 -0
  65. data/lib/fog/aws/parsers/beanstalk/describe_configuration_settings.rb +30 -0
  66. data/lib/fog/aws/parsers/beanstalk/describe_environment_resources.rb +26 -0
  67. data/lib/fog/aws/parsers/beanstalk/describe_environments.rb +38 -0
  68. data/lib/fog/aws/parsers/beanstalk/describe_events.rb +27 -0
  69. data/lib/fog/aws/parsers/beanstalk/empty.rb +27 -0
  70. data/lib/fog/aws/parsers/beanstalk/list_available_solution_stacks.rb +21 -0
  71. data/lib/fog/aws/parsers/beanstalk/parser.rb +93 -0
  72. data/lib/fog/aws/parsers/beanstalk/retrieve_environment_info.rb +22 -0
  73. data/lib/fog/aws/parsers/beanstalk/terminate_environment.rb +37 -0
  74. data/lib/fog/aws/parsers/beanstalk/update_application.rb +24 -0
  75. data/lib/fog/aws/parsers/beanstalk/update_application_version.rb +26 -0
  76. data/lib/fog/aws/parsers/beanstalk/update_configuration_template.rb +29 -0
  77. data/lib/fog/aws/parsers/beanstalk/update_environment.rb +37 -0
  78. data/lib/fog/aws/parsers/beanstalk/validate_configuration_settings.rb +22 -0
  79. data/lib/fog/aws/parsers/compute/allocate_address.rb +1 -1
  80. data/lib/fog/aws/parsers/compute/associate_address.rb +25 -0
  81. data/lib/fog/aws/parsers/compute/create_subnet.rb +51 -0
  82. data/lib/fog/aws/parsers/compute/create_vpc.rb +51 -0
  83. data/lib/fog/aws/parsers/compute/delete_subnet.rb +24 -0
  84. data/lib/fog/aws/parsers/compute/delete_vpc.rb +24 -0
  85. data/lib/fog/aws/parsers/compute/describe_addresses.rb +1 -1
  86. data/lib/fog/aws/parsers/compute/describe_images.rb +20 -13
  87. data/lib/fog/aws/parsers/compute/describe_instance_status.rb +62 -29
  88. data/lib/fog/aws/parsers/compute/describe_instances.rb +2 -2
  89. data/lib/fog/aws/parsers/compute/describe_security_groups.rb +4 -4
  90. data/lib/fog/aws/parsers/compute/describe_subnets.rb +49 -0
  91. data/lib/fog/aws/parsers/compute/describe_volume_status.rb +70 -0
  92. data/lib/fog/aws/parsers/compute/describe_vpcs.rb +49 -0
  93. data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +15 -7
  94. data/lib/fog/aws/parsers/elb/describe_load_balancer_policies.rb +64 -0
  95. data/lib/fog/aws/parsers/elb/describe_load_balancer_policy_types.rb +70 -0
  96. data/lib/fog/aws/parsers/sns/confirm_subscription.rb +1 -1
  97. data/lib/fog/aws/parsers/sns/create_topic.rb +1 -1
  98. data/lib/fog/aws/parsers/sns/list_subscriptions.rb +2 -2
  99. data/lib/fog/aws/parsers/sns/list_topics.rb +1 -1
  100. data/lib/fog/aws/parsers/sns/subscribe.rb +1 -1
  101. data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +32 -0
  102. data/lib/fog/aws/parsers/storage/get_bucket_object_versions.rb +1 -1
  103. data/lib/fog/aws/parsers/storage/get_bucket_versioning.rb +1 -1
  104. data/lib/fog/aws/parsers/sts/get_session_token.rb +1 -1
  105. data/lib/fog/aws/rds.rb +19 -21
  106. data/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +10 -1
  107. data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +16 -7
  108. data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +5 -0
  109. data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +13 -3
  110. data/lib/fog/aws/requests/beanstalk/check_dns_availability.rb +27 -0
  111. data/lib/fog/aws/requests/beanstalk/create_application.rb +29 -0
  112. data/lib/fog/aws/requests/beanstalk/create_application_version.rb +41 -0
  113. data/lib/fog/aws/requests/beanstalk/create_configuration_template.rb +44 -0
  114. data/lib/fog/aws/requests/beanstalk/create_environment.rb +50 -0
  115. data/lib/fog/aws/requests/beanstalk/create_storage_location.rb +27 -0
  116. data/lib/fog/aws/requests/beanstalk/delete_application.rb +29 -0
  117. data/lib/fog/aws/requests/beanstalk/delete_application_version.rb +36 -0
  118. data/lib/fog/aws/requests/beanstalk/delete_configuration_template.rb +34 -0
  119. data/lib/fog/aws/requests/beanstalk/delete_environment_configuration.rb +34 -0
  120. data/lib/fog/aws/requests/beanstalk/describe_application_versions.rb +34 -0
  121. data/lib/fog/aws/requests/beanstalk/describe_applications.rb +30 -0
  122. data/lib/fog/aws/requests/beanstalk/describe_configuration_options.rb +40 -0
  123. data/lib/fog/aws/requests/beanstalk/describe_configuration_settings.rb +31 -0
  124. data/lib/fog/aws/requests/beanstalk/describe_environment_resources.rb +29 -0
  125. data/lib/fog/aws/requests/beanstalk/describe_environments.rb +40 -0
  126. data/lib/fog/aws/requests/beanstalk/describe_events.rb +29 -0
  127. data/lib/fog/aws/requests/beanstalk/list_available_solution_stacks.rb +27 -0
  128. data/lib/fog/aws/requests/beanstalk/rebuild_environment.rb +30 -0
  129. data/lib/fog/aws/requests/beanstalk/request_environment_info.rb +29 -0
  130. data/lib/fog/aws/requests/beanstalk/restart_app_server.rb +29 -0
  131. data/lib/fog/aws/requests/beanstalk/retrieve_environment_info.rb +29 -0
  132. data/lib/fog/aws/requests/beanstalk/swap_environment_cnames.rb +29 -0
  133. data/lib/fog/aws/requests/beanstalk/terminate_environment.rb +31 -0
  134. data/lib/fog/aws/requests/beanstalk/update_application.rb +30 -0
  135. data/lib/fog/aws/requests/beanstalk/update_application_version.rb +30 -0
  136. data/lib/fog/aws/requests/beanstalk/update_configuration_template.rb +36 -0
  137. data/lib/fog/aws/requests/beanstalk/update_environment.rb +42 -0
  138. data/lib/fog/aws/requests/beanstalk/validate_configuration_settings.rb +33 -0
  139. data/lib/fog/aws/requests/compute/allocate_address.rb +11 -4
  140. data/lib/fog/aws/requests/compute/associate_address.rb +44 -17
  141. data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +15 -17
  142. data/lib/fog/aws/requests/compute/create_security_group.rb +8 -4
  143. data/lib/fog/aws/requests/compute/create_subnet.rb +79 -0
  144. data/lib/fog/aws/requests/compute/create_tags.rb +3 -2
  145. data/lib/fog/aws/requests/compute/create_vpc.rb +71 -0
  146. data/lib/fog/aws/requests/compute/delete_security_group.rb +22 -4
  147. data/lib/fog/aws/requests/compute/delete_subnet.rb +49 -0
  148. data/lib/fog/aws/requests/compute/delete_vpc.rb +52 -0
  149. data/lib/fog/aws/requests/compute/describe_security_groups.rb +2 -0
  150. data/lib/fog/aws/requests/compute/describe_subnets.rb +66 -0
  151. data/lib/fog/aws/requests/compute/describe_volume_status.rb +50 -0
  152. data/lib/fog/aws/requests/compute/describe_vpcs.rb +62 -0
  153. data/lib/fog/aws/requests/compute/detach_volume.rb +13 -8
  154. data/lib/fog/aws/requests/compute/disassociate_address.rb +7 -5
  155. data/lib/fog/aws/requests/compute/request_spot_instances.rb +5 -1
  156. data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +11 -13
  157. data/lib/fog/aws/requests/compute/run_instances.rb +5 -1
  158. data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +43 -28
  159. data/lib/fog/aws/requests/dns/create_hosted_zone.rb +9 -9
  160. data/lib/fog/aws/requests/dns/delete_hosted_zone.rb +7 -7
  161. data/lib/fog/aws/requests/dns/get_change.rb +5 -5
  162. data/lib/fog/aws/requests/dns/get_hosted_zone.rb +8 -8
  163. data/lib/fog/aws/requests/dns/list_hosted_zones.rb +15 -15
  164. data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +23 -20
  165. data/lib/fog/aws/requests/dynamodb/batch_get_item.rb +43 -0
  166. data/lib/fog/aws/requests/dynamodb/create_table.rb +55 -0
  167. data/lib/fog/aws/requests/dynamodb/delete_item.rb +45 -0
  168. data/lib/fog/aws/requests/dynamodb/delete_table.rb +42 -0
  169. data/lib/fog/aws/requests/dynamodb/describe_table.rb +44 -0
  170. data/lib/fog/aws/requests/dynamodb/get_item.rb +43 -0
  171. data/lib/fog/aws/requests/dynamodb/list_tables.rb +29 -0
  172. data/lib/fog/aws/requests/dynamodb/put_item.rb +41 -0
  173. data/lib/fog/aws/requests/dynamodb/query.rb +44 -0
  174. data/lib/fog/aws/requests/dynamodb/scan.rb +45 -0
  175. data/lib/fog/aws/requests/dynamodb/update_item.rb +49 -0
  176. data/lib/fog/aws/requests/dynamodb/update_table.rb +46 -0
  177. data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +2 -2
  178. data/lib/fog/aws/requests/elasticache/modify_cache_cluster.rb +2 -2
  179. data/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +2 -0
  180. data/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +3 -1
  181. data/lib/fog/aws/requests/elb/create_load_balancer.rb +7 -2
  182. data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +10 -1
  183. data/lib/fog/aws/requests/elb/create_load_balancer_policy.rb +79 -0
  184. data/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +1 -1
  185. data/lib/fog/aws/requests/elb/describe_load_balancer_policies.rb +71 -0
  186. data/lib/fog/aws/requests/elb/describe_load_balancer_policy_types.rb +68 -0
  187. data/lib/fog/aws/requests/elb/describe_load_balancers.rb +5 -1
  188. data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +1 -1
  189. data/lib/fog/aws/requests/emr/run_job_flow.rb +9 -7
  190. data/lib/fog/aws/requests/iam/add_user_to_group.rb +24 -0
  191. data/lib/fog/aws/requests/iam/create_access_key.rb +24 -0
  192. data/lib/fog/aws/requests/iam/create_group.rb +21 -0
  193. data/lib/fog/aws/requests/iam/create_user.rb +21 -0
  194. data/lib/fog/aws/requests/iam/delete_access_key.rb +17 -0
  195. data/lib/fog/aws/requests/iam/delete_group.rb +19 -0
  196. data/lib/fog/aws/requests/iam/delete_user.rb +17 -0
  197. data/lib/fog/aws/requests/iam/delete_user_policy.rb +16 -0
  198. data/lib/fog/aws/requests/iam/list_access_keys.rb +21 -0
  199. data/lib/fog/aws/requests/iam/list_groups.rb +18 -0
  200. data/lib/fog/aws/requests/iam/list_groups_for_user.rb +24 -0
  201. data/lib/fog/aws/requests/iam/list_user_policies.rb +18 -0
  202. data/lib/fog/aws/requests/iam/list_users.rb +17 -0
  203. data/lib/fog/aws/requests/iam/put_user_policy.rb +18 -0
  204. data/lib/fog/aws/requests/iam/remove_user_from_group.rb +19 -0
  205. data/lib/fog/aws/requests/iam/upload_server_certificate.rb +4 -1
  206. data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +30 -1
  207. data/lib/fog/aws/requests/rds/create_db_instance.rb +18 -15
  208. data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +19 -1
  209. data/lib/fog/aws/requests/rds/create_db_security_group.rb +19 -1
  210. data/lib/fog/aws/requests/rds/create_db_snapshot.rb +38 -2
  211. data/lib/fog/aws/requests/rds/delete_db_instance.rb +1 -2
  212. data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +11 -1
  213. data/lib/fog/aws/requests/rds/delete_db_security_group.rb +11 -1
  214. data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +15 -4
  215. data/lib/fog/aws/requests/rds/describe_db_instances.rb +25 -9
  216. data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +19 -1
  217. data/lib/fog/aws/requests/rds/describe_db_parameters.rb +0 -1
  218. data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +49 -3
  219. data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +28 -1
  220. data/lib/fog/aws/requests/rds/modify_db_instance.rb +10 -8
  221. data/lib/fog/aws/requests/rds/reboot_db_instance.rb +6 -6
  222. data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +27 -1
  223. data/lib/fog/aws/requests/sns/confirm_subscription.rb +1 -1
  224. data/lib/fog/aws/requests/sns/delete_topic.rb +1 -1
  225. data/lib/fog/aws/requests/sns/get_topic_attributes.rb +1 -1
  226. data/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb +1 -1
  227. data/lib/fog/aws/requests/sns/publish.rb +1 -1
  228. data/lib/fog/aws/requests/sns/set_topic_attributes.rb +1 -1
  229. data/lib/fog/aws/requests/sns/subscribe.rb +1 -1
  230. data/lib/fog/aws/requests/sns/unsubscribe.rb +1 -1
  231. data/lib/fog/aws/requests/sqs/change_message_visibility.rb +1 -1
  232. data/lib/fog/aws/requests/sqs/delete_message.rb +1 -1
  233. data/lib/fog/aws/requests/sqs/receive_message.rb +13 -14
  234. data/lib/fog/aws/requests/storage/copy_object.rb +3 -5
  235. data/lib/fog/aws/requests/storage/delete_bucket_lifecycle.rb +30 -0
  236. data/lib/fog/aws/requests/storage/delete_object.rb +73 -2
  237. data/lib/fog/aws/requests/storage/get_bucket.rb +3 -2
  238. data/lib/fog/aws/requests/storage/get_bucket_lifecycle.rb +41 -0
  239. data/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +95 -2
  240. data/lib/fog/aws/requests/storage/get_bucket_versioning.rb +32 -0
  241. data/lib/fog/aws/requests/storage/get_object.rb +42 -12
  242. data/lib/fog/aws/requests/storage/get_object_http_url.rb +7 -2
  243. data/lib/fog/aws/requests/storage/get_object_https_url.rb +7 -2
  244. data/lib/fog/aws/requests/storage/head_object.rb +7 -6
  245. data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +48 -0
  246. data/lib/fog/aws/requests/storage/put_bucket_versioning.rb +41 -0
  247. data/lib/fog/aws/requests/storage/put_bucket_website.rb +17 -0
  248. data/lib/fog/aws/requests/storage/put_object.rb +26 -10
  249. data/lib/fog/aws/requests/storage/sync_clock.rb +1 -1
  250. data/lib/fog/aws/requests/sts/get_federation_token.rb +1 -0
  251. data/lib/fog/aws/requests/sts/get_session_token.rb +1 -0
  252. data/lib/fog/aws/ses.rb +2 -7
  253. data/lib/fog/aws/simpledb.rb +1 -18
  254. data/lib/fog/aws/sns.rb +1 -16
  255. data/lib/fog/aws/sqs.rb +2 -12
  256. data/lib/fog/aws/storage.rb +7 -29
  257. data/lib/fog/{new_servers.rb → bare_metal_cloud.rb} +2 -2
  258. data/lib/fog/{new_servers → bare_metal_cloud}/compute.rb +14 -14
  259. data/lib/fog/{new_servers → bare_metal_cloud}/requests/compute/add_server.rb +1 -1
  260. data/lib/fog/{new_servers → bare_metal_cloud}/requests/compute/cancel_server.rb +1 -1
  261. data/lib/fog/{new_servers → bare_metal_cloud}/requests/compute/get_server.rb +1 -1
  262. data/lib/fog/{new_servers → bare_metal_cloud}/requests/compute/list_images.rb +1 -1
  263. data/lib/fog/{new_servers → bare_metal_cloud}/requests/compute/list_plans.rb +1 -1
  264. data/lib/fog/{new_servers → bare_metal_cloud}/requests/compute/list_servers.rb +1 -1
  265. data/lib/fog/{new_servers → bare_metal_cloud}/requests/compute/reboot_server.rb +1 -1
  266. data/lib/fog/bin.rb +4 -1
  267. data/lib/fog/bin/aws.rb +9 -1
  268. data/lib/fog/bin/{new_servers.rb → bare_metal_cloud.rb} +5 -5
  269. data/lib/fog/bin/cloudstack.rb +30 -0
  270. data/lib/fog/bin/joyent.rb +31 -0
  271. data/lib/fog/bin/ovirt.rb +30 -0
  272. data/lib/fog/bin/voxel.rb +1 -1
  273. data/lib/fog/bluebox/compute.rb +4 -0
  274. data/lib/fog/bluebox/models/compute/location.rb +17 -0
  275. data/lib/fog/bluebox/models/compute/locations.rb +28 -0
  276. data/lib/fog/bluebox/models/compute/server.rb +12 -5
  277. data/lib/fog/bluebox/requests/compute/create_block.rb +2 -2
  278. data/lib/fog/bluebox/requests/compute/get_location.rb +26 -0
  279. data/lib/fog/bluebox/requests/compute/get_locations.rb +24 -0
  280. data/lib/fog/brightbox/compute.rb +1 -0
  281. data/lib/fog/brightbox/requests/compute/update_firewall_rule.rb +13 -0
  282. data/lib/fog/cloudstack.rb +28 -0
  283. data/lib/fog/cloudstack/compute.rb +254 -0
  284. data/lib/fog/cloudstack/requests/compute/acquire_ip_address.rb +21 -0
  285. data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +25 -0
  286. data/lib/fog/cloudstack/requests/compute/attach_volume.rb +23 -0
  287. data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +22 -0
  288. data/lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb +20 -0
  289. data/lib/fog/cloudstack/requests/compute/create_account.rb +20 -0
  290. data/lib/fog/cloudstack/requests/compute/create_domain.rb +20 -0
  291. data/lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb +20 -0
  292. data/lib/fog/cloudstack/requests/compute/create_network.rb +20 -0
  293. data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +20 -0
  294. data/lib/fog/cloudstack/requests/compute/create_security_group.rb +20 -0
  295. data/lib/fog/cloudstack/requests/compute/create_snapshot.rb +20 -0
  296. data/lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb +20 -0
  297. data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +22 -0
  298. data/lib/fog/cloudstack/requests/compute/create_user.rb +20 -0
  299. data/lib/fog/cloudstack/requests/compute/create_volume.rb +20 -0
  300. data/lib/fog/cloudstack/requests/compute/delete_account.rb +20 -0
  301. data/lib/fog/cloudstack/requests/compute/delete_domain.rb +20 -0
  302. data/lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb +20 -0
  303. data/lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb +20 -0
  304. data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +20 -0
  305. data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +20 -0
  306. data/lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb +20 -0
  307. data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +21 -0
  308. data/lib/fog/cloudstack/requests/compute/delete_user.rb +20 -0
  309. data/lib/fog/cloudstack/requests/compute/delete_volume.rb +20 -0
  310. data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +33 -0
  311. data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +20 -0
  312. data/lib/fog/cloudstack/requests/compute/detach_volume.rb +21 -0
  313. data/lib/fog/cloudstack/requests/compute/disable_account.rb +20 -0
  314. data/lib/fog/cloudstack/requests/compute/disable_user.rb +20 -0
  315. data/lib/fog/cloudstack/requests/compute/enable_account.rb +20 -0
  316. data/lib/fog/cloudstack/requests/compute/enable_user.rb +20 -0
  317. data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +28 -0
  318. data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +21 -0
  319. data/lib/fog/cloudstack/requests/compute/list_accounts.rb +20 -0
  320. data/lib/fog/cloudstack/requests/compute/list_alerts.rb +20 -0
  321. data/lib/fog/cloudstack/requests/compute/list_async_jobs.rb +20 -0
  322. data/lib/fog/cloudstack/requests/compute/list_capabilities.rb +20 -0
  323. data/lib/fog/cloudstack/requests/compute/list_capacity.rb +20 -0
  324. data/lib/fog/cloudstack/requests/compute/list_clusters.rb +20 -0
  325. data/lib/fog/cloudstack/requests/compute/list_configurations.rb +20 -0
  326. data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +20 -0
  327. data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +20 -0
  328. data/lib/fog/cloudstack/requests/compute/list_domains.rb +20 -0
  329. data/lib/fog/cloudstack/requests/compute/list_events.rb +20 -0
  330. data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +20 -0
  331. data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +20 -0
  332. data/lib/fog/cloudstack/requests/compute/list_hosts.rb +20 -0
  333. data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +20 -0
  334. data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +20 -0
  335. data/lib/fog/cloudstack/requests/compute/list_isos.rb +20 -0
  336. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +23 -0
  337. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +22 -0
  338. data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +20 -0
  339. data/lib/fog/cloudstack/requests/compute/list_networks.rb +20 -0
  340. data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +22 -0
  341. data/lib/fog/cloudstack/requests/compute/list_os_types.rb +22 -0
  342. data/lib/fog/cloudstack/requests/compute/list_pods.rb +20 -0
  343. data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +22 -0
  344. data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +22 -0
  345. data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +20 -0
  346. data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +20 -0
  347. data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +20 -0
  348. data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +20 -0
  349. data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +20 -0
  350. data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +20 -0
  351. data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +20 -0
  352. data/lib/fog/cloudstack/requests/compute/list_templates.rb +20 -0
  353. data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +28 -0
  354. data/lib/fog/cloudstack/requests/compute/list_users.rb +20 -0
  355. data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +20 -0
  356. data/lib/fog/cloudstack/requests/compute/list_volumes.rb +20 -0
  357. data/lib/fog/cloudstack/requests/compute/list_zones.rb +20 -0
  358. data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb +20 -0
  359. data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +20 -0
  360. data/lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb +20 -0
  361. data/lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb +20 -0
  362. data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +20 -0
  363. data/lib/fog/cloudstack/requests/compute/register_user_keys.rb +20 -0
  364. data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +25 -0
  365. data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +21 -0
  366. data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +21 -0
  367. data/lib/fog/cloudstack/requests/compute/start_virtual_machine.rb +20 -0
  368. data/lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb +20 -0
  369. data/lib/fog/cloudstack/requests/compute/update_account.rb +20 -0
  370. data/lib/fog/cloudstack/requests/compute/update_domain.rb +20 -0
  371. data/lib/fog/cloudstack/requests/compute/update_resource_count.rb +20 -0
  372. data/lib/fog/cloudstack/requests/compute/update_user.rb +20 -0
  373. data/lib/fog/cloudstack/requests/compute/update_virtual_machine.rb +20 -0
  374. data/lib/fog/compute.rb +17 -3
  375. data/lib/fog/compute/models/server.rb +11 -0
  376. data/lib/fog/core.rb +1 -3
  377. data/lib/fog/core/connection.rb +2 -2
  378. data/lib/fog/core/errors.rb +8 -2
  379. data/lib/fog/core/model.rb +8 -0
  380. data/lib/fog/core/scp.rb +18 -2
  381. data/lib/fog/dns.rb +1 -0
  382. data/lib/fog/dnsimple/dns.rb +1 -1
  383. data/lib/fog/dynect/models/dns/records.rb +2 -2
  384. data/lib/fog/dynect/requests/dns/get_node_list.rb +2 -1
  385. data/lib/fog/ecloud/compute.rb +1 -1
  386. data/lib/fog/ecloud/requests/compute/add_backup_internet_service.rb +1 -1
  387. data/lib/fog/ecloud/requests/compute/add_internet_service.rb +2 -2
  388. data/lib/fog/ecloud/requests/compute/add_node.rb +1 -1
  389. data/lib/fog/ecloud/requests/compute/clone_vapp.rb +1 -1
  390. data/lib/fog/ecloud/requests/compute/configure_internet_service.rb +1 -1
  391. data/lib/fog/ecloud/requests/compute/configure_network.rb +1 -1
  392. data/lib/fog/ecloud/requests/compute/configure_network_ip.rb +1 -1
  393. data/lib/fog/ecloud/requests/compute/configure_vapp.rb +1 -1
  394. data/lib/fog/ecloud/requests/compute/instantiate_vapp_template.rb +1 -1
  395. data/lib/fog/glesys/compute.rb +4 -2
  396. data/lib/fog/glesys/models/compute/server.rb +14 -14
  397. data/lib/fog/google/requests/storage/get_object.rb +22 -14
  398. data/lib/fog/joyent.rb +8 -0
  399. data/lib/fog/joyent/compute.rb +228 -0
  400. data/lib/fog/joyent/errors.rb +90 -0
  401. data/lib/fog/joyent/models/compute/flavor.rb +17 -0
  402. data/lib/fog/joyent/models/compute/flavors.rb +25 -0
  403. data/lib/fog/joyent/models/compute/image.rb +18 -0
  404. data/lib/fog/joyent/models/compute/images.rb +25 -0
  405. data/lib/fog/joyent/models/compute/key.rb +19 -0
  406. data/lib/fog/joyent/models/compute/keys.rb +34 -0
  407. data/lib/fog/joyent/models/compute/server.rb +117 -0
  408. data/lib/fog/joyent/models/compute/servers.rb +35 -0
  409. data/lib/fog/joyent/models/compute/snapshot.rb +45 -0
  410. data/lib/fog/joyent/models/compute/snapshots.rb +37 -0
  411. data/lib/fog/joyent/requests/compute/add_machine_tags.rb +20 -0
  412. data/lib/fog/joyent/requests/compute/create_key.rb +56 -0
  413. data/lib/fog/joyent/requests/compute/create_machine.rb +16 -0
  414. data/lib/fog/joyent/requests/compute/create_machine_snapshot.rb +18 -0
  415. data/lib/fog/joyent/requests/compute/delete_all_machine_metadata.rb +16 -0
  416. data/lib/fog/joyent/requests/compute/delete_all_machine_tags.rb +15 -0
  417. data/lib/fog/joyent/requests/compute/delete_key.rb +29 -0
  418. data/lib/fog/joyent/requests/compute/delete_machine.rb +15 -0
  419. data/lib/fog/joyent/requests/compute/delete_machine_metadata.rb +18 -0
  420. data/lib/fog/joyent/requests/compute/delete_machine_snapshot.rb +21 -0
  421. data/lib/fog/joyent/requests/compute/delete_machine_tag.rb +15 -0
  422. data/lib/fog/joyent/requests/compute/get_dataset.rb +28 -0
  423. data/lib/fog/joyent/requests/compute/get_key.rb +29 -0
  424. data/lib/fog/joyent/requests/compute/get_machine.rb +29 -0
  425. data/lib/fog/joyent/requests/compute/get_machine_metadata.rb +25 -0
  426. data/lib/fog/joyent/requests/compute/get_machine_snapshot.rb +14 -0
  427. data/lib/fog/joyent/requests/compute/get_machine_tag.rb +19 -0
  428. data/lib/fog/joyent/requests/compute/get_package.rb +33 -0
  429. data/lib/fog/joyent/requests/compute/list_datasets.rb +24 -0
  430. data/lib/fog/joyent/requests/compute/list_keys.rb +25 -0
  431. data/lib/fog/joyent/requests/compute/list_machine_snapshots.rb +14 -0
  432. data/lib/fog/joyent/requests/compute/list_machine_tags.rb +20 -0
  433. data/lib/fog/joyent/requests/compute/list_machines.rb +25 -0
  434. data/lib/fog/joyent/requests/compute/list_packages.rb +36 -0
  435. data/lib/fog/joyent/requests/compute/reboot_machine.rb +15 -0
  436. data/lib/fog/joyent/requests/compute/resize_machine.rb +13 -0
  437. data/lib/fog/joyent/requests/compute/start_machine.rb +16 -0
  438. data/lib/fog/joyent/requests/compute/start_machine_from_snapshot.rb +15 -0
  439. data/lib/fog/joyent/requests/compute/stop_machine.rb +16 -0
  440. data/lib/fog/joyent/requests/compute/update_machine_metadata.rb +15 -0
  441. data/lib/fog/libvirt/compute.rb +5 -3
  442. data/lib/fog/libvirt/models/compute/server.rb +89 -102
  443. data/lib/fog/libvirt/models/compute/servers.rb +2 -1
  444. data/lib/fog/libvirt/models/compute/util.rb +1 -2
  445. data/lib/fog/local/models/storage/file.rb +8 -1
  446. data/lib/fog/local/storage.rb +8 -0
  447. data/lib/fog/ninefold/models/storage/file.rb +8 -0
  448. data/lib/fog/openstack.rb +9 -7
  449. data/lib/fog/openstack/compute.rb +0 -2
  450. data/lib/fog/ovirt.rb +17 -0
  451. data/lib/fog/ovirt/compute.rb +106 -0
  452. data/lib/fog/ovirt/models/compute/cluster.rb +24 -0
  453. data/lib/fog/ovirt/models/compute/clusters.rb +23 -0
  454. data/lib/fog/ovirt/models/compute/interface.rb +22 -0
  455. data/lib/fog/ovirt/models/compute/interfaces.rb +32 -0
  456. data/lib/fog/ovirt/models/compute/server.rb +112 -0
  457. data/lib/fog/ovirt/models/compute/servers.rb +30 -0
  458. data/lib/fog/ovirt/models/compute/template.rb +53 -0
  459. data/lib/fog/ovirt/models/compute/templates.rb +23 -0
  460. data/lib/fog/ovirt/requests/compute/add_interface.rb +23 -0
  461. data/lib/fog/ovirt/requests/compute/create_vm.rb +20 -0
  462. data/lib/fog/ovirt/requests/compute/datacenters.rb +22 -0
  463. data/lib/fog/ovirt/requests/compute/destroy_interface.rb +25 -0
  464. data/lib/fog/ovirt/requests/compute/destroy_vm.rb +22 -0
  465. data/lib/fog/ovirt/requests/compute/get_cluster.rb +18 -0
  466. data/lib/fog/ovirt/requests/compute/get_template.rb +18 -0
  467. data/lib/fog/ovirt/requests/compute/get_virtual_machine.rb +18 -0
  468. data/lib/fog/ovirt/requests/compute/list_clusters.rb +20 -0
  469. data/lib/fog/ovirt/requests/compute/list_networks.rb +17 -0
  470. data/lib/fog/ovirt/requests/compute/list_template_interfaces.rb +20 -0
  471. data/lib/fog/ovirt/requests/compute/list_templates.rb +20 -0
  472. data/lib/fog/ovirt/requests/compute/list_virtual_machines.rb +20 -0
  473. data/lib/fog/ovirt/requests/compute/list_vm_interfaces.rb +20 -0
  474. data/lib/fog/ovirt/requests/compute/mock_files/cluster.xml +20 -0
  475. data/lib/fog/ovirt/requests/compute/mock_files/clusters.xml +39 -0
  476. data/lib/fog/ovirt/requests/compute/mock_files/data_centers.xml +17 -0
  477. data/lib/fog/ovirt/requests/compute/mock_files/nics.xml +10 -0
  478. data/lib/fog/ovirt/requests/compute/mock_files/storage_domains.xml +36 -0
  479. data/lib/fog/ovirt/requests/compute/mock_files/template.xml +39 -0
  480. data/lib/fog/ovirt/requests/compute/mock_files/templates.xml +110 -0
  481. data/lib/fog/ovirt/requests/compute/mock_files/vm.xml +54 -0
  482. data/lib/fog/ovirt/requests/compute/mock_files/vms.xml +152 -0
  483. data/lib/fog/ovirt/requests/compute/storage_domains.rb +22 -0
  484. data/lib/fog/ovirt/requests/compute/update_interface.rb +25 -0
  485. data/lib/fog/ovirt/requests/compute/update_vm.rb +20 -0
  486. data/lib/fog/ovirt/requests/compute/vm_action.rb +26 -0
  487. data/lib/fog/providers.rb +4 -1
  488. data/lib/fog/rackspace/models/compute/flavor.rb +2 -0
  489. data/lib/fog/rackspace/models/storage/directory.rb +5 -1
  490. data/lib/fog/rackspace/models/storage/file.rb +7 -0
  491. data/lib/fog/rackspace/requests/compute/create_image.rb +1 -3
  492. data/lib/fog/rackspace/requests/storage/copy_object.rb +27 -0
  493. data/lib/fog/rackspace/requests/storage/get_object.rb +8 -2
  494. data/lib/fog/rackspace/requests/storage/put_object.rb +6 -5
  495. data/lib/fog/rackspace/storage.rb +1 -0
  496. data/lib/fog/storm_on_demand/compute.rb +1 -1
  497. data/lib/fog/vcloud/compute.rb +85 -30
  498. data/lib/fog/vcloud/models/compute/catalog.rb +1 -1
  499. data/lib/fog/vcloud/models/compute/catalog_item.rb +1 -1
  500. data/lib/fog/vcloud/models/compute/catalogs.rb +2 -4
  501. data/lib/fog/vcloud/models/compute/ip.rb +2 -2
  502. data/lib/fog/vcloud/models/compute/network.rb +3 -9
  503. data/lib/fog/vcloud/models/compute/networks.rb +13 -8
  504. data/lib/fog/vcloud/models/compute/organization.rb +3 -4
  505. data/lib/fog/vcloud/models/compute/organizations.rb +7 -4
  506. data/lib/fog/vcloud/models/compute/server.rb +5 -4
  507. data/lib/fog/vcloud/models/compute/servers.rb +1 -5
  508. data/lib/fog/vcloud/models/compute/task.rb +1 -1
  509. data/lib/fog/vcloud/models/compute/tasks.rb +1 -3
  510. data/lib/fog/vcloud/models/compute/vapp.rb +6 -4
  511. data/lib/fog/vcloud/models/compute/vapps.rb +2 -6
  512. data/lib/fog/vcloud/models/compute/vdc.rb +5 -5
  513. data/lib/fog/vcloud/models/compute/vdcs.rb +2 -5
  514. data/lib/fog/vcloud/requests/compute/clone_vapp.rb +1 -1
  515. data/lib/fog/vcloud/requests/compute/configure_network.rb +1 -1
  516. data/lib/fog/vcloud/requests/compute/configure_network_ip.rb +1 -1
  517. data/lib/fog/vcloud/requests/compute/configure_vapp.rb +1 -1
  518. data/lib/fog/vcloud/requests/compute/configure_vm.rb +1 -1
  519. data/lib/fog/vcloud/requests/compute/instantiate_vapp_template.rb +1 -1
  520. data/lib/fog/vcloud/requests/compute/login.rb +8 -4
  521. data/lib/fog/virtual_box/compute.rb +4 -0
  522. data/lib/fog/vmfusion/models/compute/server.rb +120 -52
  523. data/lib/fog/vmfusion/models/compute/servers.rb +11 -7
  524. data/lib/fog/voxel/compute.rb +1 -1
  525. data/lib/fog/vsphere/compute.rb +5 -0
  526. data/lib/fog/vsphere/models/compute/server.rb +25 -0
  527. data/lib/fog/vsphere/requests/compute/list_virtual_machines.rb +1 -1
  528. data/lib/fog/vsphere/requests/compute/vm_clone.rb +43 -8
  529. data/lib/fog/vsphere/requests/compute/vm_create.rb +97 -0
  530. data/lib/fog/vsphere/requests/compute/vm_migrate.rb +37 -0
  531. data/lib/fog/vsphere/requests/compute/vm_reconfig_cpus.rb +23 -0
  532. data/lib/fog/vsphere/requests/compute/vm_reconfig_hardware.rb +25 -0
  533. data/lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb +23 -0
  534. data/lib/fog/zerigo/models/dns/record.rb +7 -5
  535. data/lib/fog/zerigo/parsers/dns/create_host.rb +3 -1
  536. data/lib/fog/zerigo/parsers/dns/find_hosts.rb +3 -1
  537. data/lib/fog/zerigo/parsers/dns/get_host.rb +3 -1
  538. data/lib/fog/zerigo/parsers/dns/get_zone.rb +3 -1
  539. data/lib/fog/zerigo/parsers/dns/list_hosts.rb +3 -1
  540. data/lib/fog/zerigo/requests/dns/update_host.rb +2 -2
  541. data/spec/ecloud/spec_helper.rb +1 -1
  542. data/tests/aws/models/beanstalk/application_tests.rb +70 -0
  543. data/tests/aws/models/beanstalk/applications_tests.rb +7 -0
  544. data/tests/aws/models/beanstalk/environment_tests.rb +132 -0
  545. data/tests/aws/models/beanstalk/environments_tests.rb +34 -0
  546. data/tests/aws/models/beanstalk/template_tests.rb +47 -0
  547. data/tests/aws/models/beanstalk/templates_tests.rb +62 -0
  548. data/tests/aws/models/beanstalk/version_tests.rb +66 -0
  549. data/tests/aws/models/beanstalk/versions_tests.rb +61 -0
  550. data/tests/aws/models/compute/subnet_tests.rb +5 -0
  551. data/tests/aws/models/compute/subnets_tests.rb +6 -0
  552. data/tests/aws/models/compute/vpc_tests.rb +4 -0
  553. data/tests/aws/models/compute/vpcs_tests.rb +6 -0
  554. data/tests/aws/models/dns/record_tests.rb +23 -0
  555. data/tests/aws/models/dns/records_tests.rb +23 -0
  556. data/tests/aws/models/dns/zone_tests.rb +4 -0
  557. data/tests/aws/models/dns/zones_tests.rb +4 -0
  558. data/tests/aws/models/elb/model_tests.rb +11 -7
  559. data/tests/aws/models/rds/security_group_tests.rb +6 -3
  560. data/tests/aws/models/rds/security_groups_tests.rb +1 -2
  561. data/tests/aws/models/rds/server_tests.rb +5 -3
  562. data/tests/aws/models/rds/servers_tests.rb +1 -3
  563. data/tests/aws/models/rds/snapshot_tests.rb +1 -3
  564. data/tests/aws/models/rds/snapshots_tests.rb +1 -3
  565. data/tests/aws/models/storage/directory_tests.rb +51 -0
  566. data/tests/aws/models/storage/file_tests.rb +80 -0
  567. data/tests/aws/models/storage/files_tests.rb +56 -0
  568. data/tests/aws/models/storage/version_tests.rb +52 -0
  569. data/tests/aws/models/storage/versions_tests.rb +56 -0
  570. data/tests/aws/requests/auto_scaling/helper.rb +2 -2
  571. data/tests/aws/requests/beanstalk/application_tests.rb +140 -0
  572. data/tests/aws/requests/beanstalk/solution_stack_tests.rb +22 -0
  573. data/tests/aws/requests/compute/address_tests.rb +7 -5
  574. data/tests/aws/requests/compute/instance_tests.rb +16 -2
  575. data/tests/aws/requests/compute/security_group_tests.rb +77 -4
  576. data/tests/aws/requests/compute/subnet_tests.rb +36 -0
  577. data/tests/aws/requests/compute/volume_tests.rb +4 -0
  578. data/tests/aws/requests/compute/vpc_tests.rb +34 -0
  579. data/tests/aws/requests/dns/dns_tests.rb +106 -99
  580. data/tests/aws/requests/dns/helper.rb +21 -0
  581. data/tests/aws/requests/dynamodb/item_tests.rb +117 -0
  582. data/tests/aws/requests/dynamodb/table_tests.rb +99 -0
  583. data/tests/aws/requests/elb/helper.rb +33 -0
  584. data/tests/aws/requests/elb/listener_tests.rb +18 -4
  585. data/tests/aws/requests/elb/policy_tests.rb +13 -0
  586. data/tests/aws/requests/iam/access_key_tests.rb +2 -7
  587. data/tests/aws/requests/iam/group_tests.rb +1 -4
  588. data/tests/aws/requests/iam/helper.rb +19 -0
  589. data/tests/aws/requests/iam/server_certificate_tests.rb +5 -0
  590. data/tests/aws/requests/iam/user_policy_tests.rb +4 -11
  591. data/tests/aws/requests/iam/user_tests.rb +19 -12
  592. data/tests/aws/requests/rds/helper.rb +45 -11
  593. data/tests/aws/requests/rds/instance_tests.rb +2 -3
  594. data/tests/aws/requests/rds/parameter_group_tests.rb +1 -7
  595. data/tests/aws/requests/rds/security_group_tests.rb +101 -0
  596. data/tests/aws/requests/storage/bucket_tests.rb +66 -1
  597. data/tests/aws/requests/storage/versioning_tests.rb +188 -0
  598. data/tests/bluebox/requests/compute/block_tests.rb +9 -8
  599. data/tests/bluebox/requests/compute/helper.rb +5 -0
  600. data/tests/bluebox/requests/compute/location_tests.rb +32 -0
  601. data/tests/bluebox/requests/compute/product_tests.rb +10 -4
  602. data/tests/bluebox/requests/compute/template_tests.rb +4 -2
  603. data/tests/brightbox/requests/compute/account_tests.rb +3 -3
  604. data/tests/brightbox/requests/compute/api_client_tests.rb +6 -6
  605. data/tests/brightbox/requests/compute/cloud_ip_tests.rb +7 -7
  606. data/tests/brightbox/requests/compute/helper.rb +33 -8
  607. data/tests/brightbox/requests/compute/image_tests.rb +2 -2
  608. data/tests/brightbox/requests/compute/interface_tests.rb +1 -1
  609. data/tests/brightbox/requests/compute/load_balancer_tests.rb +9 -9
  610. data/tests/brightbox/requests/compute/server_group_tests.rb +8 -8
  611. data/tests/brightbox/requests/compute/server_tests.rb +13 -11
  612. data/tests/brightbox/requests/compute/server_type_tests.rb +2 -2
  613. data/tests/brightbox/requests/compute/user_tests.rb +3 -3
  614. data/tests/brightbox/requests/compute/zone_tests.rb +2 -2
  615. data/tests/cloudstack/requests/disk_offering_tests.rb +29 -0
  616. data/tests/cloudstack/requests/os_type_tests.rb +38 -0
  617. data/tests/cloudstack/requests/security_group_tests.rb +29 -0
  618. data/tests/cloudstack/requests/service_offering_tests.rb +38 -0
  619. data/tests/cloudstack/requests/snapshot_tests.rb +32 -0
  620. data/tests/cloudstack/requests/ssh_key_pair_tests.rb +23 -0
  621. data/tests/cloudstack/requests/template_tests.rb +53 -0
  622. data/tests/cloudstack/requests/virtual_machine_tests.rb +71 -0
  623. data/tests/cloudstack/requests/volume_tests.rb +48 -0
  624. data/tests/cloudstack/requests/zone_tests.rb +33 -0
  625. data/tests/cloudstack/signed_params_tests.rb +12 -0
  626. data/tests/compute/helper.rb +7 -2
  627. data/tests/glesys/requests/compute/helper.rb +146 -123
  628. data/tests/glesys/requests/compute/ip_tests.rb +3 -3
  629. data/tests/glesys/requests/compute/server_tests.rb +50 -12
  630. data/tests/helper.rb +1 -1
  631. data/tests/helpers/formats_helper.rb +1 -1
  632. data/tests/helpers/mock_helper.rb +7 -2
  633. data/tests/joyent/requests/compute/datasets_tests.rb +49 -0
  634. data/tests/joyent/requests/compute/keys_tests.rb +47 -0
  635. data/tests/joyent/requests/compute/machines_tests.rb +67 -0
  636. data/tests/joyent/requests/compute/packages_tests.rb +68 -0
  637. data/tests/ovirt/compute_tests.rb +24 -0
  638. data/tests/ovirt/models/compute/cluster_tests.rb +31 -0
  639. data/tests/ovirt/models/compute/clusters_tests.rb +9 -0
  640. data/tests/ovirt/models/compute/interface_tests.rb +27 -0
  641. data/tests/ovirt/models/compute/interfaces_tests.rb +9 -0
  642. data/tests/ovirt/models/compute/server_tests.rb +51 -0
  643. data/tests/ovirt/models/compute/servers_tests.rb +14 -0
  644. data/tests/ovirt/models/compute/template_tests.rb +28 -0
  645. data/tests/ovirt/models/compute/templates_tests.rb +9 -0
  646. data/tests/ovirt/requests/compute/create_vm_tests.rb +26 -0
  647. data/tests/ovirt/requests/compute/destroy_vm_tests.rb +18 -0
  648. data/tests/ovirt/requests/compute/list_datacenters_tests.rb +13 -0
  649. data/tests/ovirt/requests/compute/list_storage_domains_tests.rb +13 -0
  650. data/tests/ovirt/requests/compute/update_vm_tests.rb +18 -0
  651. data/tests/vcloud/data/api_+_admin_+_network_+_2 +110 -0
  652. data/tests/vcloud/data/api_+_network_+_1 +44 -0
  653. data/tests/vcloud/data/api_+_org_+_ +5 -0
  654. data/tests/vcloud/data/api_+_org_+_1 +17 -0
  655. data/tests/vcloud/data/api_+_sessions +8 -0
  656. data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vapp-1 +1 -1
  657. data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-1 +1 -1
  658. data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-2 +1 -1
  659. data/tests/vcloud/data/api_+_vApp_+_vapp-1 +369 -0
  660. data/tests/vcloud/data/api_+_vApp_+_vm-2 +155 -0
  661. data/tests/vcloud/data/api_+_vdc_+_1 +61 -0
  662. data/tests/vcloud/models/compute/conn_helper.rb +2 -2
  663. data/tests/vcloud/models/compute/network_tests.rb +54 -52
  664. data/tests/vcloud/models/compute/networks_tests.rb +54 -35
  665. data/tests/vcloud/models/compute/organization_tests.rb +17 -10
  666. data/tests/vcloud/models/compute/organizations_tests.rb +10 -8
  667. data/tests/vcloud/models/compute/server_tests.rb +45 -39
  668. data/tests/vcloud/models/compute/servers_tests.rb +17 -10
  669. data/tests/vcloud/models/compute/vapp_tests.rb +26 -21
  670. data/tests/vcloud/models/compute/vapps_tests.rb +13 -11
  671. data/tests/vcloud/models/compute/vdc_tests.rb +40 -34
  672. data/tests/vcloud/models/compute/vdcs_tests.rb +17 -10
  673. data/tests/vsphere/requests/compute/vm_clone_tests.rb +16 -4
  674. data/tests/vsphere/requests/compute/vm_create_tests.rb +20 -0
  675. data/tests/vsphere/requests/compute/vm_migrate_tests.rb +16 -0
  676. data/tests/vsphere/requests/compute/vm_power_on_tests.rb +1 -1
  677. data/tests/vsphere/requests/compute/vm_reconfig_cpus_tests.rb +19 -0
  678. data/tests/vsphere/requests/compute/vm_reconfig_hardware_tests.rb +19 -0
  679. data/tests/vsphere/requests/compute/vm_reconfig_memory_tests.rb +19 -0
  680. metadata +519 -50
  681. data/examples/compute_tests.rb +0 -71
  682. data/examples/dns_tests.rb +0 -78
  683. data/examples/storage_tests.rb +0 -105
data/.gitignore CHANGED
@@ -5,6 +5,10 @@
5
5
  .rvmrc
6
6
  .bundle
7
7
  .DS_Store
8
+ .idea
9
+ bin/*
10
+ !bin/fog
11
+ !bin/rdoc
8
12
  coverage
9
13
  doc/*
10
14
  docs/_site/*
@@ -13,3 +17,4 @@ Gemfile.lock
13
17
  rdoc
14
18
  pkg
15
19
  spec/credentials.yml
20
+ vendor/*
@@ -108,7 +108,7 @@ geemus says: "That should give you everything you need to get started, but let m
108
108
  * Find something you would like to work on. For suggestions look for the `easy`, `medium` and `hard` tags in the {issues}[http://github.com/fog/fog/issues]
109
109
  * Fork the project and do your work in a topic branch.
110
110
  * Add shindo tests to prove your code works and run all the tests using `bundle exec rake`.
111
- * Rebase your branch against geemus/fog to make sure everything is up to date.
111
+ * Rebase your branch against fog/fog to make sure everything is up to date.
112
112
  * Commit your changes and send a pull request.
113
113
 
114
114
  == Additional Resources
data/Rakefile CHANGED
@@ -55,14 +55,8 @@ namespace :test do
55
55
  end
56
56
  end
57
57
 
58
- task :examples do
59
- sh("export FOG_MOCK=false && bundle exec shindont examples")
60
- # some don't provide mocks so we'll leave this out for now
61
- # sh("export FOG_MOCK=true && bundle exec shindont examples")
62
- end
63
-
64
- task :test do # => :examples do
65
- Rake::Task[:mock_tests].invoke && Rake::Task[:examples].invoke && Rake::Task[:real_tests].invoke
58
+ task :test do
59
+ Rake::Task[:mock_tests].invoke && Rake::Task[:real_tests].invoke
66
60
  end
67
61
 
68
62
  def tests(mocked)
@@ -121,14 +115,6 @@ task :nuke do
121
115
  end
122
116
  end
123
117
 
124
- desc "Generate RCov test coverage and open in your browser"
125
- task :coverage do
126
- require 'rcov'
127
- sh "rm -fr coverage"
128
- sh "rcov test/test_*.rb"
129
- sh "open coverage/index.html"
130
- end
131
-
132
118
  require 'rdoc/task'
133
119
  RDoc::Task.new do |rdoc|
134
120
  rdoc.rdoc_dir = 'rdoc'
@@ -252,6 +238,7 @@ task :changelog do
252
238
  'Michael Zeng',
253
239
  'nightshade427',
254
240
  'Patrick Debois',
241
+ 'Stepan G. Fedorov',
255
242
  'Wesley Beary'
256
243
  ].include?(committer)
257
244
  next
@@ -1,3 +1,402 @@
1
+ 1.2.0 03/19/2012 70e0f48fa446dbf233ae31c4f055eb26ea2dadd1
2
+ =========================================================
3
+
4
+ Stats! { 'collaborators' => 30, 'downloads' => 508132, 'forks' => 384, 'open_issues' => 23, 'watchers' => 1874 }
5
+
6
+ MVP! Kevin Menard
7
+
8
+ [AWS]
9
+ Compute: The security group parser was not parsing groupid properly. thanks Christopher Oliver
10
+
11
+ [AWS|DynamoDB]
12
+ table requests. thanks geemus
13
+ cleanup/fixes for tables. thanks geemus
14
+ item requests. thanks geemus
15
+ update item should not be idempotent when an action is specified. thanks geemus
16
+ fix for UpdateItem idempotency. thanks geemus
17
+ first pass at query/scan requests. thanks geemus
18
+ ConsumedCapacityUnits should be a Float. thanks geemus
19
+ add missing pending for mocked tests. thanks geemus
20
+
21
+ [AWS|ELB]
22
+ Added support for InstanceProtocol to listeners. thanks James Stremick
23
+ Updating listener and LB tests to include InstancePort checks. thanks James Stremick
24
+
25
+ [AWS|Storage]
26
+ versioning related fixes copy_object mocks. thanks geemus
27
+ fix for put_bucket_website mock. thanks geemus
28
+ remove redundant mock setup in tests #731. thanks geemus
29
+
30
+ [AWS|storage]
31
+ fix for versioned copy_object. thanks geemus
32
+
33
+ [Brightbox]
34
+ Updates to format tests. thanks Paul Thornthwaite
35
+ Updated Server output format. thanks Paul Thornthwaite
36
+ Updated format test to use correct link name. thanks Paul Thornthwaite
37
+ Updated Image format for min_ram attribute. thanks Paul Thornthwaite
38
+ Updated LoadBalancer format to include listeners in listing. thanks Paul Thornthwaite
39
+ Updated format for nested firewall policies. thanks Paul Thornthwaite
40
+ Merge in various spec corrections. thanks Paul Thornthwaite
41
+ Update format test to not fail on new attributes in JSON. thanks Paul Thornthwaite
42
+ Load balancer listener timeouts are now reported. thanks Paul Thornthwaite
43
+ Correct server snapshot test. thanks Paul Thornthwaite
44
+
45
+ [Compute|OpenStack]
46
+ match auth response to stable/diablo branch of keystone. thanks Todd Willey
47
+
48
+ [Rackspace|Storage]
49
+ set put_object to idempotent. thanks geemus
50
+
51
+ [aws]
52
+ add sts helper. thanks geemus
53
+
54
+ [aws|compute]
55
+ Fixed failing instance tests. thanks Christopher Oliver
56
+ Update API version and support new DescribeInstanceStatus format. thanks Dan Peterson
57
+ Fix allocate_address mocking. thanks Dan Peterson
58
+ Mock detach_volume should raise proper error if volume is not attached. thanks Dan Peterson
59
+ added group id to security group parser and model. thanks bdorry
60
+ added security group get by id method. thanks bdorry
61
+
62
+ [aws|dns]
63
+ Record identity is 'Name'. thanks Aaron Suggs
64
+ Add Record#modify method. thanks Aaron Suggs
65
+ Add model tests. thanks Aaron Suggs
66
+ add test for Record#modify. thanks Aaron Suggs
67
+ Parse IsTruncated as boolean in list_resource_record_set. thanks Aaron Suggs
68
+ Add support for aliasing records to Elastic Load Balancers (API 2011-05-05). thanks James Miller
69
+
70
+ [aws|elb]
71
+ start working on policies. :v:. thanks Dylan Egan
72
+ create policies, describe policies, fix old mocking and yup. :v:. thanks Dylan Egan
73
+ PolicyNotFound. :v:. thanks Dylan Egan
74
+ remove test debugging. :v:. thanks Dylan Egan
75
+ actually raise a PolicyNotFound. :v:. thanks Dylan Egan
76
+ InstanceProtocol support. :v:. thanks Dylan Egan
77
+
78
+ [aws|fog]
79
+ crapiness and hacks. :v:. thanks Dylan Egan
80
+
81
+ [aws|iam]
82
+ Mock upload_server_certificate errors if private key is not RSA. thanks Dan Peterson
83
+ P. :v:. thanks Dylan Egan
84
+
85
+ [aws|rds]
86
+ Mock DB snapshot requests. thanks Aaron Suggs
87
+ Enabled model tests that pass when mocking. thanks Aaron Suggs
88
+
89
+ [aws|storage]
90
+ Simple multipart uploads; supports files > 5GB. thanks Aaron Suggs
91
+ Automatically abort multipart uploads on exceptions. thanks Aaron Suggs
92
+ Add mock for Fog::Storage::AWS#put_bucket_website. thanks Garret Alfert
93
+ Handle S3 object deletions in the face of versioning. thanks Kevin Menard
94
+ Return the object version in the request header and set an attribute value in the model. thanks Kevin Menard
95
+ Allow options to be passed to the destroy method, facilitating passing of versionId. thanks Kevin Menard
96
+ Added ability to control bucket versioning from Directory model. thanks Kevin Menard
97
+ Added the ability to fetch a list of versions from a file. thanks Kevin Menard
98
+ Allow passing of options to fetching versions. thanks Kevin Menard
99
+ Added the pagination offset params to the get_object_bucket_versions parser. thanks Kevin Menard
100
+ Added the MfaDelete value to the get_bucket_versioning parser. thanks Kevin Menard
101
+ Fix put bucket website test, request returns not found when the bucket does not exist. thanks Peter Weldon
102
+ Add bucket lifecycle / object expiration requests. thanks Peter Weldon
103
+ make head_object idempotent. thanks geemus
104
+ direct https urls to subdomains even with dots this may result in ssl warnings, but that seems better than the alternative (redirects) see #611. thanks geemus
105
+
106
+ [aws|storage|test]
107
+ use a random directory key; prevent collision. thanks Aaron Suggs
108
+ Mark multipart upload test as pending. thanks Aaron Suggs
109
+ Added mock support for setting and retrieving versioning on a bucket. thanks Kevin Menard
110
+ Added in versioning support for S3 objects, sans deletion markers. thanks Kevin Menard
111
+ Track if the version is the latest or not. thanks Kevin Menard
112
+ Basic handling of version-id-marker. thanks Kevin Menard
113
+ Added the ability to get_object by versionId. thanks Kevin Menard
114
+ Added S3 versioning support for delete_object. thanks Kevin Menard
115
+ Deal with suspended buckets properly. thanks Kevin Menard
116
+ Added request tests for put_bucket_versioning and get_bucket_versioning. thanks Kevin Menard
117
+ Added tests for get_bucket_object_versions. thanks Kevin Menard
118
+ Added request test for get_object with versioning. thanks Kevin Menard
119
+ Added request tests for delete_object with versioning. thanks Kevin Menard
120
+ Added failing request test for delete_object with versioning. thanks Kevin Menard
121
+ Added in some file and directory model tests. thanks Kevin Menard
122
+ Added model tests for versioning Directory and File models. thanks Kevin Menard
123
+ Added tests for the Version model. thanks Kevin Menard
124
+ Added versioning test for Files collection. thanks Kevin Menard
125
+ Added versioning tests for Versions collection. thanks Kevin Menard
126
+ Added versioning test for Files#head. thanks Kevin Menard
127
+ Removed a commented-out test. thanks Kevin Menard
128
+ Make sure tests pass with both mocking enabled and disabled. thanks Kevin Menard
129
+ Fixed a regression with mocked get_bucket requests, due to a change in the mock data ordering. thanks Kevin Menard
130
+ Fixed handling of options in mocked get_bucket_object_versions. thanks Kevin Menard
131
+ Replaced random ETag implementation with MD5, per S3 docs. thanks Kevin Menard
132
+
133
+ [aws|sts]
134
+ make get_*_token requests idempotent. thanks geemus
135
+
136
+ [beanstalk]
137
+ avoid one remaining error with mocked tests. thanks geemus
138
+
139
+ [cloudstack]
140
+ Fix warning in ruby 1.8.7. thanks Aaron Suggs
141
+ added additional networking support and volume management commands. thanks Brian Dorry
142
+ added unit tests. thanks Brian Dorry
143
+ skip ssl verification. thanks geemus
144
+
145
+ [cloudstack|compute]
146
+ merged in upstream. thanks bdorry
147
+ added ssh key support, snapshot policy support. thanks bdorry
148
+ added update resource count action. thanks bdorry
149
+
150
+ [compute|aws]
151
+ fix for describe_images parser that accidently split records. thanks geemus
152
+ fix error in describe_security_groups parser closes #678. thanks geemus
153
+
154
+ [compute|cloudstack]
155
+ added basic cloudstack list support. thanks bdorry
156
+ added user management support. thanks bdorry
157
+ added domain management support. thanks bdorry
158
+ added domain management support, added documentation links to existing cloudstack requests. thanks bdorry
159
+
160
+ [core]
161
+ no need to expand the already exanded __LIB_DIR__. thanks geemus
162
+ update connection to use new excon response_block format. thanks geemus
163
+
164
+ [docs]
165
+ Update GitHub repository references from geemus/fog to fog/fog. thanks Benjamin Manns
166
+
167
+ [dynect|dns]
168
+ Pass zone.records.all options through to get_node_list. thanks Dan Peterson
169
+
170
+ [glesys|compute]
171
+ fix for changes in api. thanks Anton Lindström
172
+
173
+ [joyent|compute]
174
+ rename _test files to _tests for shindo. thanks geemus
175
+ make password required. thanks geemus
176
+ fix format of joyent to match real output and remove mock-only test. thanks geemus
177
+
178
+ [local|storage]
179
+ Fix Local::File deletion for Ruby 1.8. thanks Benjamin Manns
180
+ Add copy_object method to Local::Storage. thanks Benjamin Manns
181
+ Add copy method to Local::File. thanks Benjamin Manns
182
+
183
+ [misc]
184
+ whitespace. thanks Aaron Suggs
185
+ fix typo in comment. thanks Aaron Suggs
186
+ whitespace cleanup. thanks Aaron Suggs
187
+ Refactor to support ruby 1.8.7. thanks Aaron Suggs
188
+ Whoops, don't need to require digest/md5. thanks Aaron Suggs
189
+ whitespace. thanks Aaron Suggs
190
+ Adds Supprt for oVirt (http://ovirt.org). thanks Amos Benari
191
+ oVirt: Added tests to work on both real and mock. thanks Amos Benari
192
+ Removing duplicates from reservation's groupSet. thanks Artem
193
+ Remove coverage Rake task. thanks Benjamin Manns
194
+ Remove a step that referenced a private config file. thanks Bob Briski
195
+ updated cloudstack tests for user level permissions, added ssh key, disk offering, service offering, os type, security group tests. thanks Brian Dorry
196
+ Adding update_firewall_rule request. thanks Caius Durling
197
+ Correct an error with long keys where Base64.encode64 would add "\n" at 60 chars. thanks Chris Hasenpflug
198
+ Use gsub for Ruby 1.8.7 compatibility. thanks Chris Hasenpflug
199
+ Correct copy & paste error. thanks Chris Hasenpflug
200
+ implement #scp_download method to allow downloads in addition to uploads via scp. alias #scp method as #scp_upload. thanks Christoph Schiessl
201
+ tests for scp_download. thanks Christoph Schiessl
202
+ Removed various 'puts' statements... thanks Christopher Oliver
203
+ fix for free choice of region. thanks Daniel Schweighoefer
204
+ save the region in a instance variable. thanks Daniel Schweighoefer
205
+ rounding out API coverage in 'Virtual Machine section. thanks David Nalley
206
+ mock #create_user and #create_access_keys". thanks Edward Muller
207
+ fix typo. thanks Edward Muller
208
+ Enable Shindo tests for the mocked methods. thanks Edward Muller
209
+ Refactor mock data structure. thanks Edward Muller
210
+ mock #put_user_policy. thanks Edward Muller
211
+ Mock out #list_users. thanks Edward Muller
212
+ Mock #delete_user_policy. thanks Edward Muller
213
+ Move this is Mock.key_id and don't default the path. thanks Edward Muller
214
+ Add group mock data. thanks Edward Muller
215
+ Use #has_key? instead of #keys.include?. thanks Edward Muller
216
+ rework these to use #tap instead. Cleaner IMNSHO. thanks Edward Muller
217
+ Additional mocks. thanks Edward Muller
218
+ missing raise. thanks Edward Muller
219
+ DescribeVolumeStatus. thanks Edward Muller
220
+ Add code to support the creation and modification of security groups existing in a VPC. thanks Eric Stonfer
221
+ modified security group tests to accomodate the new security group data model. Also allowed permissions to be nil in the security tests for groups with no ACLs. thanks Eric Stonfer
222
+ Change default for vpc_id from '' to nil. thanks Eric Stonfer
223
+ fixed a conditional that was assigining = rather than evaluating == in vsphere clone routine. This resulted in cloning from folders always failing. thanks Eric Stonfer
224
+ Add the ability to create linked clones in vsphere. thanks Eric Stonfer
225
+ whitespace fix. thanks Eric Stonfer
226
+ whitespace fix. thanks Eric Stonfer
227
+ add a linked clone test scenario, set the vm_clone test to wait, and clean up old servers after the VM clone test. thanks Eric Stonfer
228
+ linked clone tests. thanks Eric Stonfer
229
+ This patch allows the ability to create 'blank' vms in vsphere. thanks Eric Stonfer
230
+ fix list_virtual_machines when using :folder. thanks Eric Stonfer
231
+ add vm reconfiguration functions for memory cpu / generic spec. thanks Eric Stonfer
232
+ add subnet and vpc info to instance gets. thanks Eric Stonfer
233
+ fixed a typo in vm_power_on_tests.rb. thanks Eric Stonfer
234
+ make eips useable in a VPC. thanks Eric Stonfer
235
+ associate EIPs in a vpc. thanks Eric Stonfer
236
+ update autoscaling groups to allow the use of recurrence, start and end times. thanks Eric Stonfer
237
+ realized that @activity was actually not used. thanks Eric Stonfer
238
+ fixed some whitespace issues in auto_scaling tests. Fixed auto_scaling tests formats. thanks Eric Stonfer
239
+ add host based vmotion. thanks Eric Stonfer
240
+ basic VPC creation. thanks Eric Stonfer
241
+ [aws]Add in subnets. thanks Eric Stonfer
242
+ enable_metrics_collection requires a granularity argument (1Minute is the only legal value). thanks Frederick Cheung
243
+ New file additions for AWS Elastic Beanstalk support. thanks George Scott
244
+ Added beanstalk service to AWS Provider. thanks George Scott
245
+ Unit tests for beanstalk. thanks George Scott
246
+ Now sets pending when mocking for all beanstalk model tests. thanks George Scott
247
+ environment now uses name as identity. thanks George Scott
248
+ Added additional convenience methods to application. thanks George Scott
249
+ remove rubygems require from core.rb. thanks Hemant Kumar
250
+ Reset the alias_target hash for good measure. thanks James Miller
251
+ Add a test for ALIAS records. thanks James Miller
252
+ Cleanups and crazy long sleep to ensure ALIAS zone is found. thanks James Miller
253
+ Fix linked clone mocked test unhandled exception. thanks Jeff McCune
254
+ (maint) Whitespace and format only clean up. thanks Jeff McCune
255
+ added support for server-side encryption on s3. thanks John Parker
256
+ Switch from NewServers to BareMetalCloud for #773. thanks John Wang
257
+ Add deprecation warning. thanks John Wang
258
+ Fixed bug in SQS :receive_message mock. thanks Joshua Krall
259
+ Fixed a typo in the warning. thanks Kashif Rasul
260
+ One more typo fix. thanks Kashif Rasul
261
+ GH-690 Joyent Cloud Provider. thanks Kevin Chan
262
+ Credentials: cloudapi_* -> joyent_* for consistency. thanks Kevin Chan
263
+ Revert "[joyent|compute] make password required" This reverts commit 6e93321e29e69cc863aa9d78cdcf1c83203a2fa7. thanks Kevin Chan
264
+ Fixes dataset tests. thanks Kevin Chan
265
+ - Fixes tests to run in both mock and non-mock mode - Clean ups and fixes. thanks Kevin Chan
266
+ Cleanups + Fixes #get_machine test breaking when there are no machines. thanks Kevin Chan
267
+ cleanups + refactorings + better error reporting per joyent cloudapi spec. thanks Kevin Chan
268
+ Fixed #673: Zerigo DNS - update_host fails with some options. thanks Kevin Menard
269
+ Fixed a filename. thanks Kevin Menard
270
+ implement respond_to? corresponding to method_missing for VirtualBox and libvirt. thanks Konstantin Haase
271
+ Swap aws_access_key_id and aws_secret_access_key positions in hash to match typical usage convention. thanks Kyle Drake
272
+ When Exists boolean is not specified, this request is not idempotent. thanks Lance Carlson
273
+ Scan sort of acts like a GET request, which are idempotent. thanks Lance Carlson
274
+ Only do a 'head' on the file that we've copied - no need to go download it now, that would defeat the purpose. thanks Lars Pind
275
+ Improved support for SecurityGroup IDs. thanks MaF
276
+ We must create the VPC before we can create a security group in it. thanks MaF
277
+ Changed verify_permission_options in mocked version of authorize_security_group_ingress to accept any ipProtocol for vpc groups. Also changed the security group test to use protocol 42 when testing vpc security_groups. thanks MaF
278
+ Check if exception has a #response method before calling it, otherwise call #message. thanks Manuel Meurer
279
+ Fix sync_clock method, only rescue Excon::Errors::HTTPStatusError that are known to have a #response method, let all other exceptions bubble up. thanks Manuel Meurer
280
+ Updated excon to version ~>0.10.0. Closes #781. thanks Marc Seeger
281
+ include fission gem. thanks Michael Brodhead & Shai Rosenfeld
282
+ Move fission from reg dependency to dev dependency per comments on pull request #736. thanks Michael Brodhead & Shai Rosenfeld
283
+ adding required gem to run the tests. thanks Ohad Levy
284
+ first cut of cleaning up libvirt server class. thanks Ohad Levy
285
+ minor cleanups. thanks Ohad Levy
286
+ fixes libvirt wrong state check. thanks Ohad Levy
287
+ libvirt - avoids exception if a uuid is not found. thanks Ohad Levy
288
+ libvirt: servers return nil, not an empty array... thanks Ohad Levy
289
+ Added basic tests to Ovirt compute provider. thanks Ohad Levy
290
+ Added check if Fog.mock! should be used in AWS tests. thanks Paul Thornthwaite
291
+ Nix hardcoded regions: DynamoDB. thanks Pavel Repin
292
+ Nix hardcoded regions: Autoscaling. thanks Pavel Repin
293
+ Nix hardcoded regions: CloudFormation. thanks Pavel Repin
294
+ Nix hardcoded regions: CloudWatch. thanks Pavel Repin
295
+ Nix hardcoded regions: EC2. thanks Pavel Repin
296
+ Nix hardcoded regions: ElastiCache. thanks Pavel Repin
297
+ Nix hardcoded regions: ELB. thanks Pavel Repin
298
+ Nix hardcoded regions: EMR. thanks Pavel Repin
299
+ Nix hardcoded regions: RDS. thanks Pavel Repin
300
+ Nix hardcoded regions: SES. thanks Pavel Repin
301
+ Nix hardcoded regions: SimpleDB. thanks Pavel Repin
302
+ Nix hardcoded regions: SNS. thanks Pavel Repin
303
+ Nix hardcoded regions: SQS (us-east-1 is special). thanks Pavel Repin
304
+ Nix hardcoded regions: S3 (us-east-1 is special). thanks Pavel Repin
305
+ Fixing typo "retreive" -> "retrieve". thanks Pedro Nascimento
306
+ Add the ":idempotent => true" property to create_tags to fix an issue when launching many instance from cluster_chef. thanks Peter C. Norton
307
+ Ran M-x align-regexp on the hashrockets. thanks Peter C. Norton
308
+ Passing half of rds/instance_tests.rb shindo tests. thanks Rodrigo Estebanez
309
+ making shindo tests for security groups in rds. thanks Rodrigo Estebanez
310
+ Better rds/security_group_test. Mocking rds security_groups. thanks Rodrigo Estebanez
311
+ Support for rds parameter groups mocking. thanks Rodrigo Estebanez
312
+ [aws][auto_scaling] Bug fixed: configurations.get(launch-configuration) always shows the first element. thanks Rodrigo Estebanez
313
+ it doesn't throw an error when the launch configuration doesnt exist. thanks Rodrigo Estebanez
314
+ [aws][auto_scaling]. Support delete_launch_configuration mocking. thanks Rodrigo Estebanez
315
+ Added PrivateIpAddress to the list of valid parameters for instance creation. thanks Rusty Geldmacher
316
+ Add Ecloud version 2.8 as supported. thanks Shai Rosenfeld
317
+ support alias records in the route53 models. thanks Thom May
318
+ Remove unused comment / commented code. thanks Todd Willey
319
+ Fix intial public_url when saving using rackspace_cdn_ssl = true. thanks Zachary Danger Campbell
320
+ added virtual machine support and security group support. thanks bdorry
321
+ merged in 0.11.0 release. thanks bdorry
322
+ merged 1.0.0. thanks bdorry
323
+ remove latest MVP from future possibilities. thanks geemus
324
+ examples should use providers.values. thanks geemus
325
+ fix Fog::Nullable::Boolean to include true/false. thanks geemus
326
+ update fog.io copyright year. thanks geemus
327
+ use path style access for https public_urls that include . to avoid certificate issues closes #743. thanks geemus
328
+ fix AWS get_object_http(s)_url methods to properly use subdomain vs path urls as appropriate closes #611. thanks geemus
329
+ loosen multi-json dependency closes #757. thanks geemus
330
+ remove examples as they are not that helpful or well supported. thanks geemus
331
+ bump excon dep closes #799. thanks geemus
332
+ bump excon dep. thanks geemus
333
+ strip ARNs - AWS is sensitive to leading and trailing whitespace/cr/lf. thanks hedgehog
334
+ allow for bundler+rbenv best practice. thanks hedgehog
335
+ Rackspace create_image request - pass all options. thanks kbockmanrs
336
+ Add Blue Box location support. thanks leehuffman
337
+ Update location UUID. thanks leehuffman
338
+ Add passing tests. thanks leehuffman
339
+ Fix location_id typo. thanks leehuffman
340
+ Add Blue Box location support. thanks leehuffman
341
+ Update location UUID. thanks leehuffman
342
+ Add passing tests. thanks leehuffman
343
+ Fix location_id typo. thanks leehuffman
344
+
345
+ [ninefold|storage]
346
+ Add copy method to Ninefold::File. thanks Benjamin Manns
347
+
348
+ [oVirt]
349
+ Fixed syntax error in ovirt parser. thanks Amos Benari
350
+ added option to block on start. Start action will block instead of fail. It can be useful in case of start after stop or create. thanks Amos Benari
351
+ added support for update vm on ovirt. thanks Amos Benari
352
+ Added VM and Template network-interfaces crud. thanks Amos Benari
353
+
354
+ [ovirt|compute]
355
+ #instance_variables returns Symbols in 1.9.2+. thanks Dan Peterson
356
+
357
+ [rackspace/compute]
358
+ Add 30GB (30720) compute size. thanks Phil Kates
359
+
360
+ [rackspace|storage]
361
+ Add copy_object request. thanks Benjamin Manns
362
+ Add copy method to Rackspace::File. thanks Benjamin Manns
363
+
364
+ [slicehost]
365
+ add deprecation warnings. thanks geemus
366
+
367
+ [storage]
368
+ fixes for deprecated implicit block usage to excon requests. thanks geemus
369
+ update get_object requests to use excon response_blocks. thanks geemus
370
+
371
+ [storage|test]
372
+ Run storage tests on a file in a subdirectory. thanks Benjamin Manns
373
+
374
+ [storage|tests]
375
+ Add copy method to storage tests. thanks Benjamin Manns
376
+ Check that the copied file body matches the original file. thanks Benjamin Manns
377
+
378
+ [vcloud]
379
+ mark mock tests pending. thanks geemus
380
+
381
+ [vcloud|compute]
382
+ rather mock Fog::Vcloud::Connection as this is the right place to mock things. thanks Peter Meier
383
+ improve models + additional tests. thanks Peter Meier
384
+ add API version 1.5 compability. thanks Peter Meier
385
+
386
+ [vmfusion|compute]
387
+ Sync fission v0.4.0 plus more. thanks Cody Herriges
388
+
389
+ [voxel]
390
+ update ssl_verify_peer = false setting. thanks geemus
391
+
392
+ [vsphere]
393
+ add to test skip list when lacking credentials. thanks geemus
394
+
395
+ [zerigo|dns]
396
+ Fixed an issue with updating a record since the response body is an empty string, not nil. thanks Kevin Menard
397
+ Fixed the parser. TTL and priority values can be nil and should not be coerced into integers in that case. thanks Kevin Menard
398
+
399
+
1
400
  1.1.2 12/18/2011 c1873e37e76af83e9de3f3308f3baa0664dd8dc2
2
401
  =========================================================
3
402
 
@@ -602,8 +1001,8 @@ MVP! Patrick Debois
602
1001
  [compute|linode]
603
1002
  move linode compute to its own shared area (namespacing should probably be corrected). thanks geemus
604
1003
 
605
- [compute|new_servers]
606
- move new_servers compute to its own shared area (namespacing should probably be corrected). thanks geemus
1004
+ [compute|bare_metal_cloud]
1005
+ move bare_metal_cloud compute to its own shared area (namespacing should probably be corrected). thanks geemus
607
1006
 
608
1007
  [compute|ninefold]
609
1008
  move ninefold compute to its own shared area (namespacing should probably be corrected). thanks geemus