fog 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1439) hide show
  1. checksums.yaml +15 -0
  2. data/.travis.yml +10 -26
  3. data/Rakefile +5 -3
  4. data/changelog.txt +359 -0
  5. data/fog.gemspec +16 -15
  6. data/lib/fog.rb +15 -0
  7. data/lib/fog/atmos/storage.rb +1 -2
  8. data/lib/fog/aws/auto_scaling.rb +1 -1
  9. data/lib/fog/aws/beanstalk.rb +1 -1
  10. data/lib/fog/aws/cdn.rb +1 -2
  11. data/lib/fog/aws/cloud_formation.rb +1 -1
  12. data/lib/fog/aws/cloud_watch.rb +1 -1
  13. data/lib/fog/aws/compute.rb +6 -6
  14. data/lib/fog/aws/core.rb +3 -0
  15. data/lib/fog/aws/data_pipeline.rb +1 -1
  16. data/lib/fog/aws/dns.rb +1 -2
  17. data/lib/fog/aws/dynamodb.rb +1 -1
  18. data/lib/fog/aws/elasticache.rb +11 -2
  19. data/lib/fog/aws/elb.rb +1 -1
  20. data/lib/fog/aws/emr.rb +1 -1
  21. data/lib/fog/aws/glacier.rb +1 -1
  22. data/lib/fog/aws/iam.rb +2 -1
  23. data/lib/fog/aws/models/compute/network_interface.rb +8 -2
  24. data/lib/fog/aws/models/compute/server.rb +2 -1
  25. data/lib/fog/aws/models/compute/servers.rb +1 -0
  26. data/lib/fog/aws/models/dns/record.rb +10 -3
  27. data/lib/fog/aws/models/elasticache/cluster.rb +3 -0
  28. data/lib/fog/aws/parsers/compute/run_instances.rb +10 -3
  29. data/lib/fog/aws/parsers/dns/change_resource_record_sets.rb +3 -3
  30. data/lib/fog/aws/parsers/dns/get_change.rb +1 -1
  31. data/lib/fog/aws/parsers/elasticache/describe_reserved_cache_nodes.rb +2 -2
  32. data/lib/fog/aws/parsers/elb/describe_load_balancer_attributes.rb +1 -1
  33. data/lib/fog/aws/parsers/emr/describe_job_flows.rb +13 -13
  34. data/lib/fog/aws/parsers/iam/base_instance_profile.rb +2 -2
  35. data/lib/fog/aws/parsers/iam/create_access_key.rb +1 -1
  36. data/lib/fog/aws/parsers/iam/get_account_summary.rb +46 -0
  37. data/lib/fog/aws/parsers/iam/get_group.rb +2 -2
  38. data/lib/fog/aws/parsers/iam/instance_profile.rb +2 -2
  39. data/lib/fog/aws/parsers/iam/list_instance_profiles.rb +1 -1
  40. data/lib/fog/aws/parsers/iam/list_roles.rb +2 -2
  41. data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +1 -1
  42. data/lib/fog/aws/parsers/iam/role_parser.rb +1 -1
  43. data/lib/fog/aws/parsers/iam/single_role.rb +1 -1
  44. data/lib/fog/aws/parsers/iam/update_user.rb +1 -1
  45. data/lib/fog/aws/parsers/rds/base.rb +1 -1
  46. data/lib/fog/aws/parsers/rds/create_db_instance.rb +3 -3
  47. data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +3 -3
  48. data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +2 -2
  49. data/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +3 -3
  50. data/lib/fog/aws/parsers/rds/db_parser.rb +10 -10
  51. data/lib/fog/aws/parsers/rds/delete_db_instance.rb +3 -3
  52. data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +1 -1
  53. data/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +2 -2
  54. data/lib/fog/aws/parsers/rds/describe_db_instances.rb +1 -1
  55. data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +2 -2
  56. data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +2 -2
  57. data/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +1 -1
  58. data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +2 -2
  59. data/lib/fog/aws/parsers/rds/event_list.rb +1 -1
  60. data/lib/fog/aws/parsers/rds/modify_db_instance.rb +2 -2
  61. data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +3 -3
  62. data/lib/fog/aws/parsers/rds/snapshot_parser.rb +2 -2
  63. data/lib/fog/aws/parsers/redshift/cluster_parser.rb +5 -5
  64. data/lib/fog/aws/parsers/redshift/cluster_security_group_parser.rb +4 -4
  65. data/lib/fog/aws/parsers/redshift/cluster_snapshot.rb +3 -3
  66. data/lib/fog/aws/parsers/redshift/cluster_snapshot_parser.rb +3 -3
  67. data/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb +3 -3
  68. data/lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb +3 -3
  69. data/lib/fog/aws/parsers/redshift/create_cluster_security_group.rb +3 -3
  70. data/lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb +3 -3
  71. data/lib/fog/aws/parsers/redshift/describe_cluster_parameters.rb +4 -4
  72. data/lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb +3 -3
  73. data/lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb +3 -3
  74. data/lib/fog/aws/parsers/redshift/describe_cluster_subnet_groups.rb +3 -3
  75. data/lib/fog/aws/parsers/redshift/describe_cluster_versions.rb +5 -5
  76. data/lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb +4 -4
  77. data/lib/fog/aws/parsers/redshift/describe_events.rb +3 -3
  78. data/lib/fog/aws/parsers/redshift/describe_orderable_cluster_options.rb +4 -4
  79. data/lib/fog/aws/parsers/redshift/describe_reserved_node_offerings.rb +2 -2
  80. data/lib/fog/aws/parsers/redshift/describe_reserved_nodes.rb +14 -14
  81. data/lib/fog/aws/parsers/redshift/describe_resize.rb +3 -3
  82. data/lib/fog/aws/parsers/redshift/purchase_reserved_node_offering.rb +4 -4
  83. data/lib/fog/aws/parsers/redshift/revoke_cluster_security_group_ingress.rb +3 -3
  84. data/lib/fog/aws/parsers/redshift/update_cluster_parameter_group_parser.rb +3 -3
  85. data/lib/fog/aws/parsers/simpledb/basic.rb +1 -1
  86. data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +2 -2
  87. data/lib/fog/aws/parsers/simpledb/list_domains.rb +1 -1
  88. data/lib/fog/aws/parsers/simpledb/select.rb +1 -1
  89. data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +2 -2
  90. data/lib/fog/aws/rds.rb +1 -1
  91. data/lib/fog/aws/redshift.rb +12 -12
  92. data/lib/fog/aws/region_methods.rb +13 -0
  93. data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +2 -2
  94. data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +1 -1
  95. data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +2 -2
  96. data/lib/fog/aws/requests/cdn/delete_distribution.rb +1 -1
  97. data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +1 -1
  98. data/lib/fog/aws/requests/cdn/get_distribution.rb +1 -1
  99. data/lib/fog/aws/requests/cdn/get_distribution_list.rb +1 -1
  100. data/lib/fog/aws/requests/cdn/get_invalidation.rb +4 -4
  101. data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +2 -2
  102. data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +1 -1
  103. data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +2 -2
  104. data/lib/fog/aws/requests/cdn/post_distribution.rb +3 -3
  105. data/lib/fog/aws/requests/cdn/post_invalidation.rb +1 -1
  106. data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +2 -2
  107. data/lib/fog/aws/requests/cdn/put_distribution_config.rb +1 -1
  108. data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +2 -2
  109. data/lib/fog/aws/requests/cloud_formation/create_stack.rb +3 -3
  110. data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +1 -1
  111. data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +1 -1
  112. data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +1 -1
  113. data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +1 -1
  114. data/lib/fog/aws/requests/cloud_formation/get_template.rb +1 -1
  115. data/lib/fog/aws/requests/cloud_formation/list_stack_resources.rb +2 -2
  116. data/lib/fog/aws/requests/cloud_formation/list_stacks.rb +2 -2
  117. data/lib/fog/aws/requests/cloud_watch/delete_alarms.rb +1 -1
  118. data/lib/fog/aws/requests/cloud_watch/describe_alarm_history.rb +2 -2
  119. data/lib/fog/aws/requests/cloud_watch/describe_alarms.rb +2 -2
  120. data/lib/fog/aws/requests/cloud_watch/describe_alarms_for_metric.rb +2 -2
  121. data/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb +2 -2
  122. data/lib/fog/aws/requests/cloud_watch/enable_alarm_actions.rb +2 -2
  123. data/lib/fog/aws/requests/cloud_watch/set_alarm_state.rb +1 -1
  124. data/lib/fog/aws/requests/compute/assign_private_ip_addresses.rb +3 -3
  125. data/lib/fog/aws/requests/compute/associate_address.rb +55 -27
  126. data/lib/fog/aws/requests/compute/associate_dhcp_options.rb +2 -2
  127. data/lib/fog/aws/requests/compute/associate_route_table.rb +3 -3
  128. data/lib/fog/aws/requests/compute/attach_network_interface.rb +1 -1
  129. data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +18 -2
  130. data/lib/fog/aws/requests/compute/create_image.rb +5 -5
  131. data/lib/fog/aws/requests/compute/create_internet_gateway.rb +2 -2
  132. data/lib/fog/aws/requests/compute/create_network_interface.rb +5 -5
  133. data/lib/fog/aws/requests/compute/create_route.rb +7 -7
  134. data/lib/fog/aws/requests/compute/create_route_table.rb +5 -5
  135. data/lib/fog/aws/requests/compute/create_vpc.rb +8 -8
  136. data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +4 -4
  137. data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +2 -2
  138. data/lib/fog/aws/requests/compute/delete_network_acl.rb +1 -1
  139. data/lib/fog/aws/requests/compute/delete_network_acl_entry.rb +1 -1
  140. data/lib/fog/aws/requests/compute/delete_network_interface.rb +1 -1
  141. data/lib/fog/aws/requests/compute/delete_route.rb +5 -5
  142. data/lib/fog/aws/requests/compute/delete_security_group.rb +10 -0
  143. data/lib/fog/aws/requests/compute/delete_subnet.rb +3 -3
  144. data/lib/fog/aws/requests/compute/delete_vpc.rb +1 -1
  145. data/lib/fog/aws/requests/compute/deregister_image.rb +2 -2
  146. data/lib/fog/aws/requests/compute/describe_availability_zones.rb +1 -1
  147. data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +1 -1
  148. data/lib/fog/aws/requests/compute/describe_instances.rb +47 -30
  149. data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +1 -1
  150. data/lib/fog/aws/requests/compute/describe_network_interface_attribute.rb +1 -1
  151. data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +3 -3
  152. data/lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb +2 -2
  153. data/lib/fog/aws/requests/compute/describe_security_groups.rb +4 -3
  154. data/lib/fog/aws/requests/compute/describe_subnets.rb +1 -1
  155. data/lib/fog/aws/requests/compute/describe_tags.rb +7 -7
  156. data/lib/fog/aws/requests/compute/detach_network_interface.rb +1 -1
  157. data/lib/fog/aws/requests/compute/disassociate_route_table.rb +2 -2
  158. data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +1 -1
  159. data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +2 -2
  160. data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +1 -1
  161. data/lib/fog/aws/requests/compute/modify_vpc_attribute.rb +2 -2
  162. data/lib/fog/aws/requests/compute/replace_network_acl_association.rb +1 -1
  163. data/lib/fog/aws/requests/compute/reset_network_interface_attribute.rb +2 -2
  164. data/lib/fog/aws/requests/compute/run_instances.rb +44 -0
  165. data/lib/fog/aws/requests/compute/unmonitor_instances.rb +1 -1
  166. data/lib/fog/aws/requests/data_pipeline/list_pipelines.rb +1 -1
  167. data/lib/fog/aws/requests/data_pipeline/query_objects.rb +4 -2
  168. data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +1 -1
  169. data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +6 -3
  170. data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +5 -0
  171. data/lib/fog/aws/requests/elasticache/create_cache_parameter_group.rb +19 -3
  172. data/lib/fog/aws/requests/elasticache/create_cache_subnet_group.rb +2 -2
  173. data/lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb +11 -1
  174. data/lib/fog/aws/requests/elasticache/describe_cache_parameter_groups.rb +17 -1
  175. data/lib/fog/aws/requests/elasticache/describe_reserved_cache_nodes.rb +2 -2
  176. data/lib/fog/aws/requests/elb/describe_load_balancer_attributes.rb +1 -1
  177. data/lib/fog/aws/requests/elb/modify_load_balancer_attributes.rb +1 -1
  178. data/lib/fog/aws/requests/emr/add_instance_groups.rb +3 -3
  179. data/lib/fog/aws/requests/emr/add_job_flow_steps.rb +3 -3
  180. data/lib/fog/aws/requests/emr/describe_job_flows.rb +4 -4
  181. data/lib/fog/aws/requests/emr/modify_instance_groups.rb +3 -3
  182. data/lib/fog/aws/requests/emr/run_job_flow.rb +9 -9
  183. data/lib/fog/aws/requests/emr/set_termination_protection.rb +2 -2
  184. data/lib/fog/aws/requests/emr/terminate_job_flows.rb +2 -2
  185. data/lib/fog/aws/requests/iam/add_role_to_instance_profile.rb +1 -1
  186. data/lib/fog/aws/requests/iam/add_user_to_group.rb +1 -1
  187. data/lib/fog/aws/requests/iam/create_access_key.rb +1 -1
  188. data/lib/fog/aws/requests/iam/create_group.rb +1 -1
  189. data/lib/fog/aws/requests/iam/create_instance_profile.rb +2 -2
  190. data/lib/fog/aws/requests/iam/create_login_profile.rb +1 -1
  191. data/lib/fog/aws/requests/iam/create_role.rb +3 -3
  192. data/lib/fog/aws/requests/iam/create_user.rb +1 -1
  193. data/lib/fog/aws/requests/iam/delete_access_key.rb +1 -1
  194. data/lib/fog/aws/requests/iam/delete_group.rb +1 -1
  195. data/lib/fog/aws/requests/iam/delete_group_policy.rb +1 -1
  196. data/lib/fog/aws/requests/iam/delete_instance_profile.rb +1 -1
  197. data/lib/fog/aws/requests/iam/delete_login_profile.rb +1 -1
  198. data/lib/fog/aws/requests/iam/delete_role.rb +1 -1
  199. data/lib/fog/aws/requests/iam/delete_role_policy.rb +1 -1
  200. data/lib/fog/aws/requests/iam/delete_user.rb +1 -1
  201. data/lib/fog/aws/requests/iam/delete_user_policy.rb +1 -1
  202. data/lib/fog/aws/requests/iam/get_account_summary.rb +80 -0
  203. data/lib/fog/aws/requests/iam/get_group.rb +4 -4
  204. data/lib/fog/aws/requests/iam/get_instance_profile.rb +2 -2
  205. data/lib/fog/aws/requests/iam/get_login_profile.rb +1 -1
  206. data/lib/fog/aws/requests/iam/get_role.rb +3 -3
  207. data/lib/fog/aws/requests/iam/get_role_policy.rb +1 -1
  208. data/lib/fog/aws/requests/iam/get_user.rb +3 -3
  209. data/lib/fog/aws/requests/iam/list_access_keys.rb +1 -1
  210. data/lib/fog/aws/requests/iam/list_account_aliases.rb +1 -1
  211. data/lib/fog/aws/requests/iam/list_group_policies.rb +1 -1
  212. data/lib/fog/aws/requests/iam/list_groups.rb +1 -1
  213. data/lib/fog/aws/requests/iam/list_groups_for_user.rb +1 -1
  214. data/lib/fog/aws/requests/iam/list_instance_profiles.rb +3 -3
  215. data/lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb +2 -2
  216. data/lib/fog/aws/requests/iam/list_role_policies.rb +2 -2
  217. data/lib/fog/aws/requests/iam/list_roles.rb +3 -3
  218. data/lib/fog/aws/requests/iam/list_user_policies.rb +1 -1
  219. data/lib/fog/aws/requests/iam/list_users.rb +1 -1
  220. data/lib/fog/aws/requests/iam/put_role_policy.rb +1 -1
  221. data/lib/fog/aws/requests/iam/remove_role_from_instance_profile.rb +1 -1
  222. data/lib/fog/aws/requests/iam/remove_user_from_group.rb +1 -1
  223. data/lib/fog/aws/requests/iam/update_access_key.rb +1 -1
  224. data/lib/fog/aws/requests/iam/update_login_profile.rb +1 -1
  225. data/lib/fog/aws/requests/iam/update_user.rb +1 -1
  226. data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +4 -4
  227. data/lib/fog/aws/requests/rds/create_db_instance.rb +4 -4
  228. data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +3 -3
  229. data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +6 -6
  230. data/lib/fog/aws/requests/rds/create_db_security_group.rb +2 -2
  231. data/lib/fog/aws/requests/rds/create_db_snapshot.rb +1 -1
  232. data/lib/fog/aws/requests/rds/delete_db_instance.rb +4 -4
  233. data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +3 -3
  234. data/lib/fog/aws/requests/rds/delete_db_security_group.rb +1 -1
  235. data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +2 -2
  236. data/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +2 -2
  237. data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +2 -2
  238. data/lib/fog/aws/requests/rds/describe_db_parameters.rb +1 -1
  239. data/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +1 -1
  240. data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +1 -1
  241. data/lib/fog/aws/requests/rds/describe_events.rb +1 -1
  242. data/lib/fog/aws/requests/rds/modify_db_instance.rb +10 -5
  243. data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +5 -5
  244. data/lib/fog/aws/requests/rds/remove_tags_from_resource.rb +1 -1
  245. data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +3 -3
  246. data/lib/fog/aws/requests/redshift/authorize_cluster_security_group_ingress.rb +14 -14
  247. data/lib/fog/aws/requests/redshift/authorize_snapshot_access.rb +5 -5
  248. data/lib/fog/aws/requests/redshift/copy_cluster_snapshot.rb +6 -6
  249. data/lib/fog/aws/requests/redshift/create_cluster.rb +39 -39
  250. data/lib/fog/aws/requests/redshift/create_cluster_parameter_group.rb +13 -13
  251. data/lib/fog/aws/requests/redshift/create_cluster_security_group.rb +5 -5
  252. data/lib/fog/aws/requests/redshift/create_cluster_snapshot.rb +6 -6
  253. data/lib/fog/aws/requests/redshift/create_cluster_subnet_group.rb +6 -6
  254. data/lib/fog/aws/requests/redshift/delete_cluster.rb +11 -11
  255. data/lib/fog/aws/requests/redshift/delete_cluster_parameter_group.rb +3 -3
  256. data/lib/fog/aws/requests/redshift/delete_cluster_security_group.rb +3 -3
  257. data/lib/fog/aws/requests/redshift/delete_cluster_snapshot.rb +6 -6
  258. data/lib/fog/aws/requests/redshift/delete_cluster_subnet_group.rb +4 -4
  259. data/lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb +9 -9
  260. data/lib/fog/aws/requests/redshift/describe_cluster_parameters.rb +13 -13
  261. data/lib/fog/aws/requests/redshift/describe_cluster_security_groups.rb +8 -8
  262. data/lib/fog/aws/requests/redshift/describe_cluster_snapshots.rb +16 -16
  263. data/lib/fog/aws/requests/redshift/describe_cluster_subnet_groups.rb +8 -8
  264. data/lib/fog/aws/requests/redshift/describe_cluster_versions.rb +10 -10
  265. data/lib/fog/aws/requests/redshift/describe_clusters.rb +9 -9
  266. data/lib/fog/aws/requests/redshift/describe_default_cluster_parameters.rb +8 -8
  267. data/lib/fog/aws/requests/redshift/describe_events.rb +28 -28
  268. data/lib/fog/aws/requests/redshift/describe_orderable_cluster_options.rb +11 -11
  269. data/lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb +8 -8
  270. data/lib/fog/aws/requests/redshift/describe_reserved_nodes.rb +8 -8
  271. data/lib/fog/aws/requests/redshift/describe_resize.rb +5 -5
  272. data/lib/fog/aws/requests/redshift/modify_cluster.rb +25 -25
  273. data/lib/fog/aws/requests/redshift/modify_cluster_parameter_group.rb +3 -3
  274. data/lib/fog/aws/requests/redshift/modify_cluster_subnet_group.rb +6 -6
  275. data/lib/fog/aws/requests/redshift/purchase_reserved_node_offering.rb +3 -3
  276. data/lib/fog/aws/requests/redshift/reboot_cluster.rb +6 -6
  277. data/lib/fog/aws/requests/redshift/reset_cluster_parameter_group.rb +1 -1
  278. data/lib/fog/aws/requests/redshift/restore_from_cluster_snapshot.rb +17 -17
  279. data/lib/fog/aws/requests/redshift/revoke_cluster_security_group_ingress.rb +14 -14
  280. data/lib/fog/aws/requests/redshift/revoke_snapshot_access.rb +4 -4
  281. data/lib/fog/aws/requests/simpledb/create_domain.rb +1 -1
  282. data/lib/fog/aws/requests/simpledb/delete_domain.rb +1 -1
  283. data/lib/fog/aws/requests/simpledb/domain_metadata.rb +2 -2
  284. data/lib/fog/aws/requests/simpledb/select.rb +1 -1
  285. data/lib/fog/aws/requests/sqs/change_message_visibility.rb +4 -4
  286. data/lib/fog/aws/requests/sqs/create_queue.rb +4 -4
  287. data/lib/fog/aws/requests/sqs/delete_message.rb +1 -1
  288. data/lib/fog/aws/requests/sqs/delete_queue.rb +6 -6
  289. data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +4 -4
  290. data/lib/fog/aws/requests/sqs/list_queues.rb +2 -2
  291. data/lib/fog/aws/requests/sqs/receive_message.rb +4 -4
  292. data/lib/fog/aws/requests/sqs/send_message.rb +7 -7
  293. data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +1 -1
  294. data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +1 -1
  295. data/lib/fog/aws/requests/storage/copy_object.rb +3 -3
  296. data/lib/fog/aws/requests/storage/delete_bucket_policy.rb +1 -1
  297. data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +1 -1
  298. data/lib/fog/aws/requests/storage/get_bucket_website.rb +1 -1
  299. data/lib/fog/aws/requests/storage/head_object.rb +5 -5
  300. data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +3 -3
  301. data/lib/fog/aws/requests/storage/post_object_hidden_fields.rb +1 -1
  302. data/lib/fog/aws/requests/storage/put_bucket.rb +1 -1
  303. data/lib/fog/aws/requests/storage/put_bucket_acl.rb +4 -4
  304. data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +8 -8
  305. data/lib/fog/aws/requests/storage/put_object.rb +1 -1
  306. data/lib/fog/aws/requests/storage/put_object_acl.rb +5 -5
  307. data/lib/fog/aws/requests/storage/sync_clock.rb +1 -1
  308. data/lib/fog/aws/requests/sts/assume_role.rb +2 -2
  309. data/lib/fog/aws/ses.rb +1 -1
  310. data/lib/fog/aws/signaturev4.rb +2 -1
  311. data/lib/fog/aws/simpledb.rb +2 -2
  312. data/lib/fog/aws/sns.rb +1 -1
  313. data/lib/fog/aws/sqs.rb +3 -3
  314. data/lib/fog/aws/storage.rb +2 -3
  315. data/lib/fog/aws/sts.rb +1 -2
  316. data/lib/fog/bare_metal_cloud/compute.rb +1 -2
  317. data/lib/fog/bare_metal_cloud/core.rb +1 -0
  318. data/lib/fog/bare_metal_cloud/requests/compute/list_images.rb +1 -1
  319. data/lib/fog/bin.rb +2 -0
  320. data/lib/fog/bin/aws.rb +1 -1
  321. data/lib/fog/bin/bare_metal_cloud.rb +1 -1
  322. data/lib/fog/bin/brightbox.rb +1 -1
  323. data/lib/fog/bin/clodo.rb +1 -1
  324. data/lib/fog/bin/cloudsigma.rb +1 -1
  325. data/lib/fog/bin/ecloud.rb +1 -1
  326. data/lib/fog/bin/fogdocker.rb +30 -0
  327. data/lib/fog/bin/go_grid.rb +1 -1
  328. data/lib/fog/bin/google.rb +1 -1
  329. data/lib/fog/bin/joyent.rb +4 -0
  330. data/lib/fog/bin/local.rb +1 -1
  331. data/lib/fog/bin/rackspace.rb +1 -1
  332. data/lib/fog/bin/sakuracloud.rb +36 -0
  333. data/lib/fog/bin/stormondemand.rb +2 -2
  334. data/lib/fog/bin/zerigo.rb +1 -1
  335. data/lib/fog/bluebox/blb.rb +1 -1
  336. data/lib/fog/bluebox/compute.rb +1 -2
  337. data/lib/fog/bluebox/core.rb +1 -0
  338. data/lib/fog/bluebox/dns.rb +1 -2
  339. data/lib/fog/bluebox/models/blb/lb_application.rb +1 -1
  340. data/lib/fog/bluebox/models/blb/lb_backend.rb +1 -1
  341. data/lib/fog/bluebox/models/blb/lb_service.rb +1 -1
  342. data/lib/fog/bluebox/models/compute/location.rb +1 -1
  343. data/lib/fog/bluebox/models/compute/server.rb +2 -0
  344. data/lib/fog/bluebox/requests/blb/get_lb_machine.rb +1 -1
  345. data/lib/fog/bluebox/requests/blb/get_lb_machines.rb +1 -1
  346. data/lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb +1 -1
  347. data/lib/fog/bluebox/requests/compute/create_block.rb +2 -0
  348. data/lib/fog/clodo/compute.rb +1 -1
  349. data/lib/fog/clodo/core.rb +2 -1
  350. data/lib/fog/clodo/requests/compute/create_server.rb +1 -1
  351. data/lib/fog/clodo/requests/compute/delete_ip_address.rb +1 -1
  352. data/lib/fog/cloudsigma/compute.rb +0 -1
  353. data/lib/fog/cloudsigma/connection.rb +2 -2
  354. data/lib/fog/cloudsigma/core.rb +1 -0
  355. data/lib/fog/cloudsigma/error.rb +1 -1
  356. data/lib/fog/cloudsigma/mock_data.rb +1 -1
  357. data/lib/fog/cloudsigma/models/lib_volume.rb +1 -1
  358. data/lib/fog/cloudsigma/models/nic.rb +1 -0
  359. data/lib/fog/cloudsigma/models/price_record.rb +1 -1
  360. data/lib/fog/cloudsigma/models/pricing.rb +1 -1
  361. data/lib/fog/cloudsigma/models/profile.rb +1 -1
  362. data/lib/fog/cloudsigma/models/server.rb +5 -1
  363. data/lib/fog/cloudsigma/models/volume.rb +1 -1
  364. data/lib/fog/cloudsigma/nested_model.rb +1 -1
  365. data/lib/fog/cloudstack/compute.rb +3 -4
  366. data/lib/fog/cloudstack/core.rb +1 -0
  367. data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +1 -1
  368. data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +1 -1
  369. data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +3 -3
  370. data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +1 -1
  371. data/lib/fog/cloudstack/requests/compute/list_accounts.rb +1 -1
  372. data/lib/fog/cloudstack/requests/compute/list_alerts.rb +1 -1
  373. data/lib/fog/cloudstack/requests/compute/list_capacity.rb +1 -1
  374. data/lib/fog/cloudstack/requests/compute/list_clusters.rb +1 -1
  375. data/lib/fog/cloudstack/requests/compute/list_configurations.rb +1 -1
  376. data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +1 -1
  377. data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +1 -1
  378. data/lib/fog/cloudstack/requests/compute/list_domains.rb +1 -1
  379. data/lib/fog/cloudstack/requests/compute/list_events.rb +1 -1
  380. data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +1 -1
  381. data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +1 -1
  382. data/lib/fog/cloudstack/requests/compute/list_hosts.rb +1 -1
  383. data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +1 -1
  384. data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +1 -1
  385. data/lib/fog/cloudstack/requests/compute/list_isos.rb +1 -1
  386. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +1 -1
  387. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +1 -1
  388. data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +1 -1
  389. data/lib/fog/cloudstack/requests/compute/list_networks.rb +1 -1
  390. data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +1 -1
  391. data/lib/fog/cloudstack/requests/compute/list_os_types.rb +1 -1
  392. data/lib/fog/cloudstack/requests/compute/list_pods.rb +1 -1
  393. data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +1 -1
  394. data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +1 -1
  395. data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +1 -1
  396. data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +1 -1
  397. data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +1 -1
  398. data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +1 -1
  399. data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +1 -1
  400. data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +3 -3
  401. data/lib/fog/cloudstack/requests/compute/list_users.rb +1 -1
  402. data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +1 -1
  403. data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +1 -1
  404. data/lib/fog/core/deprecated/connection.rb +5 -4
  405. data/lib/fog/digitalocean/compute.rb +3 -4
  406. data/lib/fog/digitalocean/core.rb +1 -0
  407. data/lib/fog/digitalocean/examples/getting_started.md +3 -3
  408. data/lib/fog/digitalocean/models/compute/flavor.rb +1 -1
  409. data/lib/fog/digitalocean/models/compute/image.rb +1 -1
  410. data/lib/fog/digitalocean/models/compute/region.rb +1 -1
  411. data/lib/fog/digitalocean/models/compute/ssh_key.rb +1 -1
  412. data/lib/fog/digitalocean/models/compute/ssh_keys.rb +1 -1
  413. data/lib/fog/digitalocean/requests/compute/destroy_ssh_key.rb +1 -1
  414. data/lib/fog/digitalocean/requests/compute/get_ssh_key.rb +1 -1
  415. data/lib/fog/digitalocean/requests/compute/list_flavors.rb +1 -1
  416. data/lib/fog/digitalocean/requests/compute/list_regions.rb +1 -1
  417. data/lib/fog/digitalocean/requests/compute/list_servers.rb +1 -1
  418. data/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb +1 -1
  419. data/lib/fog/dnsimple/core.rb +1 -0
  420. data/lib/fog/dnsimple/dns.rb +24 -9
  421. data/lib/fog/dnsimple/requests/dns/get_domain.rb +1 -1
  422. data/lib/fog/dnsmadeeasy/core.rb +1 -0
  423. data/lib/fog/dnsmadeeasy/dns.rb +1 -2
  424. data/lib/fog/dnsmadeeasy/requests/dns/create_secondary.rb +2 -2
  425. data/lib/fog/dreamhost/core.rb +1 -0
  426. data/lib/fog/dreamhost/dns.rb +1 -2
  427. data/lib/fog/dreamhost/examples/dns/getting_started.md +3 -3
  428. data/lib/fog/dreamhost/models/dns/record.rb +1 -1
  429. data/lib/fog/dreamhost/models/dns/zone.rb +3 -3
  430. data/lib/fog/dreamhost/models/dns/zones.rb +1 -1
  431. data/lib/fog/dreamhost/requests/dns/create_record.rb +1 -1
  432. data/lib/fog/dreamhost/requests/dns/delete_record.rb +2 -2
  433. data/lib/fog/dreamhost/requests/dns/list_records.rb +1 -1
  434. data/lib/fog/dynect/core.rb +1 -0
  435. data/lib/fog/dynect/dns.rb +1 -2
  436. data/lib/fog/ecloud/compute.rb +1 -1
  437. data/lib/fog/ecloud/mock_data_classes.rb +1 -1
  438. data/lib/fog/ecloud/models/compute/api_key.rb +1 -1
  439. data/lib/fog/ecloud/models/compute/authentication_level.rb +2 -2
  440. data/lib/fog/ecloud/models/compute/catalog_configuration.rb +1 -1
  441. data/lib/fog/ecloud/models/compute/cpu_usage_detail.rb +1 -1
  442. data/lib/fog/ecloud/models/compute/guest_process.rb +1 -1
  443. data/lib/fog/ecloud/models/compute/login_banner.rb +1 -1
  444. data/lib/fog/ecloud/models/compute/memory_usage_detail.rb +1 -1
  445. data/lib/fog/ecloud/models/compute/operating_system.rb +1 -1
  446. data/lib/fog/ecloud/models/compute/password_complexity_rule.rb +1 -1
  447. data/lib/fog/ecloud/models/compute/physical_device.rb +1 -1
  448. data/lib/fog/ecloud/models/compute/role.rb +1 -1
  449. data/lib/fog/ecloud/models/compute/server_configuration_option.rb +1 -1
  450. data/lib/fog/ecloud/models/compute/storage_usage_detail.rb +1 -1
  451. data/lib/fog/ecloud/models/compute/support_ticket.rb +1 -1
  452. data/lib/fog/ecloud/requests/compute/admin_edit_login_banner.rb +2 -2
  453. data/lib/fog/ecloud/requests/compute/admin_edit_password_complexity_rules.rb +2 -2
  454. data/lib/fog/ecloud/requests/compute/backup_internet_service_create.rb +2 -2
  455. data/lib/fog/ecloud/requests/compute/backup_internet_service_edit.rb +2 -2
  456. data/lib/fog/ecloud/requests/compute/compute_pool_edit.rb +1 -1
  457. data/lib/fog/ecloud/requests/compute/firewall_acls_create.rb +2 -2
  458. data/lib/fog/ecloud/requests/compute/internet_service_edit.rb +1 -1
  459. data/lib/fog/ecloud/requests/compute/monitors_create_ecv.rb +1 -1
  460. data/lib/fog/ecloud/requests/compute/monitors_create_http.rb +1 -1
  461. data/lib/fog/ecloud/requests/compute/monitors_create_ping.rb +1 -1
  462. data/lib/fog/ecloud/requests/compute/monitors_edit_ecv.rb +1 -1
  463. data/lib/fog/ecloud/requests/compute/monitors_edit_http.rb +1 -1
  464. data/lib/fog/ecloud/requests/compute/monitors_edit_ping.rb +1 -1
  465. data/lib/fog/ecloud/requests/compute/node_service_edit.rb +1 -1
  466. data/lib/fog/ecloud/requests/compute/rnat_associations_create_device.rb +1 -1
  467. data/lib/fog/ecloud/requests/compute/rnat_associations_edit_network.rb +1 -1
  468. data/lib/fog/ecloud/requests/compute/trusted_network_groups_create.rb +2 -2
  469. data/lib/fog/ecloud/requests/compute/trusted_network_groups_edit.rb +2 -2
  470. data/lib/fog/ecloud/requests/compute/virtual_machine_copy.rb +3 -3
  471. data/lib/fog/ecloud/requests/compute/virtual_machine_edit.rb +1 -1
  472. data/lib/fog/fogdocker.rb +1 -0
  473. data/lib/fog/fogdocker/compute.rb +60 -0
  474. data/lib/fog/fogdocker/core.rb +17 -0
  475. data/lib/fog/fogdocker/models/compute/image.rb +41 -0
  476. data/lib/fog/fogdocker/models/compute/images.rb +23 -0
  477. data/lib/fog/fogdocker/models/compute/server.rb +136 -0
  478. data/lib/fog/fogdocker/models/compute/servers.rb +28 -0
  479. data/lib/fog/fogdocker/requests/compute/api_version.rb +16 -0
  480. data/lib/fog/fogdocker/requests/compute/container_action.rb +26 -0
  481. data/lib/fog/fogdocker/requests/compute/container_all.rb +38 -0
  482. data/lib/fog/fogdocker/requests/compute/container_commit.rb +23 -0
  483. data/lib/fog/fogdocker/requests/compute/container_create.rb +53 -0
  484. data/lib/fog/fogdocker/requests/compute/container_delete.rb +24 -0
  485. data/lib/fog/fogdocker/requests/compute/container_get.rb +31 -0
  486. data/lib/fog/fogdocker/requests/compute/image_all.rb +27 -0
  487. data/lib/fog/fogdocker/requests/compute/image_create.rb +19 -0
  488. data/lib/fog/fogdocker/requests/compute/image_delete.rb +23 -0
  489. data/lib/fog/fogdocker/requests/compute/image_get.rb +20 -0
  490. data/lib/fog/glesys/compute.rb +1 -1
  491. data/lib/fog/glesys/core.rb +1 -0
  492. data/lib/fog/go_grid/compute.rb +1 -2
  493. data/lib/fog/go_grid/core.rb +1 -0
  494. data/lib/fog/google/compute.rb +68 -21
  495. data/lib/fog/google/core.rb +1 -0
  496. data/lib/fog/google/examples/eric-fail.rb +3 -3
  497. data/lib/fog/google/examples/image_all.rb +6 -0
  498. data/lib/fog/google/examples/launch_micro_instance.rb +9 -5
  499. data/lib/fog/google/examples/metadata.rb +1 -1
  500. data/lib/fog/google/examples/network.rb +29 -25
  501. data/lib/fog/google/examples/precreated_client.rb +14 -0
  502. data/lib/fog/google/models/compute/disk.rb +9 -5
  503. data/lib/fog/google/models/compute/images.rb +22 -14
  504. data/lib/fog/google/models/compute/server.rb +2 -0
  505. data/lib/fog/google/requests/compute/delete_snapshot.rb +1 -1
  506. data/lib/fog/google/requests/compute/get_image.rb +4 -4
  507. data/lib/fog/google/requests/compute/set_metadata.rb +15 -2
  508. data/lib/fog/google/requests/storage/get_object_http_url.rb +1 -1
  509. data/lib/fog/google/requests/storage/get_object_https_url.rb +1 -1
  510. data/lib/fog/google/requests/storage/put_bucket_acl.rb +1 -1
  511. data/lib/fog/google/requests/storage/put_object_acl.rb +1 -1
  512. data/lib/fog/google/storage.rb +1 -2
  513. data/lib/fog/hp/README.md +2 -2
  514. data/lib/fog/hp/block_storage.rb +1 -1
  515. data/lib/fog/hp/block_storage_v2.rb +1 -1
  516. data/lib/fog/hp/cdn.rb +1 -1
  517. data/lib/fog/hp/compute.rb +2 -3
  518. data/lib/fog/hp/compute_v2.rb +2 -3
  519. data/lib/fog/hp/core.rb +3 -2
  520. data/lib/fog/hp/dns.rb +1 -1
  521. data/lib/fog/hp/docs/connect.md +6 -6
  522. data/lib/fog/hp/docs/install.md +12 -12
  523. data/lib/fog/hp/examples/block_storage.md +6 -6
  524. data/lib/fog/hp/examples/block_storage_v2.md +24 -24
  525. data/lib/fog/hp/examples/cdn.md +5 -5
  526. data/lib/fog/hp/examples/compute.md +25 -25
  527. data/lib/fog/hp/examples/compute_v2.md +35 -35
  528. data/lib/fog/hp/examples/networking.md +8 -8
  529. data/lib/fog/hp/examples/object_storage.md +24 -24
  530. data/lib/fog/hp/lb.rb +1 -1
  531. data/lib/fog/hp/models/storage/directory.rb +2 -2
  532. data/lib/fog/hp/models/storage/file.rb +2 -2
  533. data/lib/fog/hp/models/storage/files.rb +5 -5
  534. data/lib/fog/hp/network.rb +1 -1
  535. data/lib/fog/hp/requests/block_storage/create_snapshot.rb +1 -1
  536. data/lib/fog/hp/requests/block_storage/create_volume.rb +1 -1
  537. data/lib/fog/hp/requests/block_storage/delete_snapshot.rb +1 -1
  538. data/lib/fog/hp/requests/block_storage/delete_volume.rb +1 -1
  539. data/lib/fog/hp/requests/block_storage/get_bootable_volume_details.rb +1 -1
  540. data/lib/fog/hp/requests/block_storage/get_snapshot_details.rb +1 -1
  541. data/lib/fog/hp/requests/block_storage/get_volume_details.rb +1 -1
  542. data/lib/fog/hp/requests/block_storage/list_bootable_volumes.rb +1 -1
  543. data/lib/fog/hp/requests/block_storage/list_snapshots.rb +1 -1
  544. data/lib/fog/hp/requests/block_storage/list_volumes.rb +1 -1
  545. data/lib/fog/hp/requests/block_storage_v2/create_snapshot.rb +1 -1
  546. data/lib/fog/hp/requests/block_storage_v2/create_volume.rb +1 -1
  547. data/lib/fog/hp/requests/block_storage_v2/create_volume_backup.rb +1 -1
  548. data/lib/fog/hp/requests/block_storage_v2/delete_snapshot.rb +1 -1
  549. data/lib/fog/hp/requests/block_storage_v2/delete_volume.rb +1 -1
  550. data/lib/fog/hp/requests/block_storage_v2/delete_volume_backup.rb +1 -1
  551. data/lib/fog/hp/requests/block_storage_v2/get_snapshot_details.rb +1 -1
  552. data/lib/fog/hp/requests/block_storage_v2/get_volume_backup_details.rb +1 -1
  553. data/lib/fog/hp/requests/block_storage_v2/get_volume_details.rb +1 -1
  554. data/lib/fog/hp/requests/block_storage_v2/list_snapshots.rb +1 -1
  555. data/lib/fog/hp/requests/block_storage_v2/list_snapshots_detail.rb +1 -1
  556. data/lib/fog/hp/requests/block_storage_v2/list_volume_backups.rb +1 -1
  557. data/lib/fog/hp/requests/block_storage_v2/list_volume_backups_detail.rb +1 -1
  558. data/lib/fog/hp/requests/block_storage_v2/list_volumes.rb +1 -1
  559. data/lib/fog/hp/requests/block_storage_v2/list_volumes_detail.rb +1 -1
  560. data/lib/fog/hp/requests/block_storage_v2/restore_volume_backup.rb +1 -1
  561. data/lib/fog/hp/requests/block_storage_v2/update_snapshot.rb +1 -1
  562. data/lib/fog/hp/requests/block_storage_v2/update_volume.rb +1 -1
  563. data/lib/fog/hp/requests/cdn/delete_container.rb +1 -1
  564. data/lib/fog/hp/requests/compute/get_windows_password.rb +1 -1
  565. data/lib/fog/hp/requests/compute_v2/get_windows_password.rb +1 -1
  566. data/lib/fog/hp/requests/dns/delete_domain.rb +1 -1
  567. data/lib/fog/hp/requests/dns/delete_record.rb +1 -1
  568. data/lib/fog/hp/requests/dns/update_domain.rb +1 -1
  569. data/lib/fog/hp/requests/dns/update_record.rb +1 -1
  570. data/lib/fog/hp/requests/lb/delete_load_balancer.rb +1 -1
  571. data/lib/fog/hp/requests/lb/get_load_balancer.rb +1 -1
  572. data/lib/fog/hp/requests/lb/get_load_balancer_node.rb +1 -1
  573. data/lib/fog/hp/requests/lb/list_algorithms.rb +1 -1
  574. data/lib/fog/hp/requests/lb/list_limits.rb +1 -1
  575. data/lib/fog/hp/requests/lb/list_load_balancer_virtual_ips.rb +1 -1
  576. data/lib/fog/hp/requests/lb/list_load_balancers.rb +1 -1
  577. data/lib/fog/hp/requests/lb/list_protocols.rb +1 -1
  578. data/lib/fog/hp/requests/network/add_router_interface.rb +1 -1
  579. data/lib/fog/hp/requests/network/create_network.rb +1 -1
  580. data/lib/fog/hp/requests/network/create_port.rb +1 -1
  581. data/lib/fog/hp/requests/network/create_router.rb +1 -1
  582. data/lib/fog/hp/requests/network/create_subnet.rb +1 -1
  583. data/lib/fog/hp/requests/network/delete_network.rb +1 -1
  584. data/lib/fog/hp/requests/network/delete_port.rb +1 -1
  585. data/lib/fog/hp/requests/network/delete_router.rb +1 -1
  586. data/lib/fog/hp/requests/network/delete_subnet.rb +1 -1
  587. data/lib/fog/hp/requests/network/get_network.rb +1 -1
  588. data/lib/fog/hp/requests/network/get_port.rb +1 -1
  589. data/lib/fog/hp/requests/network/get_router.rb +1 -1
  590. data/lib/fog/hp/requests/network/get_subnet.rb +1 -1
  591. data/lib/fog/hp/requests/network/list_networks.rb +1 -1
  592. data/lib/fog/hp/requests/network/list_ports.rb +1 -1
  593. data/lib/fog/hp/requests/network/list_routers.rb +1 -1
  594. data/lib/fog/hp/requests/network/list_subnets.rb +1 -1
  595. data/lib/fog/hp/requests/network/remove_router_interface.rb +1 -1
  596. data/lib/fog/hp/requests/network/update_port.rb +1 -1
  597. data/lib/fog/hp/requests/network/update_router.rb +1 -1
  598. data/lib/fog/hp/requests/network/update_subnet.rb +1 -1
  599. data/lib/fog/hp/requests/storage/get_object_temp_url.rb +1 -1
  600. data/lib/fog/hp/simple_http_instrumentor.rb +1 -1
  601. data/lib/fog/hp/storage.rb +13 -14
  602. data/lib/fog/ibm/compute.rb +0 -1
  603. data/lib/fog/ibm/core.rb +2 -1
  604. data/lib/fog/ibm/requests/compute/create_instance.rb +1 -1
  605. data/lib/fog/ibm/storage.rb +0 -1
  606. data/lib/fog/internet_archive/core.rb +1 -0
  607. data/lib/fog/internet_archive/models/storage/file.rb +26 -26
  608. data/lib/fog/internet_archive/models/storage/ia_attributes.rb +1 -1
  609. data/lib/fog/internet_archive/parsers/storage/get_bucket_lifecycle.rb +2 -2
  610. data/lib/fog/internet_archive/requests/storage/abort_multipart_upload.rb +2 -2
  611. data/lib/fog/internet_archive/requests/storage/copy_object.rb +3 -3
  612. data/lib/fog/internet_archive/requests/storage/delete_bucket_policy.rb +1 -1
  613. data/lib/fog/internet_archive/requests/storage/delete_multiple_objects.rb +1 -1
  614. data/lib/fog/internet_archive/requests/storage/get_bucket_website.rb +1 -1
  615. data/lib/fog/internet_archive/requests/storage/head_object.rb +5 -5
  616. data/lib/fog/internet_archive/requests/storage/initiate_multipart_upload.rb +3 -3
  617. data/lib/fog/internet_archive/requests/storage/post_object_hidden_fields.rb +1 -1
  618. data/lib/fog/internet_archive/requests/storage/put_bucket.rb +1 -1
  619. data/lib/fog/internet_archive/requests/storage/put_bucket_acl.rb +4 -4
  620. data/lib/fog/internet_archive/requests/storage/put_bucket_lifecycle.rb +8 -8
  621. data/lib/fog/internet_archive/requests/storage/put_object.rb +1 -1
  622. data/lib/fog/internet_archive/requests/storage/put_object_acl.rb +4 -4
  623. data/lib/fog/internet_archive/requests/storage/sync_clock.rb +1 -1
  624. data/lib/fog/internet_archive/storage.rb +2 -3
  625. data/lib/fog/joyent.rb +11 -0
  626. data/lib/fog/joyent/analytics.rb +313 -0
  627. data/lib/fog/joyent/compute.rb +38 -17
  628. data/lib/fog/joyent/core.rb +1 -0
  629. data/lib/fog/joyent/errors.rb +1 -0
  630. data/lib/fog/joyent/models/analytics/field.rb +14 -0
  631. data/lib/fog/joyent/models/analytics/fields.rb +26 -0
  632. data/lib/fog/joyent/models/analytics/instrumentation.rb +83 -0
  633. data/lib/fog/joyent/models/analytics/instrumentations.rb +26 -0
  634. data/lib/fog/joyent/models/analytics/joyent_module.rb +15 -0
  635. data/lib/fog/joyent/models/analytics/joyent_modules.rb +26 -0
  636. data/lib/fog/joyent/models/analytics/metric.rb +18 -0
  637. data/lib/fog/joyent/models/analytics/metrics.rb +18 -0
  638. data/lib/fog/joyent/models/analytics/transformation.rb +13 -0
  639. data/lib/fog/joyent/models/analytics/transformations.rb +26 -0
  640. data/lib/fog/joyent/models/analytics/type.rb +16 -0
  641. data/lib/fog/joyent/models/analytics/types.rb +26 -0
  642. data/lib/fog/joyent/models/analytics/value.rb +20 -0
  643. data/lib/fog/joyent/models/compute/datacenter.rb +12 -0
  644. data/lib/fog/joyent/models/compute/datacenters.rb +25 -0
  645. data/lib/fog/joyent/models/compute/flavor.rb +6 -2
  646. data/lib/fog/joyent/models/compute/image.rb +12 -2
  647. data/lib/fog/joyent/models/compute/images.rb +11 -2
  648. data/lib/fog/joyent/models/compute/server.rb +3 -0
  649. data/lib/fog/joyent/requests/analytics/create_instrumentation.rb +25 -0
  650. data/lib/fog/joyent/requests/analytics/delete_instrumentation.rb +23 -0
  651. data/lib/fog/joyent/requests/analytics/describe_analytics.rb +26 -0
  652. data/lib/fog/joyent/requests/analytics/get_instrumentation.rb +26 -0
  653. data/lib/fog/joyent/requests/analytics/get_instrumentation_value.rb +30 -0
  654. data/lib/fog/joyent/requests/analytics/list_instrumentations.rb +25 -0
  655. data/lib/fog/joyent/requests/compute/get_dataset.rb +2 -1
  656. data/lib/fog/joyent/requests/compute/get_image.rb +30 -0
  657. data/lib/fog/joyent/requests/compute/get_key.rb +2 -1
  658. data/lib/fog/joyent/requests/compute/get_machine.rb +2 -1
  659. data/lib/fog/joyent/requests/compute/get_machine_metadata.rb +2 -1
  660. data/lib/fog/joyent/requests/compute/get_machine_snapshot.rb +2 -1
  661. data/lib/fog/joyent/requests/compute/get_machine_tag.rb +2 -1
  662. data/lib/fog/joyent/requests/compute/get_package.rb +2 -1
  663. data/lib/fog/joyent/requests/compute/list_datacenters.rb +2 -1
  664. data/lib/fog/joyent/requests/compute/list_datasets.rb +2 -1
  665. data/lib/fog/joyent/requests/compute/list_images.rb +26 -0
  666. data/lib/fog/joyent/requests/compute/list_keys.rb +2 -1
  667. data/lib/fog/joyent/requests/compute/list_machine_snapshots.rb +2 -1
  668. data/lib/fog/joyent/requests/compute/list_machine_tags.rb +2 -1
  669. data/lib/fog/joyent/requests/compute/list_machines.rb +2 -1
  670. data/lib/fog/joyent/requests/compute/list_networks.rb +2 -1
  671. data/lib/fog/joyent/requests/compute/list_packages.rb +2 -1
  672. data/lib/fog/libvirt/compute.rb +1 -1
  673. data/lib/fog/libvirt/core.rb +2 -0
  674. data/lib/fog/libvirt/models/compute/README.md +1 -1
  675. data/lib/fog/libvirt/models/compute/templates/network.xml.erb +1 -1
  676. data/lib/fog/libvirt/models/compute/templates/pool.xml.erb +1 -1
  677. data/lib/fog/libvirt/models/compute/templates/server.xml.erb +1 -0
  678. data/lib/fog/libvirt/models/compute/volume.rb +20 -3
  679. data/lib/fog/libvirt/requests/compute/clone_volume.rb +18 -0
  680. data/lib/fog/libvirt/requests/compute/mock_files/domain.xml +1 -1
  681. data/lib/fog/linode/compute.rb +3 -4
  682. data/lib/fog/linode/core.rb +1 -0
  683. data/lib/fog/linode/dns.rb +1 -2
  684. data/lib/fog/linode/models/compute/flavor.rb +2 -2
  685. data/lib/fog/linode/requests/compute/stackscript_list.rb +2 -2
  686. data/lib/fog/local/models/storage/file.rb +3 -0
  687. data/lib/fog/local/storage.rb +0 -1
  688. data/lib/fog/ninefold/compute.rb +1 -2
  689. data/lib/fog/ninefold/core.rb +1 -0
  690. data/lib/fog/ninefold/storage.rb +0 -1
  691. data/lib/fog/openstack/CHANGELOG.md +1 -1
  692. data/lib/fog/openstack/compute.rb +2 -3
  693. data/lib/fog/openstack/core.rb +5 -4
  694. data/lib/fog/openstack/docs/getting_started.md +4 -4
  695. data/lib/fog/openstack/docs/storage.md +1 -1
  696. data/lib/fog/openstack/examples/identity/basics.rb +1 -1
  697. data/lib/fog/openstack/examples/network/network_subnets_routers.rb +2 -2
  698. data/lib/fog/openstack/examples/storage/set-account-quota.rb +6 -6
  699. data/lib/fog/openstack/identity.rb +1 -1
  700. data/lib/fog/openstack/image.rb +1 -1
  701. data/lib/fog/openstack/metering.rb +1 -2
  702. data/lib/fog/openstack/models/compute/server.rb +21 -1
  703. data/lib/fog/openstack/models/compute/volume.rb +5 -0
  704. data/lib/fog/openstack/models/identity/users.rb +9 -0
  705. data/lib/fog/openstack/models/network/lb_health_monitor.rb +1 -1
  706. data/lib/fog/openstack/models/network/lb_health_monitors.rb +1 -1
  707. data/lib/fog/openstack/models/network/lb_member.rb +1 -1
  708. data/lib/fog/openstack/models/network/lb_members.rb +1 -1
  709. data/lib/fog/openstack/models/network/lb_pools.rb +1 -1
  710. data/lib/fog/openstack/models/network/lb_vips.rb +1 -1
  711. data/lib/fog/openstack/models/network/router.rb +2 -2
  712. data/lib/fog/openstack/models/storage/file.rb +3 -3
  713. data/lib/fog/openstack/models/volume/volume.rb +4 -0
  714. data/lib/fog/openstack/network.rb +1 -1
  715. data/lib/fog/openstack/orchestration.rb +2 -2
  716. data/lib/fog/openstack/requests/compute/add_security_group.rb +1 -1
  717. data/lib/fog/openstack/requests/compute/associate_address.rb +6 -0
  718. data/lib/fog/openstack/requests/compute/create_server.rb +1 -1
  719. data/lib/fog/openstack/requests/compute/get_host_details.rb +3 -3
  720. data/lib/fog/openstack/requests/compute/list_address_pools.rb +1 -1
  721. data/lib/fog/openstack/requests/compute/list_usages.rb +2 -2
  722. data/lib/fog/openstack/requests/compute/remove_security_group.rb +1 -1
  723. data/lib/fog/openstack/requests/compute/set_metadata.rb +2 -2
  724. data/lib/fog/openstack/requests/compute/update_metadata.rb +2 -2
  725. data/lib/fog/openstack/requests/identity/list_users.rb +2 -2
  726. data/lib/fog/openstack/requests/network/associate_lb_health_monitor.rb +1 -1
  727. data/lib/fog/openstack/requests/network/create_lb_health_monitor.rb +1 -1
  728. data/lib/fog/openstack/requests/network/create_lb_member.rb +1 -1
  729. data/lib/fog/openstack/requests/network/create_lb_pool.rb +1 -1
  730. data/lib/fog/openstack/requests/network/create_lb_vip.rb +1 -1
  731. data/lib/fog/openstack/requests/network/create_network.rb +5 -5
  732. data/lib/fog/openstack/requests/network/create_port.rb +1 -1
  733. data/lib/fog/openstack/requests/network/create_router.rb +1 -1
  734. data/lib/fog/openstack/requests/network/create_subnet.rb +1 -1
  735. data/lib/fog/openstack/requests/network/delete_lb_health_monitor.rb +1 -1
  736. data/lib/fog/openstack/requests/network/delete_lb_member.rb +1 -1
  737. data/lib/fog/openstack/requests/network/delete_lb_pool.rb +1 -1
  738. data/lib/fog/openstack/requests/network/delete_lb_vip.rb +1 -1
  739. data/lib/fog/openstack/requests/network/delete_network.rb +1 -1
  740. data/lib/fog/openstack/requests/network/delete_port.rb +1 -1
  741. data/lib/fog/openstack/requests/network/delete_subnet.rb +1 -1
  742. data/lib/fog/openstack/requests/network/disassociate_lb_health_monitor.rb +1 -1
  743. data/lib/fog/openstack/requests/network/get_lb_health_monitor.rb +1 -1
  744. data/lib/fog/openstack/requests/network/get_lb_member.rb +1 -1
  745. data/lib/fog/openstack/requests/network/get_lb_pool.rb +1 -1
  746. data/lib/fog/openstack/requests/network/get_lb_pool_stats.rb +1 -1
  747. data/lib/fog/openstack/requests/network/get_lb_vip.rb +1 -1
  748. data/lib/fog/openstack/requests/network/get_port.rb +1 -1
  749. data/lib/fog/openstack/requests/network/get_subnet.rb +1 -1
  750. data/lib/fog/openstack/requests/network/list_lb_health_monitors.rb +1 -1
  751. data/lib/fog/openstack/requests/network/list_lb_members.rb +1 -1
  752. data/lib/fog/openstack/requests/network/list_lb_pools.rb +1 -1
  753. data/lib/fog/openstack/requests/network/list_lb_vips.rb +1 -1
  754. data/lib/fog/openstack/requests/network/list_networks.rb +1 -1
  755. data/lib/fog/openstack/requests/network/list_ports.rb +1 -1
  756. data/lib/fog/openstack/requests/network/list_subnets.rb +1 -1
  757. data/lib/fog/openstack/requests/network/set_tenant.rb +1 -1
  758. data/lib/fog/openstack/requests/network/update_lb_health_monitor.rb +1 -1
  759. data/lib/fog/openstack/requests/network/update_lb_member.rb +1 -1
  760. data/lib/fog/openstack/requests/network/update_lb_pool.rb +1 -1
  761. data/lib/fog/openstack/requests/network/update_lb_vip.rb +1 -1
  762. data/lib/fog/openstack/requests/network/update_port.rb +1 -1
  763. data/lib/fog/openstack/requests/network/update_router.rb +4 -4
  764. data/lib/fog/openstack/requests/network/update_subnet.rb +1 -1
  765. data/lib/fog/openstack/requests/storage/get_object_http_url.rb +21 -13
  766. data/lib/fog/openstack/requests/storage/get_object_https_url.rb +6 -6
  767. data/lib/fog/openstack/requests/volume/delete_volume.rb +1 -1
  768. data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +1 -1
  769. data/lib/fog/openstack/storage.rb +1 -2
  770. data/lib/fog/openstack/volume.rb +1 -1
  771. data/lib/fog/openvz/README.md +1 -1
  772. data/lib/fog/openvz/compute.rb +0 -1
  773. data/lib/fog/ovirt/compute.rb +12 -3
  774. data/lib/fog/ovirt/core.rb +1 -0
  775. data/lib/fog/ovirt/models/compute/server.rb +3 -3
  776. data/lib/fog/ovirt/requests/compute/add_interface.rb +1 -1
  777. data/lib/fog/ovirt/requests/compute/add_volume.rb +1 -1
  778. data/lib/fog/ovirt/requests/compute/get_api_version.rb +1 -1
  779. data/lib/fog/ovirt/requests/compute/get_template.rb +1 -1
  780. data/lib/fog/ovirt/requests/compute/mock_files/cluster.xml +1 -1
  781. data/lib/fog/ovirt/requests/compute/mock_files/clusters.xml +1 -1
  782. data/lib/fog/ovirt/requests/compute/mock_files/data_centers.xml +1 -1
  783. data/lib/fog/ovirt/requests/compute/mock_files/nics.xml +1 -1
  784. data/lib/fog/ovirt/requests/compute/mock_files/quotas.xml +1 -1
  785. data/lib/fog/ovirt/requests/compute/mock_files/storage_domains.xml +1 -1
  786. data/lib/fog/ovirt/requests/compute/mock_files/template.xml +1 -1
  787. data/lib/fog/ovirt/requests/compute/mock_files/templates.xml +1 -1
  788. data/lib/fog/ovirt/requests/compute/mock_files/vms.xml +1 -1
  789. data/lib/fog/ovirt/requests/compute/mock_files/volumes.xml +1 -1
  790. data/lib/fog/rackspace/auto_scale.rb +1 -1
  791. data/lib/fog/rackspace/block_storage.rb +1 -1
  792. data/lib/fog/rackspace/cdn.rb +1 -2
  793. data/lib/fog/rackspace/compute.rb +1 -2
  794. data/lib/fog/rackspace/compute_v2.rb +15 -3
  795. data/lib/fog/rackspace/core.rb +2 -1
  796. data/lib/fog/rackspace/databases.rb +1 -1
  797. data/lib/fog/rackspace/dns.rb +1 -2
  798. data/lib/fog/rackspace/docs/compute_v2.md +22 -17
  799. data/lib/fog/rackspace/docs/getting_started.md +4 -4
  800. data/lib/fog/rackspace/docs/storage.md +35 -8
  801. data/lib/fog/rackspace/examples/README.md +2 -2
  802. data/lib/fog/rackspace/examples/auto_scale/add_policy.rb +1 -1
  803. data/lib/fog/rackspace/examples/auto_scale/delete_webhook.rb +1 -1
  804. data/lib/fog/rackspace/examples/block_storage/create_snapshot.rb +3 -3
  805. data/lib/fog/rackspace/examples/block_storage/delete_volume.rb +1 -1
  806. data/lib/fog/rackspace/examples/compute_v2/bootstrap_server.rb +7 -7
  807. data/lib/fog/rackspace/examples/compute_v2/create_image.rb +3 -3
  808. data/lib/fog/rackspace/examples/compute_v2/create_server.rb +9 -9
  809. data/lib/fog/rackspace/examples/compute_v2/delete_image.rb +4 -4
  810. data/lib/fog/rackspace/examples/compute_v2/delete_network.rb +1 -1
  811. data/lib/fog/rackspace/examples/compute_v2/delete_server.rb +1 -1
  812. data/lib/fog/rackspace/examples/compute_v2/detach_volume.rb +4 -4
  813. data/lib/fog/rackspace/examples/compute_v2/resize_server.rb +8 -8
  814. data/lib/fog/rackspace/examples/compute_v2/server_attachments.rb +1 -1
  815. data/lib/fog/rackspace/examples/compute_v2/server_metadata.rb +4 -4
  816. data/lib/fog/rackspace/examples/queues/list_messages.rb +1 -1
  817. data/lib/fog/rackspace/examples/storage/create_cdn_directory.rb +3 -3
  818. data/lib/fog/rackspace/examples/storage/create_private_directory.rb +5 -5
  819. data/lib/fog/rackspace/examples/storage/delete_directory.rb +6 -6
  820. data/lib/fog/rackspace/examples/storage/delete_file.rb +3 -3
  821. data/lib/fog/rackspace/examples/storage/download_file.rb +3 -3
  822. data/lib/fog/rackspace/examples/storage/lorem.txt +1 -1
  823. data/lib/fog/rackspace/examples/storage/storage_metadata.rb +4 -4
  824. data/lib/fog/rackspace/examples/storage/upload_file.rb +3 -3
  825. data/lib/fog/rackspace/examples/storage/upload_large_files.rb +1 -1
  826. data/lib/fog/rackspace/identity.rb +2 -2
  827. data/lib/fog/rackspace/load_balancers.rb +1 -1
  828. data/lib/fog/rackspace/mock_data.rb +3 -3
  829. data/lib/fog/rackspace/models/auto_scale/group.rb +13 -13
  830. data/lib/fog/rackspace/models/auto_scale/group_builder.rb +1 -1
  831. data/lib/fog/rackspace/models/auto_scale/group_config.rb +3 -3
  832. data/lib/fog/rackspace/models/auto_scale/groups.rb +3 -3
  833. data/lib/fog/rackspace/models/auto_scale/launch_config.rb +2 -2
  834. data/lib/fog/rackspace/models/auto_scale/policies.rb +4 -4
  835. data/lib/fog/rackspace/models/auto_scale/policy.rb +3 -3
  836. data/lib/fog/rackspace/models/auto_scale/webhook.rb +6 -6
  837. data/lib/fog/rackspace/models/auto_scale/webhooks.rb +2 -2
  838. data/lib/fog/rackspace/models/compute_v2/attachment.rb +9 -9
  839. data/lib/fog/rackspace/models/compute_v2/flavor.rb +9 -9
  840. data/lib/fog/rackspace/models/compute_v2/flavors.rb +1 -1
  841. data/lib/fog/rackspace/models/compute_v2/image.rb +25 -25
  842. data/lib/fog/rackspace/models/compute_v2/images.rb +7 -7
  843. data/lib/fog/rackspace/models/compute_v2/meta_parent.rb +1 -1
  844. data/lib/fog/rackspace/models/compute_v2/metadata.rb +9 -9
  845. data/lib/fog/rackspace/models/compute_v2/server.rb +51 -40
  846. data/lib/fog/rackspace/models/compute_v2/servers.rb +2 -2
  847. data/lib/fog/rackspace/models/compute_v2/virtual_interface.rb +87 -0
  848. data/lib/fog/rackspace/models/compute_v2/virtual_interfaces.rb +46 -0
  849. data/lib/fog/rackspace/models/dns/zones.rb +2 -2
  850. data/lib/fog/rackspace/models/identity/service_catalog.rb +9 -9
  851. data/lib/fog/rackspace/models/queues/claims.rb +1 -1
  852. data/lib/fog/rackspace/models/queues/messages.rb +1 -1
  853. data/lib/fog/rackspace/models/queues/queues.rb +1 -1
  854. data/lib/fog/rackspace/models/storage/account.rb +4 -4
  855. data/lib/fog/rackspace/models/storage/directories.rb +2 -2
  856. data/lib/fog/rackspace/models/storage/directory.rb +13 -13
  857. data/lib/fog/rackspace/models/storage/file.rb +9 -9
  858. data/lib/fog/rackspace/models/storage/files.rb +3 -3
  859. data/lib/fog/rackspace/models/storage/metadata.rb +25 -25
  860. data/lib/fog/rackspace/monitoring.rb +1 -1
  861. data/lib/fog/rackspace/queues.rb +1 -1
  862. data/lib/fog/rackspace/requests/auto_scale/create_group.rb +2 -2
  863. data/lib/fog/rackspace/requests/auto_scale/create_policy.rb +4 -4
  864. data/lib/fog/rackspace/requests/auto_scale/create_webhook.rb +1 -1
  865. data/lib/fog/rackspace/requests/auto_scale/delete_policy.rb +1 -1
  866. data/lib/fog/rackspace/requests/auto_scale/delete_webhook.rb +1 -1
  867. data/lib/fog/rackspace/requests/auto_scale/execute_anonymous_webhook.rb +1 -1
  868. data/lib/fog/rackspace/requests/auto_scale/execute_policy.rb +1 -1
  869. data/lib/fog/rackspace/requests/auto_scale/get_group.rb +1 -1
  870. data/lib/fog/rackspace/requests/auto_scale/get_group_config.rb +1 -1
  871. data/lib/fog/rackspace/requests/auto_scale/get_group_state.rb +3 -3
  872. data/lib/fog/rackspace/requests/auto_scale/get_launch_config.rb +1 -1
  873. data/lib/fog/rackspace/requests/auto_scale/get_policy.rb +1 -1
  874. data/lib/fog/rackspace/requests/auto_scale/get_webhook.rb +1 -1
  875. data/lib/fog/rackspace/requests/auto_scale/list_webhooks.rb +1 -1
  876. data/lib/fog/rackspace/requests/auto_scale/pause_group_state.rb +1 -1
  877. data/lib/fog/rackspace/requests/auto_scale/resume_group_state.rb +1 -1
  878. data/lib/fog/rackspace/requests/auto_scale/update_group_config.rb +3 -3
  879. data/lib/fog/rackspace/requests/auto_scale/update_launch_config.rb +3 -3
  880. data/lib/fog/rackspace/requests/auto_scale/update_policy.rb +2 -2
  881. data/lib/fog/rackspace/requests/auto_scale/update_webhook.rb +2 -2
  882. data/lib/fog/rackspace/requests/cdn/delete_object.rb +7 -7
  883. data/lib/fog/rackspace/requests/cdn/get_containers.rb +22 -22
  884. data/lib/fog/rackspace/requests/cdn/head_container.rb +16 -16
  885. data/lib/fog/rackspace/requests/cdn/post_container.rb +13 -13
  886. data/lib/fog/rackspace/requests/cdn/put_container.rb +14 -14
  887. data/lib/fog/rackspace/requests/compute_v2/attach_volume.rb +2 -2
  888. data/lib/fog/rackspace/requests/compute_v2/change_server_password.rb +3 -3
  889. data/lib/fog/rackspace/requests/compute_v2/confirm_resize_server.rb +2 -2
  890. data/lib/fog/rackspace/requests/compute_v2/create_image.rb +1 -1
  891. data/lib/fog/rackspace/requests/compute_v2/create_server.rb +7 -4
  892. data/lib/fog/rackspace/requests/compute_v2/create_virtual_interface.rb +32 -0
  893. data/lib/fog/rackspace/requests/compute_v2/delete_attachment.rb +1 -1
  894. data/lib/fog/rackspace/requests/compute_v2/delete_image.rb +4 -4
  895. data/lib/fog/rackspace/requests/compute_v2/delete_metadata_item.rb +5 -5
  896. data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +1 -1
  897. data/lib/fog/rackspace/requests/compute_v2/delete_virtual_interface.rb +25 -0
  898. data/lib/fog/rackspace/requests/compute_v2/get_attachment.rb +1 -1
  899. data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +2 -2
  900. data/lib/fog/rackspace/requests/compute_v2/get_image.rb +1 -1
  901. data/lib/fog/rackspace/requests/compute_v2/get_metadata_item.rb +4 -4
  902. data/lib/fog/rackspace/requests/compute_v2/get_server.rb +4 -4
  903. data/lib/fog/rackspace/requests/compute_v2/list_addresses.rb +2 -2
  904. data/lib/fog/rackspace/requests/compute_v2/list_addresses_by_network.rb +5 -5
  905. data/lib/fog/rackspace/requests/compute_v2/list_attachments.rb +1 -1
  906. data/lib/fog/rackspace/requests/compute_v2/list_flavors.rb +1 -1
  907. data/lib/fog/rackspace/requests/compute_v2/list_images.rb +1 -1
  908. data/lib/fog/rackspace/requests/compute_v2/list_images_detail.rb +1 -1
  909. data/lib/fog/rackspace/requests/compute_v2/list_metadata.rb +2 -2
  910. data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +4 -4
  911. data/lib/fog/rackspace/requests/compute_v2/list_virtual_interfaces.rb +24 -0
  912. data/lib/fog/rackspace/requests/compute_v2/reboot_server.rb +1 -1
  913. data/lib/fog/rackspace/requests/compute_v2/rebuild_server.rb +5 -5
  914. data/lib/fog/rackspace/requests/compute_v2/rescue_server.rb +1 -1
  915. data/lib/fog/rackspace/requests/compute_v2/resize_server.rb +1 -1
  916. data/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb +1 -1
  917. data/lib/fog/rackspace/requests/compute_v2/set_metadata.rb +5 -5
  918. data/lib/fog/rackspace/requests/compute_v2/set_metadata_item.rb +6 -6
  919. data/lib/fog/rackspace/requests/compute_v2/update_metadata.rb +5 -5
  920. data/lib/fog/rackspace/requests/compute_v2/update_server.rb +3 -3
  921. data/lib/fog/rackspace/requests/dns/add_records.rb +2 -2
  922. data/lib/fog/rackspace/requests/load_balancers/get_stats.rb +1 -1
  923. data/lib/fog/rackspace/requests/monitoring/create_agent_token.rb +1 -1
  924. data/lib/fog/rackspace/requests/monitoring/create_alarm.rb +1 -1
  925. data/lib/fog/rackspace/requests/monitoring/create_check.rb +1 -1
  926. data/lib/fog/rackspace/requests/monitoring/create_entity.rb +1 -1
  927. data/lib/fog/rackspace/requests/monitoring/delete_alarm.rb +1 -1
  928. data/lib/fog/rackspace/requests/monitoring/delete_check.rb +1 -1
  929. data/lib/fog/rackspace/requests/monitoring/get_agent.rb +1 -1
  930. data/lib/fog/rackspace/requests/monitoring/get_check.rb +19 -19
  931. data/lib/fog/rackspace/requests/monitoring/get_cpus_info.rb +1 -1
  932. data/lib/fog/rackspace/requests/monitoring/get_logged_in_user_info.rb +2 -2
  933. data/lib/fog/rackspace/requests/monitoring/get_memory_info.rb +1 -1
  934. data/lib/fog/rackspace/requests/monitoring/get_network_interfaces_info.rb +2 -2
  935. data/lib/fog/rackspace/requests/monitoring/get_notification.rb +1 -1
  936. data/lib/fog/rackspace/requests/monitoring/get_processes_info.rb +1 -1
  937. data/lib/fog/rackspace/requests/monitoring/list_agents.rb +3 -3
  938. data/lib/fog/rackspace/requests/monitoring/list_check_types.rb +3 -3
  939. data/lib/fog/rackspace/requests/monitoring/list_entities.rb +1 -1
  940. data/lib/fog/rackspace/requests/monitoring/list_metrics.rb +1 -1
  941. data/lib/fog/rackspace/requests/monitoring/list_notifications.rb +3 -3
  942. data/lib/fog/rackspace/requests/monitoring/list_overview.rb +3 -3
  943. data/lib/fog/rackspace/requests/monitoring/update_entity.rb +1 -1
  944. data/lib/fog/rackspace/requests/storage/extract_archive.rb +2 -3
  945. data/lib/fog/rackspace/requests/storage/get_object_http_url.rb +1 -1
  946. data/lib/fog/rackspace/service.rb +1 -1
  947. data/lib/fog/rackspace/storage.rb +1 -2
  948. data/lib/fog/rage4/core.rb +1 -0
  949. data/lib/fog/rage4/dns.rb +1 -2
  950. data/lib/fog/riakcs/core.rb +1 -0
  951. data/lib/fog/riakcs/provisioning.rb +1 -1
  952. data/lib/fog/riakcs/requests/usage/get_usage.rb +6 -6
  953. data/lib/fog/sakuracloud.rb +16 -0
  954. data/lib/fog/sakuracloud/compute.rb +67 -0
  955. data/lib/fog/sakuracloud/docs/getting_started.md +450 -0
  956. data/lib/fog/sakuracloud/models/compute/plan.rb +18 -0
  957. data/lib/fog/sakuracloud/models/compute/plans.rb +25 -0
  958. data/lib/fog/sakuracloud/models/compute/server.rb +42 -0
  959. data/lib/fog/sakuracloud/models/compute/servers.rb +65 -0
  960. data/lib/fog/sakuracloud/models/compute/ssh_key.rb +15 -0
  961. data/lib/fog/sakuracloud/models/compute/ssh_keys.rb +25 -0
  962. data/lib/fog/sakuracloud/models/compute/zone.rb +15 -0
  963. data/lib/fog/sakuracloud/models/compute/zones.rb +25 -0
  964. data/lib/fog/sakuracloud/models/volume/archive.rb +16 -0
  965. data/lib/fog/sakuracloud/models/volume/archives.rb +25 -0
  966. data/lib/fog/sakuracloud/models/volume/disk.rb +38 -0
  967. data/lib/fog/sakuracloud/models/volume/disks.rb +30 -0
  968. data/lib/fog/sakuracloud/models/volume/plan.rb +14 -0
  969. data/lib/fog/sakuracloud/models/volume/plans.rb +25 -0
  970. data/lib/fog/sakuracloud/requests/compute/boot_server.rb +32 -0
  971. data/lib/fog/sakuracloud/requests/compute/create_server.rb +44 -0
  972. data/lib/fog/sakuracloud/requests/compute/delete_server.rb +34 -0
  973. data/lib/fog/sakuracloud/requests/compute/list_plans.rb +46 -0
  974. data/lib/fog/sakuracloud/requests/compute/list_servers.rb +44 -0
  975. data/lib/fog/sakuracloud/requests/compute/list_ssh_keys.rb +40 -0
  976. data/lib/fog/sakuracloud/requests/compute/list_zones.rb +40 -0
  977. data/lib/fog/sakuracloud/requests/compute/stop_server.rb +38 -0
  978. data/lib/fog/sakuracloud/requests/volume/attach_disk.rb +32 -0
  979. data/lib/fog/sakuracloud/requests/volume/configure_disk.rb +36 -0
  980. data/lib/fog/sakuracloud/requests/volume/create_disk.rb +44 -0
  981. data/lib/fog/sakuracloud/requests/volume/delete_disk.rb +31 -0
  982. data/lib/fog/sakuracloud/requests/volume/list_archives.rb +46 -0
  983. data/lib/fog/sakuracloud/requests/volume/list_disks.rb +50 -0
  984. data/lib/fog/sakuracloud/requests/volume/list_plans.rb +40 -0
  985. data/lib/fog/sakuracloud/volume.rb +92 -0
  986. data/lib/fog/serverlove/compute.rb +1 -1
  987. data/lib/fog/serverlove/core.rb +1 -0
  988. data/lib/fog/serverlove/requests/compute/create_image.rb +1 -1
  989. data/lib/fog/serverlove/requests/compute/create_server.rb +1 -1
  990. data/lib/fog/serverlove/requests/compute/destroy_image.rb +1 -1
  991. data/lib/fog/serverlove/requests/compute/destroy_server.rb +1 -1
  992. data/lib/fog/serverlove/requests/compute/get_image.rb +1 -1
  993. data/lib/fog/serverlove/requests/compute/get_images.rb +1 -1
  994. data/lib/fog/serverlove/requests/compute/get_server.rb +1 -1
  995. data/lib/fog/serverlove/requests/compute/get_servers.rb +1 -1
  996. data/lib/fog/serverlove/requests/compute/load_standard_image.rb +1 -1
  997. data/lib/fog/serverlove/requests/compute/reset_server.rb +1 -1
  998. data/lib/fog/serverlove/requests/compute/shutdown_server.rb +1 -1
  999. data/lib/fog/serverlove/requests/compute/start_server.rb +1 -1
  1000. data/lib/fog/serverlove/requests/compute/stop_server.rb +1 -1
  1001. data/lib/fog/serverlove/requests/compute/update_image.rb +1 -1
  1002. data/lib/fog/serverlove/requests/compute/update_server.rb +1 -1
  1003. data/lib/fog/serverlove/util/compute/password_generator.rb +1 -1
  1004. data/lib/fog/storm_on_demand/README.md +2 -2
  1005. data/lib/fog/storm_on_demand/account.rb +0 -1
  1006. data/lib/fog/storm_on_demand/billing.rb +1 -2
  1007. data/lib/fog/storm_on_demand/compute.rb +1 -2
  1008. data/lib/fog/storm_on_demand/core.rb +2 -1
  1009. data/lib/fog/storm_on_demand/dns.rb +2 -3
  1010. data/lib/fog/storm_on_demand/models/account/token.rb +1 -1
  1011. data/lib/fog/storm_on_demand/models/billing/payment.rb +2 -2
  1012. data/lib/fog/storm_on_demand/models/compute/image.rb +1 -1
  1013. data/lib/fog/storm_on_demand/models/compute/notification.rb +1 -1
  1014. data/lib/fog/storm_on_demand/models/compute/notifications.rb +1 -1
  1015. data/lib/fog/storm_on_demand/models/compute/templates.rb +1 -1
  1016. data/lib/fog/storm_on_demand/models/dns/zone.rb +1 -1
  1017. data/lib/fog/storm_on_demand/models/network/firewalls.rb +2 -2
  1018. data/lib/fog/storm_on_demand/models/network/network_ips.rb +1 -1
  1019. data/lib/fog/storm_on_demand/models/network/pool.rb +1 -1
  1020. data/lib/fog/storm_on_demand/models/network/pools.rb +1 -1
  1021. data/lib/fog/storm_on_demand/models/network/private_ips.rb +1 -1
  1022. data/lib/fog/storm_on_demand/models/network/ruleset.rb +1 -1
  1023. data/lib/fog/storm_on_demand/models/network/rulesets.rb +1 -1
  1024. data/lib/fog/storm_on_demand/models/network/zones.rb +1 -1
  1025. data/lib/fog/storm_on_demand/models/storage/cluster.rb +1 -1
  1026. data/lib/fog/storm_on_demand/models/storage/volume.rb +1 -1
  1027. data/lib/fog/storm_on_demand/models/storage/volumes.rb +1 -1
  1028. data/lib/fog/storm_on_demand/models/support/ticket.rb +1 -1
  1029. data/lib/fog/storm_on_demand/monitoring.rb +2 -3
  1030. data/lib/fog/storm_on_demand/network.rb +0 -1
  1031. data/lib/fog/storm_on_demand/requests/compute/clone_server.rb +1 -1
  1032. data/lib/fog/storm_on_demand/requests/compute/create_image.rb +1 -1
  1033. data/lib/fog/storm_on_demand/requests/compute/create_server.rb +1 -1
  1034. data/lib/fog/storm_on_demand/requests/compute/delete_server.rb +1 -1
  1035. data/lib/fog/storm_on_demand/requests/compute/get_config_details.rb +1 -1
  1036. data/lib/fog/storm_on_demand/requests/compute/get_server.rb +1 -1
  1037. data/lib/fog/storm_on_demand/requests/compute/list_configs.rb +1 -1
  1038. data/lib/fog/storm_on_demand/requests/compute/list_images.rb +1 -1
  1039. data/lib/fog/storm_on_demand/requests/compute/list_servers.rb +1 -1
  1040. data/lib/fog/storm_on_demand/requests/compute/list_templates.rb +1 -1
  1041. data/lib/fog/storm_on_demand/requests/compute/reboot_server.rb +1 -1
  1042. data/lib/fog/storm_on_demand/requests/compute/resize_server.rb +1 -1
  1043. data/lib/fog/storm_on_demand/requests/dns/delete_reverse.rb +1 -1
  1044. data/lib/fog/storm_on_demand/requests/dns/update_reverse.rb +1 -1
  1045. data/lib/fog/storm_on_demand/requests/network/add_balancer_node.rb +1 -1
  1046. data/lib/fog/storm_on_demand/requests/network/add_ip_to_server.rb +1 -1
  1047. data/lib/fog/storm_on_demand/requests/network/list_balancers.rb +1 -1
  1048. data/lib/fog/storm_on_demand/requests/network/list_private_ips.rb +1 -1
  1049. data/lib/fog/storm_on_demand/requests/network/remove_balancer_node.rb +1 -1
  1050. data/lib/fog/storm_on_demand/requests/network/update_firewall.rb +1 -1
  1051. data/lib/fog/storm_on_demand/shared.rb +2 -2
  1052. data/lib/fog/storm_on_demand/storage.rb +0 -1
  1053. data/lib/fog/storm_on_demand/support.rb +1 -2
  1054. data/lib/fog/storm_on_demand/vpn.rb +0 -1
  1055. data/lib/fog/terremark/requests/shared/add_internet_service.rb +1 -1
  1056. data/lib/fog/terremark/requests/shared/configure_vapp.rb +3 -3
  1057. data/lib/fog/terremark/requests/shared/create_internet_service.rb +1 -1
  1058. data/lib/fog/terremark/requests/shared/get_keys_list.rb +2 -2
  1059. data/lib/fog/terremark/requests/shared/get_network.rb +1 -1
  1060. data/lib/fog/terremark/requests/shared/get_node_services.rb +2 -2
  1061. data/lib/fog/terremark/vcloud.rb +1 -1
  1062. data/lib/fog/vcloud/compute.rb +1 -2
  1063. data/lib/fog/vcloud/models/compute/server.rb +4 -4
  1064. data/lib/fog/vcloud/models/compute/tag.rb +1 -1
  1065. data/lib/fog/vcloud/models/compute/tags.rb +2 -2
  1066. data/lib/fog/vcloud/requests/compute/configure_metadata.rb +1 -1
  1067. data/lib/fog/vcloud/requests/compute/configure_org_network.rb +4 -4
  1068. data/lib/fog/vcloud/requests/compute/configure_vm.rb +1 -1
  1069. data/lib/fog/vcloud/requests/compute/undeploy.rb +2 -2
  1070. data/lib/fog/vcloud_director/compute.rb +19 -7
  1071. data/lib/fog/vcloud_director/core.rb +2 -0
  1072. data/lib/fog/vcloud_director/models/compute/network.rb +2 -0
  1073. data/lib/fog/vcloud_director/models/compute/networks.rb +24 -3
  1074. data/lib/fog/vcloud_director/models/compute/tags.rb +2 -2
  1075. data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +1 -1
  1076. data/lib/fog/vcloud_director/requests/compute/get_network.rb +4 -0
  1077. data/lib/fog/vcloud_director/requests/compute/get_network_complete.rb +80 -0
  1078. data/lib/fog/vcloud_director/requests/compute/get_vapps_in_lease_from_query.rb +1 -1
  1079. data/lib/fog/vcloud_director/requests/compute/get_vdcs_from_query.rb +1 -1
  1080. data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +4 -4
  1081. data/lib/fog/version.rb +1 -1
  1082. data/lib/fog/vmfusion/compute.rb +0 -1
  1083. data/lib/fog/voxel/compute.rb +1 -2
  1084. data/lib/fog/voxel/core.rb +1 -0
  1085. data/lib/fog/voxel/parsers/compute/images_list.rb +1 -1
  1086. data/lib/fog/vsphere/models/compute/customfields.rb +1 -1
  1087. data/lib/fog/vsphere/models/compute/datacenter.rb +1 -1
  1088. data/lib/fog/vsphere/models/compute/interface.rb +4 -2
  1089. data/lib/fog/vsphere/models/compute/interfaces.rb +2 -2
  1090. data/lib/fog/vsphere/models/compute/server.rb +3 -3
  1091. data/lib/fog/vsphere/models/compute/template.rb +2 -0
  1092. data/lib/fog/vsphere/requests/compute/create_vm.rb +5 -5
  1093. data/lib/fog/vsphere/requests/compute/get_server_type.rb +8 -8
  1094. data/lib/fog/vsphere/requests/compute/get_vm_first_scsi_controller.rb +1 -1
  1095. data/lib/fog/vsphere/requests/compute/list_datacenters.rb +4 -4
  1096. data/lib/fog/vsphere/requests/compute/list_interface_types.rb +1 -1
  1097. data/lib/fog/vsphere/requests/compute/list_networks.rb +1 -1
  1098. data/lib/fog/vsphere/requests/compute/list_server_types.rb +14 -14
  1099. data/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb +1 -1
  1100. data/lib/fog/vsphere/requests/compute/list_vm_volumes.rb +1 -1
  1101. data/lib/fog/vsphere/requests/compute/modify_vm_interface.rb +2 -2
  1102. data/lib/fog/vsphere/requests/compute/modify_vm_volume.rb +1 -1
  1103. data/lib/fog/xenserver/CHANGELOG.md +4 -4
  1104. data/lib/fog/xenserver/compute.rb +1 -2
  1105. data/lib/fog/xenserver/core.rb +14 -13
  1106. data/lib/fog/xenserver/examples/chage_default_storage_repository.md +5 -5
  1107. data/lib/fog/xenserver/examples/creating_servers.md +19 -19
  1108. data/lib/fog/xenserver/examples/getting_started.md +7 -7
  1109. data/lib/fog/xenserver/examples/networks-and-vlans.rb +2 -2
  1110. data/lib/fog/xenserver/examples/storage_repositories.md +3 -3
  1111. data/lib/fog/xenserver/models/compute/guest_metrics.rb +5 -5
  1112. data/lib/fog/xenserver/models/compute/host.rb +12 -12
  1113. data/lib/fog/xenserver/models/compute/host_cpu.rb +5 -5
  1114. data/lib/fog/xenserver/models/compute/host_metrics.rb +6 -6
  1115. data/lib/fog/xenserver/models/compute/pbd.rb +1 -1
  1116. data/lib/fog/xenserver/models/compute/pool.rb +1 -1
  1117. data/lib/fog/xenserver/models/compute/storage_repository.rb +5 -5
  1118. data/lib/fog/xenserver/models/compute/vbd_metrics.rb +5 -5
  1119. data/lib/fog/xenserver/models/compute/vlan.rb +3 -3
  1120. data/lib/fog/xenserver/parser.rb +6 -6
  1121. data/lib/fog/xenserver/parsers/get_hosts.rb +4 -4
  1122. data/lib/fog/xenserver/parsers/get_networks.rb +4 -4
  1123. data/lib/fog/xenserver/parsers/get_pools.rb +4 -4
  1124. data/lib/fog/xenserver/parsers/get_records.rb +4 -4
  1125. data/lib/fog/xenserver/parsers/get_storage_repositories.rb +4 -4
  1126. data/lib/fog/xenserver/parsers/get_vbds.rb +4 -4
  1127. data/lib/fog/xenserver/parsers/get_vifs.rb +4 -4
  1128. data/lib/fog/xenserver/parsers/get_vms.rb +4 -4
  1129. data/lib/fog/xenserver/requests/compute/clone_server.rb +2 -2
  1130. data/lib/fog/xenserver/requests/compute/create_network.rb +7 -7
  1131. data/lib/fog/xenserver/requests/compute/create_server.rb +14 -14
  1132. data/lib/fog/xenserver/requests/compute/create_sr.rb +20 -20
  1133. data/lib/fog/xenserver/requests/compute/create_vbd.rb +3 -3
  1134. data/lib/fog/xenserver/requests/compute/create_vdi.rb +3 -3
  1135. data/lib/fog/xenserver/requests/compute/create_vif.rb +4 -4
  1136. data/lib/fog/xenserver/requests/compute/create_vlan.rb +7 -7
  1137. data/lib/fog/xenserver/requests/compute/destroy_network.rb +3 -3
  1138. data/lib/fog/xenserver/requests/compute/destroy_sr.rb +2 -2
  1139. data/lib/fog/xenserver/requests/compute/destroy_vlan.rb +3 -3
  1140. data/lib/fog/xenserver/requests/compute/disable_host.rb +7 -7
  1141. data/lib/fog/xenserver/requests/compute/enable_host.rb +7 -7
  1142. data/lib/fog/xenserver/requests/compute/get_record.rb +5 -5
  1143. data/lib/fog/xenserver/requests/compute/get_records.rb +7 -7
  1144. data/lib/fog/xenserver/requests/compute/provision_server.rb +1 -1
  1145. data/lib/fog/xenserver/requests/compute/reboot_host.rb +5 -5
  1146. data/lib/fog/xenserver/requests/compute/reboot_server.rb +5 -5
  1147. data/lib/fog/xenserver/requests/compute/set_affinity.rb +6 -6
  1148. data/lib/fog/xenserver/requests/compute/set_attribute.rb +6 -6
  1149. data/lib/fog/xenserver/requests/compute/shutdown_host.rb +5 -5
  1150. data/lib/fog/xenserver/requests/compute/shutdown_server.rb +5 -5
  1151. data/lib/fog/xenserver/requests/compute/start_server.rb +5 -5
  1152. data/lib/fog/xenserver/requests/compute/start_vm.rb +5 -5
  1153. data/lib/fog/xenserver/requests/compute/unplug_pbd.rb +1 -1
  1154. data/lib/fog/xenserver/utilities.rb +1 -1
  1155. data/lib/fog/xml.rb +10 -2
  1156. data/lib/fog/xml/connection.rb +13 -0
  1157. data/lib/fog/zerigo/core.rb +1 -0
  1158. data/lib/fog/zerigo/dns.rb +1 -2
  1159. data/lib/fog/zerigo/models/dns/records.rb +2 -2
  1160. data/lib/fog/zerigo/parsers/dns/get_zone.rb +2 -2
  1161. data/lib/fog/zerigo/parsers/dns/get_zone_stats.rb +1 -1
  1162. data/lib/fog/zerigo/requests/dns/count_hosts.rb +3 -3
  1163. data/lib/fog/zerigo/requests/dns/count_zones.rb +3 -3
  1164. data/lib/fog/zerigo/requests/dns/create_host.rb +4 -4
  1165. data/lib/fog/zerigo/requests/dns/create_zone.rb +4 -4
  1166. data/lib/fog/zerigo/requests/dns/delete_host.rb +2 -2
  1167. data/lib/fog/zerigo/requests/dns/delete_zone.rb +1 -1
  1168. data/lib/fog/zerigo/requests/dns/get_host.rb +1 -1
  1169. data/lib/fog/zerigo/requests/dns/get_zone.rb +4 -4
  1170. data/lib/fog/zerigo/requests/dns/get_zone_stats.rb +3 -3
  1171. data/lib/fog/zerigo/requests/dns/list_zones.rb +1 -1
  1172. data/lib/fog/zerigo/requests/dns/update_host.rb +1 -1
  1173. data/lib/fog/zerigo/requests/dns/update_zone.rb +1 -1
  1174. data/lib/tasks/changelog_task.rb +1 -0
  1175. data/providers/brightbox/.gitignore +1 -0
  1176. data/providers/brightbox/Gemfile +3 -0
  1177. data/providers/brightbox/LICENSE.txt +22 -0
  1178. data/providers/brightbox/README.md +50 -0
  1179. data/providers/brightbox/Rakefile +8 -0
  1180. data/providers/brightbox/fog-brightbox.gemspec +28 -0
  1181. data/{lib → providers/brightbox/lib}/fog/brightbox.rb +0 -0
  1182. data/{lib → providers/brightbox/lib}/fog/brightbox/compute.rb +0 -1
  1183. data/{lib → providers/brightbox/lib}/fog/brightbox/compute/image_selector.rb +0 -0
  1184. data/{lib → providers/brightbox/lib}/fog/brightbox/compute/shared.rb +4 -4
  1185. data/{lib → providers/brightbox/lib}/fog/brightbox/core.rb +1 -0
  1186. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/account.rb +0 -0
  1187. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/accounts.rb +0 -0
  1188. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/api_client.rb +0 -0
  1189. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/api_clients.rb +0 -0
  1190. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/application.rb +0 -0
  1191. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/applications.rb +0 -0
  1192. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/cloud_ip.rb +0 -0
  1193. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/cloud_ips.rb +0 -0
  1194. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/collaboration.rb +0 -0
  1195. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/collaborations.rb +0 -0
  1196. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_server.rb +8 -2
  1197. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_servers.rb +0 -0
  1198. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_snapshot.rb +0 -0
  1199. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_snapshots.rb +0 -0
  1200. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_type.rb +0 -0
  1201. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_types.rb +0 -0
  1202. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_policies.rb +0 -0
  1203. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_policy.rb +0 -0
  1204. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_rule.rb +0 -0
  1205. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_rules.rb +0 -0
  1206. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/flavor.rb +0 -0
  1207. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/flavors.rb +0 -0
  1208. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/image.rb +0 -0
  1209. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/images.rb +0 -0
  1210. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/load_balancer.rb +0 -0
  1211. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/load_balancers.rb +0 -0
  1212. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/server.rb +0 -0
  1213. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/server_group.rb +0 -0
  1214. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/server_groups.rb +0 -0
  1215. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/servers.rb +0 -0
  1216. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/user.rb +0 -0
  1217. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/user_collaboration.rb +0 -0
  1218. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/user_collaborations.rb +0 -0
  1219. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/users.rb +0 -0
  1220. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/zone.rb +0 -0
  1221. data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/zones.rb +0 -0
  1222. data/{lib → providers/brightbox/lib}/fog/brightbox/oauth2.rb +1 -1
  1223. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/accept_user_collaboration.rb +0 -0
  1224. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/activate_console_server.rb +0 -0
  1225. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/add_listeners_load_balancer.rb +0 -0
  1226. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/add_nodes_load_balancer.rb +0 -0
  1227. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/add_servers_server_group.rb +0 -0
  1228. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/apply_to_firewall_policy.rb +0 -0
  1229. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_api_client.rb +0 -0
  1230. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_application.rb +0 -0
  1231. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_cloud_ip.rb +0 -0
  1232. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_collaboration.rb +0 -0
  1233. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_database_server.rb +0 -0
  1234. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_firewall_policy.rb +0 -0
  1235. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_firewall_rule.rb +0 -0
  1236. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_image.rb +0 -0
  1237. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_load_balancer.rb +0 -0
  1238. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_server.rb +0 -0
  1239. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_server_group.rb +0 -0
  1240. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_api_client.rb +0 -0
  1241. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_application.rb +0 -0
  1242. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_cloud_ip.rb +0 -0
  1243. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_collaboration.rb +0 -0
  1244. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_database_server.rb +0 -0
  1245. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_database_snapshot.rb +0 -0
  1246. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_firewall_policy.rb +0 -0
  1247. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_firewall_rule.rb +0 -0
  1248. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_image.rb +0 -0
  1249. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_load_balancer.rb +0 -0
  1250. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_server.rb +0 -0
  1251. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_server_group.rb +0 -0
  1252. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_user_collaboration.rb +0 -0
  1253. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_account.rb +0 -0
  1254. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_api_client.rb +0 -0
  1255. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_application.rb +0 -0
  1256. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_authenticated_user.rb +0 -0
  1257. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_cloud_ip.rb +0 -0
  1258. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_collaboration.rb +0 -0
  1259. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_server.rb +0 -0
  1260. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_snapshot.rb +0 -0
  1261. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_type.rb +0 -0
  1262. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_firewall_policy.rb +0 -0
  1263. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_firewall_rule.rb +0 -0
  1264. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_image.rb +0 -0
  1265. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_interface.rb +0 -0
  1266. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_load_balancer.rb +0 -0
  1267. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_scoped_account.rb +0 -0
  1268. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_server.rb +0 -0
  1269. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_server_group.rb +0 -0
  1270. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_server_type.rb +0 -0
  1271. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_user.rb +0 -0
  1272. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_user_collaboration.rb +0 -0
  1273. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_zone.rb +0 -0
  1274. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_accounts.rb +0 -0
  1275. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_api_clients.rb +0 -0
  1276. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_applications.rb +0 -0
  1277. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_cloud_ips.rb +0 -0
  1278. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_collaborations.rb +0 -0
  1279. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_servers.rb +0 -0
  1280. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_snapshots.rb +0 -0
  1281. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_types.rb +0 -0
  1282. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_firewall_policies.rb +0 -0
  1283. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_images.rb +0 -0
  1284. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_load_balancers.rb +0 -0
  1285. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_server_groups.rb +0 -0
  1286. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_server_types.rb +0 -0
  1287. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_servers.rb +0 -0
  1288. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_user_collaborations.rb +0 -0
  1289. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_users.rb +0 -0
  1290. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_zones.rb +0 -0
  1291. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/map_cloud_ip.rb +0 -0
  1292. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/move_servers_server_group.rb +0 -0
  1293. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reject_user_collaboration.rb +0 -0
  1294. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_firewall_policy.rb +0 -0
  1295. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb +0 -0
  1296. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb +0 -0
  1297. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_servers_server_group.rb +0 -0
  1298. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/resend_collaboration.rb +0 -0
  1299. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_ftp_password_account.rb +0 -0
  1300. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb +0 -0
  1301. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_password_database_server.rb +0 -0
  1302. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_secret_api_client.rb +0 -0
  1303. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_secret_application.rb +0 -0
  1304. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/shutdown_server.rb +0 -0
  1305. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/snapshot_database_server.rb +0 -0
  1306. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/snapshot_server.rb +0 -0
  1307. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/start_server.rb +0 -0
  1308. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/stop_server.rb +0 -0
  1309. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/unmap_cloud_ip.rb +0 -0
  1310. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_account.rb +0 -0
  1311. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_api_client.rb +0 -0
  1312. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_application.rb +0 -0
  1313. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_cloud_ip.rb +0 -0
  1314. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_database_server.rb +0 -0
  1315. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_database_snapshot.rb +0 -0
  1316. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_firewall_policy.rb +0 -0
  1317. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_firewall_rule.rb +0 -0
  1318. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_image.rb +0 -0
  1319. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_load_balancer.rb +0 -0
  1320. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_scoped_account.rb +0 -0
  1321. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_server.rb +0 -0
  1322. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_server_group.rb +0 -0
  1323. data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_user.rb +0 -0
  1324. data/providers/brightbox/lib/fog/brightbox/version.rb +5 -0
  1325. data/providers/brightbox/test/fog/compute/brightbox_test.rb +37 -0
  1326. data/test/fog/xml/connection_test.rb +30 -0
  1327. data/tests/aws/models/elasticache/parameter_groups_tests.rb +2 -4
  1328. data/tests/aws/requests/compute/address_tests.rb +14 -6
  1329. data/tests/aws/requests/compute/instance_tests.rb +12 -2
  1330. data/tests/aws/requests/compute/network_interface_tests.rb +14 -2
  1331. data/tests/aws/requests/compute/region_tests.rb +11 -0
  1332. data/tests/aws/requests/iam/account_tests.rb +34 -0
  1333. data/tests/aws/signaturev4_tests.rb +8 -8
  1334. data/tests/brightbox/models/compute/database_server_tests.rb +14 -2
  1335. data/tests/brightbox/requests/compute/account_tests.rb +2 -1
  1336. data/tests/brightbox/requests/compute/database_server_tests.rb +2 -2
  1337. data/tests/brightbox/requests/compute/database_snapsnot_tests.rb +6 -6
  1338. data/tests/brightbox/requests/compute/user_tests.rb +3 -1
  1339. data/tests/cloudsigma/models/servers_tests.rb +3 -1
  1340. data/tests/core/timeout_tests.rb +1 -1
  1341. data/tests/digitalocean/models/compute/servers_tests.rb +3 -0
  1342. data/tests/fogdocker/compute_tests.rb +17 -0
  1343. data/tests/fogdocker/models/compute/image_tests.rb +31 -0
  1344. data/tests/fogdocker/models/compute/images_tests.rb +9 -0
  1345. data/tests/fogdocker/models/compute/server_tests.rb +46 -0
  1346. data/tests/fogdocker/models/compute/servers_tests.rb +14 -0
  1347. data/tests/fogdocker/requests/compute/api_version_tests.rb +10 -0
  1348. data/tests/fogdocker/requests/compute/container_action_tests.rb +25 -0
  1349. data/tests/fogdocker/requests/compute/container_commit_tests.rb +19 -0
  1350. data/tests/fogdocker/requests/compute/container_create_tests.rb +21 -0
  1351. data/tests/fogdocker/requests/compute/container_delete_tests.rb +16 -0
  1352. data/tests/fogdocker/requests/compute/image_create_tests.rb +21 -0
  1353. data/tests/fogdocker/requests/compute/image_delete_tests.rb +20 -0
  1354. data/tests/helper.rb +9 -0
  1355. data/tests/helpers/mock_helper.rb +7 -1
  1356. data/tests/internet_archive/models/storage/directory_tests.rb +1 -1
  1357. data/tests/internet_archive/models/storage/file_tests.rb +1 -1
  1358. data/tests/internet_archive/models/storage/files_tests.rb +1 -1
  1359. data/tests/internet_archive/models/storage/url_tests.rb +1 -1
  1360. data/tests/internet_archive/requests/storage/acl_utils_tests.rb +1 -1
  1361. data/tests/internet_archive/requests/storage/bucket_tests.rb +1 -1
  1362. data/tests/internet_archive/requests/storage/cors_utils_tests.rb +1 -1
  1363. data/tests/internet_archive/requests/storage/multipart_upload_tests.rb +1 -1
  1364. data/tests/internet_archive/requests/storage/object_tests.rb +1 -1
  1365. data/tests/internet_archive/signaturev4_tests.rb +2 -2
  1366. data/tests/internet_archive/signed_params_tests.rb +1 -1
  1367. data/tests/joyent/models/analytics/field_tests.rb +10 -0
  1368. data/tests/joyent/models/analytics/fields_tests.rb +13 -0
  1369. data/tests/joyent/models/analytics/instrumentation_tests.rb +13 -0
  1370. data/tests/joyent/models/analytics/instrumentations_tests.rb +3 -0
  1371. data/tests/joyent/models/analytics/joyent_module_tests.rb +10 -0
  1372. data/tests/joyent/models/analytics/joyent_modules_tests.rb +13 -0
  1373. data/tests/joyent/models/analytics/metric_tests.rb +10 -0
  1374. data/tests/joyent/models/analytics/metrics_tests.rb +20 -0
  1375. data/tests/joyent/models/analytics/transformation_tests.rb +10 -0
  1376. data/tests/joyent/models/analytics/transformations_tests.rb +13 -0
  1377. data/tests/joyent/models/analytics/type_tests.rb +10 -0
  1378. data/tests/joyent/models/analytics/types_tests.rb +13 -0
  1379. data/tests/joyent/requests/analytics/instrumentation_tests.rb +44 -0
  1380. data/tests/libvirt/models/compute/volume_tests.rb +8 -0
  1381. data/tests/openstack/models/compute/server_tests.rb +45 -0
  1382. data/tests/openstack/models/identity/users_tests.rb +9 -0
  1383. data/tests/ovirt/compute_tests.rb +2 -1
  1384. data/tests/rackspace/helper.rb +3 -9
  1385. data/tests/rackspace/models/compute_v2/virtual_interface_tests.rb +33 -0
  1386. data/tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb +24 -0
  1387. data/tests/rackspace/requests/compute_v2/virtual_interface_tests.rb +49 -0
  1388. data/tests/sakuracloud/helper.rb +7 -0
  1389. data/tests/sakuracloud/requests/compute/plans_tests.rb +32 -0
  1390. data/tests/sakuracloud/requests/compute/servers_tests.rb +46 -0
  1391. data/tests/sakuracloud/requests/compute/ssh_keys_tests.rb +30 -0
  1392. data/tests/sakuracloud/requests/compute/zones_tests.rb +30 -0
  1393. data/tests/sakuracloud/requests/volume/archives_tests.rb +31 -0
  1394. data/tests/sakuracloud/requests/volume/disks_tests.rb +47 -0
  1395. data/tests/sakuracloud/requests/volume/plans_tests.rb +30 -0
  1396. data/tests/vcloud_director/models/compute/network_tests.rb +91 -0
  1397. data/tests/vcloud_director/requests/compute/network_tests.rb +15 -1
  1398. data/tests/vcloud_director/requests/compute/schema_helper.rb +26 -0
  1399. metadata +354 -287
  1400. data/lib/fog/account.rb +0 -25
  1401. data/lib/fog/billing.rb +0 -23
  1402. data/lib/fog/cdn.rb +0 -23
  1403. data/lib/fog/compute.rb +0 -80
  1404. data/lib/fog/compute/models/server.rb +0 -104
  1405. data/lib/fog/core.rb +0 -52
  1406. data/lib/fog/core/attributes.rb +0 -221
  1407. data/lib/fog/core/class_from_string.rb +0 -26
  1408. data/lib/fog/core/collection.rb +0 -161
  1409. data/lib/fog/core/connection.rb +0 -72
  1410. data/lib/fog/core/credentials.rb +0 -70
  1411. data/lib/fog/core/current_machine.rb +0 -34
  1412. data/lib/fog/core/deprecation.rb +0 -23
  1413. data/lib/fog/core/errors.rb +0 -118
  1414. data/lib/fog/core/hmac.rb +0 -35
  1415. data/lib/fog/core/logger.rb +0 -44
  1416. data/lib/fog/core/mock.rb +0 -115
  1417. data/lib/fog/core/model.rb +0 -80
  1418. data/lib/fog/core/provider.rb +0 -34
  1419. data/lib/fog/core/scp.rb +0 -96
  1420. data/lib/fog/core/service.rb +0 -223
  1421. data/lib/fog/core/ssh.rb +0 -137
  1422. data/lib/fog/core/time.rb +0 -32
  1423. data/lib/fog/core/uuid.rb +0 -23
  1424. data/lib/fog/core/wait_for.rb +0 -15
  1425. data/lib/fog/core/wait_for_defaults.rb +0 -21
  1426. data/lib/fog/dns.rb +0 -40
  1427. data/lib/fog/identity.rb +0 -28
  1428. data/lib/fog/image.rb +0 -23
  1429. data/lib/fog/json.rb +0 -47
  1430. data/lib/fog/metering.rb +0 -25
  1431. data/lib/fog/monitoring.rb +0 -24
  1432. data/lib/fog/network.rb +0 -28
  1433. data/lib/fog/orchestration.rb +0 -25
  1434. data/lib/fog/storage.rb +0 -80
  1435. data/lib/fog/support.rb +0 -26
  1436. data/lib/fog/volume.rb +0 -25
  1437. data/lib/fog/vpn.rb +0 -25
  1438. data/lib/tasks/test_task.rb +0 -46
  1439. data/tests/vcloud/models/compute/conn_helper.rb +0 -20
@@ -1,4 +1,4 @@
1
- # Examples for working with HP Cloud Compute Service v13.5
1
+ # Examples for working with HP Cloud Compute Service v13.5
2
2
 
3
3
  The latest HP Cloud deployment, version 13.5, takes advantage of more OpenStack functionality and the compute service uses slightly different commands (often noted by *v2* in the commands) than the previous 12.12 version. Verify which version of HP cloud you are working with.
4
4
 
@@ -62,14 +62,14 @@ You can find the values the access key, secret key, and other values by clicking
62
62
 
63
63
  ## Model Server Operations
64
64
 
65
- 1. List all available servers for an account:
65
+ 1. List all available servers for an account:
66
66
 
67
67
  servers = conn.servers
68
68
  servers.size # returns no. of servers
69
69
  # display servers in a tabular format
70
70
  conn.servers.table([:id, :name, :state, :created_at])
71
71
 
72
- 2. List servers using a filter:
72
+ 2. List servers using a filter:
73
73
 
74
74
  servers = conn.servers.all(:name => 'My Shiny Server')
75
75
 
@@ -123,9 +123,9 @@ You can find the values the access key, secret key, and other values by clicking
123
123
  new_server = conn.servers.create(
124
124
  :name=> "My Sticky Server",
125
125
  :flavor_id => 104,
126
- :block_device_mapping => [{ 'volume_size' => '',
127
- 'volume_id' => "<volume_id>",
128
- 'delete_on_termination' => '0',
126
+ :block_device_mapping => [{ 'volume_size' => '',
127
+ 'volume_id' => "<volume_id>",
128
+ 'delete_on_termination' => '0',
129
129
  'device_name' => 'vda'
130
130
  }]
131
131
  )
@@ -158,20 +158,20 @@ You can find the values the access key, secret key, and other values by clicking
158
158
  )
159
159
  new_server.user_data = "This is some un-encoded user data"
160
160
  new_server.save
161
-
161
+
162
162
  The personalization options are:
163
-
163
+
164
164
  *config_drive*
165
165
  : Disk accessible to the server that contains a FAT filesystem. If `config_drive` parameter is set to `true` at the time of server creation, the configuration drive is created.
166
-
166
+
167
167
  *user_data_encoded* or *user_data*
168
168
  : Allows additional metadata to be inserted during server creation by supplying a Base64-encoded string in the `user_data_encoded` parameter, or by providing an unencoded string with the `user_data` attribute. Note that encoding the data on the client is faster and more efficient.
169
-
169
+
170
170
  *personality*
171
171
  : Allows files to be injected into the server instance after its creation. The file `contents` are Base64 encoded and injected into the location specified by `path`.
172
-
172
+
173
173
  **Note**: The above personalization options are not supported on Windows server instances.
174
-
174
+
175
175
 
176
176
  9. Create a new Windows server instance and retrieve the encrypted password:
177
177
 
@@ -192,7 +192,7 @@ You can find the values the access key, secret key, and other values by clicking
192
192
 
193
193
  server = conn.servers.get("<server_id>")
194
194
  server.console_output(10) # returns 10 lines of console output
195
-
195
+
196
196
  11. Get VNC console:
197
197
 
198
198
  server = conn.servers.get("<server_id>")
@@ -237,7 +237,7 @@ You can find the values the access key, secret key, and other values by clicking
237
237
 
238
238
  server = conn.servers.get("<server_id>")
239
239
  server.volume_attachements.get("<volume_id>")
240
-
240
+
241
241
  3. List attached volumes for a server:
242
242
 
243
243
  server = conn.servers.get("<server_id>")
@@ -403,7 +403,7 @@ You can find the values the access key, secret key, and other values by clicking
403
403
  keypair.public_key # returns the public key of the keypair
404
404
  keypair.private_key # returns the private key of the keypair
405
405
  **Note**: Keypairs with a dot (.) are not allowed.
406
-
406
+
407
407
  4. Export a keypair to a file:
408
408
 
409
409
  keypair = conn.key_pairs.create(:name => "mykey2")
@@ -475,7 +475,7 @@ You can find the values the access key, secret key, and other values by clicking
475
475
  2. List all available servers using a filter:
476
476
 
477
477
  response = conn.list_servers_detail(:name => 'My Shiny Server')
478
-
478
+
479
479
  3. List all available servers with additional details:
480
480
 
481
481
  response = conn.list_servers_detail
@@ -538,14 +538,14 @@ You can find the values the access key, secret key, and other values by clicking
538
538
  }
539
539
  )
540
540
 
541
-
541
+
542
542
  8. Create a new Windows server and retrieve the encrypted password:
543
543
 
544
544
  # Make sure to use a Windows image
545
545
  response = conn.create_server("My Windows Server", "<flavor_id>", "<image_id>")
546
546
  win_server = response.body['server']
547
547
  server_id = win_server['id'] # returns the id of the new server
548
- # Retrieve the encrypted password
548
+ # Retrieve the encrypted password
549
549
  conn.get_windows_password("<server_id>")
550
550
  # => "Im6ZJ8auyMRnkJ24KKWQvTgWDug1s ... y0uY1BcHLJ5OrkEPHhQoQntIKOoQ=\n"
551
551
  **Note**: You must retrieve the Windows password immediately after you create the Windows instance. Also, make sure you have a security rule defined to open RDP port 3389 so that you can connect to the Windows server.
@@ -586,18 +586,18 @@ You can find the values the access key, secret key, and other values by clicking
586
586
  )
587
587
  server = response.body['server']
588
588
  server['id'] # returns the id of the new server
589
-
589
+
590
590
  The personalization options are:
591
-
591
+
592
592
  *config_drive*
593
593
  : Disk accessible to the server that contains a FAT filesystem. If `config_drive` parameter is set to `true` at the time of server creation, the configuration drive is created.
594
-
594
+
595
595
  *user_data_encoded*
596
596
  : Allows additional metadata to be inserted during server creation by supplying a Base64-encoded string in the `user_data_encoded` parameter.
597
-
597
+
598
598
  *personality*
599
599
  : Allows files to be injected into the server instance after its creation. The file `contents` are Base64 encoded and injected into the location specified by `path`.
600
-
600
+
601
601
  **Note**: The above personalization options are not supported on Windows server instances.
602
602
 
603
603
  11. Update the name for a server:
@@ -646,37 +646,37 @@ You can find the values the access key, secret key, and other values by clicking
646
646
  {'Meta1' => 'MetaValue1', 'Meta2' => 'MetaValue2'}
647
647
  }
648
648
  )
649
- response.body['server']['metadata']
649
+ response.body['server']['metadata']
650
650
  # => {"Meta1"=>"MetaValue1", "Meta2"=>"MetaValue2"}
651
651
 
652
652
  2. List the existing metadata:
653
653
 
654
654
  response = conn.list_metadata("servers", "<server_id>")
655
- response.body['metadata']
655
+ response.body['metadata']
656
656
  # => {"Meta1"=>"MetaValue1", "Meta2"=>"MetaValue2"}
657
657
 
658
658
  3. Set new values to the existing metadata:
659
659
 
660
660
  response = conn.set_metadata("servers", "<server_id>", {"MetaNew1" => "MetaNewValue1"})
661
- response.body['metadata']
661
+ response.body['metadata']
662
662
  # => {"MetaNew1"=>"MetaNewValue1"}
663
663
 
664
664
  4. Update the existing metadata:
665
665
 
666
666
  response = conn.update_metadata("servers", "<server_id>", {"Meta2" => "MetaValue2"})
667
- response.body['metadata']
667
+ response.body['metadata']
668
668
  # => {"Meta2"=>"MetaValue2"}
669
669
 
670
670
  5. Get a metadata item:
671
671
 
672
672
  response = conn.get_meta("servers", "<server_id>", "Meta1")
673
- response.body['meta']
673
+ response.body['meta']
674
674
  # => {"Meta1"=>"MetaValue1"}
675
675
 
676
676
  6. Set a new metadata item or update an existing metadata item:
677
677
 
678
678
  response = conn.update_meta("servers", "<server_id>", "Meta1", "MetaUpdated1")
679
- response.body['meta']
679
+ response.body['meta']
680
680
  # => {"Meta1"=>"MetaUpdated1"}
681
681
 
682
682
  7. Delete a metadata item:
@@ -746,31 +746,31 @@ You can find the values the access key, secret key, and other values by clicking
746
746
  2. List the existing metadata:
747
747
 
748
748
  response = conn.list_metadata("images", "<image_id>")
749
- response.body['metadata']
749
+ response.body['metadata']
750
750
  # => {"Meta1"=>"MetaValue1", "Meta2"=>"MetaValue2"}
751
751
 
752
752
  3. Set new values to the existing metadata:
753
753
 
754
754
  response = conn.set_metadata("images", "<image_id>", {"MetaNew1" => "MetaNewValue1"})
755
- response.body['metadata']
755
+ response.body['metadata']
756
756
  # => {"MetaNew1"=>"MetaNewValue1"}
757
757
 
758
758
  4. Update the existing metadata:
759
759
 
760
760
  response = conn.update_metadata("images", "<image_id>", {"Meta2" => "MetaValue2"})
761
- response.body['metadata']
761
+ response.body['metadata']
762
762
  # => {"Meta2"=>"MetaValue2"}
763
763
 
764
764
  5. Get a metadata item:
765
765
 
766
766
  response = conn.get_meta("images", "<image_id>", "Meta1")
767
- response.body['meta']
767
+ response.body['meta']
768
768
  # => {"Meta1"=>"MetaValue1"}
769
769
 
770
770
  6. Update a metadata item:
771
771
 
772
772
  response = conn.update_meta("images", "<image_id>", "Meta1", "MetaUpdated1")
773
- response.body['meta']
773
+ response.body['meta']
774
774
  # => {"Meta1"=>"MetaUpdated1"}
775
775
 
776
776
  7. Delete a metadata item:
@@ -845,4 +845,4 @@ You can find the values the access key, secret key, and other values by clicking
845
845
  conn.release_address("<address_id>") # releases the ip address to the pool
846
846
 
847
847
  ---------
848
- [Documentation Home](https://github.com/fog/fog/blob/master/lib/fog/hp/README.md) | [Examples](https://github.com/fog/fog/blob/master/lib/fog/hp/examples/getting_started_examples.md)
848
+ [Documentation Home](https://github.com/fog/fog/blob/master/lib/fog/hp/README.md) | [Examples](https://github.com/fog/fog/blob/master/lib/fog/hp/examples/getting_started_examples.md)
@@ -1,5 +1,5 @@
1
1
  #Examples for working with HP Cloud Networking Service
2
- The HP Cloud provides networking support using two abstractions: a model layer and a request layer. Both layers are detailed below.
2
+ The HP Cloud provides networking support using two abstractions: a model layer and a request layer. Both layers are detailed below.
3
3
 
4
4
  **Note:** The networking functionality works with HP Cloud version 13.5 but is not available in version 12.12.
5
5
 
@@ -171,10 +171,10 @@ You can find the values the access key, secret key, and other values by clicking
171
171
  # Removing the interface also deletes the auto-created port
172
172
 
173
173
  7. Add a router interface using a port:
174
-
174
+
175
175
  # Add a router interface using the port you created
176
176
  network = router.add_interface(nil, "<port_id>")
177
-
177
+
178
178
  # Port is updated with device_id and device_owner
179
179
  conn.ports.get("<port_id>")
180
180
 
@@ -206,7 +206,7 @@ You can find the values the access key, secret key, and other values by clicking
206
206
  conn.security_groups.create(
207
207
  :name => 'MySecurityGroup',
208
208
  :description => 'my security group description'
209
- )
209
+ )
210
210
  **Note:** Two security group rules are created by default for every new security group that is created: one 'ingress' and one 'egress' rule.
211
211
 
212
212
  5. Delete a security group:
@@ -377,7 +377,7 @@ You can find the values the access key, secret key, and other values by clicking
377
377
 
378
378
  7. Remove a router interface using a subnet:
379
379
 
380
- conn.remove_router_interface("<router_id>", "<subnet_id>")
380
+ conn.remove_router_interface("<router_id>", "<subnet_id>")
381
381
  # Removes a port with no name using the subnet_id
382
382
 
383
383
  8. Add a router interface using a port:
@@ -388,12 +388,12 @@ You can find the values the access key, secret key, and other values by clicking
388
388
 
389
389
  9. Remove a router interface using a port:
390
390
 
391
- conn.remove_router_interface("router_id", nil, "port_id")
391
+ conn.remove_router_interface("router_id", nil, "port_id")
392
392
 
393
393
  10. Delete a router:
394
394
 
395
395
  conn.delete_router("<router_id>")
396
-
396
+
397
397
  ## Request Security Group Operations
398
398
 
399
399
  1. List security groups:
@@ -469,4 +469,4 @@ You can find the values the access key, secret key, and other values by clicking
469
469
  conn.delete_floating_IP("<FloatingIp_id>")
470
470
 
471
471
  ---------
472
- [Documentation Home](https://github.com/fog/fog/blob/master/lib/fog/hp/README.md) | [Examples](https://github.com/fog/fog/blob/master/lib/fog/hp/examples/getting_started_examples.md)
472
+ [Documentation Home](https://github.com/fog/fog/blob/master/lib/fog/hp/README.md) | [Examples](https://github.com/fog/fog/blob/master/lib/fog/hp/examples/getting_started_examples.md)
@@ -1,6 +1,6 @@
1
1
  # Examples for working with HP Cloud Object Storage Service
2
2
 
3
- The HP Cloud Extensions to Ruby Fog libary provides Object Storage services support using two abstractions: a model layer and a request layer. Executing commands in both layers are detailed in this page.
3
+ The HP Cloud Extensions to Ruby Fog libary provides Object Storage services support using two abstractions: a model layer and a request layer. Executing commands in both layers are detailed in this page.
4
4
 
5
5
  The examples on this page can be executed from within a Ruby console (IRB):
6
6
 
@@ -101,7 +101,7 @@ To grant access to an object or a container:
101
101
  mydir.save # share the url for access to container
102
102
  mydir.public_url
103
103
  # => "https://objects.xxxx.hpcloud.net:443/v1/1111111/rgtest2"
104
-
104
+
105
105
  myfile = mydir.files.get("sample.txt") # share the url for access to object
106
106
  myfile.public_url
107
107
  # => "https://objects.xxxx.hpcloud.net:443/v1/1111111/rgtest2/sample.txt"
@@ -114,41 +114,41 @@ To grant access to an object or a container:
114
114
  sd.url
115
115
  # => "https://objects.xxxx.hpcloud.net:443/v1/1111111/rgtest2"
116
116
  sd.files
117
-
117
+
118
118
  **Note**: If the grantee does not have access, the system generates an exception of type `Fog::HP::Errors::Forbidden`.
119
-
119
+
120
120
  2. Use the shared URLs to get the metadata for a container:
121
121
 
122
122
  sd = conn.shared_directories.head(mydir.public_url)
123
-
123
+
124
124
  **Note**: If the grantee does not have access, the system generates an exception of type `Fog::HP::Errors::Forbidden`.
125
125
 
126
126
  3. Use the shared URLs to get the contents of a shared object:
127
127
 
128
128
  sd = conn.shared_directories.get(mydir.public_url)
129
129
  sf = sd.files.get('sample.txt')
130
-
130
+
131
131
  4. Use the shared URLs to get the metadata for a shared object:
132
132
 
133
133
  sd = conn.shared_directories.get(mydir.public_url)
134
134
  sf = sd.files.head('sample.txt')
135
-
135
+
136
136
  5. Use the shared URLs to put a new object or file into a shared container:
137
137
 
138
138
  sd = conn.shared_directories.get(mydir.public_url)
139
139
  sf = sd.files.create(:key => 'tiny2.txt', :body => "This is another text file.")
140
-
140
+
141
141
  **Note**: If the grantee does not have access, the system generates an exception of type `Fog::HP::Errors::Forbidden`.
142
-
142
+
143
143
  6. Use the shared URLs to update an existing object or file in a shared container:
144
144
 
145
145
  sd = conn.shared_directories.get(mydir.public_url)
146
146
  sf = sd.files.new(:key => 'sample.txt')
147
147
  sf.body = "This is another text file."
148
148
  sf.save
149
-
149
+
150
150
  **Note**: If the grantee does not have access, the system generates an exception of type `Fog::HP::Errors::Forbidden`.
151
-
151
+
152
152
  7. Use the shared URLs to delete an existing object or file from a shared container:
153
153
 
154
154
  sd = conn.shared_directories.get(mydir.public_url)
@@ -194,7 +194,7 @@ Synchronizing containers creates a one-way association from containers to the sy
194
194
  # sync the source -> target
195
195
  dir_a.sync(target_dir_b, "boogieman") # => true
196
196
  dir_a.save # => true
197
-
197
+
198
198
  # sync the target -> source
199
199
  target_dir_b.sync(dir_a, "boogieman") # => true
200
200
  target_dir_b.save #=> true
@@ -285,7 +285,7 @@ Synchronizing containers creates a one-way association from containers to the sy
285
285
 
286
286
  # creates a TempUrl to access sample.txt and access expires in 240 secs
287
287
  conn.get_object_temp_url("fog-rocks", "sample.txt", 240, "GET")
288
-
288
+
289
289
  11. Delete a file from an existing container:
290
290
 
291
291
  conn.delete_object("fog-rocks", "sample.txt")
@@ -295,12 +295,12 @@ Synchronizing containers creates a one-way association from containers to the sy
295
295
 
296
296
  # Note: a container needs to be empty before it can be deleted!
297
297
  conn.delete_container("fog-rocks")
298
-
298
+
299
299
  ### Using Object ACLs
300
300
 
301
301
  To use object ACLs in the request abstraction layer, you need to have already been granted permission to access the objects or containers. (See the section on [Using Object ACLs](#UsingObjectACLsModelLayer) in the Model Layer section above for information on granting access.)
302
302
 
303
- 1. Use the shared URLs to get the contents of a shared container:
303
+ 1. Use the shared URLs to get the contents of a shared container:
304
304
 
305
305
  conn.get_shared_container(mydir.public_url)
306
306
 
@@ -311,27 +311,27 @@ To use object ACLs in the request abstraction layer, you need to have already be
311
311
  conn.head_shared_container(mydir.public_url)
312
312
 
313
313
  **Note**: If the grantee does not have access, the system generates an exception of type `Fog::HP::Errors::Forbidden`.
314
-
314
+
315
315
  3. Use the shared URLs to get the contents of a shared object:
316
316
 
317
317
  conn.get_shared_object(myfile.public_url)
318
-
318
+
319
319
  4. Use the shared URLs to get the metadata for a shared object
320
320
 
321
321
  conn.head_shared_object(myfile.public_url)
322
-
322
+
323
323
  5. Use the shared URLs to put a new object or file into a shared container:
324
324
 
325
325
  conn.put_shared_object(mydir.public_url, 'tiny.txt', File.read('tiny.txt'))
326
-
326
+
327
327
  **Note**: If the grantee does not have access, the system generates an exception of type `Fog::HP::Errors::Forbidden`.
328
-
328
+
329
329
  6. Use the shared URLs to update an existing object or file in a shared container:
330
330
 
331
331
  conn.put_shared_object(mydir.public_url, 'sample.txt', "This text needed some update.")
332
-
332
+
333
333
  **Note**: If the grantee does not have access, the system generates an exception of type `Fog::HP::Errors::Forbidden`.
334
-
334
+
335
335
  7. Use the shared URLs to delete an existing object or file from a shared container:
336
336
 
337
337
  conn.delete_shared_object(myfile.public_url)
@@ -345,7 +345,7 @@ Synchronizing containers creates a one-way association from containers to the sy
345
345
  # create source and target containers
346
346
  conn.put_container('imp_stuff')
347
347
  conn.put_container('sync_archive')
348
-
348
+
349
349
  # create some objects in the source container
350
350
  conn.put_object('imp_stuff', 'imp_1.txt', "This is a small file but it is very important.")
351
351
  conn.put_object('imp_stuff', 'imp_2.txt', File.open('/path/to/file/imp_2.txt'))
@@ -384,4 +384,4 @@ Synchronizing containers creates a one-way association from containers to the sy
384
384
  'X-Container-Sync-Key' => 'boogieman'})
385
385
 
386
386
  ---------
387
- [Documentation Home](https://github.com/fog/fog/blob/master/lib/fog/hp/README.md) | [Examples](https://github.com/fog/fog/blob/master/lib/fog/hp/examples/getting_started_examples.md)
387
+ [Documentation Home](https://github.com/fog/fog/blob/master/lib/fog/hp/README.md) | [Examples](https://github.com/fog/fog/blob/master/lib/fog/hp/examples/getting_started_examples.md)
@@ -132,7 +132,7 @@ module Fog
132
132
  @port = uri.port
133
133
  @scheme = uri.scheme
134
134
 
135
- @connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options)
135
+ @connection = Fog::XML::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options)
136
136
  end
137
137
 
138
138
  def reload
@@ -251,7 +251,7 @@ module Fog
251
251
  def save(new_options = {})
252
252
  requires :key
253
253
  options = {}
254
- #these are default/previous options
254
+ #these are default/previous options
255
255
  meta_hash = {}
256
256
  metadata.each { |meta| meta_hash.store(meta.key, meta.value) }
257
257
  if meta_hash
@@ -267,7 +267,7 @@ module Fog
267
267
  options.merge!({'X-Container-Meta-Web-Error' => self.web_error}) unless self.web_error.nil?
268
268
  # get the metadata and merge them in
269
269
 
270
- # merge user options at the end
270
+ # merge user options at the end
271
271
  options.merge!(new_options)
272
272
 
273
273
  service.put_container(key, options)