fog-nirvanix 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3304) hide show
  1. data/.document +3 -0
  2. data/.gitignore +22 -0
  3. data/.irbrc +82 -0
  4. data/.travis.yml +21 -0
  5. data/Gemfile +3 -0
  6. data/README.md +154 -0
  7. data/Rakefile +158 -0
  8. data/benchs/fog_vs.rb +106 -0
  9. data/benchs/params.rb +43 -0
  10. data/benchs/parse_vs_push.rb +69 -0
  11. data/bin/fog +52 -0
  12. data/changelog.txt +3726 -0
  13. data/docs/_config.yml +39 -0
  14. data/docs/_layouts/default.html +111 -0
  15. data/docs/about/contributing.markdown +229 -0
  16. data/docs/about/getting_started.markdown +108 -0
  17. data/docs/about/press.markdown +52 -0
  18. data/docs/about/structure.markdown +78 -0
  19. data/docs/about/users.markdown +34 -0
  20. data/docs/cdn/index.markdown +148 -0
  21. data/docs/compute/index.markdown +122 -0
  22. data/docs/dns/index.markdown +79 -0
  23. data/docs/index.markdown +93 -0
  24. data/docs/public/crossdomain.xml +25 -0
  25. data/docs/public/css/fog.css +142 -0
  26. data/docs/public/css/handheld.css +8 -0
  27. data/docs/public/css/style.css +129 -0
  28. data/docs/public/images/.gitignore +3 -0
  29. data/docs/public/js/libs/dd_belatedpng.js +289 -0
  30. data/docs/public/js/libs/dd_belatedpng.min.js +13 -0
  31. data/docs/public/js/libs/jquery-1.4.2.js +6240 -0
  32. data/docs/public/js/libs/jquery-1.4.2.min.js +154 -0
  33. data/docs/public/js/libs/modernizr-1.6.js +892 -0
  34. data/docs/public/js/libs/modernizr-1.6.min.js +30 -0
  35. data/docs/public/js/mylibs/.gitignore +3 -0
  36. data/docs/public/js/plugins.js +34 -0
  37. data/docs/public/js/profiling/config.js +59 -0
  38. data/docs/public/js/profiling/yahoo-profiling.css +7 -0
  39. data/docs/public/js/profiling/yahoo-profiling.js +1028 -0
  40. data/docs/public/js/profiling/yahoo-profiling.min.js +39 -0
  41. data/docs/public/js/script.js +26 -0
  42. data/docs/public/robots.txt +5 -0
  43. data/docs/storage/index.markdown +204 -0
  44. data/fog.gemspec +71 -0
  45. data/lib/fog.rb +17 -0
  46. data/lib/fog/atmos.rb +11 -0
  47. data/lib/fog/atmos/models/storage/directories.rb +48 -0
  48. data/lib/fog/atmos/models/storage/directory.rb +53 -0
  49. data/lib/fog/atmos/models/storage/file.rb +109 -0
  50. data/lib/fog/atmos/models/storage/files.rb +73 -0
  51. data/lib/fog/atmos/requests/storage/delete_namespace.rb +19 -0
  52. data/lib/fog/atmos/requests/storage/get_namespace.rb +20 -0
  53. data/lib/fog/atmos/requests/storage/head_namespace.rb +20 -0
  54. data/lib/fog/atmos/requests/storage/post_namespace.rb +20 -0
  55. data/lib/fog/atmos/requests/storage/put_namespace.rb +20 -0
  56. data/lib/fog/atmos/storage.rb +186 -0
  57. data/lib/fog/aws.rb +305 -0
  58. data/lib/fog/aws/auto_scaling.rb +286 -0
  59. data/lib/fog/aws/beanstalk.rb +152 -0
  60. data/lib/fog/aws/cdn.rb +196 -0
  61. data/lib/fog/aws/cloud_formation.rb +127 -0
  62. data/lib/fog/aws/cloud_watch.rb +167 -0
  63. data/lib/fog/aws/compute.rb +408 -0
  64. data/lib/fog/aws/credential_fetcher.rb +64 -0
  65. data/lib/fog/aws/dns.rb +139 -0
  66. data/lib/fog/aws/dynamodb.rb +142 -0
  67. data/lib/fog/aws/elasticache.rb +192 -0
  68. data/lib/fog/aws/elb.rb +229 -0
  69. data/lib/fog/aws/elb/policy_types.rb +466 -0
  70. data/lib/fog/aws/emr.rb +134 -0
  71. data/lib/fog/aws/glacier.rb +172 -0
  72. data/lib/fog/aws/iam.rb +226 -0
  73. data/lib/fog/aws/models/auto_scaling/activities.rb +30 -0
  74. data/lib/fog/aws/models/auto_scaling/activity.rb +29 -0
  75. data/lib/fog/aws/models/auto_scaling/configuration.rb +65 -0
  76. data/lib/fog/aws/models/auto_scaling/configurations.rb +35 -0
  77. data/lib/fog/aws/models/auto_scaling/group.rb +147 -0
  78. data/lib/fog/aws/models/auto_scaling/groups.rb +35 -0
  79. data/lib/fog/aws/models/auto_scaling/instance.rb +60 -0
  80. data/lib/fog/aws/models/auto_scaling/instances.rb +30 -0
  81. data/lib/fog/aws/models/auto_scaling/policies.rb +33 -0
  82. data/lib/fog/aws/models/auto_scaling/policy.rb +46 -0
  83. data/lib/fog/aws/models/beanstalk/application.rb +62 -0
  84. data/lib/fog/aws/models/beanstalk/applications.rb +25 -0
  85. data/lib/fog/aws/models/beanstalk/environment.rb +145 -0
  86. data/lib/fog/aws/models/beanstalk/environments.rb +29 -0
  87. data/lib/fog/aws/models/beanstalk/event.rb +20 -0
  88. data/lib/fog/aws/models/beanstalk/events.rb +19 -0
  89. data/lib/fog/aws/models/beanstalk/template.rb +78 -0
  90. data/lib/fog/aws/models/beanstalk/templates.rb +70 -0
  91. data/lib/fog/aws/models/beanstalk/version.rb +79 -0
  92. data/lib/fog/aws/models/beanstalk/versions.rb +31 -0
  93. data/lib/fog/aws/models/cdn/distribution.rb +93 -0
  94. data/lib/fog/aws/models/cdn/distribution_helper.rb +64 -0
  95. data/lib/fog/aws/models/cdn/distributions.rb +32 -0
  96. data/lib/fog/aws/models/cdn/distributions_helper.rb +47 -0
  97. data/lib/fog/aws/models/cdn/invalidation.rb +64 -0
  98. data/lib/fog/aws/models/cdn/invalidations.rb +54 -0
  99. data/lib/fog/aws/models/cdn/streaming_distribution.rb +77 -0
  100. data/lib/fog/aws/models/cdn/streaming_distributions.rb +32 -0
  101. data/lib/fog/aws/models/cloud_watch/alarm.rb +60 -0
  102. data/lib/fog/aws/models/cloud_watch/alarm_data.rb +39 -0
  103. data/lib/fog/aws/models/cloud_watch/alarm_datum.rb +66 -0
  104. data/lib/fog/aws/models/cloud_watch/alarm_histories.rb +18 -0
  105. data/lib/fog/aws/models/cloud_watch/alarm_history.rb +16 -0
  106. data/lib/fog/aws/models/cloud_watch/alarms.rb +47 -0
  107. data/lib/fog/aws/models/cloud_watch/metric.rb +14 -0
  108. data/lib/fog/aws/models/cloud_watch/metric_statistic.rb +45 -0
  109. data/lib/fog/aws/models/cloud_watch/metric_statistics.rb +23 -0
  110. data/lib/fog/aws/models/cloud_watch/metrics.rb +32 -0
  111. data/lib/fog/aws/models/compute/address.rb +76 -0
  112. data/lib/fog/aws/models/compute/addresses.rb +100 -0
  113. data/lib/fog/aws/models/compute/dhcp_option.rb +68 -0
  114. data/lib/fog/aws/models/compute/dhcp_options.rb +91 -0
  115. data/lib/fog/aws/models/compute/flavor.rb +21 -0
  116. data/lib/fog/aws/models/compute/flavors.rb +187 -0
  117. data/lib/fog/aws/models/compute/image.rb +48 -0
  118. data/lib/fog/aws/models/compute/images.rb +62 -0
  119. data/lib/fog/aws/models/compute/internet_gateway.rb +81 -0
  120. data/lib/fog/aws/models/compute/internet_gateways.rb +91 -0
  121. data/lib/fog/aws/models/compute/key_pair.rb +59 -0
  122. data/lib/fog/aws/models/compute/key_pairs.rb +88 -0
  123. data/lib/fog/aws/models/compute/network_interface.rb +70 -0
  124. data/lib/fog/aws/models/compute/network_interfaces.rb +136 -0
  125. data/lib/fog/aws/models/compute/security_group.rb +285 -0
  126. data/lib/fog/aws/models/compute/security_groups.rb +120 -0
  127. data/lib/fog/aws/models/compute/server.rb +254 -0
  128. data/lib/fog/aws/models/compute/servers.rb +158 -0
  129. data/lib/fog/aws/models/compute/snapshot.rb +56 -0
  130. data/lib/fog/aws/models/compute/snapshots.rb +52 -0
  131. data/lib/fog/aws/models/compute/spot_request.rb +120 -0
  132. data/lib/fog/aws/models/compute/spot_requests.rb +91 -0
  133. data/lib/fog/aws/models/compute/subnet.rb +57 -0
  134. data/lib/fog/aws/models/compute/subnets.rb +99 -0
  135. data/lib/fog/aws/models/compute/tag.rb +34 -0
  136. data/lib/fog/aws/models/compute/tags.rb +34 -0
  137. data/lib/fog/aws/models/compute/volume.rb +130 -0
  138. data/lib/fog/aws/models/compute/volumes.rb +121 -0
  139. data/lib/fog/aws/models/compute/vpc.rb +63 -0
  140. data/lib/fog/aws/models/compute/vpcs.rb +93 -0
  141. data/lib/fog/aws/models/dns/record.rb +106 -0
  142. data/lib/fog/aws/models/dns/records.rb +126 -0
  143. data/lib/fog/aws/models/dns/zone.rb +53 -0
  144. data/lib/fog/aws/models/dns/zones.rb +33 -0
  145. data/lib/fog/aws/models/elasticache/cluster.rb +69 -0
  146. data/lib/fog/aws/models/elasticache/clusters.rb +31 -0
  147. data/lib/fog/aws/models/elasticache/parameter_group.rb +32 -0
  148. data/lib/fog/aws/models/elasticache/parameter_groups.rb +30 -0
  149. data/lib/fog/aws/models/elasticache/security_group.rb +52 -0
  150. data/lib/fog/aws/models/elasticache/security_groups.rb +30 -0
  151. data/lib/fog/aws/models/elb/listener.rb +59 -0
  152. data/lib/fog/aws/models/elb/listeners.rb +32 -0
  153. data/lib/fog/aws/models/elb/load_balancer.rb +173 -0
  154. data/lib/fog/aws/models/elb/load_balancers.rb +38 -0
  155. data/lib/fog/aws/models/elb/policies.rb +40 -0
  156. data/lib/fog/aws/models/elb/policy.rb +52 -0
  157. data/lib/fog/aws/models/glacier/archive.rb +70 -0
  158. data/lib/fog/aws/models/glacier/archives.rb +30 -0
  159. data/lib/fog/aws/models/glacier/job.rb +65 -0
  160. data/lib/fog/aws/models/glacier/jobs.rb +45 -0
  161. data/lib/fog/aws/models/glacier/vault.rb +53 -0
  162. data/lib/fog/aws/models/glacier/vaults.rb +28 -0
  163. data/lib/fog/aws/models/iam/access_key.rb +38 -0
  164. data/lib/fog/aws/models/iam/access_keys.rb +36 -0
  165. data/lib/fog/aws/models/iam/policies.rb +44 -0
  166. data/lib/fog/aws/models/iam/policy.rb +39 -0
  167. data/lib/fog/aws/models/iam/user.rb +40 -0
  168. data/lib/fog/aws/models/iam/users.rb +49 -0
  169. data/lib/fog/aws/models/rds/parameter.rb +21 -0
  170. data/lib/fog/aws/models/rds/parameter_group.rb +36 -0
  171. data/lib/fog/aws/models/rds/parameter_groups.rb +27 -0
  172. data/lib/fog/aws/models/rds/parameters.rb +37 -0
  173. data/lib/fog/aws/models/rds/security_group.rb +82 -0
  174. data/lib/fog/aws/models/rds/security_groups.rb +43 -0
  175. data/lib/fog/aws/models/rds/server.rb +131 -0
  176. data/lib/fog/aws/models/rds/servers.rb +27 -0
  177. data/lib/fog/aws/models/rds/snapshot.rb +50 -0
  178. data/lib/fog/aws/models/rds/snapshots.rb +48 -0
  179. data/lib/fog/aws/models/rds/subnet_group.rb +20 -0
  180. data/lib/fog/aws/models/rds/subnet_groups.rb +27 -0
  181. data/lib/fog/aws/models/storage/directories.rb +43 -0
  182. data/lib/fog/aws/models/storage/directory.rb +126 -0
  183. data/lib/fog/aws/models/storage/file.rb +194 -0
  184. data/lib/fog/aws/models/storage/files.rb +122 -0
  185. data/lib/fog/aws/models/storage/version.rb +36 -0
  186. data/lib/fog/aws/models/storage/versions.rb +38 -0
  187. data/lib/fog/aws/parsers/auto_scaling/basic.rb +28 -0
  188. data/lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb +52 -0
  189. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +159 -0
  190. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb +43 -0
  191. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_notification_types.rb +43 -0
  192. data/lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb +94 -0
  193. data/lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb +66 -0
  194. data/lib/fog/aws/parsers/auto_scaling/describe_notification_configurations.rb +42 -0
  195. data/lib/fog/aws/parsers/auto_scaling/describe_policies.rb +68 -0
  196. data/lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb +47 -0
  197. data/lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb +52 -0
  198. data/lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb +46 -0
  199. data/lib/fog/aws/parsers/auto_scaling/describe_tags.rb +46 -0
  200. data/lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb +44 -0
  201. data/lib/fog/aws/parsers/auto_scaling/put_notification_configuration.rb +27 -0
  202. data/lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb +30 -0
  203. data/lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb +35 -0
  204. data/lib/fog/aws/parsers/beanstalk/check_dns_availability.rb +19 -0
  205. data/lib/fog/aws/parsers/beanstalk/create_application.rb +24 -0
  206. data/lib/fog/aws/parsers/beanstalk/create_application_version.rb +26 -0
  207. data/lib/fog/aws/parsers/beanstalk/create_configuration_template.rb +29 -0
  208. data/lib/fog/aws/parsers/beanstalk/create_environment.rb +37 -0
  209. data/lib/fog/aws/parsers/beanstalk/create_storage_location.rb +18 -0
  210. data/lib/fog/aws/parsers/beanstalk/describe_application_versions.rb +26 -0
  211. data/lib/fog/aws/parsers/beanstalk/describe_applications.rb +24 -0
  212. data/lib/fog/aws/parsers/beanstalk/describe_configuration_options.rb +32 -0
  213. data/lib/fog/aws/parsers/beanstalk/describe_configuration_settings.rb +30 -0
  214. data/lib/fog/aws/parsers/beanstalk/describe_environment_resources.rb +26 -0
  215. data/lib/fog/aws/parsers/beanstalk/describe_environments.rb +38 -0
  216. data/lib/fog/aws/parsers/beanstalk/describe_events.rb +27 -0
  217. data/lib/fog/aws/parsers/beanstalk/empty.rb +27 -0
  218. data/lib/fog/aws/parsers/beanstalk/list_available_solution_stacks.rb +21 -0
  219. data/lib/fog/aws/parsers/beanstalk/parser.rb +93 -0
  220. data/lib/fog/aws/parsers/beanstalk/retrieve_environment_info.rb +22 -0
  221. data/lib/fog/aws/parsers/beanstalk/terminate_environment.rb +37 -0
  222. data/lib/fog/aws/parsers/beanstalk/update_application.rb +24 -0
  223. data/lib/fog/aws/parsers/beanstalk/update_application_version.rb +26 -0
  224. data/lib/fog/aws/parsers/beanstalk/update_configuration_template.rb +29 -0
  225. data/lib/fog/aws/parsers/beanstalk/update_environment.rb +37 -0
  226. data/lib/fog/aws/parsers/beanstalk/validate_configuration_settings.rb +22 -0
  227. data/lib/fog/aws/parsers/cdn/distribution.rb +59 -0
  228. data/lib/fog/aws/parsers/cdn/get_distribution_list.rb +61 -0
  229. data/lib/fog/aws/parsers/cdn/get_invalidation.rb +32 -0
  230. data/lib/fog/aws/parsers/cdn/get_invalidation_list.rb +42 -0
  231. data/lib/fog/aws/parsers/cdn/get_streaming_distribution_list.rb +59 -0
  232. data/lib/fog/aws/parsers/cdn/post_invalidation.rb +28 -0
  233. data/lib/fog/aws/parsers/cdn/streaming_distribution.rb +59 -0
  234. data/lib/fog/aws/parsers/cloud_formation/basic.rb +12 -0
  235. data/lib/fog/aws/parsers/cloud_formation/create_stack.rb +19 -0
  236. data/lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb +31 -0
  237. data/lib/fog/aws/parsers/cloud_formation/describe_stack_resources.rb +31 -0
  238. data/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +81 -0
  239. data/lib/fog/aws/parsers/cloud_formation/get_template.rb +19 -0
  240. data/lib/fog/aws/parsers/cloud_formation/update_stack.rb +19 -0
  241. data/lib/fog/aws/parsers/cloud_formation/validate_template.rb +52 -0
  242. data/lib/fog/aws/parsers/cloud_watch/delete_alarms.rb +26 -0
  243. data/lib/fog/aws/parsers/cloud_watch/describe_alarm_history.rb +40 -0
  244. data/lib/fog/aws/parsers/cloud_watch/describe_alarms.rb +73 -0
  245. data/lib/fog/aws/parsers/cloud_watch/describe_alarms_for_metric.rb +71 -0
  246. data/lib/fog/aws/parsers/cloud_watch/disable_alarm_actions.rb +26 -0
  247. data/lib/fog/aws/parsers/cloud_watch/enable_alarm_actions.rb +26 -0
  248. data/lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb +43 -0
  249. data/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +58 -0
  250. data/lib/fog/aws/parsers/cloud_watch/put_metric_alarm.rb +26 -0
  251. data/lib/fog/aws/parsers/cloud_watch/put_metric_data.rb +26 -0
  252. data/lib/fog/aws/parsers/cloud_watch/set_alarm_state.rb +26 -0
  253. data/lib/fog/aws/parsers/compute/allocate_address.rb +19 -0
  254. data/lib/fog/aws/parsers/compute/associate_address.rb +25 -0
  255. data/lib/fog/aws/parsers/compute/associate_dhcp_options.rb +24 -0
  256. data/lib/fog/aws/parsers/compute/attach_internet_gateway.rb +24 -0
  257. data/lib/fog/aws/parsers/compute/attach_network_interface.rb +18 -0
  258. data/lib/fog/aws/parsers/compute/attach_volume.rb +22 -0
  259. data/lib/fog/aws/parsers/compute/basic.rb +25 -0
  260. data/lib/fog/aws/parsers/compute/cancel_spot_instance_requests.rb +30 -0
  261. data/lib/fog/aws/parsers/compute/create_dhcp_options.rb +75 -0
  262. data/lib/fog/aws/parsers/compute/create_image.rb +20 -0
  263. data/lib/fog/aws/parsers/compute/create_internet_gateway.rb +65 -0
  264. data/lib/fog/aws/parsers/compute/create_key_pair.rb +20 -0
  265. data/lib/fog/aws/parsers/compute/create_network_interface.rb +28 -0
  266. data/lib/fog/aws/parsers/compute/create_security_group.rb +24 -0
  267. data/lib/fog/aws/parsers/compute/create_snapshot.rb +26 -0
  268. data/lib/fog/aws/parsers/compute/create_subnet.rb +51 -0
  269. data/lib/fog/aws/parsers/compute/create_volume.rb +24 -0
  270. data/lib/fog/aws/parsers/compute/create_vpc.rb +51 -0
  271. data/lib/fog/aws/parsers/compute/delete_dhcp_options.rb +24 -0
  272. data/lib/fog/aws/parsers/compute/delete_internet_gateway.rb +24 -0
  273. data/lib/fog/aws/parsers/compute/delete_network_interface.rb +24 -0
  274. data/lib/fog/aws/parsers/compute/delete_subnet.rb +24 -0
  275. data/lib/fog/aws/parsers/compute/delete_vpc.rb +24 -0
  276. data/lib/fog/aws/parsers/compute/deregister_image.rb +20 -0
  277. data/lib/fog/aws/parsers/compute/describe_addresses.rb +30 -0
  278. data/lib/fog/aws/parsers/compute/describe_availability_zones.rb +43 -0
  279. data/lib/fog/aws/parsers/compute/describe_dhcp_options.rb +75 -0
  280. data/lib/fog/aws/parsers/compute/describe_images.rb +91 -0
  281. data/lib/fog/aws/parsers/compute/describe_instance_status.rb +74 -0
  282. data/lib/fog/aws/parsers/compute/describe_instances.rb +112 -0
  283. data/lib/fog/aws/parsers/compute/describe_internet_gateways.rb +65 -0
  284. data/lib/fog/aws/parsers/compute/describe_key_pairs.rb +30 -0
  285. data/lib/fog/aws/parsers/compute/describe_network_interface_attribute.rb +79 -0
  286. data/lib/fog/aws/parsers/compute/describe_network_interfaces.rb +43 -0
  287. data/lib/fog/aws/parsers/compute/describe_placement_groups.rb +30 -0
  288. data/lib/fog/aws/parsers/compute/describe_regions.rb +30 -0
  289. data/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +36 -0
  290. data/lib/fog/aws/parsers/compute/describe_reserved_instances_offerings.rb +34 -0
  291. data/lib/fog/aws/parsers/compute/describe_security_groups.rb +100 -0
  292. data/lib/fog/aws/parsers/compute/describe_snapshots.rb +54 -0
  293. data/lib/fog/aws/parsers/compute/describe_spot_price_history.rb +34 -0
  294. data/lib/fog/aws/parsers/compute/describe_subnets.rb +49 -0
  295. data/lib/fog/aws/parsers/compute/describe_tags.rb +30 -0
  296. data/lib/fog/aws/parsers/compute/describe_volume_status.rb +87 -0
  297. data/lib/fog/aws/parsers/compute/describe_volumes.rb +71 -0
  298. data/lib/fog/aws/parsers/compute/describe_vpcs.rb +49 -0
  299. data/lib/fog/aws/parsers/compute/detach_internet_gateway.rb +24 -0
  300. data/lib/fog/aws/parsers/compute/detach_network_interface.rb +24 -0
  301. data/lib/fog/aws/parsers/compute/detach_volume.rb +22 -0
  302. data/lib/fog/aws/parsers/compute/get_console_output.rb +28 -0
  303. data/lib/fog/aws/parsers/compute/get_password_data.rb +26 -0
  304. data/lib/fog/aws/parsers/compute/import_key_pair.rb +20 -0
  305. data/lib/fog/aws/parsers/compute/monitor_unmonitor_instances.rb +35 -0
  306. data/lib/fog/aws/parsers/compute/network_interface_parser.rb +89 -0
  307. data/lib/fog/aws/parsers/compute/purchase_reserved_instances_offering.rb +24 -0
  308. data/lib/fog/aws/parsers/compute/register_image.rb +20 -0
  309. data/lib/fog/aws/parsers/compute/run_instances.rb +84 -0
  310. data/lib/fog/aws/parsers/compute/spot_datafeed_subscription.rb +29 -0
  311. data/lib/fog/aws/parsers/compute/spot_instance_requests.rb +67 -0
  312. data/lib/fog/aws/parsers/compute/start_stop_instances.rb +41 -0
  313. data/lib/fog/aws/parsers/compute/terminate_instances.rb +55 -0
  314. data/lib/fog/aws/parsers/dns/change_resource_record_sets.rb +26 -0
  315. data/lib/fog/aws/parsers/dns/create_hosted_zone.rb +55 -0
  316. data/lib/fog/aws/parsers/dns/delete_hosted_zone.rb +25 -0
  317. data/lib/fog/aws/parsers/dns/get_change.rb +26 -0
  318. data/lib/fog/aws/parsers/dns/get_hosted_zone.rb +43 -0
  319. data/lib/fog/aws/parsers/dns/list_hosted_zones.rb +37 -0
  320. data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +56 -0
  321. data/lib/fog/aws/parsers/elasticache/authorize_cache_security_group_ingress.rb +26 -0
  322. data/lib/fog/aws/parsers/elasticache/base.rb +32 -0
  323. data/lib/fog/aws/parsers/elasticache/cache_cluster_parser.rb +79 -0
  324. data/lib/fog/aws/parsers/elasticache/describe_cache_clusters.rb +27 -0
  325. data/lib/fog/aws/parsers/elasticache/describe_cache_parameters.rb +22 -0
  326. data/lib/fog/aws/parsers/elasticache/describe_engine_default_parameters.rb +22 -0
  327. data/lib/fog/aws/parsers/elasticache/describe_parameter_groups.rb +27 -0
  328. data/lib/fog/aws/parsers/elasticache/describe_security_groups.rb +27 -0
  329. data/lib/fog/aws/parsers/elasticache/engine_defaults_parser.rb +59 -0
  330. data/lib/fog/aws/parsers/elasticache/event_list.rb +40 -0
  331. data/lib/fog/aws/parsers/elasticache/modify_parameter_group.rb +27 -0
  332. data/lib/fog/aws/parsers/elasticache/parameter_group_parser.rb +30 -0
  333. data/lib/fog/aws/parsers/elasticache/reset_parameter_group.rb +27 -0
  334. data/lib/fog/aws/parsers/elasticache/security_group_parser.rb +40 -0
  335. data/lib/fog/aws/parsers/elasticache/single_cache_cluster.rb +22 -0
  336. data/lib/fog/aws/parsers/elasticache/single_parameter_group.rb +22 -0
  337. data/lib/fog/aws/parsers/elasticache/single_security_group.rb +34 -0
  338. data/lib/fog/aws/parsers/elb/apply_security_groups_to_load_balancer.rb +26 -0
  339. data/lib/fog/aws/parsers/elb/attach_load_balancer_to_subnets.rb +26 -0
  340. data/lib/fog/aws/parsers/elb/configure_health_check.rb +37 -0
  341. data/lib/fog/aws/parsers/elb/create_load_balancer.rb +26 -0
  342. data/lib/fog/aws/parsers/elb/delete_load_balancer.rb +24 -0
  343. data/lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb +26 -0
  344. data/lib/fog/aws/parsers/elb/describe_instance_health.rb +30 -0
  345. data/lib/fog/aws/parsers/elb/describe_load_balancer_policies.rb +64 -0
  346. data/lib/fog/aws/parsers/elb/describe_load_balancer_policy_types.rb +70 -0
  347. data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +140 -0
  348. data/lib/fog/aws/parsers/elb/detach_load_balancer_from_subnets.rb +26 -0
  349. data/lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb +26 -0
  350. data/lib/fog/aws/parsers/elb/empty.rb +28 -0
  351. data/lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb +26 -0
  352. data/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb +26 -0
  353. data/lib/fog/aws/parsers/emr/add_instance_groups.rb +28 -0
  354. data/lib/fog/aws/parsers/emr/add_job_flow_steps.rb +17 -0
  355. data/lib/fog/aws/parsers/emr/describe_job_flows.rb +140 -0
  356. data/lib/fog/aws/parsers/emr/modify_instance_groups.rb +17 -0
  357. data/lib/fog/aws/parsers/emr/run_job_flow.rb +19 -0
  358. data/lib/fog/aws/parsers/emr/set_termination_protection.rb +17 -0
  359. data/lib/fog/aws/parsers/emr/terminate_job_flows.rb +17 -0
  360. data/lib/fog/aws/parsers/iam/base_instance_profile.rb +79 -0
  361. data/lib/fog/aws/parsers/iam/basic.rb +19 -0
  362. data/lib/fog/aws/parsers/iam/create_access_key.rb +26 -0
  363. data/lib/fog/aws/parsers/iam/create_group.rb +26 -0
  364. data/lib/fog/aws/parsers/iam/create_user.rb +26 -0
  365. data/lib/fog/aws/parsers/iam/get_group.rb +55 -0
  366. data/lib/fog/aws/parsers/iam/get_group_policy.rb +27 -0
  367. data/lib/fog/aws/parsers/iam/get_role_policy.rb +32 -0
  368. data/lib/fog/aws/parsers/iam/get_user.rb +27 -0
  369. data/lib/fog/aws/parsers/iam/get_user_policy.rb +33 -0
  370. data/lib/fog/aws/parsers/iam/instance_profile.rb +34 -0
  371. data/lib/fog/aws/parsers/iam/list_access_keys.rb +32 -0
  372. data/lib/fog/aws/parsers/iam/list_account_aliases.rb +28 -0
  373. data/lib/fog/aws/parsers/iam/list_groups.rb +32 -0
  374. data/lib/fog/aws/parsers/iam/list_groups_for_user.rb +32 -0
  375. data/lib/fog/aws/parsers/iam/list_instance_profiles.rb +34 -0
  376. data/lib/fog/aws/parsers/iam/list_policies.rb +28 -0
  377. data/lib/fog/aws/parsers/iam/list_roles.rb +31 -0
  378. data/lib/fog/aws/parsers/iam/list_server_certificates.rb +38 -0
  379. data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +32 -0
  380. data/lib/fog/aws/parsers/iam/list_users.rb +32 -0
  381. data/lib/fog/aws/parsers/iam/login_profile.rb +27 -0
  382. data/lib/fog/aws/parsers/iam/role_parser.rb +53 -0
  383. data/lib/fog/aws/parsers/iam/single_role.rb +29 -0
  384. data/lib/fog/aws/parsers/iam/update_group.rb +26 -0
  385. data/lib/fog/aws/parsers/iam/update_user.rb +27 -0
  386. data/lib/fog/aws/parsers/iam/upload_server_certificate.rb +28 -0
  387. data/lib/fog/aws/parsers/iam/upload_signing_certificate.rb +26 -0
  388. data/lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb +38 -0
  389. data/lib/fog/aws/parsers/rds/base.rb +32 -0
  390. data/lib/fog/aws/parsers/rds/create_db_instance.rb +34 -0
  391. data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +34 -0
  392. data/lib/fog/aws/parsers/rds/create_db_parameter_group.rb +35 -0
  393. data/lib/fog/aws/parsers/rds/create_db_security_group.rb +38 -0
  394. data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +35 -0
  395. data/lib/fog/aws/parsers/rds/create_db_subnet_group.rb +38 -0
  396. data/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +35 -0
  397. data/lib/fog/aws/parsers/rds/db_parser.rb +125 -0
  398. data/lib/fog/aws/parsers/rds/delete_db_instance.rb +35 -0
  399. data/lib/fog/aws/parsers/rds/delete_db_parameter_group.rb +27 -0
  400. data/lib/fog/aws/parsers/rds/delete_db_security_group.rb +33 -0
  401. data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +34 -0
  402. data/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +39 -0
  403. data/lib/fog/aws/parsers/rds/describe_db_instances.rb +36 -0
  404. data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +38 -0
  405. data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +44 -0
  406. data/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +43 -0
  407. data/lib/fog/aws/parsers/rds/describe_db_security_groups.rb +39 -0
  408. data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +39 -0
  409. data/lib/fog/aws/parsers/rds/describe_db_subnet_groups.rb +38 -0
  410. data/lib/fog/aws/parsers/rds/event_list.rb +40 -0
  411. data/lib/fog/aws/parsers/rds/modify_db_instance.rb +34 -0
  412. data/lib/fog/aws/parsers/rds/modify_db_parameter_group.rb +28 -0
  413. data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +35 -0
  414. data/lib/fog/aws/parsers/rds/restore_db_instance_from_db_snapshot.rb +34 -0
  415. data/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb +35 -0
  416. data/lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb +39 -0
  417. data/lib/fog/aws/parsers/rds/security_group_parser.rb +39 -0
  418. data/lib/fog/aws/parsers/rds/snapshot_parser.rb +41 -0
  419. data/lib/fog/aws/parsers/rds/subnet_group_parser.rb +38 -0
  420. data/lib/fog/aws/parsers/rds/tag_list_parser.rb +35 -0
  421. data/lib/fog/aws/parsers/ses/delete_verified_email_address.rb +24 -0
  422. data/lib/fog/aws/parsers/ses/get_send_quota.rb +26 -0
  423. data/lib/fog/aws/parsers/ses/get_send_statistics.rb +29 -0
  424. data/lib/fog/aws/parsers/ses/list_verified_email_addresses.rb +25 -0
  425. data/lib/fog/aws/parsers/ses/send_email.rb +26 -0
  426. data/lib/fog/aws/parsers/ses/send_raw_email.rb +26 -0
  427. data/lib/fog/aws/parsers/ses/verify_email_address.rb +24 -0
  428. data/lib/fog/aws/parsers/simpledb/basic.rb +31 -0
  429. data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +32 -0
  430. data/lib/fog/aws/parsers/simpledb/get_attributes.rb +36 -0
  431. data/lib/fog/aws/parsers/simpledb/list_domains.rb +30 -0
  432. data/lib/fog/aws/parsers/simpledb/select.rb +41 -0
  433. data/lib/fog/aws/parsers/sns/add_permission.rb +24 -0
  434. data/lib/fog/aws/parsers/sns/confirm_subscription.rb +24 -0
  435. data/lib/fog/aws/parsers/sns/create_topic.rb +24 -0
  436. data/lib/fog/aws/parsers/sns/delete_topic.rb +24 -0
  437. data/lib/fog/aws/parsers/sns/get_topic_attributes.rb +32 -0
  438. data/lib/fog/aws/parsers/sns/list_subscriptions.rb +29 -0
  439. data/lib/fog/aws/parsers/sns/list_topics.rb +26 -0
  440. data/lib/fog/aws/parsers/sns/publish.rb +24 -0
  441. data/lib/fog/aws/parsers/sns/remove_permission.rb +24 -0
  442. data/lib/fog/aws/parsers/sns/set_topic_attributes.rb +24 -0
  443. data/lib/fog/aws/parsers/sns/subscribe.rb +24 -0
  444. data/lib/fog/aws/parsers/sns/unsubscribe.rb +24 -0
  445. data/lib/fog/aws/parsers/sqs/basic.rb +23 -0
  446. data/lib/fog/aws/parsers/sqs/create_queue.rb +26 -0
  447. data/lib/fog/aws/parsers/sqs/get_queue_attributes.rb +35 -0
  448. data/lib/fog/aws/parsers/sqs/list_queues.rb +25 -0
  449. data/lib/fog/aws/parsers/sqs/receive_message.rb +41 -0
  450. data/lib/fog/aws/parsers/sqs/send_message.rb +28 -0
  451. data/lib/fog/aws/parsers/storage/access_control_list.rb +46 -0
  452. data/lib/fog/aws/parsers/storage/complete_multipart_upload.rb +24 -0
  453. data/lib/fog/aws/parsers/storage/copy_object.rb +22 -0
  454. data/lib/fog/aws/parsers/storage/delete_multiple_objects.rb +50 -0
  455. data/lib/fog/aws/parsers/storage/get_bucket.rb +62 -0
  456. data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +32 -0
  457. data/lib/fog/aws/parsers/storage/get_bucket_location.rb +20 -0
  458. data/lib/fog/aws/parsers/storage/get_bucket_logging.rb +40 -0
  459. data/lib/fog/aws/parsers/storage/get_bucket_object_versions.rb +88 -0
  460. data/lib/fog/aws/parsers/storage/get_bucket_versioning.rb +24 -0
  461. data/lib/fog/aws/parsers/storage/get_bucket_website.rb +26 -0
  462. data/lib/fog/aws/parsers/storage/get_request_payment.rb +20 -0
  463. data/lib/fog/aws/parsers/storage/get_service.rb +32 -0
  464. data/lib/fog/aws/parsers/storage/initiate_multipart_upload.rb +24 -0
  465. data/lib/fog/aws/parsers/storage/list_multipart_uploads.rb +56 -0
  466. data/lib/fog/aws/parsers/storage/list_parts.rb +40 -0
  467. data/lib/fog/aws/parsers/sts/get_session_token.rb +31 -0
  468. data/lib/fog/aws/rds.rb +231 -0
  469. data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +137 -0
  470. data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +112 -0
  471. data/lib/fog/aws/requests/auto_scaling/create_or_update_tags.rb +63 -0
  472. data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +60 -0
  473. data/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +57 -0
  474. data/lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb +63 -0
  475. data/lib/fog/aws/requests/auto_scaling/delete_policy.rb +56 -0
  476. data/lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb +48 -0
  477. data/lib/fog/aws/requests/auto_scaling/delete_tags.rb +63 -0
  478. data/lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb +53 -0
  479. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb +132 -0
  480. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +95 -0
  481. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_notification_types.rb +55 -0
  482. data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +117 -0
  483. data/lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb +61 -0
  484. data/lib/fog/aws/requests/auto_scaling/describe_notification_configurations.rb +79 -0
  485. data/lib/fog/aws/requests/auto_scaling/describe_policies.rb +97 -0
  486. data/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +88 -0
  487. data/lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb +55 -0
  488. data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +88 -0
  489. data/lib/fog/aws/requests/auto_scaling/describe_tags.rb +74 -0
  490. data/lib/fog/aws/requests/auto_scaling/describe_termination_policy_types.rb +53 -0
  491. data/lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb +56 -0
  492. data/lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb +66 -0
  493. data/lib/fog/aws/requests/auto_scaling/execute_policy.rb +50 -0
  494. data/lib/fog/aws/requests/auto_scaling/put_notification_configuration.rb +70 -0
  495. data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +85 -0
  496. data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +70 -0
  497. data/lib/fog/aws/requests/auto_scaling/resume_processes.rb +50 -0
  498. data/lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb +87 -0
  499. data/lib/fog/aws/requests/auto_scaling/set_instance_health.rb +55 -0
  500. data/lib/fog/aws/requests/auto_scaling/suspend_processes.rb +57 -0
  501. data/lib/fog/aws/requests/auto_scaling/terminate_instance_in_auto_scaling_group.rb +65 -0
  502. data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +91 -0
  503. data/lib/fog/aws/requests/beanstalk/check_dns_availability.rb +27 -0
  504. data/lib/fog/aws/requests/beanstalk/create_application.rb +29 -0
  505. data/lib/fog/aws/requests/beanstalk/create_application_version.rb +41 -0
  506. data/lib/fog/aws/requests/beanstalk/create_configuration_template.rb +47 -0
  507. data/lib/fog/aws/requests/beanstalk/create_environment.rb +50 -0
  508. data/lib/fog/aws/requests/beanstalk/create_storage_location.rb +27 -0
  509. data/lib/fog/aws/requests/beanstalk/delete_application.rb +29 -0
  510. data/lib/fog/aws/requests/beanstalk/delete_application_version.rb +36 -0
  511. data/lib/fog/aws/requests/beanstalk/delete_configuration_template.rb +34 -0
  512. data/lib/fog/aws/requests/beanstalk/delete_environment_configuration.rb +34 -0
  513. data/lib/fog/aws/requests/beanstalk/describe_application_versions.rb +34 -0
  514. data/lib/fog/aws/requests/beanstalk/describe_applications.rb +30 -0
  515. data/lib/fog/aws/requests/beanstalk/describe_configuration_options.rb +40 -0
  516. data/lib/fog/aws/requests/beanstalk/describe_configuration_settings.rb +31 -0
  517. data/lib/fog/aws/requests/beanstalk/describe_environment_resources.rb +29 -0
  518. data/lib/fog/aws/requests/beanstalk/describe_environments.rb +40 -0
  519. data/lib/fog/aws/requests/beanstalk/describe_events.rb +29 -0
  520. data/lib/fog/aws/requests/beanstalk/list_available_solution_stacks.rb +27 -0
  521. data/lib/fog/aws/requests/beanstalk/rebuild_environment.rb +30 -0
  522. data/lib/fog/aws/requests/beanstalk/request_environment_info.rb +29 -0
  523. data/lib/fog/aws/requests/beanstalk/restart_app_server.rb +29 -0
  524. data/lib/fog/aws/requests/beanstalk/retrieve_environment_info.rb +29 -0
  525. data/lib/fog/aws/requests/beanstalk/swap_environment_cnames.rb +29 -0
  526. data/lib/fog/aws/requests/beanstalk/terminate_environment.rb +31 -0
  527. data/lib/fog/aws/requests/beanstalk/update_application.rb +30 -0
  528. data/lib/fog/aws/requests/beanstalk/update_application_version.rb +30 -0
  529. data/lib/fog/aws/requests/beanstalk/update_configuration_template.rb +36 -0
  530. data/lib/fog/aws/requests/beanstalk/update_environment.rb +42 -0
  531. data/lib/fog/aws/requests/beanstalk/validate_configuration_settings.rb +33 -0
  532. data/lib/fog/aws/requests/cdn/delete_distribution.rb +59 -0
  533. data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +58 -0
  534. data/lib/fog/aws/requests/cdn/get_distribution.rb +85 -0
  535. data/lib/fog/aws/requests/cdn/get_distribution_list.rb +88 -0
  536. data/lib/fog/aws/requests/cdn/get_invalidation.rb +60 -0
  537. data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +83 -0
  538. data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +76 -0
  539. data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +89 -0
  540. data/lib/fog/aws/requests/cdn/post_distribution.rb +135 -0
  541. data/lib/fog/aws/requests/cdn/post_invalidation.rb +84 -0
  542. data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +122 -0
  543. data/lib/fog/aws/requests/cdn/put_distribution_config.rb +122 -0
  544. data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +111 -0
  545. data/lib/fog/aws/requests/cloud_formation/create_stack.rb +77 -0
  546. data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +30 -0
  547. data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +44 -0
  548. data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +43 -0
  549. data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +42 -0
  550. data/lib/fog/aws/requests/cloud_formation/get_template.rb +32 -0
  551. data/lib/fog/aws/requests/cloud_formation/update_stack.rb +62 -0
  552. data/lib/fog/aws/requests/cloud_formation/validate_template.rb +34 -0
  553. data/lib/fog/aws/requests/cloud_watch/delete_alarms.rb +48 -0
  554. data/lib/fog/aws/requests/cloud_watch/describe_alarm_history.rb +33 -0
  555. data/lib/fog/aws/requests/cloud_watch/describe_alarms.rb +56 -0
  556. data/lib/fog/aws/requests/cloud_watch/describe_alarms_for_metric.rb +39 -0
  557. data/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb +30 -0
  558. data/lib/fog/aws/requests/cloud_watch/enable_alarm_actions.rb +30 -0
  559. data/lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb +48 -0
  560. data/lib/fog/aws/requests/cloud_watch/list_metrics.rb +38 -0
  561. data/lib/fog/aws/requests/cloud_watch/put_metric_alarm.rb +93 -0
  562. data/lib/fog/aws/requests/cloud_watch/put_metric_data.rb +73 -0
  563. data/lib/fog/aws/requests/cloud_watch/set_alarm_state.rb +31 -0
  564. data/lib/fog/aws/requests/compute/allocate_address.rb +59 -0
  565. data/lib/fog/aws/requests/compute/associate_address.rb +94 -0
  566. data/lib/fog/aws/requests/compute/associate_dhcp_options.rb +57 -0
  567. data/lib/fog/aws/requests/compute/attach_internet_gateway.rb +56 -0
  568. data/lib/fog/aws/requests/compute/attach_network_interface.rb +57 -0
  569. data/lib/fog/aws/requests/compute/attach_volume.rb +87 -0
  570. data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +213 -0
  571. data/lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb +34 -0
  572. data/lib/fog/aws/requests/compute/create_dhcp_options.rb +76 -0
  573. data/lib/fog/aws/requests/compute/create_image.rb +92 -0
  574. data/lib/fog/aws/requests/compute/create_internet_gateway.rb +52 -0
  575. data/lib/fog/aws/requests/compute/create_key_pair.rb +56 -0
  576. data/lib/fog/aws/requests/compute/create_network_interface.rb +118 -0
  577. data/lib/fog/aws/requests/compute/create_placement_group.rb +34 -0
  578. data/lib/fog/aws/requests/compute/create_security_group.rb +64 -0
  579. data/lib/fog/aws/requests/compute/create_snapshot.rb +72 -0
  580. data/lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb +41 -0
  581. data/lib/fog/aws/requests/compute/create_subnet.rb +80 -0
  582. data/lib/fog/aws/requests/compute/create_tags.rb +87 -0
  583. data/lib/fog/aws/requests/compute/create_volume.rb +125 -0
  584. data/lib/fog/aws/requests/compute/create_vpc.rb +72 -0
  585. data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +51 -0
  586. data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +49 -0
  587. data/lib/fog/aws/requests/compute/delete_key_pair.rb +47 -0
  588. data/lib/fog/aws/requests/compute/delete_network_interface.rb +52 -0
  589. data/lib/fog/aws/requests/compute/delete_placement_group.rb +32 -0
  590. data/lib/fog/aws/requests/compute/delete_security_group.rb +92 -0
  591. data/lib/fog/aws/requests/compute/delete_snapshot.rb +50 -0
  592. data/lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb +28 -0
  593. data/lib/fog/aws/requests/compute/delete_subnet.rb +50 -0
  594. data/lib/fog/aws/requests/compute/delete_tags.rb +86 -0
  595. data/lib/fog/aws/requests/compute/delete_volume.rb +56 -0
  596. data/lib/fog/aws/requests/compute/delete_vpc.rb +53 -0
  597. data/lib/fog/aws/requests/compute/deregister_image.rb +53 -0
  598. data/lib/fog/aws/requests/compute/describe_addresses.rb +66 -0
  599. data/lib/fog/aws/requests/compute/describe_availability_zones.rb +98 -0
  600. data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +55 -0
  601. data/lib/fog/aws/requests/compute/describe_images.rb +130 -0
  602. data/lib/fog/aws/requests/compute/describe_instance_status.rb +48 -0
  603. data/lib/fog/aws/requests/compute/describe_instances.rb +229 -0
  604. data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +60 -0
  605. data/lib/fog/aws/requests/compute/describe_key_pairs.rb +68 -0
  606. data/lib/fog/aws/requests/compute/describe_network_interface_attribute.rb +67 -0
  607. data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +85 -0
  608. data/lib/fog/aws/requests/compute/describe_placement_groups.rb +35 -0
  609. data/lib/fog/aws/requests/compute/describe_regions.rb +68 -0
  610. data/lib/fog/aws/requests/compute/describe_reserved_instances.rb +60 -0
  611. data/lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb +67 -0
  612. data/lib/fog/aws/requests/compute/describe_security_groups.rb +101 -0
  613. data/lib/fog/aws/requests/compute/describe_snapshots.rb +122 -0
  614. data/lib/fog/aws/requests/compute/describe_spot_datafeed_subscription.rb +35 -0
  615. data/lib/fog/aws/requests/compute/describe_spot_instance_requests.rb +48 -0
  616. data/lib/fog/aws/requests/compute/describe_spot_price_history.rb +37 -0
  617. data/lib/fog/aws/requests/compute/describe_subnets.rb +64 -0
  618. data/lib/fog/aws/requests/compute/describe_tags.rb +107 -0
  619. data/lib/fog/aws/requests/compute/describe_volume_status.rb +45 -0
  620. data/lib/fog/aws/requests/compute/describe_volumes.rb +120 -0
  621. data/lib/fog/aws/requests/compute/describe_vpcs.rb +61 -0
  622. data/lib/fog/aws/requests/compute/detach_internet_gateway.rb +56 -0
  623. data/lib/fog/aws/requests/compute/detach_network_interface.rb +49 -0
  624. data/lib/fog/aws/requests/compute/detach_volume.rb +65 -0
  625. data/lib/fog/aws/requests/compute/disassociate_address.rb +58 -0
  626. data/lib/fog/aws/requests/compute/get_console_output.rb +54 -0
  627. data/lib/fog/aws/requests/compute/get_password_data.rb +56 -0
  628. data/lib/fog/aws/requests/compute/import_key_pair.rb +56 -0
  629. data/lib/fog/aws/requests/compute/modify_image_attribute.rb +74 -0
  630. data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +44 -0
  631. data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +90 -0
  632. data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +37 -0
  633. data/lib/fog/aws/requests/compute/modify_volume_attribute.rb +51 -0
  634. data/lib/fog/aws/requests/compute/monitor_instances.rb +54 -0
  635. data/lib/fog/aws/requests/compute/purchase_reserved_instances_offering.rb +63 -0
  636. data/lib/fog/aws/requests/compute/reboot_instances.rb +54 -0
  637. data/lib/fog/aws/requests/compute/register_image.rb +133 -0
  638. data/lib/fog/aws/requests/compute/release_address.rb +63 -0
  639. data/lib/fog/aws/requests/compute/request_spot_instances.rb +89 -0
  640. data/lib/fog/aws/requests/compute/reset_network_interface_attribute.rb +56 -0
  641. data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +102 -0
  642. data/lib/fog/aws/requests/compute/run_instances.rb +186 -0
  643. data/lib/fog/aws/requests/compute/start_instances.rb +60 -0
  644. data/lib/fog/aws/requests/compute/stop_instances.rb +61 -0
  645. data/lib/fog/aws/requests/compute/terminate_instances.rb +96 -0
  646. data/lib/fog/aws/requests/compute/unmonitor_instances.rb +55 -0
  647. data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +211 -0
  648. data/lib/fog/aws/requests/dns/create_hosted_zone.rb +104 -0
  649. data/lib/fog/aws/requests/dns/delete_hosted_zone.rb +39 -0
  650. data/lib/fog/aws/requests/dns/get_change.rb +38 -0
  651. data/lib/fog/aws/requests/dns/get_hosted_zone.rb +65 -0
  652. data/lib/fog/aws/requests/dns/list_hosted_zones.rb +99 -0
  653. data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +65 -0
  654. data/lib/fog/aws/requests/dynamodb/batch_get_item.rb +43 -0
  655. data/lib/fog/aws/requests/dynamodb/batch_write_item.rb +35 -0
  656. data/lib/fog/aws/requests/dynamodb/create_table.rb +55 -0
  657. data/lib/fog/aws/requests/dynamodb/delete_item.rb +45 -0
  658. data/lib/fog/aws/requests/dynamodb/delete_table.rb +42 -0
  659. data/lib/fog/aws/requests/dynamodb/describe_table.rb +44 -0
  660. data/lib/fog/aws/requests/dynamodb/get_item.rb +43 -0
  661. data/lib/fog/aws/requests/dynamodb/list_tables.rb +29 -0
  662. data/lib/fog/aws/requests/dynamodb/put_item.rb +41 -0
  663. data/lib/fog/aws/requests/dynamodb/query.rb +44 -0
  664. data/lib/fog/aws/requests/dynamodb/scan.rb +45 -0
  665. data/lib/fog/aws/requests/dynamodb/update_item.rb +49 -0
  666. data/lib/fog/aws/requests/dynamodb/update_table.rb +46 -0
  667. data/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb +36 -0
  668. data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +86 -0
  669. data/lib/fog/aws/requests/elasticache/create_cache_parameter_group.rb +37 -0
  670. data/lib/fog/aws/requests/elasticache/create_cache_security_group.rb +33 -0
  671. data/lib/fog/aws/requests/elasticache/delete_cache_cluster.rb +41 -0
  672. data/lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb +31 -0
  673. data/lib/fog/aws/requests/elasticache/delete_cache_security_group.rb +31 -0
  674. data/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb +54 -0
  675. data/lib/fog/aws/requests/elasticache/describe_cache_parameter_groups.rb +34 -0
  676. data/lib/fog/aws/requests/elasticache/describe_cache_parameters.rb +36 -0
  677. data/lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb +34 -0
  678. data/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb +35 -0
  679. data/lib/fog/aws/requests/elasticache/describe_events.rb +49 -0
  680. data/lib/fog/aws/requests/elasticache/modify_cache_cluster.rb +102 -0
  681. data/lib/fog/aws/requests/elasticache/modify_cache_parameter_group.rb +45 -0
  682. data/lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb +52 -0
  683. data/lib/fog/aws/requests/elasticache/reset_cache_parameter_group.rb +46 -0
  684. data/lib/fog/aws/requests/elasticache/revoke_cache_security_group_ingress.rb +37 -0
  685. data/lib/fog/aws/requests/elb/apply_security_groups_to_load_balancer.rb +61 -0
  686. data/lib/fog/aws/requests/elb/attach_load_balancer_to_subnets.rb +61 -0
  687. data/lib/fog/aws/requests/elb/configure_health_check.rb +65 -0
  688. data/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +56 -0
  689. data/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +58 -0
  690. data/lib/fog/aws/requests/elb/create_load_balancer.rb +119 -0
  691. data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +88 -0
  692. data/lib/fog/aws/requests/elb/create_load_balancer_policy.rb +79 -0
  693. data/lib/fog/aws/requests/elb/delete_load_balancer.rb +51 -0
  694. data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +50 -0
  695. data/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +54 -0
  696. data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +63 -0
  697. data/lib/fog/aws/requests/elb/describe_instance_health.rb +72 -0
  698. data/lib/fog/aws/requests/elb/describe_load_balancer_policies.rb +71 -0
  699. data/lib/fog/aws/requests/elb/describe_load_balancer_policy_types.rb +68 -0
  700. data/lib/fog/aws/requests/elb/describe_load_balancers.rb +119 -0
  701. data/lib/fog/aws/requests/elb/detach_load_balancer_from_subnets.rb +61 -0
  702. data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +59 -0
  703. data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +61 -0
  704. data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +64 -0
  705. data/lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb +67 -0
  706. data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +80 -0
  707. data/lib/fog/aws/requests/emr/add_instance_groups.rb +46 -0
  708. data/lib/fog/aws/requests/emr/add_job_flow_steps.rb +49 -0
  709. data/lib/fog/aws/requests/emr/describe_job_flows.rb +108 -0
  710. data/lib/fog/aws/requests/emr/modify_instance_groups.rb +40 -0
  711. data/lib/fog/aws/requests/emr/run_job_flow.rb +108 -0
  712. data/lib/fog/aws/requests/emr/set_termination_protection.rb +39 -0
  713. data/lib/fog/aws/requests/emr/terminate_job_flows.rb +37 -0
  714. data/lib/fog/aws/requests/glacier/abort_multipart_upload.rb +35 -0
  715. data/lib/fog/aws/requests/glacier/complete_multipart_upload.rb +42 -0
  716. data/lib/fog/aws/requests/glacier/create_archive.rb +43 -0
  717. data/lib/fog/aws/requests/glacier/create_vault.rb +34 -0
  718. data/lib/fog/aws/requests/glacier/delete_archive.rb +35 -0
  719. data/lib/fog/aws/requests/glacier/delete_vault.rb +34 -0
  720. data/lib/fog/aws/requests/glacier/delete_vault_notification_configuration.rb +33 -0
  721. data/lib/fog/aws/requests/glacier/describe_job.rb +35 -0
  722. data/lib/fog/aws/requests/glacier/describe_vault.rb +34 -0
  723. data/lib/fog/aws/requests/glacier/get_job_output.rb +41 -0
  724. data/lib/fog/aws/requests/glacier/get_vault_notification_configuration.rb +34 -0
  725. data/lib/fog/aws/requests/glacier/initiate_job.rb +41 -0
  726. data/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +38 -0
  727. data/lib/fog/aws/requests/glacier/list_jobs.rb +39 -0
  728. data/lib/fog/aws/requests/glacier/list_multipart_uploads.rb +37 -0
  729. data/lib/fog/aws/requests/glacier/list_parts.rb +37 -0
  730. data/lib/fog/aws/requests/glacier/list_vaults.rb +36 -0
  731. data/lib/fog/aws/requests/glacier/set_vault_notification_configuration.rb +37 -0
  732. data/lib/fog/aws/requests/glacier/upload_part.rb +46 -0
  733. data/lib/fog/aws/requests/iam/add_role_to_instance_profile.rb +35 -0
  734. data/lib/fog/aws/requests/iam/add_user_to_group.rb +58 -0
  735. data/lib/fog/aws/requests/iam/create_access_key.rb +61 -0
  736. data/lib/fog/aws/requests/iam/create_account_alias.rb +19 -0
  737. data/lib/fog/aws/requests/iam/create_group.rb +60 -0
  738. data/lib/fog/aws/requests/iam/create_instance_profile.rb +46 -0
  739. data/lib/fog/aws/requests/iam/create_login_profile.rb +36 -0
  740. data/lib/fog/aws/requests/iam/create_role.rb +56 -0
  741. data/lib/fog/aws/requests/iam/create_user.rb +60 -0
  742. data/lib/fog/aws/requests/iam/delete_access_key.rb +51 -0
  743. data/lib/fog/aws/requests/iam/delete_account_alias.rb +19 -0
  744. data/lib/fog/aws/requests/iam/delete_group.rb +51 -0
  745. data/lib/fog/aws/requests/iam/delete_group_policy.rb +34 -0
  746. data/lib/fog/aws/requests/iam/delete_instance_profile.rb +32 -0
  747. data/lib/fog/aws/requests/iam/delete_login_profile.rb +31 -0
  748. data/lib/fog/aws/requests/iam/delete_role.rb +32 -0
  749. data/lib/fog/aws/requests/iam/delete_role_policy.rb +35 -0
  750. data/lib/fog/aws/requests/iam/delete_server_certificate.rb +46 -0
  751. data/lib/fog/aws/requests/iam/delete_signing_certificate.rb +33 -0
  752. data/lib/fog/aws/requests/iam/delete_user.rb +49 -0
  753. data/lib/fog/aws/requests/iam/delete_user_policy.rb +50 -0
  754. data/lib/fog/aws/requests/iam/get_group.rb +62 -0
  755. data/lib/fog/aws/requests/iam/get_group_policy.rb +36 -0
  756. data/lib/fog/aws/requests/iam/get_instance_profile.rb +42 -0
  757. data/lib/fog/aws/requests/iam/get_login_profile.rb +35 -0
  758. data/lib/fog/aws/requests/iam/get_role.rb +38 -0
  759. data/lib/fog/aws/requests/iam/get_role_policy.rb +36 -0
  760. data/lib/fog/aws/requests/iam/get_server_certificate.rb +48 -0
  761. data/lib/fog/aws/requests/iam/get_user.rb +56 -0
  762. data/lib/fog/aws/requests/iam/get_user_policy.rb +53 -0
  763. data/lib/fog/aws/requests/iam/list_access_keys.rb +61 -0
  764. data/lib/fog/aws/requests/iam/list_account_aliases.rb +18 -0
  765. data/lib/fog/aws/requests/iam/list_group_policies.rb +39 -0
  766. data/lib/fog/aws/requests/iam/list_groups.rb +60 -0
  767. data/lib/fog/aws/requests/iam/list_groups_for_user.rb +67 -0
  768. data/lib/fog/aws/requests/iam/list_instance_profiles.rb +50 -0
  769. data/lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb +51 -0
  770. data/lib/fog/aws/requests/iam/list_role_policies.rb +39 -0
  771. data/lib/fog/aws/requests/iam/list_roles.rb +43 -0
  772. data/lib/fog/aws/requests/iam/list_server_certificates.rb +56 -0
  773. data/lib/fog/aws/requests/iam/list_signing_certificates.rb +38 -0
  774. data/lib/fog/aws/requests/iam/list_user_policies.rb +57 -0
  775. data/lib/fog/aws/requests/iam/list_users.rb +59 -0
  776. data/lib/fog/aws/requests/iam/put_group_policy.rb +36 -0
  777. data/lib/fog/aws/requests/iam/put_role_policy.rb +36 -0
  778. data/lib/fog/aws/requests/iam/put_user_policy.rb +54 -0
  779. data/lib/fog/aws/requests/iam/remove_role_from_instance_profile.rb +36 -0
  780. data/lib/fog/aws/requests/iam/remove_user_from_group.rb +53 -0
  781. data/lib/fog/aws/requests/iam/update_access_key.rb +36 -0
  782. data/lib/fog/aws/requests/iam/update_group.rb +39 -0
  783. data/lib/fog/aws/requests/iam/update_login_profile.rb +33 -0
  784. data/lib/fog/aws/requests/iam/update_server_certificate.rb +37 -0
  785. data/lib/fog/aws/requests/iam/update_signing_certificate.rb +32 -0
  786. data/lib/fog/aws/requests/iam/update_user.rb +39 -0
  787. data/lib/fog/aws/requests/iam/upload_server_certificate.rb +97 -0
  788. data/lib/fog/aws/requests/iam/upload_signing_certificate.rb +38 -0
  789. data/lib/fog/aws/requests/rds/add_tags_to_resource.rb +46 -0
  790. data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +72 -0
  791. data/lib/fog/aws/requests/rds/create_db_instance.rb +126 -0
  792. data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +82 -0
  793. data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +59 -0
  794. data/lib/fog/aws/requests/rds/create_db_security_group.rb +55 -0
  795. data/lib/fog/aws/requests/rds/create_db_snapshot.rb +72 -0
  796. data/lib/fog/aws/requests/rds/create_db_subnet_group.rb +58 -0
  797. data/lib/fog/aws/requests/rds/delete_db_instance.rb +55 -0
  798. data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +46 -0
  799. data/lib/fog/aws/requests/rds/delete_db_security_group.rb +46 -0
  800. data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +47 -0
  801. data/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +34 -0
  802. data/lib/fog/aws/requests/rds/describe_db_instances.rb +95 -0
  803. data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +63 -0
  804. data/lib/fog/aws/requests/rds/describe_db_parameters.rb +45 -0
  805. data/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +42 -0
  806. data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +85 -0
  807. data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +71 -0
  808. data/lib/fog/aws/requests/rds/describe_db_subnet_groups.rb +63 -0
  809. data/lib/fog/aws/requests/rds/describe_events.rb +52 -0
  810. data/lib/fog/aws/requests/rds/list_tags_for_resource.rb +44 -0
  811. data/lib/fog/aws/requests/rds/modify_db_instance.rb +80 -0
  812. data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +55 -0
  813. data/lib/fog/aws/requests/rds/reboot_db_instance.rb +51 -0
  814. data/lib/fog/aws/requests/rds/remove_tags_from_resource.rb +44 -0
  815. data/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +34 -0
  816. data/lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb +35 -0
  817. data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +70 -0
  818. data/lib/fog/aws/requests/ses/delete_verified_email_address.rb +28 -0
  819. data/lib/fog/aws/requests/ses/get_send_quota.rb +31 -0
  820. data/lib/fog/aws/requests/ses/get_send_statistics.rb +34 -0
  821. data/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +28 -0
  822. data/lib/fog/aws/requests/ses/send_email.rb +73 -0
  823. data/lib/fog/aws/requests/ses/send_raw_email.rb +41 -0
  824. data/lib/fog/aws/requests/ses/verify_email_address.rb +28 -0
  825. data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +64 -0
  826. data/lib/fog/aws/requests/simpledb/create_domain.rb +44 -0
  827. data/lib/fog/aws/requests/simpledb/delete_attributes.rb +73 -0
  828. data/lib/fog/aws/requests/simpledb/delete_domain.rb +45 -0
  829. data/lib/fog/aws/requests/simpledb/domain_metadata.rb +76 -0
  830. data/lib/fog/aws/requests/simpledb/get_attributes.rb +84 -0
  831. data/lib/fog/aws/requests/simpledb/list_domains.rb +59 -0
  832. data/lib/fog/aws/requests/simpledb/put_attributes.rb +78 -0
  833. data/lib/fog/aws/requests/simpledb/select.rb +43 -0
  834. data/lib/fog/aws/requests/sns/add_permission.rb +26 -0
  835. data/lib/fog/aws/requests/sns/confirm_subscription.rb +33 -0
  836. data/lib/fog/aws/requests/sns/create_topic.rb +29 -0
  837. data/lib/fog/aws/requests/sns/delete_topic.rb +29 -0
  838. data/lib/fog/aws/requests/sns/get_topic_attributes.rb +29 -0
  839. data/lib/fog/aws/requests/sns/list_subscriptions.rb +29 -0
  840. data/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb +31 -0
  841. data/lib/fog/aws/requests/sns/list_topics.rb +29 -0
  842. data/lib/fog/aws/requests/sns/publish.rb +34 -0
  843. data/lib/fog/aws/requests/sns/remove_permission.rb +26 -0
  844. data/lib/fog/aws/requests/sns/set_topic_attributes.rb +33 -0
  845. data/lib/fog/aws/requests/sns/subscribe.rb +33 -0
  846. data/lib/fog/aws/requests/sns/unsubscribe.rb +29 -0
  847. data/lib/fog/aws/requests/sqs/change_message_visibility.rb +63 -0
  848. data/lib/fog/aws/requests/sqs/create_queue.rb +65 -0
  849. data/lib/fog/aws/requests/sqs/delete_message.rb +60 -0
  850. data/lib/fog/aws/requests/sqs/delete_queue.rb +52 -0
  851. data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +52 -0
  852. data/lib/fog/aws/requests/sqs/list_queues.rb +42 -0
  853. data/lib/fog/aws/requests/sqs/receive_message.rb +87 -0
  854. data/lib/fog/aws/requests/sqs/send_message.rb +69 -0
  855. data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +51 -0
  856. data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +30 -0
  857. data/lib/fog/aws/requests/storage/acl_utils.rb +62 -0
  858. data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +52 -0
  859. data/lib/fog/aws/requests/storage/copy_object.rb +82 -0
  860. data/lib/fog/aws/requests/storage/delete_bucket.rb +50 -0
  861. data/lib/fog/aws/requests/storage/delete_bucket_lifecycle.rb +30 -0
  862. data/lib/fog/aws/requests/storage/delete_bucket_policy.rb +32 -0
  863. data/lib/fog/aws/requests/storage/delete_bucket_website.rb +32 -0
  864. data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +172 -0
  865. data/lib/fog/aws/requests/storage/delete_object.rb +121 -0
  866. data/lib/fog/aws/requests/storage/get_bucket.rb +115 -0
  867. data/lib/fog/aws/requests/storage/get_bucket_acl.rb +72 -0
  868. data/lib/fog/aws/requests/storage/get_bucket_lifecycle.rb +41 -0
  869. data/lib/fog/aws/requests/storage/get_bucket_location.rb +61 -0
  870. data/lib/fog/aws/requests/storage/get_bucket_logging.rb +50 -0
  871. data/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +168 -0
  872. data/lib/fog/aws/requests/storage/get_bucket_policy.rb +37 -0
  873. data/lib/fog/aws/requests/storage/get_bucket_versioning.rb +72 -0
  874. data/lib/fog/aws/requests/storage/get_bucket_website.rb +42 -0
  875. data/lib/fog/aws/requests/storage/get_object.rb +191 -0
  876. data/lib/fog/aws/requests/storage/get_object_acl.rb +83 -0
  877. data/lib/fog/aws/requests/storage/get_object_http_url.rb +58 -0
  878. data/lib/fog/aws/requests/storage/get_object_https_url.rb +40 -0
  879. data/lib/fog/aws/requests/storage/get_object_torrent.rb +50 -0
  880. data/lib/fog/aws/requests/storage/get_object_url.rb +58 -0
  881. data/lib/fog/aws/requests/storage/get_request_payment.rb +52 -0
  882. data/lib/fog/aws/requests/storage/get_service.rb +57 -0
  883. data/lib/fog/aws/requests/storage/head_object.rb +69 -0
  884. data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +47 -0
  885. data/lib/fog/aws/requests/storage/list_multipart_uploads.rb +60 -0
  886. data/lib/fog/aws/requests/storage/list_parts.rb +59 -0
  887. data/lib/fog/aws/requests/storage/post_object_hidden_fields.rb +40 -0
  888. data/lib/fog/aws/requests/storage/put_bucket.rb +77 -0
  889. data/lib/fog/aws/requests/storage/put_bucket_acl.rb +73 -0
  890. data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +48 -0
  891. data/lib/fog/aws/requests/storage/put_bucket_logging.rb +83 -0
  892. data/lib/fog/aws/requests/storage/put_bucket_policy.rb +30 -0
  893. data/lib/fog/aws/requests/storage/put_bucket_versioning.rb +77 -0
  894. data/lib/fog/aws/requests/storage/put_bucket_website.rb +66 -0
  895. data/lib/fog/aws/requests/storage/put_object.rb +116 -0
  896. data/lib/fog/aws/requests/storage/put_object_acl.rb +82 -0
  897. data/lib/fog/aws/requests/storage/put_object_url.rb +51 -0
  898. data/lib/fog/aws/requests/storage/put_request_payment.rb +51 -0
  899. data/lib/fog/aws/requests/storage/sync_clock.rb +28 -0
  900. data/lib/fog/aws/requests/storage/upload_part.rb +44 -0
  901. data/lib/fog/aws/requests/sts/get_federation_token.rb +21 -0
  902. data/lib/fog/aws/requests/sts/get_session_token.rb +19 -0
  903. data/lib/fog/aws/ses.rb +121 -0
  904. data/lib/fog/aws/signaturev4.rb +73 -0
  905. data/lib/fog/aws/simpledb.rb +205 -0
  906. data/lib/fog/aws/sns.rb +116 -0
  907. data/lib/fog/aws/sqs.rb +150 -0
  908. data/lib/fog/aws/storage.rb +406 -0
  909. data/lib/fog/aws/sts.rb +136 -0
  910. data/lib/fog/bare_metal_cloud.rb +11 -0
  911. data/lib/fog/bare_metal_cloud/compute.rb +100 -0
  912. data/lib/fog/bare_metal_cloud/requests/compute/add_server.rb +33 -0
  913. data/lib/fog/bare_metal_cloud/requests/compute/add_server_by_configuration.rb +33 -0
  914. data/lib/fog/bare_metal_cloud/requests/compute/cancel_server.rb +30 -0
  915. data/lib/fog/bare_metal_cloud/requests/compute/get_server.rb +41 -0
  916. data/lib/fog/bare_metal_cloud/requests/compute/list_configurations.rb +27 -0
  917. data/lib/fog/bare_metal_cloud/requests/compute/list_images.rb +27 -0
  918. data/lib/fog/bare_metal_cloud/requests/compute/list_plans.rb +30 -0
  919. data/lib/fog/bare_metal_cloud/requests/compute/list_servers.rb +36 -0
  920. data/lib/fog/bare_metal_cloud/requests/compute/reboot_server.rb +24 -0
  921. data/lib/fog/bin.rb +93 -0
  922. data/lib/fog/bin/atmos.rb +31 -0
  923. data/lib/fog/bin/aws.rb +115 -0
  924. data/lib/fog/bin/bare_metal_cloud.rb +31 -0
  925. data/lib/fog/bin/bluebox.rb +36 -0
  926. data/lib/fog/bin/brightbox.rb +35 -0
  927. data/lib/fog/bin/clodo.rb +31 -0
  928. data/lib/fog/bin/cloudstack.rb +30 -0
  929. data/lib/fog/bin/dnsimple.rb +31 -0
  930. data/lib/fog/bin/dnsmadeeasy.rb +31 -0
  931. data/lib/fog/bin/dynect.rb +30 -0
  932. data/lib/fog/bin/ecloud.rb +35 -0
  933. data/lib/fog/bin/glesys.rb +31 -0
  934. data/lib/fog/bin/go_grid.rb +31 -0
  935. data/lib/fog/bin/google.rb +31 -0
  936. data/lib/fog/bin/hp.rb +38 -0
  937. data/lib/fog/bin/ibm.rb +34 -0
  938. data/lib/fog/bin/joyent.rb +31 -0
  939. data/lib/fog/bin/libvirt.rb +60 -0
  940. data/lib/fog/bin/linode.rb +36 -0
  941. data/lib/fog/bin/local.rb +31 -0
  942. data/lib/fog/bin/ninefold.rb +36 -0
  943. data/lib/fog/bin/openstack.rb +41 -0
  944. data/lib/fog/bin/ovirt.rb +30 -0
  945. data/lib/fog/bin/rackspace.rb +60 -0
  946. data/lib/fog/bin/serverlove.rb +31 -0
  947. data/lib/fog/bin/stormondemand.rb +31 -0
  948. data/lib/fog/bin/terremark.rb +31 -0
  949. data/lib/fog/bin/vcloud.rb +30 -0
  950. data/lib/fog/bin/virtual_box.rb +57 -0
  951. data/lib/fog/bin/vmfusion.rb +60 -0
  952. data/lib/fog/bin/voxel.rb +31 -0
  953. data/lib/fog/bin/vsphere.rb +30 -0
  954. data/lib/fog/bin/xenserver.rb +31 -0
  955. data/lib/fog/bin/zerigo.rb +31 -0
  956. data/lib/fog/bluebox.rb +12 -0
  957. data/lib/fog/bluebox/compute.rb +104 -0
  958. data/lib/fog/bluebox/dns.rb +104 -0
  959. data/lib/fog/bluebox/models/compute/flavor.rb +45 -0
  960. data/lib/fog/bluebox/models/compute/flavors.rb +28 -0
  961. data/lib/fog/bluebox/models/compute/image.rb +34 -0
  962. data/lib/fog/bluebox/models/compute/images.rb +28 -0
  963. data/lib/fog/bluebox/models/compute/location.rb +17 -0
  964. data/lib/fog/bluebox/models/compute/locations.rb +28 -0
  965. data/lib/fog/bluebox/models/compute/server.rb +120 -0
  966. data/lib/fog/bluebox/models/compute/servers.rb +36 -0
  967. data/lib/fog/bluebox/models/dns/record.rb +55 -0
  968. data/lib/fog/bluebox/models/dns/records.rb +36 -0
  969. data/lib/fog/bluebox/models/dns/zone.rb +64 -0
  970. data/lib/fog/bluebox/models/dns/zones.rb +28 -0
  971. data/lib/fog/bluebox/parsers/dns/create_record.rb +26 -0
  972. data/lib/fog/bluebox/parsers/dns/create_zone.rb +26 -0
  973. data/lib/fog/bluebox/parsers/dns/get_record.rb +21 -0
  974. data/lib/fog/bluebox/parsers/dns/get_records.rb +28 -0
  975. data/lib/fog/bluebox/parsers/dns/get_zone.rb +26 -0
  976. data/lib/fog/bluebox/parsers/dns/get_zones.rb +30 -0
  977. data/lib/fog/bluebox/requests/compute/create_block.rb +45 -0
  978. data/lib/fog/bluebox/requests/compute/create_template.rb +27 -0
  979. data/lib/fog/bluebox/requests/compute/destroy_block.rb +26 -0
  980. data/lib/fog/bluebox/requests/compute/destroy_template.rb +26 -0
  981. data/lib/fog/bluebox/requests/compute/get_block.rb +26 -0
  982. data/lib/fog/bluebox/requests/compute/get_blocks.rb +28 -0
  983. data/lib/fog/bluebox/requests/compute/get_location.rb +26 -0
  984. data/lib/fog/bluebox/requests/compute/get_locations.rb +24 -0
  985. data/lib/fog/bluebox/requests/compute/get_product.rb +26 -0
  986. data/lib/fog/bluebox/requests/compute/get_products.rb +25 -0
  987. data/lib/fog/bluebox/requests/compute/get_template.rb +26 -0
  988. data/lib/fog/bluebox/requests/compute/get_templates.rb +26 -0
  989. data/lib/fog/bluebox/requests/compute/reboot_block.rb +27 -0
  990. data/lib/fog/bluebox/requests/dns/create_record.rb +48 -0
  991. data/lib/fog/bluebox/requests/dns/create_zone.rb +52 -0
  992. data/lib/fog/bluebox/requests/dns/delete_record.rb +31 -0
  993. data/lib/fog/bluebox/requests/dns/delete_zone.rb +31 -0
  994. data/lib/fog/bluebox/requests/dns/get_record.rb +40 -0
  995. data/lib/fog/bluebox/requests/dns/get_records.rb +41 -0
  996. data/lib/fog/bluebox/requests/dns/get_zone.rb +44 -0
  997. data/lib/fog/bluebox/requests/dns/get_zones.rb +43 -0
  998. data/lib/fog/bluebox/requests/dns/update_record.rb +34 -0
  999. data/lib/fog/bluebox/requests/dns/update_zone.rb +30 -0
  1000. data/lib/fog/brightbox.rb +10 -0
  1001. data/lib/fog/brightbox/compute.rb +442 -0
  1002. data/lib/fog/brightbox/models/compute/account.rb +69 -0
  1003. data/lib/fog/brightbox/models/compute/accounts.rb +29 -0
  1004. data/lib/fog/brightbox/models/compute/api_client.rb +37 -0
  1005. data/lib/fog/brightbox/models/compute/api_clients.rb +24 -0
  1006. data/lib/fog/brightbox/models/compute/application.rb +27 -0
  1007. data/lib/fog/brightbox/models/compute/applications.rb +28 -0
  1008. data/lib/fog/brightbox/models/compute/cloud_ip.rb +59 -0
  1009. data/lib/fog/brightbox/models/compute/cloud_ips.rb +34 -0
  1010. data/lib/fog/brightbox/models/compute/firewall_policies.rb +29 -0
  1011. data/lib/fog/brightbox/models/compute/firewall_policy.rb +65 -0
  1012. data/lib/fog/brightbox/models/compute/firewall_rule.rb +54 -0
  1013. data/lib/fog/brightbox/models/compute/firewall_rules.rb +24 -0
  1014. data/lib/fog/brightbox/models/compute/flavor.rb +32 -0
  1015. data/lib/fog/brightbox/models/compute/flavors.rb +28 -0
  1016. data/lib/fog/brightbox/models/compute/image.rb +66 -0
  1017. data/lib/fog/brightbox/models/compute/images.rb +28 -0
  1018. data/lib/fog/brightbox/models/compute/load_balancer.rb +59 -0
  1019. data/lib/fog/brightbox/models/compute/load_balancers.rb +28 -0
  1020. data/lib/fog/brightbox/models/compute/server.rb +203 -0
  1021. data/lib/fog/brightbox/models/compute/server_group.rb +96 -0
  1022. data/lib/fog/brightbox/models/compute/server_groups.rb +29 -0
  1023. data/lib/fog/brightbox/models/compute/servers.rb +61 -0
  1024. data/lib/fog/brightbox/models/compute/user.rb +43 -0
  1025. data/lib/fog/brightbox/models/compute/users.rb +27 -0
  1026. data/lib/fog/brightbox/models/compute/zone.rb +22 -0
  1027. data/lib/fog/brightbox/models/compute/zones.rb +29 -0
  1028. data/lib/fog/brightbox/oauth2.rb +164 -0
  1029. data/lib/fog/brightbox/requests/compute/activate_console_server.rb +21 -0
  1030. data/lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb +23 -0
  1031. data/lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb +23 -0
  1032. data/lib/fog/brightbox/requests/compute/add_servers_server_group.rb +26 -0
  1033. data/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb +23 -0
  1034. data/lib/fog/brightbox/requests/compute/create_api_client.rb +22 -0
  1035. data/lib/fog/brightbox/requests/compute/create_application.rb +22 -0
  1036. data/lib/fog/brightbox/requests/compute/create_cloud_ip.rb +23 -0
  1037. data/lib/fog/brightbox/requests/compute/create_firewall_policy.rb +24 -0
  1038. data/lib/fog/brightbox/requests/compute/create_firewall_rule.rb +28 -0
  1039. data/lib/fog/brightbox/requests/compute/create_image.rb +29 -0
  1040. data/lib/fog/brightbox/requests/compute/create_load_balancer.rb +25 -0
  1041. data/lib/fog/brightbox/requests/compute/create_server.rb +28 -0
  1042. data/lib/fog/brightbox/requests/compute/create_server_group.rb +22 -0
  1043. data/lib/fog/brightbox/requests/compute/destroy_api_client.rb +21 -0
  1044. data/lib/fog/brightbox/requests/compute/destroy_application.rb +21 -0
  1045. data/lib/fog/brightbox/requests/compute/destroy_cloud_ip.rb +21 -0
  1046. data/lib/fog/brightbox/requests/compute/destroy_firewall_policy.rb +21 -0
  1047. data/lib/fog/brightbox/requests/compute/destroy_firewall_rule.rb +21 -0
  1048. data/lib/fog/brightbox/requests/compute/destroy_image.rb +21 -0
  1049. data/lib/fog/brightbox/requests/compute/destroy_load_balancer.rb +21 -0
  1050. data/lib/fog/brightbox/requests/compute/destroy_server.rb +21 -0
  1051. data/lib/fog/brightbox/requests/compute/destroy_server_group.rb +21 -0
  1052. data/lib/fog/brightbox/requests/compute/get_account.rb +29 -0
  1053. data/lib/fog/brightbox/requests/compute/get_api_client.rb +21 -0
  1054. data/lib/fog/brightbox/requests/compute/get_application.rb +21 -0
  1055. data/lib/fog/brightbox/requests/compute/get_authenticated_user.rb +17 -0
  1056. data/lib/fog/brightbox/requests/compute/get_cloud_ip.rb +21 -0
  1057. data/lib/fog/brightbox/requests/compute/get_firewall_policy.rb +21 -0
  1058. data/lib/fog/brightbox/requests/compute/get_firewall_rule.rb +21 -0
  1059. data/lib/fog/brightbox/requests/compute/get_image.rb +21 -0
  1060. data/lib/fog/brightbox/requests/compute/get_interface.rb +21 -0
  1061. data/lib/fog/brightbox/requests/compute/get_load_balancer.rb +21 -0
  1062. data/lib/fog/brightbox/requests/compute/get_scoped_account.rb +15 -0
  1063. data/lib/fog/brightbox/requests/compute/get_server.rb +21 -0
  1064. data/lib/fog/brightbox/requests/compute/get_server_group.rb +21 -0
  1065. data/lib/fog/brightbox/requests/compute/get_server_type.rb +21 -0
  1066. data/lib/fog/brightbox/requests/compute/get_user.rb +29 -0
  1067. data/lib/fog/brightbox/requests/compute/get_zone.rb +21 -0
  1068. data/lib/fog/brightbox/requests/compute/list_accounts.rb +17 -0
  1069. data/lib/fog/brightbox/requests/compute/list_api_clients.rb +19 -0
  1070. data/lib/fog/brightbox/requests/compute/list_applications.rb +19 -0
  1071. data/lib/fog/brightbox/requests/compute/list_cloud_ips.rb +19 -0
  1072. data/lib/fog/brightbox/requests/compute/list_firewall_policies.rb +19 -0
  1073. data/lib/fog/brightbox/requests/compute/list_images.rb +19 -0
  1074. data/lib/fog/brightbox/requests/compute/list_load_balancers.rb +19 -0
  1075. data/lib/fog/brightbox/requests/compute/list_server_groups.rb +19 -0
  1076. data/lib/fog/brightbox/requests/compute/list_server_types.rb +19 -0
  1077. data/lib/fog/brightbox/requests/compute/list_servers.rb +19 -0
  1078. data/lib/fog/brightbox/requests/compute/list_users.rb +19 -0
  1079. data/lib/fog/brightbox/requests/compute/list_zones.rb +19 -0
  1080. data/lib/fog/brightbox/requests/compute/map_cloud_ip.rb +23 -0
  1081. data/lib/fog/brightbox/requests/compute/move_servers_server_group.rb +27 -0
  1082. data/lib/fog/brightbox/requests/compute/remove_firewall_policy.rb +23 -0
  1083. data/lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb +23 -0
  1084. data/lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb +23 -0
  1085. data/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb +26 -0
  1086. data/lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb +32 -0
  1087. data/lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb +18 -0
  1088. data/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb +26 -0
  1089. data/lib/fog/brightbox/requests/compute/reset_secret_application.rb +21 -0
  1090. data/lib/fog/brightbox/requests/compute/shutdown_server.rb +21 -0
  1091. data/lib/fog/brightbox/requests/compute/snapshot_server.rb +21 -0
  1092. data/lib/fog/brightbox/requests/compute/start_server.rb +21 -0
  1093. data/lib/fog/brightbox/requests/compute/stop_server.rb +21 -0
  1094. data/lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb +21 -0
  1095. data/lib/fog/brightbox/requests/compute/update_account.rb +60 -0
  1096. data/lib/fog/brightbox/requests/compute/update_api_client.rb +25 -0
  1097. data/lib/fog/brightbox/requests/compute/update_application.rb +25 -0
  1098. data/lib/fog/brightbox/requests/compute/update_cloud_ip.rb +26 -0
  1099. data/lib/fog/brightbox/requests/compute/update_firewall_rule.rb +30 -0
  1100. data/lib/fog/brightbox/requests/compute/update_image.rb +30 -0
  1101. data/lib/fog/brightbox/requests/compute/update_load_balancer.rb +28 -0
  1102. data/lib/fog/brightbox/requests/compute/update_scoped_account.rb +30 -0
  1103. data/lib/fog/brightbox/requests/compute/update_server.rb +25 -0
  1104. data/lib/fog/brightbox/requests/compute/update_server_group.rb +25 -0
  1105. data/lib/fog/brightbox/requests/compute/update_user.rb +28 -0
  1106. data/lib/fog/cdn.rb +30 -0
  1107. data/lib/fog/clodo.rb +34 -0
  1108. data/lib/fog/clodo/compute.rb +150 -0
  1109. data/lib/fog/clodo/models/compute/image.rb +31 -0
  1110. data/lib/fog/clodo/models/compute/images.rb +28 -0
  1111. data/lib/fog/clodo/models/compute/server.rb +126 -0
  1112. data/lib/fog/clodo/models/compute/servers.rb +36 -0
  1113. data/lib/fog/clodo/requests/compute/add_ip_address.rb +49 -0
  1114. data/lib/fog/clodo/requests/compute/create_server.rb +112 -0
  1115. data/lib/fog/clodo/requests/compute/delete_ip_address.rb +47 -0
  1116. data/lib/fog/clodo/requests/compute/delete_server.rb +44 -0
  1117. data/lib/fog/clodo/requests/compute/get_image_details.rb +20 -0
  1118. data/lib/fog/clodo/requests/compute/get_server_details.rb +49 -0
  1119. data/lib/fog/clodo/requests/compute/list_images.rb +48 -0
  1120. data/lib/fog/clodo/requests/compute/list_images_detail.rb +61 -0
  1121. data/lib/fog/clodo/requests/compute/list_servers.rb +50 -0
  1122. data/lib/fog/clodo/requests/compute/list_servers_detail.rb +51 -0
  1123. data/lib/fog/clodo/requests/compute/move_ip_address.rb +34 -0
  1124. data/lib/fog/clodo/requests/compute/reboot_server.rb +19 -0
  1125. data/lib/fog/clodo/requests/compute/rebuild_server.rb +21 -0
  1126. data/lib/fog/clodo/requests/compute/server_action.rb +25 -0
  1127. data/lib/fog/clodo/requests/compute/start_server.rb +19 -0
  1128. data/lib/fog/clodo/requests/compute/stop_server.rb +19 -0
  1129. data/lib/fog/cloudstack.rb +40 -0
  1130. data/lib/fog/cloudstack/compute.rb +441 -0
  1131. data/lib/fog/cloudstack/models/compute/address.rb +17 -0
  1132. data/lib/fog/cloudstack/models/compute/flavor.rb +33 -0
  1133. data/lib/fog/cloudstack/models/compute/flavors.rb +28 -0
  1134. data/lib/fog/cloudstack/models/compute/image.rb +72 -0
  1135. data/lib/fog/cloudstack/models/compute/images.rb +41 -0
  1136. data/lib/fog/cloudstack/models/compute/job.rb +42 -0
  1137. data/lib/fog/cloudstack/models/compute/jobs.rb +28 -0
  1138. data/lib/fog/cloudstack/models/compute/security_group.rb +50 -0
  1139. data/lib/fog/cloudstack/models/compute/security_group_rule.rb +62 -0
  1140. data/lib/fog/cloudstack/models/compute/security_group_rules.rb +37 -0
  1141. data/lib/fog/cloudstack/models/compute/security_groups.rb +27 -0
  1142. data/lib/fog/cloudstack/models/compute/server.rb +118 -0
  1143. data/lib/fog/cloudstack/models/compute/servers.rb +34 -0
  1144. data/lib/fog/cloudstack/models/compute/volume.rb +115 -0
  1145. data/lib/fog/cloudstack/models/compute/volumes.rb +28 -0
  1146. data/lib/fog/cloudstack/models/compute/zone.rb +38 -0
  1147. data/lib/fog/cloudstack/models/compute/zones.rb +33 -0
  1148. data/lib/fog/cloudstack/requests/compute/acquire_ip_address.rb +21 -0
  1149. data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +25 -0
  1150. data/lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb +18 -0
  1151. data/lib/fog/cloudstack/requests/compute/attach_volume.rb +70 -0
  1152. data/lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb +68 -0
  1153. data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +73 -0
  1154. data/lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb +20 -0
  1155. data/lib/fog/cloudstack/requests/compute/create_account.rb +20 -0
  1156. data/lib/fog/cloudstack/requests/compute/create_domain.rb +20 -0
  1157. data/lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb +20 -0
  1158. data/lib/fog/cloudstack/requests/compute/create_network.rb +20 -0
  1159. data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +20 -0
  1160. data/lib/fog/cloudstack/requests/compute/create_security_group.rb +28 -0
  1161. data/lib/fog/cloudstack/requests/compute/create_snapshot.rb +20 -0
  1162. data/lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb +20 -0
  1163. data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +22 -0
  1164. data/lib/fog/cloudstack/requests/compute/create_user.rb +20 -0
  1165. data/lib/fog/cloudstack/requests/compute/create_volume.rb +63 -0
  1166. data/lib/fog/cloudstack/requests/compute/create_zone.rb +20 -0
  1167. data/lib/fog/cloudstack/requests/compute/delete_account.rb +20 -0
  1168. data/lib/fog/cloudstack/requests/compute/delete_domain.rb +20 -0
  1169. data/lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb +20 -0
  1170. data/lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb +20 -0
  1171. data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +37 -0
  1172. data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +20 -0
  1173. data/lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb +20 -0
  1174. data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +21 -0
  1175. data/lib/fog/cloudstack/requests/compute/delete_template.rb +20 -0
  1176. data/lib/fog/cloudstack/requests/compute/delete_user.rb +20 -0
  1177. data/lib/fog/cloudstack/requests/compute/delete_volume.rb +40 -0
  1178. data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +129 -0
  1179. data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +51 -0
  1180. data/lib/fog/cloudstack/requests/compute/detach_volume.rb +62 -0
  1181. data/lib/fog/cloudstack/requests/compute/disable_account.rb +20 -0
  1182. data/lib/fog/cloudstack/requests/compute/disable_user.rb +20 -0
  1183. data/lib/fog/cloudstack/requests/compute/enable_account.rb +20 -0
  1184. data/lib/fog/cloudstack/requests/compute/enable_user.rb +20 -0
  1185. data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +28 -0
  1186. data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +21 -0
  1187. data/lib/fog/cloudstack/requests/compute/list_accounts.rb +20 -0
  1188. data/lib/fog/cloudstack/requests/compute/list_alerts.rb +20 -0
  1189. data/lib/fog/cloudstack/requests/compute/list_async_jobs.rb +32 -0
  1190. data/lib/fog/cloudstack/requests/compute/list_capabilities.rb +20 -0
  1191. data/lib/fog/cloudstack/requests/compute/list_capacity.rb +20 -0
  1192. data/lib/fog/cloudstack/requests/compute/list_clusters.rb +20 -0
  1193. data/lib/fog/cloudstack/requests/compute/list_configurations.rb +20 -0
  1194. data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +20 -0
  1195. data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +20 -0
  1196. data/lib/fog/cloudstack/requests/compute/list_domains.rb +20 -0
  1197. data/lib/fog/cloudstack/requests/compute/list_events.rb +20 -0
  1198. data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +20 -0
  1199. data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +20 -0
  1200. data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +15 -0
  1201. data/lib/fog/cloudstack/requests/compute/list_hosts.rb +20 -0
  1202. data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +20 -0
  1203. data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +20 -0
  1204. data/lib/fog/cloudstack/requests/compute/list_isos.rb +20 -0
  1205. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +23 -0
  1206. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +22 -0
  1207. data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +20 -0
  1208. data/lib/fog/cloudstack/requests/compute/list_networks.rb +20 -0
  1209. data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +22 -0
  1210. data/lib/fog/cloudstack/requests/compute/list_os_types.rb +22 -0
  1211. data/lib/fog/cloudstack/requests/compute/list_pods.rb +20 -0
  1212. data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +22 -0
  1213. data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +22 -0
  1214. data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +20 -0
  1215. data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +38 -0
  1216. data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +42 -0
  1217. data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +20 -0
  1218. data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +20 -0
  1219. data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +20 -0
  1220. data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +20 -0
  1221. data/lib/fog/cloudstack/requests/compute/list_templates.rb +35 -0
  1222. data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +28 -0
  1223. data/lib/fog/cloudstack/requests/compute/list_users.rb +20 -0
  1224. data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +26 -0
  1225. data/lib/fog/cloudstack/requests/compute/list_volumes.rb +38 -0
  1226. data/lib/fog/cloudstack/requests/compute/list_zones.rb +34 -0
  1227. data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb +20 -0
  1228. data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +32 -0
  1229. data/lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb +31 -0
  1230. data/lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb +20 -0
  1231. data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +20 -0
  1232. data/lib/fog/cloudstack/requests/compute/register_template.rb +35 -0
  1233. data/lib/fog/cloudstack/requests/compute/register_user_keys.rb +20 -0
  1234. data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +25 -0
  1235. data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +21 -0
  1236. data/lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb +42 -0
  1237. data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +47 -0
  1238. data/lib/fog/cloudstack/requests/compute/start_virtual_machine.rb +20 -0
  1239. data/lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb +20 -0
  1240. data/lib/fog/cloudstack/requests/compute/update_account.rb +20 -0
  1241. data/lib/fog/cloudstack/requests/compute/update_domain.rb +20 -0
  1242. data/lib/fog/cloudstack/requests/compute/update_resource_count.rb +20 -0
  1243. data/lib/fog/cloudstack/requests/compute/update_user.rb +20 -0
  1244. data/lib/fog/cloudstack/requests/compute/update_virtual_machine.rb +20 -0
  1245. data/lib/fog/compute.rb +123 -0
  1246. data/lib/fog/compute/models/server.rb +73 -0
  1247. data/lib/fog/core.rb +38 -0
  1248. data/lib/fog/core/attributes.rb +204 -0
  1249. data/lib/fog/core/collection.rb +134 -0
  1250. data/lib/fog/core/connection.rb +36 -0
  1251. data/lib/fog/core/credentials.rb +65 -0
  1252. data/lib/fog/core/current_machine.rb +34 -0
  1253. data/lib/fog/core/deprecation.rb +23 -0
  1254. data/lib/fog/core/errors.rb +102 -0
  1255. data/lib/fog/core/hmac.rb +48 -0
  1256. data/lib/fog/core/json.rb +46 -0
  1257. data/lib/fog/core/logger.rb +43 -0
  1258. data/lib/fog/core/mock.rb +92 -0
  1259. data/lib/fog/core/model.rb +69 -0
  1260. data/lib/fog/core/parser.rb +103 -0
  1261. data/lib/fog/core/provider.rb +35 -0
  1262. data/lib/fog/core/scp.rb +95 -0
  1263. data/lib/fog/core/service.rb +223 -0
  1264. data/lib/fog/core/ssh.rb +136 -0
  1265. data/lib/fog/core/time.rb +32 -0
  1266. data/lib/fog/core/timeout.rb +11 -0
  1267. data/lib/fog/core/wait_for.rb +15 -0
  1268. data/lib/fog/dns.rb +56 -0
  1269. data/lib/fog/dnsimple.rb +11 -0
  1270. data/lib/fog/dnsimple/dns.rb +95 -0
  1271. data/lib/fog/dnsimple/models/dns/record.rb +67 -0
  1272. data/lib/fog/dnsimple/models/dns/records.rb +38 -0
  1273. data/lib/fog/dnsimple/models/dns/zone.rb +50 -0
  1274. data/lib/fog/dnsimple/models/dns/zones.rb +29 -0
  1275. data/lib/fog/dnsimple/requests/dns/create_domain.rb +27 -0
  1276. data/lib/fog/dnsimple/requests/dns/create_record.rb +48 -0
  1277. data/lib/fog/dnsimple/requests/dns/delete_domain.rb +26 -0
  1278. data/lib/fog/dnsimple/requests/dns/delete_record.rb +21 -0
  1279. data/lib/fog/dnsimple/requests/dns/get_domain.rb +37 -0
  1280. data/lib/fog/dnsimple/requests/dns/get_record.rb +34 -0
  1281. data/lib/fog/dnsimple/requests/dns/list_domains.rb +35 -0
  1282. data/lib/fog/dnsimple/requests/dns/list_records.rb +32 -0
  1283. data/lib/fog/dnsimple/requests/dns/update_record.rb +42 -0
  1284. data/lib/fog/dnsmadeeasy.rb +11 -0
  1285. data/lib/fog/dnsmadeeasy/dns.rb +135 -0
  1286. data/lib/fog/dnsmadeeasy/models/dns/record.rb +80 -0
  1287. data/lib/fog/dnsmadeeasy/models/dns/records.rb +36 -0
  1288. data/lib/fog/dnsmadeeasy/models/dns/zone.rb +42 -0
  1289. data/lib/fog/dnsmadeeasy/models/dns/zones.rb +30 -0
  1290. data/lib/fog/dnsmadeeasy/requests/dns/create_domain.rb +29 -0
  1291. data/lib/fog/dnsmadeeasy/requests/dns/create_record.rb +62 -0
  1292. data/lib/fog/dnsmadeeasy/requests/dns/create_secondary.rb +36 -0
  1293. data/lib/fog/dnsmadeeasy/requests/dns/delete_all_domains.rb +23 -0
  1294. data/lib/fog/dnsmadeeasy/requests/dns/delete_all_secondary.rb +22 -0
  1295. data/lib/fog/dnsmadeeasy/requests/dns/delete_domain.rb +25 -0
  1296. data/lib/fog/dnsmadeeasy/requests/dns/delete_record.rb +26 -0
  1297. data/lib/fog/dnsmadeeasy/requests/dns/delete_secondary.rb +25 -0
  1298. data/lib/fog/dnsmadeeasy/requests/dns/get_domain.rb +29 -0
  1299. data/lib/fog/dnsmadeeasy/requests/dns/get_record.rb +38 -0
  1300. data/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb +29 -0
  1301. data/lib/fog/dnsmadeeasy/requests/dns/list_domains.rb +24 -0
  1302. data/lib/fog/dnsmadeeasy/requests/dns/list_records.rb +42 -0
  1303. data/lib/fog/dnsmadeeasy/requests/dns/list_secondary.rb +24 -0
  1304. data/lib/fog/dnsmadeeasy/requests/dns/update_record.rb +56 -0
  1305. data/lib/fog/dnsmadeeasy/requests/dns/update_secondary.rb +36 -0
  1306. data/lib/fog/dynect.rb +26 -0
  1307. data/lib/fog/dynect/dns.rb +139 -0
  1308. data/lib/fog/dynect/models/dns/record.rb +66 -0
  1309. data/lib/fog/dynect/models/dns/records.rb +53 -0
  1310. data/lib/fog/dynect/models/dns/zone.rb +60 -0
  1311. data/lib/fog/dynect/models/dns/zones.rb +29 -0
  1312. data/lib/fog/dynect/requests/dns/delete_record.rb +56 -0
  1313. data/lib/fog/dynect/requests/dns/delete_zone.rb +42 -0
  1314. data/lib/fog/dynect/requests/dns/get_node_list.rb +56 -0
  1315. data/lib/fog/dynect/requests/dns/get_record.rb +84 -0
  1316. data/lib/fog/dynect/requests/dns/get_zone.rb +58 -0
  1317. data/lib/fog/dynect/requests/dns/post_record.rb +72 -0
  1318. data/lib/fog/dynect/requests/dns/post_session.rb +44 -0
  1319. data/lib/fog/dynect/requests/dns/post_zone.rb +71 -0
  1320. data/lib/fog/dynect/requests/dns/put_zone.rb +76 -0
  1321. data/lib/fog/ecloud.rb +17 -0
  1322. data/lib/fog/ecloud/collection.rb +26 -0
  1323. data/lib/fog/ecloud/compute.rb +515 -0
  1324. data/lib/fog/ecloud/generate_collection.rb +130 -0
  1325. data/lib/fog/ecloud/ipaddr.rb +5 -0
  1326. data/lib/fog/ecloud/mock_data_classes.rb +768 -0
  1327. data/lib/fog/ecloud/model.rb +22 -0
  1328. data/lib/fog/ecloud/models/compute/admin_organization.rb +39 -0
  1329. data/lib/fog/ecloud/models/compute/admin_organizations.rb +27 -0
  1330. data/lib/fog/ecloud/models/compute/api_key.rb +21 -0
  1331. data/lib/fog/ecloud/models/compute/api_keys.rb +27 -0
  1332. data/lib/fog/ecloud/models/compute/association.rb +23 -0
  1333. data/lib/fog/ecloud/models/compute/associations.rb +35 -0
  1334. data/lib/fog/ecloud/models/compute/authentication_level.rb +22 -0
  1335. data/lib/fog/ecloud/models/compute/authentication_levels.rb +27 -0
  1336. data/lib/fog/ecloud/models/compute/backup_internet_service.rb +45 -0
  1337. data/lib/fog/ecloud/models/compute/backup_internet_services.rb +42 -0
  1338. data/lib/fog/ecloud/models/compute/catalog.rb +40 -0
  1339. data/lib/fog/ecloud/models/compute/catalog_configuration.rb +23 -0
  1340. data/lib/fog/ecloud/models/compute/catalog_configurations.rb +27 -0
  1341. data/lib/fog/ecloud/models/compute/catalog_item.rb +24 -0
  1342. data/lib/fog/ecloud/models/compute/compute_pool.rb +59 -0
  1343. data/lib/fog/ecloud/models/compute/compute_pools.rb +34 -0
  1344. data/lib/fog/ecloud/models/compute/cpu_usage_detail.rb +17 -0
  1345. data/lib/fog/ecloud/models/compute/cpu_usage_detail_summary.rb +27 -0
  1346. data/lib/fog/ecloud/models/compute/environment.rb +105 -0
  1347. data/lib/fog/ecloud/models/compute/environments.rb +40 -0
  1348. data/lib/fog/ecloud/models/compute/firewall_acl.rb +27 -0
  1349. data/lib/fog/ecloud/models/compute/firewall_acls.rb +28 -0
  1350. data/lib/fog/ecloud/models/compute/group.rb +39 -0
  1351. data/lib/fog/ecloud/models/compute/groups.rb +28 -0
  1352. data/lib/fog/ecloud/models/compute/guest_process.rb +15 -0
  1353. data/lib/fog/ecloud/models/compute/guest_processes.rb +27 -0
  1354. data/lib/fog/ecloud/models/compute/hardware_configuration.rb +18 -0
  1355. data/lib/fog/ecloud/models/compute/hardware_configurations.rb +27 -0
  1356. data/lib/fog/ecloud/models/compute/internet_service.rb +91 -0
  1357. data/lib/fog/ecloud/models/compute/internet_services.rb +46 -0
  1358. data/lib/fog/ecloud/models/compute/ip_address.rb +25 -0
  1359. data/lib/fog/ecloud/models/compute/ip_addresses.rb +28 -0
  1360. data/lib/fog/ecloud/models/compute/layout.rb +20 -0
  1361. data/lib/fog/ecloud/models/compute/layouts.rb +27 -0
  1362. data/lib/fog/ecloud/models/compute/location.rb +23 -0
  1363. data/lib/fog/ecloud/models/compute/locations.rb +31 -0
  1364. data/lib/fog/ecloud/models/compute/login_banner.rb +16 -0
  1365. data/lib/fog/ecloud/models/compute/login_banners.rb +27 -0
  1366. data/lib/fog/ecloud/models/compute/memory_usage_detail.rb +16 -0
  1367. data/lib/fog/ecloud/models/compute/memory_usage_detail_summary.rb +27 -0
  1368. data/lib/fog/ecloud/models/compute/monitor.rb +46 -0
  1369. data/lib/fog/ecloud/models/compute/monitors.rb +31 -0
  1370. data/lib/fog/ecloud/models/compute/network.rb +36 -0
  1371. data/lib/fog/ecloud/models/compute/networks.rb +29 -0
  1372. data/lib/fog/ecloud/models/compute/node.rb +39 -0
  1373. data/lib/fog/ecloud/models/compute/nodes.rb +44 -0
  1374. data/lib/fog/ecloud/models/compute/operating_system.rb +17 -0
  1375. data/lib/fog/ecloud/models/compute/operating_system_families.rb +27 -0
  1376. data/lib/fog/ecloud/models/compute/operating_system_family.rb +21 -0
  1377. data/lib/fog/ecloud/models/compute/operating_systems.rb +26 -0
  1378. data/lib/fog/ecloud/models/compute/organization.rb +79 -0
  1379. data/lib/fog/ecloud/models/compute/organizations.rb +39 -0
  1380. data/lib/fog/ecloud/models/compute/password_complexity_rule.rb +49 -0
  1381. data/lib/fog/ecloud/models/compute/password_complexity_rules.rb +27 -0
  1382. data/lib/fog/ecloud/models/compute/physical_device.rb +22 -0
  1383. data/lib/fog/ecloud/models/compute/physical_devices.rb +27 -0
  1384. data/lib/fog/ecloud/models/compute/public_ip.rb +26 -0
  1385. data/lib/fog/ecloud/models/compute/public_ips.rb +33 -0
  1386. data/lib/fog/ecloud/models/compute/rnat.rb +27 -0
  1387. data/lib/fog/ecloud/models/compute/rnats.rb +27 -0
  1388. data/lib/fog/ecloud/models/compute/role.rb +24 -0
  1389. data/lib/fog/ecloud/models/compute/roles.rb +37 -0
  1390. data/lib/fog/ecloud/models/compute/row.rb +53 -0
  1391. data/lib/fog/ecloud/models/compute/rows.rb +37 -0
  1392. data/lib/fog/ecloud/models/compute/server.rb +277 -0
  1393. data/lib/fog/ecloud/models/compute/server_configuration_option.rb +17 -0
  1394. data/lib/fog/ecloud/models/compute/server_configuration_options.rb +27 -0
  1395. data/lib/fog/ecloud/models/compute/servers.rb +69 -0
  1396. data/lib/fog/ecloud/models/compute/ssh_key.rb +20 -0
  1397. data/lib/fog/ecloud/models/compute/ssh_keys.rb +27 -0
  1398. data/lib/fog/ecloud/models/compute/storage_usage_detail.rb +16 -0
  1399. data/lib/fog/ecloud/models/compute/storage_usage_detail_summary.rb +27 -0
  1400. data/lib/fog/ecloud/models/compute/support_ticket.rb +29 -0
  1401. data/lib/fog/ecloud/models/compute/support_tickets.rb +27 -0
  1402. data/lib/fog/ecloud/models/compute/tag.rb +13 -0
  1403. data/lib/fog/ecloud/models/compute/tags.rb +27 -0
  1404. data/lib/fog/ecloud/models/compute/task.rb +20 -0
  1405. data/lib/fog/ecloud/models/compute/tasks.rb +31 -0
  1406. data/lib/fog/ecloud/models/compute/template.rb +24 -0
  1407. data/lib/fog/ecloud/models/compute/templates.rb +40 -0
  1408. data/lib/fog/ecloud/models/compute/trusted_network_group.rb +33 -0
  1409. data/lib/fog/ecloud/models/compute/trusted_network_groups.rb +28 -0
  1410. data/lib/fog/ecloud/models/compute/user.rb +35 -0
  1411. data/lib/fog/ecloud/models/compute/users.rb +27 -0
  1412. data/lib/fog/ecloud/requests/compute/admin_disable_support_access.rb +9 -0
  1413. data/lib/fog/ecloud/requests/compute/admin_edit_authentication_levels.rb +34 -0
  1414. data/lib/fog/ecloud/requests/compute/admin_edit_login_banner.rb +32 -0
  1415. data/lib/fog/ecloud/requests/compute/admin_edit_password_complexity_rules.rb +74 -0
  1416. data/lib/fog/ecloud/requests/compute/admin_enable_support_access.rb +9 -0
  1417. data/lib/fog/ecloud/requests/compute/backup_internet_service_create.rb +47 -0
  1418. data/lib/fog/ecloud/requests/compute/backup_internet_service_delete.rb +11 -0
  1419. data/lib/fog/ecloud/requests/compute/backup_internet_service_edit.rb +47 -0
  1420. data/lib/fog/ecloud/requests/compute/compute_pool_edit.rb +37 -0
  1421. data/lib/fog/ecloud/requests/compute/firewall_acls_create.rb +79 -0
  1422. data/lib/fog/ecloud/requests/compute/firewall_acls_delete.rb +11 -0
  1423. data/lib/fog/ecloud/requests/compute/get_admin_organization.rb +11 -0
  1424. data/lib/fog/ecloud/requests/compute/get_admin_organizations.rb +11 -0
  1425. data/lib/fog/ecloud/requests/compute/get_api_key.rb +11 -0
  1426. data/lib/fog/ecloud/requests/compute/get_api_keys.rb +11 -0
  1427. data/lib/fog/ecloud/requests/compute/get_association.rb +11 -0
  1428. data/lib/fog/ecloud/requests/compute/get_associations.rb +11 -0
  1429. data/lib/fog/ecloud/requests/compute/get_authentication_level.rb +11 -0
  1430. data/lib/fog/ecloud/requests/compute/get_authentication_levels.rb +11 -0
  1431. data/lib/fog/ecloud/requests/compute/get_backup_internet_service.rb +11 -0
  1432. data/lib/fog/ecloud/requests/compute/get_backup_internet_services.rb +11 -0
  1433. data/lib/fog/ecloud/requests/compute/get_catalog.rb +11 -0
  1434. data/lib/fog/ecloud/requests/compute/get_catalog_configuration.rb +11 -0
  1435. data/lib/fog/ecloud/requests/compute/get_catalog_configurations.rb +11 -0
  1436. data/lib/fog/ecloud/requests/compute/get_catalog_item.rb +11 -0
  1437. data/lib/fog/ecloud/requests/compute/get_compute_pool.rb +11 -0
  1438. data/lib/fog/ecloud/requests/compute/get_compute_pools.rb +11 -0
  1439. data/lib/fog/ecloud/requests/compute/get_cpu_usage_detail.rb +11 -0
  1440. data/lib/fog/ecloud/requests/compute/get_cpu_usage_detail_summary.rb +11 -0
  1441. data/lib/fog/ecloud/requests/compute/get_environment.rb +11 -0
  1442. data/lib/fog/ecloud/requests/compute/get_environments.rb +0 -0
  1443. data/lib/fog/ecloud/requests/compute/get_firewall_acl.rb +11 -0
  1444. data/lib/fog/ecloud/requests/compute/get_firewall_acls.rb +11 -0
  1445. data/lib/fog/ecloud/requests/compute/get_group.rb +11 -0
  1446. data/lib/fog/ecloud/requests/compute/get_groups.rb +11 -0
  1447. data/lib/fog/ecloud/requests/compute/get_guest_process.rb +11 -0
  1448. data/lib/fog/ecloud/requests/compute/get_guest_processes.rb +11 -0
  1449. data/lib/fog/ecloud/requests/compute/get_hardware_configuration.rb +11 -0
  1450. data/lib/fog/ecloud/requests/compute/get_hardware_configurations.rb +11 -0
  1451. data/lib/fog/ecloud/requests/compute/get_internet_service.rb +11 -0
  1452. data/lib/fog/ecloud/requests/compute/get_internet_services.rb +11 -0
  1453. data/lib/fog/ecloud/requests/compute/get_ip_address.rb +11 -0
  1454. data/lib/fog/ecloud/requests/compute/get_ip_addresses.rb +11 -0
  1455. data/lib/fog/ecloud/requests/compute/get_layout.rb +11 -0
  1456. data/lib/fog/ecloud/requests/compute/get_layouts.rb +11 -0
  1457. data/lib/fog/ecloud/requests/compute/get_location.rb +12 -0
  1458. data/lib/fog/ecloud/requests/compute/get_locations.rb +12 -0
  1459. data/lib/fog/ecloud/requests/compute/get_login_banner.rb +11 -0
  1460. data/lib/fog/ecloud/requests/compute/get_login_banners.rb +11 -0
  1461. data/lib/fog/ecloud/requests/compute/get_memory_usage_detail.rb +11 -0
  1462. data/lib/fog/ecloud/requests/compute/get_memory_usage_detail_summary.rb +11 -0
  1463. data/lib/fog/ecloud/requests/compute/get_monitor.rb +11 -0
  1464. data/lib/fog/ecloud/requests/compute/get_monitors.rb +11 -0
  1465. data/lib/fog/ecloud/requests/compute/get_network.rb +11 -0
  1466. data/lib/fog/ecloud/requests/compute/get_network_summary.rb +11 -0
  1467. data/lib/fog/ecloud/requests/compute/get_networks.rb +11 -0
  1468. data/lib/fog/ecloud/requests/compute/get_node.rb +11 -0
  1469. data/lib/fog/ecloud/requests/compute/get_nodes.rb +11 -0
  1470. data/lib/fog/ecloud/requests/compute/get_operating_system.rb +11 -0
  1471. data/lib/fog/ecloud/requests/compute/get_operating_system_families.rb +11 -0
  1472. data/lib/fog/ecloud/requests/compute/get_operating_system_family.rb +11 -0
  1473. data/lib/fog/ecloud/requests/compute/get_organization.rb +11 -0
  1474. data/lib/fog/ecloud/requests/compute/get_organizations.rb +11 -0
  1475. data/lib/fog/ecloud/requests/compute/get_password_complexity_rule.rb +11 -0
  1476. data/lib/fog/ecloud/requests/compute/get_password_complexity_rules.rb +11 -0
  1477. data/lib/fog/ecloud/requests/compute/get_physical_device.rb +11 -0
  1478. data/lib/fog/ecloud/requests/compute/get_physical_devices.rb +11 -0
  1479. data/lib/fog/ecloud/requests/compute/get_process.rb +11 -0
  1480. data/lib/fog/ecloud/requests/compute/get_processes.rb +11 -0
  1481. data/lib/fog/ecloud/requests/compute/get_public_ip.rb +11 -0
  1482. data/lib/fog/ecloud/requests/compute/get_public_ips.rb +11 -0
  1483. data/lib/fog/ecloud/requests/compute/get_rnat.rb +11 -0
  1484. data/lib/fog/ecloud/requests/compute/get_rnats.rb +11 -0
  1485. data/lib/fog/ecloud/requests/compute/get_role.rb +11 -0
  1486. data/lib/fog/ecloud/requests/compute/get_roles.rb +11 -0
  1487. data/lib/fog/ecloud/requests/compute/get_row.rb +11 -0
  1488. data/lib/fog/ecloud/requests/compute/get_rows.rb +11 -0
  1489. data/lib/fog/ecloud/requests/compute/get_server.rb +11 -0
  1490. data/lib/fog/ecloud/requests/compute/get_server_configuration_option.rb +11 -0
  1491. data/lib/fog/ecloud/requests/compute/get_server_configuration_options.rb +11 -0
  1492. data/lib/fog/ecloud/requests/compute/get_servers.rb +11 -0
  1493. data/lib/fog/ecloud/requests/compute/get_ssh_key.rb +11 -0
  1494. data/lib/fog/ecloud/requests/compute/get_ssh_keys.rb +11 -0
  1495. data/lib/fog/ecloud/requests/compute/get_storage_usage_detail.rb +11 -0
  1496. data/lib/fog/ecloud/requests/compute/get_storage_usage_detail_summary.rb +11 -0
  1497. data/lib/fog/ecloud/requests/compute/get_support_ticket.rb +11 -0
  1498. data/lib/fog/ecloud/requests/compute/get_support_tickets.rb +11 -0
  1499. data/lib/fog/ecloud/requests/compute/get_tag.rb +11 -0
  1500. data/lib/fog/ecloud/requests/compute/get_tags.rb +11 -0
  1501. data/lib/fog/ecloud/requests/compute/get_task.rb +11 -0
  1502. data/lib/fog/ecloud/requests/compute/get_tasks.rb +11 -0
  1503. data/lib/fog/ecloud/requests/compute/get_template.rb +11 -0
  1504. data/lib/fog/ecloud/requests/compute/get_templates.rb +11 -0
  1505. data/lib/fog/ecloud/requests/compute/get_trusted_network_group.rb +11 -0
  1506. data/lib/fog/ecloud/requests/compute/get_trusted_network_groups.rb +11 -0
  1507. data/lib/fog/ecloud/requests/compute/get_user.rb +11 -0
  1508. data/lib/fog/ecloud/requests/compute/get_users.rb +11 -0
  1509. data/lib/fog/ecloud/requests/compute/groups_create.rb +31 -0
  1510. data/lib/fog/ecloud/requests/compute/groups_delete.rb +11 -0
  1511. data/lib/fog/ecloud/requests/compute/groups_edit.rb +29 -0
  1512. data/lib/fog/ecloud/requests/compute/groups_movedown.rb +11 -0
  1513. data/lib/fog/ecloud/requests/compute/groups_moveup.rb +11 -0
  1514. data/lib/fog/ecloud/requests/compute/internet_service_create.rb +67 -0
  1515. data/lib/fog/ecloud/requests/compute/internet_service_delete.rb +11 -0
  1516. data/lib/fog/ecloud/requests/compute/internet_service_edit.rb +60 -0
  1517. data/lib/fog/ecloud/requests/compute/monitors_create_default.rb +11 -0
  1518. data/lib/fog/ecloud/requests/compute/monitors_create_ecv.rb +40 -0
  1519. data/lib/fog/ecloud/requests/compute/monitors_create_http.rb +44 -0
  1520. data/lib/fog/ecloud/requests/compute/monitors_create_loopback.rb +11 -0
  1521. data/lib/fog/ecloud/requests/compute/monitors_create_ping.rb +35 -0
  1522. data/lib/fog/ecloud/requests/compute/monitors_disable.rb +11 -0
  1523. data/lib/fog/ecloud/requests/compute/monitors_edit_ecv.rb +40 -0
  1524. data/lib/fog/ecloud/requests/compute/monitors_edit_http.rb +44 -0
  1525. data/lib/fog/ecloud/requests/compute/monitors_edit_ping.rb +35 -0
  1526. data/lib/fog/ecloud/requests/compute/monitors_enable.rb +11 -0
  1527. data/lib/fog/ecloud/requests/compute/node_service_create.rb +45 -0
  1528. data/lib/fog/ecloud/requests/compute/node_service_delete.rb +11 -0
  1529. data/lib/fog/ecloud/requests/compute/node_service_edit.rb +41 -0
  1530. data/lib/fog/ecloud/requests/compute/power_off.rb +11 -0
  1531. data/lib/fog/ecloud/requests/compute/power_on.rb +11 -0
  1532. data/lib/fog/ecloud/requests/compute/power_reset.rb +11 -0
  1533. data/lib/fog/ecloud/requests/compute/power_shutdown.rb +11 -0
  1534. data/lib/fog/ecloud/requests/compute/public_ip_activate.rb +11 -0
  1535. data/lib/fog/ecloud/requests/compute/rnat_associations_create_device.rb +32 -0
  1536. data/lib/fog/ecloud/requests/compute/rnat_associations_delete.rb +9 -0
  1537. data/lib/fog/ecloud/requests/compute/rnat_associations_edit_network.rb +31 -0
  1538. data/lib/fog/ecloud/requests/compute/rows_create.rb +29 -0
  1539. data/lib/fog/ecloud/requests/compute/rows_delete.rb +11 -0
  1540. data/lib/fog/ecloud/requests/compute/rows_edit.rb +29 -0
  1541. data/lib/fog/ecloud/requests/compute/rows_movedown.rb +11 -0
  1542. data/lib/fog/ecloud/requests/compute/rows_moveup.rb +11 -0
  1543. data/lib/fog/ecloud/requests/compute/trusted_network_groups_create.rb +53 -0
  1544. data/lib/fog/ecloud/requests/compute/trusted_network_groups_delete.rb +11 -0
  1545. data/lib/fog/ecloud/requests/compute/trusted_network_groups_edit.rb +53 -0
  1546. data/lib/fog/ecloud/requests/compute/virtual_machine_add_ip.rb +40 -0
  1547. data/lib/fog/ecloud/requests/compute/virtual_machine_copy.rb +118 -0
  1548. data/lib/fog/ecloud/requests/compute/virtual_machine_copy_identical.rb +45 -0
  1549. data/lib/fog/ecloud/requests/compute/virtual_machine_create_from_template.rb +125 -0
  1550. data/lib/fog/ecloud/requests/compute/virtual_machine_delete.rb +11 -0
  1551. data/lib/fog/ecloud/requests/compute/virtual_machine_edit.rb +47 -0
  1552. data/lib/fog/ecloud/requests/compute/virtual_machine_edit_hardware_configuration.rb +53 -0
  1553. data/lib/fog/ecloud/requests/compute/virtual_machine_import.rb +67 -0
  1554. data/lib/fog/ecloud/requests/compute/virtual_machine_upload_file.rb +31 -0
  1555. data/lib/fog/glesys.rb +11 -0
  1556. data/lib/fog/glesys/compute.rb +130 -0
  1557. data/lib/fog/glesys/models/compute/ip.rb +75 -0
  1558. data/lib/fog/glesys/models/compute/ips.rb +39 -0
  1559. data/lib/fog/glesys/models/compute/server.rb +76 -0
  1560. data/lib/fog/glesys/models/compute/servers.rb +40 -0
  1561. data/lib/fog/glesys/models/compute/template.rb +25 -0
  1562. data/lib/fog/glesys/models/compute/templates.rb +22 -0
  1563. data/lib/fog/glesys/requests/compute/create.rb +15 -0
  1564. data/lib/fog/glesys/requests/compute/destroy.rb +18 -0
  1565. data/lib/fog/glesys/requests/compute/ip_add.rb +14 -0
  1566. data/lib/fog/glesys/requests/compute/ip_details.rb +14 -0
  1567. data/lib/fog/glesys/requests/compute/ip_list_free.rb +14 -0
  1568. data/lib/fog/glesys/requests/compute/ip_list_own.rb +14 -0
  1569. data/lib/fog/glesys/requests/compute/ip_release.rb +14 -0
  1570. data/lib/fog/glesys/requests/compute/ip_remove.rb +14 -0
  1571. data/lib/fog/glesys/requests/compute/ip_take.rb +14 -0
  1572. data/lib/fog/glesys/requests/compute/list_servers.rb +19 -0
  1573. data/lib/fog/glesys/requests/compute/reboot.rb +14 -0
  1574. data/lib/fog/glesys/requests/compute/server_details.rb +14 -0
  1575. data/lib/fog/glesys/requests/compute/server_status.rb +14 -0
  1576. data/lib/fog/glesys/requests/compute/start.rb +14 -0
  1577. data/lib/fog/glesys/requests/compute/stop.rb +14 -0
  1578. data/lib/fog/glesys/requests/compute/template_list.rb +14 -0
  1579. data/lib/fog/go_grid.rb +11 -0
  1580. data/lib/fog/go_grid/compute.rb +116 -0
  1581. data/lib/fog/go_grid/models/compute/image.rb +60 -0
  1582. data/lib/fog/go_grid/models/compute/images.rb +33 -0
  1583. data/lib/fog/go_grid/models/compute/password.rb +50 -0
  1584. data/lib/fog/go_grid/models/compute/passwords.rb +36 -0
  1585. data/lib/fog/go_grid/models/compute/server.rb +98 -0
  1586. data/lib/fog/go_grid/models/compute/servers.rb +36 -0
  1587. data/lib/fog/go_grid/requests/compute/common_lookup_list.rb +28 -0
  1588. data/lib/fog/go_grid/requests/compute/grid_image_get.rb +41 -0
  1589. data/lib/fog/go_grid/requests/compute/grid_image_list.rb +44 -0
  1590. data/lib/fog/go_grid/requests/compute/grid_ip_list.rb +30 -0
  1591. data/lib/fog/go_grid/requests/compute/grid_loadbalancer_list.rb +28 -0
  1592. data/lib/fog/go_grid/requests/compute/grid_server_add.rb +36 -0
  1593. data/lib/fog/go_grid/requests/compute/grid_server_delete.rb +25 -0
  1594. data/lib/fog/go_grid/requests/compute/grid_server_get.rb +25 -0
  1595. data/lib/fog/go_grid/requests/compute/grid_server_list.rb +30 -0
  1596. data/lib/fog/go_grid/requests/compute/grid_server_power.rb +26 -0
  1597. data/lib/fog/go_grid/requests/compute/support_password_get.rb +28 -0
  1598. data/lib/fog/go_grid/requests/compute/support_password_list.rb +30 -0
  1599. data/lib/fog/google.rb +23 -0
  1600. data/lib/fog/google/models/storage/directories.rb +43 -0
  1601. data/lib/fog/google/models/storage/directory.rb +78 -0
  1602. data/lib/fog/google/models/storage/file.rb +142 -0
  1603. data/lib/fog/google/models/storage/files.rb +103 -0
  1604. data/lib/fog/google/parsers/storage/access_control_list.rb +48 -0
  1605. data/lib/fog/google/parsers/storage/copy_object.rb +22 -0
  1606. data/lib/fog/google/parsers/storage/get_bucket.rb +62 -0
  1607. data/lib/fog/google/parsers/storage/get_bucket_logging.rb +40 -0
  1608. data/lib/fog/google/parsers/storage/get_bucket_object_versions.rb +88 -0
  1609. data/lib/fog/google/parsers/storage/get_bucket_versioning.rb +24 -0
  1610. data/lib/fog/google/parsers/storage/get_request_payment.rb +20 -0
  1611. data/lib/fog/google/parsers/storage/get_service.rb +32 -0
  1612. data/lib/fog/google/requests/storage/copy_object.rb +72 -0
  1613. data/lib/fog/google/requests/storage/delete_bucket.rb +46 -0
  1614. data/lib/fog/google/requests/storage/delete_object.rb +50 -0
  1615. data/lib/fog/google/requests/storage/get_bucket.rb +110 -0
  1616. data/lib/fog/google/requests/storage/get_bucket_acl.rb +63 -0
  1617. data/lib/fog/google/requests/storage/get_object.rb +112 -0
  1618. data/lib/fog/google/requests/storage/get_object_acl.rb +74 -0
  1619. data/lib/fog/google/requests/storage/get_object_http_url.rb +51 -0
  1620. data/lib/fog/google/requests/storage/get_object_https_url.rb +51 -0
  1621. data/lib/fog/google/requests/storage/get_object_torrent.rb +47 -0
  1622. data/lib/fog/google/requests/storage/get_object_url.rb +37 -0
  1623. data/lib/fog/google/requests/storage/get_service.rb +53 -0
  1624. data/lib/fog/google/requests/storage/head_object.rb +64 -0
  1625. data/lib/fog/google/requests/storage/put_bucket.rb +75 -0
  1626. data/lib/fog/google/requests/storage/put_bucket_acl.rb +73 -0
  1627. data/lib/fog/google/requests/storage/put_object.rb +93 -0
  1628. data/lib/fog/google/requests/storage/put_object_url.rb +54 -0
  1629. data/lib/fog/google/storage.rb +282 -0
  1630. data/lib/fog/hp.rb +234 -0
  1631. data/lib/fog/hp/README_HP.rdoc +60 -0
  1632. data/lib/fog/hp/cdn.rb +131 -0
  1633. data/lib/fog/hp/compute.rb +182 -0
  1634. data/lib/fog/hp/models/compute/address.rb +71 -0
  1635. data/lib/fog/hp/models/compute/addresses.rb +29 -0
  1636. data/lib/fog/hp/models/compute/flavor.rb +24 -0
  1637. data/lib/fog/hp/models/compute/flavors.rb +28 -0
  1638. data/lib/fog/hp/models/compute/image.rb +37 -0
  1639. data/lib/fog/hp/models/compute/images.rb +34 -0
  1640. data/lib/fog/hp/models/compute/key_pair.rb +59 -0
  1641. data/lib/fog/hp/models/compute/key_pairs.rb +31 -0
  1642. data/lib/fog/hp/models/compute/security_group.rb +50 -0
  1643. data/lib/fog/hp/models/compute/security_groups.rb +29 -0
  1644. data/lib/fog/hp/models/compute/server.rb +207 -0
  1645. data/lib/fog/hp/models/compute/servers.rb +36 -0
  1646. data/lib/fog/hp/models/storage/directories.rb +50 -0
  1647. data/lib/fog/hp/models/storage/directory.rb +160 -0
  1648. data/lib/fog/hp/models/storage/file.rb +87 -0
  1649. data/lib/fog/hp/models/storage/files.rb +103 -0
  1650. data/lib/fog/hp/requests/cdn/delete_container.rb +38 -0
  1651. data/lib/fog/hp/requests/cdn/get_containers.rb +44 -0
  1652. data/lib/fog/hp/requests/cdn/head_container.rb +50 -0
  1653. data/lib/fog/hp/requests/cdn/post_container.rb +52 -0
  1654. data/lib/fog/hp/requests/cdn/put_container.rb +53 -0
  1655. data/lib/fog/hp/requests/compute/allocate_address.rb +49 -0
  1656. data/lib/fog/hp/requests/compute/associate_address.rb +42 -0
  1657. data/lib/fog/hp/requests/compute/change_password_server.rb +33 -0
  1658. data/lib/fog/hp/requests/compute/confirm_resized_server.rb +34 -0
  1659. data/lib/fog/hp/requests/compute/create_image.rb +63 -0
  1660. data/lib/fog/hp/requests/compute/create_key_pair.rb +81 -0
  1661. data/lib/fog/hp/requests/compute/create_security_group.rb +83 -0
  1662. data/lib/fog/hp/requests/compute/create_security_group_rule.rb +75 -0
  1663. data/lib/fog/hp/requests/compute/create_server.rb +140 -0
  1664. data/lib/fog/hp/requests/compute/delete_image.rb +45 -0
  1665. data/lib/fog/hp/requests/compute/delete_key_pair.rb +39 -0
  1666. data/lib/fog/hp/requests/compute/delete_security_group.rb +41 -0
  1667. data/lib/fog/hp/requests/compute/delete_security_group_rule.rb +49 -0
  1668. data/lib/fog/hp/requests/compute/delete_server.rb +43 -0
  1669. data/lib/fog/hp/requests/compute/disassociate_address.rb +39 -0
  1670. data/lib/fog/hp/requests/compute/get_address.rb +45 -0
  1671. data/lib/fog/hp/requests/compute/get_flavor_details.rb +51 -0
  1672. data/lib/fog/hp/requests/compute/get_image_details.rb +43 -0
  1673. data/lib/fog/hp/requests/compute/get_security_group.rb +57 -0
  1674. data/lib/fog/hp/requests/compute/get_server_details.rb +52 -0
  1675. data/lib/fog/hp/requests/compute/list_addresses.rb +41 -0
  1676. data/lib/fog/hp/requests/compute/list_flavors.rb +44 -0
  1677. data/lib/fog/hp/requests/compute/list_flavors_detail.rb +46 -0
  1678. data/lib/fog/hp/requests/compute/list_images.rb +40 -0
  1679. data/lib/fog/hp/requests/compute/list_images_detail.rb +49 -0
  1680. data/lib/fog/hp/requests/compute/list_key_pairs.rb +44 -0
  1681. data/lib/fog/hp/requests/compute/list_security_groups.rb +54 -0
  1682. data/lib/fog/hp/requests/compute/list_server_addresses.rb +42 -0
  1683. data/lib/fog/hp/requests/compute/list_server_private_addresses.rb +58 -0
  1684. data/lib/fog/hp/requests/compute/list_server_public_addresses.rb +58 -0
  1685. data/lib/fog/hp/requests/compute/list_servers.rb +41 -0
  1686. data/lib/fog/hp/requests/compute/list_servers_detail.rb +56 -0
  1687. data/lib/fog/hp/requests/compute/reboot_server.rb +34 -0
  1688. data/lib/fog/hp/requests/compute/rebuild_server.rb +32 -0
  1689. data/lib/fog/hp/requests/compute/release_address.rb +39 -0
  1690. data/lib/fog/hp/requests/compute/resize_server.rb +39 -0
  1691. data/lib/fog/hp/requests/compute/revert_resized_server.rb +35 -0
  1692. data/lib/fog/hp/requests/compute/server_action.rb +25 -0
  1693. data/lib/fog/hp/requests/compute/update_server.rb +42 -0
  1694. data/lib/fog/hp/requests/storage/delete_container.rb +43 -0
  1695. data/lib/fog/hp/requests/storage/delete_object.rb +44 -0
  1696. data/lib/fog/hp/requests/storage/get_container.rb +92 -0
  1697. data/lib/fog/hp/requests/storage/get_containers.rb +71 -0
  1698. data/lib/fog/hp/requests/storage/get_object.rb +83 -0
  1699. data/lib/fog/hp/requests/storage/head_container.rb +40 -0
  1700. data/lib/fog/hp/requests/storage/head_containers.rb +37 -0
  1701. data/lib/fog/hp/requests/storage/head_object.rb +35 -0
  1702. data/lib/fog/hp/requests/storage/put_container.rb +48 -0
  1703. data/lib/fog/hp/requests/storage/put_object.rb +94 -0
  1704. data/lib/fog/hp/storage.rb +201 -0
  1705. data/lib/fog/ibm.rb +176 -0
  1706. data/lib/fog/ibm/compute.rb +235 -0
  1707. data/lib/fog/ibm/models/compute/address.rb +62 -0
  1708. data/lib/fog/ibm/models/compute/addresses.rb +28 -0
  1709. data/lib/fog/ibm/models/compute/image.rb +70 -0
  1710. data/lib/fog/ibm/models/compute/images.rb +27 -0
  1711. data/lib/fog/ibm/models/compute/instance-type.rb +14 -0
  1712. data/lib/fog/ibm/models/compute/instance-types.rb +15 -0
  1713. data/lib/fog/ibm/models/compute/key.rb +35 -0
  1714. data/lib/fog/ibm/models/compute/keys.rb +35 -0
  1715. data/lib/fog/ibm/models/compute/location.rb +15 -0
  1716. data/lib/fog/ibm/models/compute/locations.rb +27 -0
  1717. data/lib/fog/ibm/models/compute/server.rb +193 -0
  1718. data/lib/fog/ibm/models/compute/servers.rb +27 -0
  1719. data/lib/fog/ibm/models/compute/vlan.rb +15 -0
  1720. data/lib/fog/ibm/models/compute/vlans.rb +28 -0
  1721. data/lib/fog/ibm/models/storage/offering.rb +18 -0
  1722. data/lib/fog/ibm/models/storage/offerings.rb +19 -0
  1723. data/lib/fog/ibm/models/storage/volume.rb +98 -0
  1724. data/lib/fog/ibm/models/storage/volumes.rb +27 -0
  1725. data/lib/fog/ibm/requests/compute/clone_image.rb +48 -0
  1726. data/lib/fog/ibm/requests/compute/create_address.rb +50 -0
  1727. data/lib/fog/ibm/requests/compute/create_image.rb +56 -0
  1728. data/lib/fog/ibm/requests/compute/create_instance.rb +80 -0
  1729. data/lib/fog/ibm/requests/compute/create_key.rb +61 -0
  1730. data/lib/fog/ibm/requests/compute/delete_address.rb +46 -0
  1731. data/lib/fog/ibm/requests/compute/delete_image.rb +43 -0
  1732. data/lib/fog/ibm/requests/compute/delete_instance.rb +52 -0
  1733. data/lib/fog/ibm/requests/compute/delete_key.rb +41 -0
  1734. data/lib/fog/ibm/requests/compute/get_image.rb +67 -0
  1735. data/lib/fog/ibm/requests/compute/get_image_agreement.rb +66 -0
  1736. data/lib/fog/ibm/requests/compute/get_image_manifest.rb +39 -0
  1737. data/lib/fog/ibm/requests/compute/get_instance.rb +76 -0
  1738. data/lib/fog/ibm/requests/compute/get_instance_logs.rb +25 -0
  1739. data/lib/fog/ibm/requests/compute/get_key.rb +49 -0
  1740. data/lib/fog/ibm/requests/compute/get_location.rb +55 -0
  1741. data/lib/fog/ibm/requests/compute/get_request.rb +78 -0
  1742. data/lib/fog/ibm/requests/compute/list_address_offerings.rb +58 -0
  1743. data/lib/fog/ibm/requests/compute/list_addresses.rb +53 -0
  1744. data/lib/fog/ibm/requests/compute/list_images.rb +58 -0
  1745. data/lib/fog/ibm/requests/compute/list_instances.rb +57 -0
  1746. data/lib/fog/ibm/requests/compute/list_keys.rb +57 -0
  1747. data/lib/fog/ibm/requests/compute/list_locations.rb +37 -0
  1748. data/lib/fog/ibm/requests/compute/list_vlans.rb +47 -0
  1749. data/lib/fog/ibm/requests/compute/modify_instance.rb +71 -0
  1750. data/lib/fog/ibm/requests/compute/modify_key.rb +52 -0
  1751. data/lib/fog/ibm/requests/storage/create_volume.rb +66 -0
  1752. data/lib/fog/ibm/requests/storage/delete_volume.rb +42 -0
  1753. data/lib/fog/ibm/requests/storage/get_volume.rb +72 -0
  1754. data/lib/fog/ibm/requests/storage/list_offerings.rb +76 -0
  1755. data/lib/fog/ibm/requests/storage/list_volumes.rb +47 -0
  1756. data/lib/fog/ibm/storage.rb +82 -0
  1757. data/lib/fog/identity.rb +24 -0
  1758. data/lib/fog/image.rb +24 -0
  1759. data/lib/fog/joyent.rb +8 -0
  1760. data/lib/fog/joyent/compute.rb +243 -0
  1761. data/lib/fog/joyent/errors.rb +90 -0
  1762. data/lib/fog/joyent/models/compute/flavor.rb +17 -0
  1763. data/lib/fog/joyent/models/compute/flavors.rb +25 -0
  1764. data/lib/fog/joyent/models/compute/image.rb +18 -0
  1765. data/lib/fog/joyent/models/compute/images.rb +25 -0
  1766. data/lib/fog/joyent/models/compute/key.rb +19 -0
  1767. data/lib/fog/joyent/models/compute/keys.rb +34 -0
  1768. data/lib/fog/joyent/models/compute/server.rb +120 -0
  1769. data/lib/fog/joyent/models/compute/servers.rb +36 -0
  1770. data/lib/fog/joyent/models/compute/snapshot.rb +45 -0
  1771. data/lib/fog/joyent/models/compute/snapshots.rb +37 -0
  1772. data/lib/fog/joyent/requests/compute/add_machine_tags.rb +20 -0
  1773. data/lib/fog/joyent/requests/compute/create_key.rb +56 -0
  1774. data/lib/fog/joyent/requests/compute/create_machine.rb +16 -0
  1775. data/lib/fog/joyent/requests/compute/create_machine_snapshot.rb +18 -0
  1776. data/lib/fog/joyent/requests/compute/delete_all_machine_metadata.rb +16 -0
  1777. data/lib/fog/joyent/requests/compute/delete_all_machine_tags.rb +15 -0
  1778. data/lib/fog/joyent/requests/compute/delete_key.rb +29 -0
  1779. data/lib/fog/joyent/requests/compute/delete_machine.rb +15 -0
  1780. data/lib/fog/joyent/requests/compute/delete_machine_metadata.rb +18 -0
  1781. data/lib/fog/joyent/requests/compute/delete_machine_snapshot.rb +21 -0
  1782. data/lib/fog/joyent/requests/compute/delete_machine_tag.rb +15 -0
  1783. data/lib/fog/joyent/requests/compute/get_dataset.rb +28 -0
  1784. data/lib/fog/joyent/requests/compute/get_key.rb +29 -0
  1785. data/lib/fog/joyent/requests/compute/get_machine.rb +29 -0
  1786. data/lib/fog/joyent/requests/compute/get_machine_metadata.rb +25 -0
  1787. data/lib/fog/joyent/requests/compute/get_machine_snapshot.rb +14 -0
  1788. data/lib/fog/joyent/requests/compute/get_machine_tag.rb +19 -0
  1789. data/lib/fog/joyent/requests/compute/get_package.rb +33 -0
  1790. data/lib/fog/joyent/requests/compute/list_datacenters.rb +17 -0
  1791. data/lib/fog/joyent/requests/compute/list_datasets.rb +24 -0
  1792. data/lib/fog/joyent/requests/compute/list_keys.rb +25 -0
  1793. data/lib/fog/joyent/requests/compute/list_machine_snapshots.rb +14 -0
  1794. data/lib/fog/joyent/requests/compute/list_machine_tags.rb +20 -0
  1795. data/lib/fog/joyent/requests/compute/list_machines.rb +25 -0
  1796. data/lib/fog/joyent/requests/compute/list_packages.rb +36 -0
  1797. data/lib/fog/joyent/requests/compute/reboot_machine.rb +15 -0
  1798. data/lib/fog/joyent/requests/compute/resize_machine.rb +13 -0
  1799. data/lib/fog/joyent/requests/compute/start_machine.rb +16 -0
  1800. data/lib/fog/joyent/requests/compute/start_machine_from_snapshot.rb +15 -0
  1801. data/lib/fog/joyent/requests/compute/stop_machine.rb +16 -0
  1802. data/lib/fog/joyent/requests/compute/update_machine_metadata.rb +15 -0
  1803. data/lib/fog/libvirt.rb +11 -0
  1804. data/lib/fog/libvirt/compute.rb +136 -0
  1805. data/lib/fog/libvirt/models/compute/README.md +76 -0
  1806. data/lib/fog/libvirt/models/compute/interface.rb +28 -0
  1807. data/lib/fog/libvirt/models/compute/interfaces.rb +24 -0
  1808. data/lib/fog/libvirt/models/compute/network.rb +34 -0
  1809. data/lib/fog/libvirt/models/compute/networks.rb +24 -0
  1810. data/lib/fog/libvirt/models/compute/nic.rb +54 -0
  1811. data/lib/fog/libvirt/models/compute/nics.rb +16 -0
  1812. data/lib/fog/libvirt/models/compute/node.rb +34 -0
  1813. data/lib/fog/libvirt/models/compute/nodes.rb +23 -0
  1814. data/lib/fog/libvirt/models/compute/pool.rb +88 -0
  1815. data/lib/fog/libvirt/models/compute/pools.rb +24 -0
  1816. data/lib/fog/libvirt/models/compute/server.rb +399 -0
  1817. data/lib/fog/libvirt/models/compute/servers.rb +24 -0
  1818. data/lib/fog/libvirt/models/compute/templates/network.xml.erb +6 -0
  1819. data/lib/fog/libvirt/models/compute/templates/pool.xml.erb +6 -0
  1820. data/lib/fog/libvirt/models/compute/templates/server.xml.erb +53 -0
  1821. data/lib/fog/libvirt/models/compute/templates/volume.xml.erb +14 -0
  1822. data/lib/fog/libvirt/models/compute/util/uri.rb +145 -0
  1823. data/lib/fog/libvirt/models/compute/util/util.rb +33 -0
  1824. data/lib/fog/libvirt/models/compute/volume.rb +108 -0
  1825. data/lib/fog/libvirt/models/compute/volumes.rb +24 -0
  1826. data/lib/fog/libvirt/requests/compute/create_domain.rb +17 -0
  1827. data/lib/fog/libvirt/requests/compute/create_volume.rb +17 -0
  1828. data/lib/fog/libvirt/requests/compute/define_domain.rb +17 -0
  1829. data/lib/fog/libvirt/requests/compute/define_pool.rb +17 -0
  1830. data/lib/fog/libvirt/requests/compute/destroy_interface.rb +18 -0
  1831. data/lib/fog/libvirt/requests/compute/destroy_network.rb +17 -0
  1832. data/lib/fog/libvirt/requests/compute/get_node_info.rb +39 -0
  1833. data/lib/fog/libvirt/requests/compute/list_domains.rb +106 -0
  1834. data/lib/fog/libvirt/requests/compute/list_interfaces.rb +59 -0
  1835. data/lib/fog/libvirt/requests/compute/list_networks.rb +58 -0
  1836. data/lib/fog/libvirt/requests/compute/list_pool_volumes.rb +21 -0
  1837. data/lib/fog/libvirt/requests/compute/list_pools.rb +72 -0
  1838. data/lib/fog/libvirt/requests/compute/list_volumes.rb +89 -0
  1839. data/lib/fog/libvirt/requests/compute/mock_files/domain.xml +40 -0
  1840. data/lib/fog/libvirt/requests/compute/pool_action.rb +19 -0
  1841. data/lib/fog/libvirt/requests/compute/update_display.rb +31 -0
  1842. data/lib/fog/libvirt/requests/compute/vm_action.rb +19 -0
  1843. data/lib/fog/libvirt/requests/compute/volume_action.rb +18 -0
  1844. data/lib/fog/linode.rb +10 -0
  1845. data/lib/fog/linode/compute.rb +118 -0
  1846. data/lib/fog/linode/dns.rb +93 -0
  1847. data/lib/fog/linode/models/compute/data_center.rb +12 -0
  1848. data/lib/fog/linode/models/compute/data_centers.rb +26 -0
  1849. data/lib/fog/linode/models/compute/disk.rb +62 -0
  1850. data/lib/fog/linode/models/compute/disks.rb +40 -0
  1851. data/lib/fog/linode/models/compute/flavor.rb +23 -0
  1852. data/lib/fog/linode/models/compute/flavors.rb +32 -0
  1853. data/lib/fog/linode/models/compute/image.rb +14 -0
  1854. data/lib/fog/linode/models/compute/images.rb +33 -0
  1855. data/lib/fog/linode/models/compute/ip.rb +30 -0
  1856. data/lib/fog/linode/models/compute/ips.rb +40 -0
  1857. data/lib/fog/linode/models/compute/kernel.rb +12 -0
  1858. data/lib/fog/linode/models/compute/kernels.rb +32 -0
  1859. data/lib/fog/linode/models/compute/server.rb +97 -0
  1860. data/lib/fog/linode/models/compute/servers.rb +32 -0
  1861. data/lib/fog/linode/models/compute/stack_script.rb +13 -0
  1862. data/lib/fog/linode/models/compute/stack_scripts.rb +32 -0
  1863. data/lib/fog/linode/models/dns/record.rb +72 -0
  1864. data/lib/fog/linode/models/dns/records.rb +37 -0
  1865. data/lib/fog/linode/models/dns/zone.rb +84 -0
  1866. data/lib/fog/linode/models/dns/zones.rb +29 -0
  1867. data/lib/fog/linode/requests/compute/avail_datacenters.rb +43 -0
  1868. data/lib/fog/linode/requests/compute/avail_distributions.rb +67 -0
  1869. data/lib/fog/linode/requests/compute/avail_kernels.rb +65 -0
  1870. data/lib/fog/linode/requests/compute/avail_linodeplans.rb +69 -0
  1871. data/lib/fog/linode/requests/compute/avail_stackscripts.rb +63 -0
  1872. data/lib/fog/linode/requests/compute/linode_boot.rb +30 -0
  1873. data/lib/fog/linode/requests/compute/linode_config_create.rb +36 -0
  1874. data/lib/fog/linode/requests/compute/linode_config_list.rb +71 -0
  1875. data/lib/fog/linode/requests/compute/linode_create.rb +46 -0
  1876. data/lib/fog/linode/requests/compute/linode_delete.rb +41 -0
  1877. data/lib/fog/linode/requests/compute/linode_disk_create.rb +37 -0
  1878. data/lib/fog/linode/requests/compute/linode_disk_createfromdistribution.rb +38 -0
  1879. data/lib/fog/linode/requests/compute/linode_disk_createfromstackscript.rb +26 -0
  1880. data/lib/fog/linode/requests/compute/linode_disk_delete.rb +35 -0
  1881. data/lib/fog/linode/requests/compute/linode_disk_list.rb +60 -0
  1882. data/lib/fog/linode/requests/compute/linode_ip_addprivate.rb +17 -0
  1883. data/lib/fog/linode/requests/compute/linode_ip_list.rb +59 -0
  1884. data/lib/fog/linode/requests/compute/linode_list.rb +83 -0
  1885. data/lib/fog/linode/requests/compute/linode_reboot.rb +41 -0
  1886. data/lib/fog/linode/requests/compute/linode_shutdown.rb +30 -0
  1887. data/lib/fog/linode/requests/compute/linode_update.rb +30 -0
  1888. data/lib/fog/linode/requests/compute/stackscript_list.rb +32 -0
  1889. data/lib/fog/linode/requests/dns/domain_create.rb +43 -0
  1890. data/lib/fog/linode/requests/dns/domain_delete.rb +27 -0
  1891. data/lib/fog/linode/requests/dns/domain_list.rb +42 -0
  1892. data/lib/fog/linode/requests/dns/domain_resource_create.rb +44 -0
  1893. data/lib/fog/linode/requests/dns/domain_resource_delete.rb +28 -0
  1894. data/lib/fog/linode/requests/dns/domain_resource_list.rb +43 -0
  1895. data/lib/fog/linode/requests/dns/domain_resource_update.rb +46 -0
  1896. data/lib/fog/linode/requests/dns/domain_update.rb +40 -0
  1897. data/lib/fog/local.rb +11 -0
  1898. data/lib/fog/local/models/storage/directories.rb +33 -0
  1899. data/lib/fog/local/models/storage/directory.rb +57 -0
  1900. data/lib/fog/local/models/storage/file.rb +131 -0
  1901. data/lib/fog/local/models/storage/files.rb +87 -0
  1902. data/lib/fog/local/storage.rb +103 -0
  1903. data/lib/fog/network.rb +26 -0
  1904. data/lib/fog/ninefold.rb +12 -0
  1905. data/lib/fog/ninefold/compute.rb +148 -0
  1906. data/lib/fog/ninefold/models/compute/address.rb +103 -0
  1907. data/lib/fog/ninefold/models/compute/addresses.rb +31 -0
  1908. data/lib/fog/ninefold/models/compute/flavor.rb +29 -0
  1909. data/lib/fog/ninefold/models/compute/flavors.rb +30 -0
  1910. data/lib/fog/ninefold/models/compute/image.rb +42 -0
  1911. data/lib/fog/ninefold/models/compute/images.rb +30 -0
  1912. data/lib/fog/ninefold/models/compute/ip_forwarding_rule.rb +79 -0
  1913. data/lib/fog/ninefold/models/compute/ip_forwarding_rules.rb +31 -0
  1914. data/lib/fog/ninefold/models/compute/server.rb +185 -0
  1915. data/lib/fog/ninefold/models/compute/servers.rb +31 -0
  1916. data/lib/fog/ninefold/requests/compute/assign_to_load_balancer_rule.rb +13 -0
  1917. data/lib/fog/ninefold/requests/compute/associate_ip_address.rb +14 -0
  1918. data/lib/fog/ninefold/requests/compute/change_service_for_virtual_machine.rb +14 -0
  1919. data/lib/fog/ninefold/requests/compute/create_ip_forwarding_rule.rb +14 -0
  1920. data/lib/fog/ninefold/requests/compute/create_load_balancer_rule.rb +11 -0
  1921. data/lib/fog/ninefold/requests/compute/delete_ip_forwarding_rule.rb +14 -0
  1922. data/lib/fog/ninefold/requests/compute/delete_load_balancer_rule.rb +11 -0
  1923. data/lib/fog/ninefold/requests/compute/deploy_virtual_machine.rb +14 -0
  1924. data/lib/fog/ninefold/requests/compute/destroy_virtual_machine.rb +14 -0
  1925. data/lib/fog/ninefold/requests/compute/disable_static_nat.rb +14 -0
  1926. data/lib/fog/ninefold/requests/compute/disassociate_ip_address.rb +14 -0
  1927. data/lib/fog/ninefold/requests/compute/enable_static_nat.rb +14 -0
  1928. data/lib/fog/ninefold/requests/compute/list_accounts.rb +14 -0
  1929. data/lib/fog/ninefold/requests/compute/list_async_jobs.rb +14 -0
  1930. data/lib/fog/ninefold/requests/compute/list_capabilities.rb +14 -0
  1931. data/lib/fog/ninefold/requests/compute/list_disk_offerings.rb +14 -0
  1932. data/lib/fog/ninefold/requests/compute/list_events.rb +14 -0
  1933. data/lib/fog/ninefold/requests/compute/list_hypervisors.rb +14 -0
  1934. data/lib/fog/ninefold/requests/compute/list_ip_forwarding_rules.rb +14 -0
  1935. data/lib/fog/ninefold/requests/compute/list_load_balancer_rule_instances.rb +15 -0
  1936. data/lib/fog/ninefold/requests/compute/list_load_balancer_rules.rb +14 -0
  1937. data/lib/fog/ninefold/requests/compute/list_network_offerings.rb +14 -0
  1938. data/lib/fog/ninefold/requests/compute/list_networks.rb +14 -0
  1939. data/lib/fog/ninefold/requests/compute/list_public_ip_addresses.rb +14 -0
  1940. data/lib/fog/ninefold/requests/compute/list_resource_limits.rb +14 -0
  1941. data/lib/fog/ninefold/requests/compute/list_service_offerings.rb +14 -0
  1942. data/lib/fog/ninefold/requests/compute/list_templates.rb +14 -0
  1943. data/lib/fog/ninefold/requests/compute/list_virtual_machines.rb +14 -0
  1944. data/lib/fog/ninefold/requests/compute/list_zones.rb +14 -0
  1945. data/lib/fog/ninefold/requests/compute/query_async_job_result.rb +14 -0
  1946. data/lib/fog/ninefold/requests/compute/reboot_virtual_machine.rb +14 -0
  1947. data/lib/fog/ninefold/requests/compute/remove_from_load_balancer_rule.rb +12 -0
  1948. data/lib/fog/ninefold/requests/compute/reset_password_for_virtual_machine.rb +14 -0
  1949. data/lib/fog/ninefold/requests/compute/start_virtual_machine.rb +14 -0
  1950. data/lib/fog/ninefold/requests/compute/stop_virtual_machine.rb +14 -0
  1951. data/lib/fog/ninefold/requests/compute/update_load_balancer_rule.rb +15 -0
  1952. data/lib/fog/ninefold/requests/compute/update_virtual_machine.rb +14 -0
  1953. data/lib/fog/ninefold/storage.rb +56 -0
  1954. data/lib/fog/nirvanix.rb +41 -0
  1955. data/lib/fog/nirvanix/models/storage/directories.rb +29 -0
  1956. data/lib/fog/nirvanix/models/storage/directory.rb +46 -0
  1957. data/lib/fog/nirvanix/models/storage/file.rb +60 -0
  1958. data/lib/fog/nirvanix/models/storage/files.rb +27 -0
  1959. data/lib/fog/nirvanix/requests/storage/create_folder.rb +35 -0
  1960. data/lib/fog/nirvanix/requests/storage/delete_folder.rb +34 -0
  1961. data/lib/fog/nirvanix/requests/storage/get_object.rb +50 -0
  1962. data/lib/fog/nirvanix/requests/storage/get_optimal_url.rb +41 -0
  1963. data/lib/fog/nirvanix/requests/storage/list_folder.rb +40 -0
  1964. data/lib/fog/nirvanix/requests/storage/upload_file.rb +109 -0
  1965. data/lib/fog/nirvanix/storage.rb +63 -0
  1966. data/lib/fog/openstack.rb +178 -0
  1967. data/lib/fog/openstack/compute.rb +389 -0
  1968. data/lib/fog/openstack/identity.rb +283 -0
  1969. data/lib/fog/openstack/image.rb +211 -0
  1970. data/lib/fog/openstack/models/compute/address.rb +71 -0
  1971. data/lib/fog/openstack/models/compute/addresses.rb +33 -0
  1972. data/lib/fog/openstack/models/compute/flavor.rb +44 -0
  1973. data/lib/fog/openstack/models/compute/flavors.rb +28 -0
  1974. data/lib/fog/openstack/models/compute/host.rb +28 -0
  1975. data/lib/fog/openstack/models/compute/hosts.rb +32 -0
  1976. data/lib/fog/openstack/models/compute/image.rb +57 -0
  1977. data/lib/fog/openstack/models/compute/images.rb +33 -0
  1978. data/lib/fog/openstack/models/compute/key_pair.rb +60 -0
  1979. data/lib/fog/openstack/models/compute/key_pairs.rb +31 -0
  1980. data/lib/fog/openstack/models/compute/metadata.rb +69 -0
  1981. data/lib/fog/openstack/models/compute/metadatum.rb +29 -0
  1982. data/lib/fog/openstack/models/compute/network.rb +13 -0
  1983. data/lib/fog/openstack/models/compute/networks.rb +29 -0
  1984. data/lib/fog/openstack/models/compute/security_group.rb +44 -0
  1985. data/lib/fog/openstack/models/compute/security_groups.rb +27 -0
  1986. data/lib/fog/openstack/models/compute/server.rb +265 -0
  1987. data/lib/fog/openstack/models/compute/servers.rb +44 -0
  1988. data/lib/fog/openstack/models/compute/snapshot.rb +43 -0
  1989. data/lib/fog/openstack/models/compute/snapshots.rb +26 -0
  1990. data/lib/fog/openstack/models/compute/tenant.rb +24 -0
  1991. data/lib/fog/openstack/models/compute/tenants.rb +20 -0
  1992. data/lib/fog/openstack/models/compute/volume.rb +58 -0
  1993. data/lib/fog/openstack/models/compute/volumes.rb +26 -0
  1994. data/lib/fog/openstack/models/identity/role.rb +50 -0
  1995. data/lib/fog/openstack/models/identity/roles.rb +21 -0
  1996. data/lib/fog/openstack/models/identity/tenant.rb +62 -0
  1997. data/lib/fog/openstack/models/identity/tenants.rb +29 -0
  1998. data/lib/fog/openstack/models/identity/user.rb +64 -0
  1999. data/lib/fog/openstack/models/identity/users.rb +32 -0
  2000. data/lib/fog/openstack/models/image/image.rb +90 -0
  2001. data/lib/fog/openstack/models/image/images.rb +60 -0
  2002. data/lib/fog/openstack/models/meta_parent.rb +33 -0
  2003. data/lib/fog/openstack/models/network/network.rb +46 -0
  2004. data/lib/fog/openstack/models/network/networks.rb +34 -0
  2005. data/lib/fog/openstack/models/network/port.rb +52 -0
  2006. data/lib/fog/openstack/models/network/ports.rb +34 -0
  2007. data/lib/fog/openstack/models/network/subnet.rb +55 -0
  2008. data/lib/fog/openstack/models/network/subnets.rb +34 -0
  2009. data/lib/fog/openstack/models/volume/volume.rb +46 -0
  2010. data/lib/fog/openstack/models/volume/volumes.rb +27 -0
  2011. data/lib/fog/openstack/network.rb +234 -0
  2012. data/lib/fog/openstack/requests/compute/add_fixed_ip.rb +29 -0
  2013. data/lib/fog/openstack/requests/compute/allocate_address.rb +42 -0
  2014. data/lib/fog/openstack/requests/compute/associate_address.rb +27 -0
  2015. data/lib/fog/openstack/requests/compute/attach_volume.rb +38 -0
  2016. data/lib/fog/openstack/requests/compute/boot_from_snapshot.rb +41 -0
  2017. data/lib/fog/openstack/requests/compute/change_server_password.rb +24 -0
  2018. data/lib/fog/openstack/requests/compute/confirm_resize_server.rb +24 -0
  2019. data/lib/fog/openstack/requests/compute/create_flavor.rb +85 -0
  2020. data/lib/fog/openstack/requests/compute/create_image.rb +49 -0
  2021. data/lib/fog/openstack/requests/compute/create_key_pair.rb +49 -0
  2022. data/lib/fog/openstack/requests/compute/create_security_group.rb +51 -0
  2023. data/lib/fog/openstack/requests/compute/create_security_group_rule.rb +58 -0
  2024. data/lib/fog/openstack/requests/compute/create_server.rb +84 -0
  2025. data/lib/fog/openstack/requests/compute/create_volume.rb +54 -0
  2026. data/lib/fog/openstack/requests/compute/create_volume_snapshot.rb +47 -0
  2027. data/lib/fog/openstack/requests/compute/delete_flavor.rb +28 -0
  2028. data/lib/fog/openstack/requests/compute/delete_image.rb +40 -0
  2029. data/lib/fog/openstack/requests/compute/delete_key_pair.rb +31 -0
  2030. data/lib/fog/openstack/requests/compute/delete_metadata.rb +28 -0
  2031. data/lib/fog/openstack/requests/compute/delete_security_group.rb +31 -0
  2032. data/lib/fog/openstack/requests/compute/delete_security_group_rule.rb +31 -0
  2033. data/lib/fog/openstack/requests/compute/delete_server.rb +38 -0
  2034. data/lib/fog/openstack/requests/compute/delete_snapshot.rb +26 -0
  2035. data/lib/fog/openstack/requests/compute/delete_volume.rb +26 -0
  2036. data/lib/fog/openstack/requests/compute/detach_volume.rb +26 -0
  2037. data/lib/fog/openstack/requests/compute/disassociate_address.rb +27 -0
  2038. data/lib/fog/openstack/requests/compute/get_address.rb +41 -0
  2039. data/lib/fog/openstack/requests/compute/get_console_output.rb +28 -0
  2040. data/lib/fog/openstack/requests/compute/get_flavor_details.rb +43 -0
  2041. data/lib/fog/openstack/requests/compute/get_host_details.rb +74 -0
  2042. data/lib/fog/openstack/requests/compute/get_image_details.rb +33 -0
  2043. data/lib/fog/openstack/requests/compute/get_limits.rb +93 -0
  2044. data/lib/fog/openstack/requests/compute/get_metadata.rb +29 -0
  2045. data/lib/fog/openstack/requests/compute/get_quota.rb +31 -0
  2046. data/lib/fog/openstack/requests/compute/get_quota_defaults.rb +31 -0
  2047. data/lib/fog/openstack/requests/compute/get_security_group.rb +49 -0
  2048. data/lib/fog/openstack/requests/compute/get_server_details.rb +32 -0
  2049. data/lib/fog/openstack/requests/compute/get_server_volumes.rb +23 -0
  2050. data/lib/fog/openstack/requests/compute/get_snapshot_details.rb +39 -0
  2051. data/lib/fog/openstack/requests/compute/get_usage.rb +53 -0
  2052. data/lib/fog/openstack/requests/compute/get_vnc_console.rb +40 -0
  2053. data/lib/fog/openstack/requests/compute/get_volume_details.rb +42 -0
  2054. data/lib/fog/openstack/requests/compute/list_address_pools.rb +23 -0
  2055. data/lib/fog/openstack/requests/compute/list_addresses.rb +32 -0
  2056. data/lib/fog/openstack/requests/compute/list_all_addresses.rb +64 -0
  2057. data/lib/fog/openstack/requests/compute/list_flavors.rb +38 -0
  2058. data/lib/fog/openstack/requests/compute/list_flavors_detail.rb +38 -0
  2059. data/lib/fog/openstack/requests/compute/list_hosts.rb +32 -0
  2060. data/lib/fog/openstack/requests/compute/list_images.rb +33 -0
  2061. data/lib/fog/openstack/requests/compute/list_images_detail.rb +39 -0
  2062. data/lib/fog/openstack/requests/compute/list_key_pairs.rb +39 -0
  2063. data/lib/fog/openstack/requests/compute/list_metadata.rb +28 -0
  2064. data/lib/fog/openstack/requests/compute/list_private_addresses.rb +32 -0
  2065. data/lib/fog/openstack/requests/compute/list_public_addresses.rb +32 -0
  2066. data/lib/fog/openstack/requests/compute/list_security_groups.rb +74 -0
  2067. data/lib/fog/openstack/requests/compute/list_servers.rb +37 -0
  2068. data/lib/fog/openstack/requests/compute/list_servers_detail.rb +44 -0
  2069. data/lib/fog/openstack/requests/compute/list_snapshots.rb +32 -0
  2070. data/lib/fog/openstack/requests/compute/list_tenants.rb +44 -0
  2071. data/lib/fog/openstack/requests/compute/list_usages.rb +43 -0
  2072. data/lib/fog/openstack/requests/compute/list_volumes.rb +51 -0
  2073. data/lib/fog/openstack/requests/compute/live_migrate_server.rb +31 -0
  2074. data/lib/fog/openstack/requests/compute/migrate_server.rb +24 -0
  2075. data/lib/fog/openstack/requests/compute/pause_server.rb +24 -0
  2076. data/lib/fog/openstack/requests/compute/reboot_server.rb +24 -0
  2077. data/lib/fog/openstack/requests/compute/rebuild_server.rb +31 -0
  2078. data/lib/fog/openstack/requests/compute/release_address.rb +34 -0
  2079. data/lib/fog/openstack/requests/compute/remove_fixed_ip.rb +29 -0
  2080. data/lib/fog/openstack/requests/compute/rescue_server.rb +24 -0
  2081. data/lib/fog/openstack/requests/compute/reset_server_state.rb +24 -0
  2082. data/lib/fog/openstack/requests/compute/resize_server.rb +24 -0
  2083. data/lib/fog/openstack/requests/compute/resume_server.rb +24 -0
  2084. data/lib/fog/openstack/requests/compute/revert_resize_server.rb +30 -0
  2085. data/lib/fog/openstack/requests/compute/server_action.rb +18 -0
  2086. data/lib/fog/openstack/requests/compute/server_actions.rb +27 -0
  2087. data/lib/fog/openstack/requests/compute/server_diagnostics.rb +25 -0
  2088. data/lib/fog/openstack/requests/compute/set_metadata.rb +45 -0
  2089. data/lib/fog/openstack/requests/compute/set_tenant.rb +21 -0
  2090. data/lib/fog/openstack/requests/compute/suspend_server.rb +24 -0
  2091. data/lib/fog/openstack/requests/compute/unpause_server.rb +24 -0
  2092. data/lib/fog/openstack/requests/compute/update_metadata.rb +46 -0
  2093. data/lib/fog/openstack/requests/compute/update_quota.rb +32 -0
  2094. data/lib/fog/openstack/requests/compute/update_server.rb +35 -0
  2095. data/lib/fog/openstack/requests/identity/add_user_to_tenant.rb +29 -0
  2096. data/lib/fog/openstack/requests/identity/check_token.rb +23 -0
  2097. data/lib/fog/openstack/requests/identity/create_role.rb +37 -0
  2098. data/lib/fog/openstack/requests/identity/create_tenant.rb +34 -0
  2099. data/lib/fog/openstack/requests/identity/create_user.rb +47 -0
  2100. data/lib/fog/openstack/requests/identity/create_user_role.rb +26 -0
  2101. data/lib/fog/openstack/requests/identity/delete_role.rb +32 -0
  2102. data/lib/fog/openstack/requests/identity/delete_tenant.rb +31 -0
  2103. data/lib/fog/openstack/requests/identity/delete_user.rb +32 -0
  2104. data/lib/fog/openstack/requests/identity/delete_user_role.rb +26 -0
  2105. data/lib/fog/openstack/requests/identity/get_role.rb +28 -0
  2106. data/lib/fog/openstack/requests/identity/get_tenant.rb +31 -0
  2107. data/lib/fog/openstack/requests/identity/get_tenants_by_id.rb +23 -0
  2108. data/lib/fog/openstack/requests/identity/get_tenants_by_name.rb +23 -0
  2109. data/lib/fog/openstack/requests/identity/get_user_by_id.rb +34 -0
  2110. data/lib/fog/openstack/requests/identity/get_user_by_name.rb +23 -0
  2111. data/lib/fog/openstack/requests/identity/list_endpoints_for_token.rb +23 -0
  2112. data/lib/fog/openstack/requests/identity/list_roles.rb +36 -0
  2113. data/lib/fog/openstack/requests/identity/list_roles_for_user_on_tenant.rb +24 -0
  2114. data/lib/fog/openstack/requests/identity/list_tenants.rb +45 -0
  2115. data/lib/fog/openstack/requests/identity/list_user_global_roles.rb +22 -0
  2116. data/lib/fog/openstack/requests/identity/list_users.rb +25 -0
  2117. data/lib/fog/openstack/requests/identity/remove_user_from_tenant.rb +20 -0
  2118. data/lib/fog/openstack/requests/identity/set_tenant.rb +21 -0
  2119. data/lib/fog/openstack/requests/identity/update_tenant.rb +30 -0
  2120. data/lib/fog/openstack/requests/identity/update_user.rb +36 -0
  2121. data/lib/fog/openstack/requests/identity/validate_token.rb +23 -0
  2122. data/lib/fog/openstack/requests/image/add_member_to_image.rb +23 -0
  2123. data/lib/fog/openstack/requests/image/create_image.rb +77 -0
  2124. data/lib/fog/openstack/requests/image/delete_image.rb +25 -0
  2125. data/lib/fog/openstack/requests/image/get_image.rb +45 -0
  2126. data/lib/fog/openstack/requests/image/get_image_by_id.rb +32 -0
  2127. data/lib/fog/openstack/requests/image/get_image_members.rb +29 -0
  2128. data/lib/fog/openstack/requests/image/get_shared_images.rb +29 -0
  2129. data/lib/fog/openstack/requests/image/list_public_images.rb +32 -0
  2130. data/lib/fog/openstack/requests/image/list_public_images_detailed.rb +31 -0
  2131. data/lib/fog/openstack/requests/image/remove_member_from_image.rb +23 -0
  2132. data/lib/fog/openstack/requests/image/set_tenant.rb +21 -0
  2133. data/lib/fog/openstack/requests/image/update_image.rb +70 -0
  2134. data/lib/fog/openstack/requests/image/update_image_members.rb +37 -0
  2135. data/lib/fog/openstack/requests/network/create_network.rb +44 -0
  2136. data/lib/fog/openstack/requests/network/create_port.rb +52 -0
  2137. data/lib/fog/openstack/requests/network/create_subnet.rb +56 -0
  2138. data/lib/fog/openstack/requests/network/delete_network.rb +30 -0
  2139. data/lib/fog/openstack/requests/network/delete_port.rb +30 -0
  2140. data/lib/fog/openstack/requests/network/delete_subnet.rb +30 -0
  2141. data/lib/fog/openstack/requests/network/get_network.rb +42 -0
  2142. data/lib/fog/openstack/requests/network/get_port.rb +48 -0
  2143. data/lib/fog/openstack/requests/network/get_subnet.rb +49 -0
  2144. data/lib/fog/openstack/requests/network/list_networks.rb +27 -0
  2145. data/lib/fog/openstack/requests/network/list_ports.rb +27 -0
  2146. data/lib/fog/openstack/requests/network/list_subnets.rb +27 -0
  2147. data/lib/fog/openstack/requests/network/set_tenant.rb +21 -0
  2148. data/lib/fog/openstack/requests/network/update_network.rb +41 -0
  2149. data/lib/fog/openstack/requests/network/update_port.rb +44 -0
  2150. data/lib/fog/openstack/requests/network/update_subnet.rb +44 -0
  2151. data/lib/fog/openstack/requests/volume/create_volume.rb +54 -0
  2152. data/lib/fog/openstack/requests/volume/create_volume_snapshot.rb +47 -0
  2153. data/lib/fog/openstack/requests/volume/delete_snapshot.rb +26 -0
  2154. data/lib/fog/openstack/requests/volume/delete_volume.rb +26 -0
  2155. data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +39 -0
  2156. data/lib/fog/openstack/requests/volume/get_volume_details.rb +42 -0
  2157. data/lib/fog/openstack/requests/volume/list_snapshots.rb +32 -0
  2158. data/lib/fog/openstack/requests/volume/list_volumes.rb +55 -0
  2159. data/lib/fog/openstack/requests/volume/set_tenant.rb +21 -0
  2160. data/lib/fog/openstack/volume.rb +215 -0
  2161. data/lib/fog/ovirt.rb +17 -0
  2162. data/lib/fog/ovirt/compute.rb +116 -0
  2163. data/lib/fog/ovirt/models/compute/cluster.rb +24 -0
  2164. data/lib/fog/ovirt/models/compute/clusters.rb +23 -0
  2165. data/lib/fog/ovirt/models/compute/interface.rb +22 -0
  2166. data/lib/fog/ovirt/models/compute/interfaces.rb +32 -0
  2167. data/lib/fog/ovirt/models/compute/server.rb +135 -0
  2168. data/lib/fog/ovirt/models/compute/servers.rb +30 -0
  2169. data/lib/fog/ovirt/models/compute/template.rb +60 -0
  2170. data/lib/fog/ovirt/models/compute/templates.rb +23 -0
  2171. data/lib/fog/ovirt/models/compute/volume.rb +35 -0
  2172. data/lib/fog/ovirt/models/compute/volumes.rb +32 -0
  2173. data/lib/fog/ovirt/requests/compute/add_interface.rb +23 -0
  2174. data/lib/fog/ovirt/requests/compute/add_volume.rb +23 -0
  2175. data/lib/fog/ovirt/requests/compute/create_vm.rb +20 -0
  2176. data/lib/fog/ovirt/requests/compute/datacenters.rb +22 -0
  2177. data/lib/fog/ovirt/requests/compute/destroy_interface.rb +25 -0
  2178. data/lib/fog/ovirt/requests/compute/destroy_vm.rb +22 -0
  2179. data/lib/fog/ovirt/requests/compute/destroy_volume.rb +25 -0
  2180. data/lib/fog/ovirt/requests/compute/get_cluster.rb +18 -0
  2181. data/lib/fog/ovirt/requests/compute/get_template.rb +18 -0
  2182. data/lib/fog/ovirt/requests/compute/get_virtual_machine.rb +18 -0
  2183. data/lib/fog/ovirt/requests/compute/list_clusters.rb +20 -0
  2184. data/lib/fog/ovirt/requests/compute/list_networks.rb +17 -0
  2185. data/lib/fog/ovirt/requests/compute/list_template_interfaces.rb +20 -0
  2186. data/lib/fog/ovirt/requests/compute/list_template_volumes.rb +20 -0
  2187. data/lib/fog/ovirt/requests/compute/list_templates.rb +20 -0
  2188. data/lib/fog/ovirt/requests/compute/list_virtual_machines.rb +20 -0
  2189. data/lib/fog/ovirt/requests/compute/list_vm_interfaces.rb +20 -0
  2190. data/lib/fog/ovirt/requests/compute/list_vm_volumes.rb +20 -0
  2191. data/lib/fog/ovirt/requests/compute/mock_files/cluster.xml +20 -0
  2192. data/lib/fog/ovirt/requests/compute/mock_files/clusters.xml +39 -0
  2193. data/lib/fog/ovirt/requests/compute/mock_files/data_centers.xml +17 -0
  2194. data/lib/fog/ovirt/requests/compute/mock_files/nics.xml +10 -0
  2195. data/lib/fog/ovirt/requests/compute/mock_files/storage_domains.xml +36 -0
  2196. data/lib/fog/ovirt/requests/compute/mock_files/template.xml +39 -0
  2197. data/lib/fog/ovirt/requests/compute/mock_files/templates.xml +110 -0
  2198. data/lib/fog/ovirt/requests/compute/mock_files/vm.xml +52 -0
  2199. data/lib/fog/ovirt/requests/compute/mock_files/vms.xml +152 -0
  2200. data/lib/fog/ovirt/requests/compute/mock_files/volumes.xml +40 -0
  2201. data/lib/fog/ovirt/requests/compute/storage_domains.rb +22 -0
  2202. data/lib/fog/ovirt/requests/compute/update_interface.rb +25 -0
  2203. data/lib/fog/ovirt/requests/compute/update_vm.rb +20 -0
  2204. data/lib/fog/ovirt/requests/compute/vm_action.rb +26 -0
  2205. data/lib/fog/ovirt/requests/compute/vm_ticket.rb +21 -0
  2206. data/lib/fog/providers.rb +34 -0
  2207. data/lib/fog/rackspace.rb +85 -0
  2208. data/lib/fog/rackspace/block_storage.rb +114 -0
  2209. data/lib/fog/rackspace/cdn.rb +100 -0
  2210. data/lib/fog/rackspace/compute.rb +262 -0
  2211. data/lib/fog/rackspace/compute_v2.rb +123 -0
  2212. data/lib/fog/rackspace/databases.rb +121 -0
  2213. data/lib/fog/rackspace/dns.rb +139 -0
  2214. data/lib/fog/rackspace/identity.rb +83 -0
  2215. data/lib/fog/rackspace/load_balancers.rb +161 -0
  2216. data/lib/fog/rackspace/models/block_storage/snapshot.rb +46 -0
  2217. data/lib/fog/rackspace/models/block_storage/snapshots.rb +25 -0
  2218. data/lib/fog/rackspace/models/block_storage/volume.rb +58 -0
  2219. data/lib/fog/rackspace/models/block_storage/volume_type.rb +14 -0
  2220. data/lib/fog/rackspace/models/block_storage/volume_types.rb +25 -0
  2221. data/lib/fog/rackspace/models/block_storage/volumes.rb +25 -0
  2222. data/lib/fog/rackspace/models/compute/flavor.rb +46 -0
  2223. data/lib/fog/rackspace/models/compute/flavors.rb +28 -0
  2224. data/lib/fog/rackspace/models/compute/image.rb +48 -0
  2225. data/lib/fog/rackspace/models/compute/images.rb +35 -0
  2226. data/lib/fog/rackspace/models/compute/server.rb +107 -0
  2227. data/lib/fog/rackspace/models/compute/servers.rb +36 -0
  2228. data/lib/fog/rackspace/models/compute_v2/attachment.rb +34 -0
  2229. data/lib/fog/rackspace/models/compute_v2/attachments.rb +25 -0
  2230. data/lib/fog/rackspace/models/compute_v2/flavor.rb +17 -0
  2231. data/lib/fog/rackspace/models/compute_v2/flavors.rb +25 -0
  2232. data/lib/fog/rackspace/models/compute_v2/image.rb +30 -0
  2233. data/lib/fog/rackspace/models/compute_v2/images.rb +25 -0
  2234. data/lib/fog/rackspace/models/compute_v2/server.rb +176 -0
  2235. data/lib/fog/rackspace/models/compute_v2/servers.rb +33 -0
  2236. data/lib/fog/rackspace/models/databases/database.rb +32 -0
  2237. data/lib/fog/rackspace/models/databases/databases.rb +31 -0
  2238. data/lib/fog/rackspace/models/databases/flavor.rb +15 -0
  2239. data/lib/fog/rackspace/models/databases/flavors.rb +25 -0
  2240. data/lib/fog/rackspace/models/databases/instance.rb +104 -0
  2241. data/lib/fog/rackspace/models/databases/instances.rb +25 -0
  2242. data/lib/fog/rackspace/models/databases/user.rb +32 -0
  2243. data/lib/fog/rackspace/models/databases/users.rb +31 -0
  2244. data/lib/fog/rackspace/models/dns/callback.rb +30 -0
  2245. data/lib/fog/rackspace/models/dns/record.rb +95 -0
  2246. data/lib/fog/rackspace/models/dns/records.rb +38 -0
  2247. data/lib/fog/rackspace/models/dns/zone.rb +67 -0
  2248. data/lib/fog/rackspace/models/dns/zones.rb +33 -0
  2249. data/lib/fog/rackspace/models/identity/credential.rb +13 -0
  2250. data/lib/fog/rackspace/models/identity/credentials.rb +32 -0
  2251. data/lib/fog/rackspace/models/identity/role.rb +14 -0
  2252. data/lib/fog/rackspace/models/identity/roles.rb +32 -0
  2253. data/lib/fog/rackspace/models/identity/tenant.rb +15 -0
  2254. data/lib/fog/rackspace/models/identity/tenants.rb +28 -0
  2255. data/lib/fog/rackspace/models/identity/user.rb +53 -0
  2256. data/lib/fog/rackspace/models/identity/users.rb +36 -0
  2257. data/lib/fog/rackspace/models/load_balancers/access_rule.rb +39 -0
  2258. data/lib/fog/rackspace/models/load_balancers/access_rules.rb +29 -0
  2259. data/lib/fog/rackspace/models/load_balancers/load_balancer.rb +250 -0
  2260. data/lib/fog/rackspace/models/load_balancers/load_balancers.rb +27 -0
  2261. data/lib/fog/rackspace/models/load_balancers/node.rb +58 -0
  2262. data/lib/fog/rackspace/models/load_balancers/nodes.rb +29 -0
  2263. data/lib/fog/rackspace/models/load_balancers/virtual_ip.rb +35 -0
  2264. data/lib/fog/rackspace/models/load_balancers/virtual_ips.rb +32 -0
  2265. data/lib/fog/rackspace/models/storage/directories.rb +43 -0
  2266. data/lib/fog/rackspace/models/storage/directory.rb +80 -0
  2267. data/lib/fog/rackspace/models/storage/file.rb +150 -0
  2268. data/lib/fog/rackspace/models/storage/files.rb +94 -0
  2269. data/lib/fog/rackspace/requests/block_storage/create_snapshot.rb +26 -0
  2270. data/lib/fog/rackspace/requests/block_storage/create_volume.rb +27 -0
  2271. data/lib/fog/rackspace/requests/block_storage/delete_snapshot.rb +15 -0
  2272. data/lib/fog/rackspace/requests/block_storage/delete_volume.rb +15 -0
  2273. data/lib/fog/rackspace/requests/block_storage/get_snapshot.rb +15 -0
  2274. data/lib/fog/rackspace/requests/block_storage/get_volume.rb +15 -0
  2275. data/lib/fog/rackspace/requests/block_storage/get_volume_type.rb +15 -0
  2276. data/lib/fog/rackspace/requests/block_storage/list_snapshots.rb +15 -0
  2277. data/lib/fog/rackspace/requests/block_storage/list_volume_types.rb +15 -0
  2278. data/lib/fog/rackspace/requests/block_storage/list_volumes.rb +15 -0
  2279. data/lib/fog/rackspace/requests/cdn/get_containers.rb +31 -0
  2280. data/lib/fog/rackspace/requests/cdn/head_container.rb +33 -0
  2281. data/lib/fog/rackspace/requests/cdn/post_container.rb +30 -0
  2282. data/lib/fog/rackspace/requests/cdn/put_container.rb +30 -0
  2283. data/lib/fog/rackspace/requests/compute/confirm_resized_server.rb +34 -0
  2284. data/lib/fog/rackspace/requests/compute/create_image.rb +60 -0
  2285. data/lib/fog/rackspace/requests/compute/create_server.rb +94 -0
  2286. data/lib/fog/rackspace/requests/compute/delete_image.rb +45 -0
  2287. data/lib/fog/rackspace/requests/compute/delete_server.rb +43 -0
  2288. data/lib/fog/rackspace/requests/compute/get_flavor_details.rb +52 -0
  2289. data/lib/fog/rackspace/requests/compute/get_image_details.rb +27 -0
  2290. data/lib/fog/rackspace/requests/compute/get_server_details.rb +52 -0
  2291. data/lib/fog/rackspace/requests/compute/list_addresses.rb +43 -0
  2292. data/lib/fog/rackspace/requests/compute/list_flavors.rb +45 -0
  2293. data/lib/fog/rackspace/requests/compute/list_flavors_detail.rb +47 -0
  2294. data/lib/fog/rackspace/requests/compute/list_images.rb +40 -0
  2295. data/lib/fog/rackspace/requests/compute/list_images_detail.rb +49 -0
  2296. data/lib/fog/rackspace/requests/compute/list_private_addresses.rb +41 -0
  2297. data/lib/fog/rackspace/requests/compute/list_public_addresses.rb +41 -0
  2298. data/lib/fog/rackspace/requests/compute/list_servers.rb +41 -0
  2299. data/lib/fog/rackspace/requests/compute/list_servers_detail.rb +56 -0
  2300. data/lib/fog/rackspace/requests/compute/reboot_server.rb +30 -0
  2301. data/lib/fog/rackspace/requests/compute/resize_server.rb +39 -0
  2302. data/lib/fog/rackspace/requests/compute/revert_resized_server.rb +35 -0
  2303. data/lib/fog/rackspace/requests/compute/server_action.rb +25 -0
  2304. data/lib/fog/rackspace/requests/compute/update_server.rb +45 -0
  2305. data/lib/fog/rackspace/requests/compute_v2/attach_volume.rb +23 -0
  2306. data/lib/fog/rackspace/requests/compute_v2/change_server_password.rb +22 -0
  2307. data/lib/fog/rackspace/requests/compute_v2/confirm_resize_server.rb +20 -0
  2308. data/lib/fog/rackspace/requests/compute_v2/create_server.rb +31 -0
  2309. data/lib/fog/rackspace/requests/compute_v2/delete_attachment.rb +15 -0
  2310. data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +15 -0
  2311. data/lib/fog/rackspace/requests/compute_v2/get_attachment.rb +15 -0
  2312. data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +15 -0
  2313. data/lib/fog/rackspace/requests/compute_v2/get_image.rb +15 -0
  2314. data/lib/fog/rackspace/requests/compute_v2/get_server.rb +15 -0
  2315. data/lib/fog/rackspace/requests/compute_v2/list_attachments.rb +15 -0
  2316. data/lib/fog/rackspace/requests/compute_v2/list_flavors.rb +15 -0
  2317. data/lib/fog/rackspace/requests/compute_v2/list_images.rb +15 -0
  2318. data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +15 -0
  2319. data/lib/fog/rackspace/requests/compute_v2/reboot_server.rb +22 -0
  2320. data/lib/fog/rackspace/requests/compute_v2/rebuild_server.rb +22 -0
  2321. data/lib/fog/rackspace/requests/compute_v2/resize_server.rb +22 -0
  2322. data/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb +20 -0
  2323. data/lib/fog/rackspace/requests/compute_v2/update_server.rb +22 -0
  2324. data/lib/fog/rackspace/requests/databases/check_root_user.rb +15 -0
  2325. data/lib/fog/rackspace/requests/databases/create_database.rb +24 -0
  2326. data/lib/fog/rackspace/requests/databases/create_instance.rb +26 -0
  2327. data/lib/fog/rackspace/requests/databases/create_user.rb +24 -0
  2328. data/lib/fog/rackspace/requests/databases/delete_database.rb +15 -0
  2329. data/lib/fog/rackspace/requests/databases/delete_instance.rb +15 -0
  2330. data/lib/fog/rackspace/requests/databases/delete_user.rb +15 -0
  2331. data/lib/fog/rackspace/requests/databases/enable_root_user.rb +15 -0
  2332. data/lib/fog/rackspace/requests/databases/get_flavor.rb +15 -0
  2333. data/lib/fog/rackspace/requests/databases/get_instance.rb +15 -0
  2334. data/lib/fog/rackspace/requests/databases/list_databases.rb +15 -0
  2335. data/lib/fog/rackspace/requests/databases/list_flavors.rb +15 -0
  2336. data/lib/fog/rackspace/requests/databases/list_instances.rb +15 -0
  2337. data/lib/fog/rackspace/requests/databases/list_users.rb +15 -0
  2338. data/lib/fog/rackspace/requests/databases/resize_instance.rb +22 -0
  2339. data/lib/fog/rackspace/requests/databases/resize_instance_volume.rb +24 -0
  2340. data/lib/fog/rackspace/requests/databases/restart_instance.rb +20 -0
  2341. data/lib/fog/rackspace/requests/dns/add_records.rb +34 -0
  2342. data/lib/fog/rackspace/requests/dns/callback.rb +19 -0
  2343. data/lib/fog/rackspace/requests/dns/create_domains.rb +48 -0
  2344. data/lib/fog/rackspace/requests/dns/list_domain_details.rb +32 -0
  2345. data/lib/fog/rackspace/requests/dns/list_domains.rb +21 -0
  2346. data/lib/fog/rackspace/requests/dns/list_record_details.rb +21 -0
  2347. data/lib/fog/rackspace/requests/dns/list_records.rb +23 -0
  2348. data/lib/fog/rackspace/requests/dns/list_subdomains.rb +23 -0
  2349. data/lib/fog/rackspace/requests/dns/modify_domain.rb +36 -0
  2350. data/lib/fog/rackspace/requests/dns/modify_record.rb +37 -0
  2351. data/lib/fog/rackspace/requests/dns/remove_domain.rb +29 -0
  2352. data/lib/fog/rackspace/requests/dns/remove_domains.rb +27 -0
  2353. data/lib/fog/rackspace/requests/dns/remove_record.rb +21 -0
  2354. data/lib/fog/rackspace/requests/dns/remove_records.rb +20 -0
  2355. data/lib/fog/rackspace/requests/identity/create_token.rb +25 -0
  2356. data/lib/fog/rackspace/requests/identity/create_user.rb +25 -0
  2357. data/lib/fog/rackspace/requests/identity/delete_user.rb +15 -0
  2358. data/lib/fog/rackspace/requests/identity/get_credentials.rb +15 -0
  2359. data/lib/fog/rackspace/requests/identity/get_user_by_id.rb +15 -0
  2360. data/lib/fog/rackspace/requests/identity/get_user_by_name.rb +15 -0
  2361. data/lib/fog/rackspace/requests/identity/list_credentials.rb +22 -0
  2362. data/lib/fog/rackspace/requests/identity/list_tenants.rb +22 -0
  2363. data/lib/fog/rackspace/requests/identity/list_user_roles.rb +22 -0
  2364. data/lib/fog/rackspace/requests/identity/list_users.rb +22 -0
  2365. data/lib/fog/rackspace/requests/identity/update_user.rb +24 -0
  2366. data/lib/fog/rackspace/requests/load_balancers/create_access_rule.rb +24 -0
  2367. data/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +29 -0
  2368. data/lib/fog/rackspace/requests/load_balancers/create_node.rb +27 -0
  2369. data/lib/fog/rackspace/requests/load_balancers/create_virtual_ip.rb +20 -0
  2370. data/lib/fog/rackspace/requests/load_balancers/delete_access_rule.rb +15 -0
  2371. data/lib/fog/rackspace/requests/load_balancers/delete_all_access_rules.rb +15 -0
  2372. data/lib/fog/rackspace/requests/load_balancers/delete_load_balancer.rb +15 -0
  2373. data/lib/fog/rackspace/requests/load_balancers/delete_node.rb +15 -0
  2374. data/lib/fog/rackspace/requests/load_balancers/delete_nodes.rb +16 -0
  2375. data/lib/fog/rackspace/requests/load_balancers/delete_virtual_ip.rb +15 -0
  2376. data/lib/fog/rackspace/requests/load_balancers/get_connection_logging.rb +15 -0
  2377. data/lib/fog/rackspace/requests/load_balancers/get_connection_throttling.rb +15 -0
  2378. data/lib/fog/rackspace/requests/load_balancers/get_error_page.rb +15 -0
  2379. data/lib/fog/rackspace/requests/load_balancers/get_load_balancer.rb +15 -0
  2380. data/lib/fog/rackspace/requests/load_balancers/get_load_balancer_usage.rb +21 -0
  2381. data/lib/fog/rackspace/requests/load_balancers/get_monitor.rb +15 -0
  2382. data/lib/fog/rackspace/requests/load_balancers/get_node.rb +15 -0
  2383. data/lib/fog/rackspace/requests/load_balancers/get_session_persistence.rb +15 -0
  2384. data/lib/fog/rackspace/requests/load_balancers/get_ssl_termination.rb +15 -0
  2385. data/lib/fog/rackspace/requests/load_balancers/get_usage.rb +20 -0
  2386. data/lib/fog/rackspace/requests/load_balancers/list_access_rules.rb +15 -0
  2387. data/lib/fog/rackspace/requests/load_balancers/list_algorithms.rb +15 -0
  2388. data/lib/fog/rackspace/requests/load_balancers/list_load_balancers.rb +21 -0
  2389. data/lib/fog/rackspace/requests/load_balancers/list_nodes.rb +15 -0
  2390. data/lib/fog/rackspace/requests/load_balancers/list_protocols.rb +15 -0
  2391. data/lib/fog/rackspace/requests/load_balancers/list_virtual_ips.rb +15 -0
  2392. data/lib/fog/rackspace/requests/load_balancers/remove_connection_throttling.rb +15 -0
  2393. data/lib/fog/rackspace/requests/load_balancers/remove_error_page.rb +15 -0
  2394. data/lib/fog/rackspace/requests/load_balancers/remove_monitor.rb +15 -0
  2395. data/lib/fog/rackspace/requests/load_balancers/remove_session_persistence.rb +15 -0
  2396. data/lib/fog/rackspace/requests/load_balancers/remove_ssl_termination.rb +15 -0
  2397. data/lib/fog/rackspace/requests/load_balancers/set_connection_logging.rb +21 -0
  2398. data/lib/fog/rackspace/requests/load_balancers/set_connection_throttling.rb +22 -0
  2399. data/lib/fog/rackspace/requests/load_balancers/set_error_page.rb +21 -0
  2400. data/lib/fog/rackspace/requests/load_balancers/set_monitor.rb +31 -0
  2401. data/lib/fog/rackspace/requests/load_balancers/set_session_persistence.rb +21 -0
  2402. data/lib/fog/rackspace/requests/load_balancers/set_ssl_termination.rb +31 -0
  2403. data/lib/fog/rackspace/requests/load_balancers/update_load_balancer.rb +24 -0
  2404. data/lib/fog/rackspace/requests/load_balancers/update_node.rb +26 -0
  2405. data/lib/fog/rackspace/requests/storage/copy_object.rb +27 -0
  2406. data/lib/fog/rackspace/requests/storage/delete_container.rb +22 -0
  2407. data/lib/fog/rackspace/requests/storage/delete_object.rb +23 -0
  2408. data/lib/fog/rackspace/requests/storage/get_container.rb +44 -0
  2409. data/lib/fog/rackspace/requests/storage/get_containers.rb +33 -0
  2410. data/lib/fog/rackspace/requests/storage/get_object.rb +30 -0
  2411. data/lib/fog/rackspace/requests/storage/get_object_https_url.rb +51 -0
  2412. data/lib/fog/rackspace/requests/storage/head_container.rb +28 -0
  2413. data/lib/fog/rackspace/requests/storage/head_containers.rb +25 -0
  2414. data/lib/fog/rackspace/requests/storage/head_object.rb +23 -0
  2415. data/lib/fog/rackspace/requests/storage/post_set_meta_temp_url_key.rb +37 -0
  2416. data/lib/fog/rackspace/requests/storage/put_container.rb +22 -0
  2417. data/lib/fog/rackspace/requests/storage/put_object.rb +30 -0
  2418. data/lib/fog/rackspace/requests/storage/put_object_manifest.rb +25 -0
  2419. data/lib/fog/rackspace/storage.rb +162 -0
  2420. data/lib/fog/serverlove.rb +10 -0
  2421. data/lib/fog/serverlove/compute.rb +97 -0
  2422. data/lib/fog/serverlove/models/compute/image.rb +57 -0
  2423. data/lib/fog/serverlove/models/compute/images.rb +26 -0
  2424. data/lib/fog/serverlove/models/compute/server.rb +72 -0
  2425. data/lib/fog/serverlove/models/compute/servers.rb +26 -0
  2426. data/lib/fog/serverlove/requests/compute/create_image.rb +32 -0
  2427. data/lib/fog/serverlove/requests/compute/create_server.rb +34 -0
  2428. data/lib/fog/serverlove/requests/compute/destroy_image.rb +13 -0
  2429. data/lib/fog/serverlove/requests/compute/destroy_server.rb +13 -0
  2430. data/lib/fog/serverlove/requests/compute/get_image.rb +13 -0
  2431. data/lib/fog/serverlove/requests/compute/get_images.rb +13 -0
  2432. data/lib/fog/serverlove/requests/compute/get_server.rb +13 -0
  2433. data/lib/fog/serverlove/requests/compute/get_servers.rb +13 -0
  2434. data/lib/fog/serverlove/requests/compute/load_standard_image.rb +13 -0
  2435. data/lib/fog/serverlove/requests/compute/reset_server.rb +13 -0
  2436. data/lib/fog/serverlove/requests/compute/shutdown_server.rb +13 -0
  2437. data/lib/fog/serverlove/requests/compute/start_server.rb +13 -0
  2438. data/lib/fog/serverlove/requests/compute/stop_server.rb +13 -0
  2439. data/lib/fog/serverlove/requests/compute/update_image.rb +15 -0
  2440. data/lib/fog/serverlove/requests/compute/update_server.rb +15 -0
  2441. data/lib/fog/serverlove/util/compute/password_generator.rb +11 -0
  2442. data/lib/fog/storage.rb +94 -0
  2443. data/lib/fog/storm_on_demand.rb +12 -0
  2444. data/lib/fog/storm_on_demand/compute.rb +136 -0
  2445. data/lib/fog/storm_on_demand/models/compute/balancer.rb +38 -0
  2446. data/lib/fog/storm_on_demand/models/compute/balancers.rb +21 -0
  2447. data/lib/fog/storm_on_demand/models/compute/config.rb +25 -0
  2448. data/lib/fog/storm_on_demand/models/compute/configs.rb +22 -0
  2449. data/lib/fog/storm_on_demand/models/compute/image.rb +20 -0
  2450. data/lib/fog/storm_on_demand/models/compute/images.rb +21 -0
  2451. data/lib/fog/storm_on_demand/models/compute/private_ip.rb +19 -0
  2452. data/lib/fog/storm_on_demand/models/compute/private_ips.rb +31 -0
  2453. data/lib/fog/storm_on_demand/models/compute/server.rb +70 -0
  2454. data/lib/fog/storm_on_demand/models/compute/servers.rb +26 -0
  2455. data/lib/fog/storm_on_demand/models/compute/stat.rb +23 -0
  2456. data/lib/fog/storm_on_demand/models/compute/stats.rb +22 -0
  2457. data/lib/fog/storm_on_demand/models/compute/template.rb +22 -0
  2458. data/lib/fog/storm_on_demand/models/compute/templates.rb +21 -0
  2459. data/lib/fog/storm_on_demand/requests/compute/add_balancer_node.rb +16 -0
  2460. data/lib/fog/storm_on_demand/requests/compute/clone_server.rb +16 -0
  2461. data/lib/fog/storm_on_demand/requests/compute/create_server.rb +16 -0
  2462. data/lib/fog/storm_on_demand/requests/compute/delete_server.rb +16 -0
  2463. data/lib/fog/storm_on_demand/requests/compute/get_server.rb +16 -0
  2464. data/lib/fog/storm_on_demand/requests/compute/get_stats.rb +16 -0
  2465. data/lib/fog/storm_on_demand/requests/compute/list_balancers.rb +16 -0
  2466. data/lib/fog/storm_on_demand/requests/compute/list_configs.rb +16 -0
  2467. data/lib/fog/storm_on_demand/requests/compute/list_images.rb +16 -0
  2468. data/lib/fog/storm_on_demand/requests/compute/list_private_ips.rb +16 -0
  2469. data/lib/fog/storm_on_demand/requests/compute/list_servers.rb +16 -0
  2470. data/lib/fog/storm_on_demand/requests/compute/list_templates.rb +16 -0
  2471. data/lib/fog/storm_on_demand/requests/compute/reboot_server.rb +16 -0
  2472. data/lib/fog/storm_on_demand/requests/compute/remove_balancer_node.rb +16 -0
  2473. data/lib/fog/storm_on_demand/requests/compute/resize_server.rb +16 -0
  2474. data/lib/fog/terremark.rb +11 -0
  2475. data/lib/fog/terremark/models/shared/address.rb +29 -0
  2476. data/lib/fog/terremark/models/shared/addresses.rb +49 -0
  2477. data/lib/fog/terremark/models/shared/image.rb +22 -0
  2478. data/lib/fog/terremark/models/shared/images.rb +48 -0
  2479. data/lib/fog/terremark/models/shared/internetservice.rb +67 -0
  2480. data/lib/fog/terremark/models/shared/internetservices.rb +42 -0
  2481. data/lib/fog/terremark/models/shared/network.rb +35 -0
  2482. data/lib/fog/terremark/models/shared/networks.rb +52 -0
  2483. data/lib/fog/terremark/models/shared/nodeservice.rb +52 -0
  2484. data/lib/fog/terremark/models/shared/nodeservices.rb +32 -0
  2485. data/lib/fog/terremark/models/shared/server.rb +209 -0
  2486. data/lib/fog/terremark/models/shared/servers.rb +54 -0
  2487. data/lib/fog/terremark/models/shared/task.rb +50 -0
  2488. data/lib/fog/terremark/models/shared/tasks.rb +58 -0
  2489. data/lib/fog/terremark/models/shared/vdc.rb +44 -0
  2490. data/lib/fog/terremark/models/shared/vdcs.rb +52 -0
  2491. data/lib/fog/terremark/parser.rb +19 -0
  2492. data/lib/fog/terremark/parsers/shared/get_catalog.rb +51 -0
  2493. data/lib/fog/terremark/parsers/shared/get_catalog_item.rb +46 -0
  2494. data/lib/fog/terremark/parsers/shared/get_internet_services.rb +60 -0
  2495. data/lib/fog/terremark/parsers/shared/get_keys_list.rb +56 -0
  2496. data/lib/fog/terremark/parsers/shared/get_network_ips.rb +29 -0
  2497. data/lib/fog/terremark/parsers/shared/get_node_services.rb +36 -0
  2498. data/lib/fog/terremark/parsers/shared/get_organization.rb +52 -0
  2499. data/lib/fog/terremark/parsers/shared/get_organizations.rb +32 -0
  2500. data/lib/fog/terremark/parsers/shared/get_public_ips.rb +30 -0
  2501. data/lib/fog/terremark/parsers/shared/get_tasks_list.rb +52 -0
  2502. data/lib/fog/terremark/parsers/shared/get_vapp_template.rb +46 -0
  2503. data/lib/fog/terremark/parsers/shared/get_vdc.rb +123 -0
  2504. data/lib/fog/terremark/parsers/shared/instantiate_vapp_template.rb +41 -0
  2505. data/lib/fog/terremark/parsers/shared/internet_service.rb +65 -0
  2506. data/lib/fog/terremark/parsers/shared/network.rb +51 -0
  2507. data/lib/fog/terremark/parsers/shared/node_service.rb +32 -0
  2508. data/lib/fog/terremark/parsers/shared/public_ip.rb +26 -0
  2509. data/lib/fog/terremark/parsers/shared/task.rb +40 -0
  2510. data/lib/fog/terremark/parsers/shared/vapp.rb +77 -0
  2511. data/lib/fog/terremark/requests/shared/add_internet_service.rb +56 -0
  2512. data/lib/fog/terremark/requests/shared/add_node_service.rb +53 -0
  2513. data/lib/fog/terremark/requests/shared/configure_vapp.rb +61 -0
  2514. data/lib/fog/terremark/requests/shared/create_internet_service.rb +60 -0
  2515. data/lib/fog/terremark/requests/shared/delete_internet_service.rb +23 -0
  2516. data/lib/fog/terremark/requests/shared/delete_node_service.rb +23 -0
  2517. data/lib/fog/terremark/requests/shared/delete_public_ip.rb +23 -0
  2518. data/lib/fog/terremark/requests/shared/delete_vapp.rb +22 -0
  2519. data/lib/fog/terremark/requests/shared/deploy_vapp.rb +35 -0
  2520. data/lib/fog/terremark/requests/shared/get_catalog.rb +32 -0
  2521. data/lib/fog/terremark/requests/shared/get_catalog_item.rb +35 -0
  2522. data/lib/fog/terremark/requests/shared/get_internet_services.rb +36 -0
  2523. data/lib/fog/terremark/requests/shared/get_keys_list.rb +36 -0
  2524. data/lib/fog/terremark/requests/shared/get_network.rb +73 -0
  2525. data/lib/fog/terremark/requests/shared/get_network_ips.rb +32 -0
  2526. data/lib/fog/terremark/requests/shared/get_node_services.rb +31 -0
  2527. data/lib/fog/terremark/requests/shared/get_organization.rb +86 -0
  2528. data/lib/fog/terremark/requests/shared/get_organizations.rb +49 -0
  2529. data/lib/fog/terremark/requests/shared/get_public_ip.rb +33 -0
  2530. data/lib/fog/terremark/requests/shared/get_public_ips.rb +72 -0
  2531. data/lib/fog/terremark/requests/shared/get_task.rb +39 -0
  2532. data/lib/fog/terremark/requests/shared/get_tasks_list.rb +33 -0
  2533. data/lib/fog/terremark/requests/shared/get_vapp.rb +42 -0
  2534. data/lib/fog/terremark/requests/shared/get_vapp_template.rb +35 -0
  2535. data/lib/fog/terremark/requests/shared/get_vdc.rb +125 -0
  2536. data/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +81 -0
  2537. data/lib/fog/terremark/requests/shared/power_off.rb +35 -0
  2538. data/lib/fog/terremark/requests/shared/power_on.rb +35 -0
  2539. data/lib/fog/terremark/requests/shared/power_reset.rb +35 -0
  2540. data/lib/fog/terremark/requests/shared/power_shutdown.rb +24 -0
  2541. data/lib/fog/terremark/shared.rb +311 -0
  2542. data/lib/fog/terremark/vcloud.rb +135 -0
  2543. data/lib/fog/vcloud.rb +11 -0
  2544. data/lib/fog/vcloud/compute.rb +372 -0
  2545. data/lib/fog/vcloud/models/compute/catalog.rb +22 -0
  2546. data/lib/fog/vcloud/models/compute/catalog_item.rb +29 -0
  2547. data/lib/fog/vcloud/models/compute/catalog_items.rb +36 -0
  2548. data/lib/fog/vcloud/models/compute/catalogs.rb +38 -0
  2549. data/lib/fog/vcloud/models/compute/helpers/status.rb +37 -0
  2550. data/lib/fog/vcloud/models/compute/ip.rb +42 -0
  2551. data/lib/fog/vcloud/models/compute/ips.rb +33 -0
  2552. data/lib/fog/vcloud/models/compute/network.rb +23 -0
  2553. data/lib/fog/vcloud/models/compute/networks.rb +48 -0
  2554. data/lib/fog/vcloud/models/compute/organization.rb +43 -0
  2555. data/lib/fog/vcloud/models/compute/organizations.rb +31 -0
  2556. data/lib/fog/vcloud/models/compute/server.rb +305 -0
  2557. data/lib/fog/vcloud/models/compute/servers.rb +52 -0
  2558. data/lib/fog/vcloud/models/compute/task.rb +21 -0
  2559. data/lib/fog/vcloud/models/compute/tasks.rb +30 -0
  2560. data/lib/fog/vcloud/models/compute/vapp.rb +43 -0
  2561. data/lib/fog/vcloud/models/compute/vapps.rb +28 -0
  2562. data/lib/fog/vcloud/models/compute/vdc.rb +41 -0
  2563. data/lib/fog/vcloud/models/compute/vdcs.rb +35 -0
  2564. data/lib/fog/vcloud/requests/compute/clone_vapp.rb +40 -0
  2565. data/lib/fog/vcloud/requests/compute/configure_network.rb +43 -0
  2566. data/lib/fog/vcloud/requests/compute/configure_network_ip.rb +46 -0
  2567. data/lib/fog/vcloud/requests/compute/configure_node.rb +38 -0
  2568. data/lib/fog/vcloud/requests/compute/configure_org_network.rb +141 -0
  2569. data/lib/fog/vcloud/requests/compute/configure_vapp.rb +112 -0
  2570. data/lib/fog/vcloud/requests/compute/configure_vm.rb +109 -0
  2571. data/lib/fog/vcloud/requests/compute/configure_vm_cpus.rb +38 -0
  2572. data/lib/fog/vcloud/requests/compute/configure_vm_disks.rb +100 -0
  2573. data/lib/fog/vcloud/requests/compute/configure_vm_memory.rb +39 -0
  2574. data/lib/fog/vcloud/requests/compute/configure_vm_name_description.rb +30 -0
  2575. data/lib/fog/vcloud/requests/compute/configure_vm_password.rb +39 -0
  2576. data/lib/fog/vcloud/requests/compute/delete_node.rb +10 -0
  2577. data/lib/fog/vcloud/requests/compute/delete_vapp.rb +10 -0
  2578. data/lib/fog/vcloud/requests/compute/get_catalog.rb +10 -0
  2579. data/lib/fog/vcloud/requests/compute/get_catalog_item.rb +10 -0
  2580. data/lib/fog/vcloud/requests/compute/get_customization_options.rb +10 -0
  2581. data/lib/fog/vcloud/requests/compute/get_network.rb +10 -0
  2582. data/lib/fog/vcloud/requests/compute/get_network_extensions.rb +11 -0
  2583. data/lib/fog/vcloud/requests/compute/get_network_ip.rb +15 -0
  2584. data/lib/fog/vcloud/requests/compute/get_network_ips.rb +15 -0
  2585. data/lib/fog/vcloud/requests/compute/get_organization.rb +11 -0
  2586. data/lib/fog/vcloud/requests/compute/get_server.rb +10 -0
  2587. data/lib/fog/vcloud/requests/compute/get_task.rb +11 -0
  2588. data/lib/fog/vcloud/requests/compute/get_task_list.rb +11 -0
  2589. data/lib/fog/vcloud/requests/compute/get_vapp.rb +10 -0
  2590. data/lib/fog/vcloud/requests/compute/get_vapp_template.rb +11 -0
  2591. data/lib/fog/vcloud/requests/compute/get_vdc.rb +10 -0
  2592. data/lib/fog/vcloud/requests/compute/get_vm_disks.rb +16 -0
  2593. data/lib/fog/vcloud/requests/compute/get_vm_memory.rb +16 -0
  2594. data/lib/fog/vcloud/requests/compute/instantiate_vapp_template.rb +83 -0
  2595. data/lib/fog/vcloud/requests/compute/login.rb +27 -0
  2596. data/lib/fog/vcloud/requests/compute/power_off.rb +10 -0
  2597. data/lib/fog/vcloud/requests/compute/power_on.rb +11 -0
  2598. data/lib/fog/vcloud/requests/compute/power_reset.rb +11 -0
  2599. data/lib/fog/vcloud/requests/compute/power_shutdown.rb +11 -0
  2600. data/lib/fog/vcloud/requests/compute/undeploy.rb +31 -0
  2601. data/lib/fog/version.rb +5 -0
  2602. data/lib/fog/virtual_box.rb +11 -0
  2603. data/lib/fog/virtual_box/compute.rb +53 -0
  2604. data/lib/fog/virtual_box/models/compute/medium.rb +87 -0
  2605. data/lib/fog/virtual_box/models/compute/medium_format.rb +34 -0
  2606. data/lib/fog/virtual_box/models/compute/mediums.rb +32 -0
  2607. data/lib/fog/virtual_box/models/compute/nat_engine.rb +65 -0
  2608. data/lib/fog/virtual_box/models/compute/nat_redirect.rb +91 -0
  2609. data/lib/fog/virtual_box/models/compute/nat_redirects.rb +41 -0
  2610. data/lib/fog/virtual_box/models/compute/network_adapter.rb +82 -0
  2611. data/lib/fog/virtual_box/models/compute/network_adapters.rb +42 -0
  2612. data/lib/fog/virtual_box/models/compute/server.rb +199 -0
  2613. data/lib/fog/virtual_box/models/compute/servers.rb +41 -0
  2614. data/lib/fog/virtual_box/models/compute/storage_controller.rb +83 -0
  2615. data/lib/fog/virtual_box/models/compute/storage_controllers.rb +38 -0
  2616. data/lib/fog/vmfusion.rb +11 -0
  2617. data/lib/fog/vmfusion/compute.rb +29 -0
  2618. data/lib/fog/vmfusion/models/compute/server.rb +258 -0
  2619. data/lib/fog/vmfusion/models/compute/servers.rb +41 -0
  2620. data/lib/fog/volume.rb +25 -0
  2621. data/lib/fog/voxel.rb +16 -0
  2622. data/lib/fog/voxel/compute.rb +125 -0
  2623. data/lib/fog/voxel/models/compute/image.rb +15 -0
  2624. data/lib/fog/voxel/models/compute/images.rb +30 -0
  2625. data/lib/fog/voxel/models/compute/server.rb +78 -0
  2626. data/lib/fog/voxel/models/compute/servers.rb +32 -0
  2627. data/lib/fog/voxel/parsers/compute/basic.rb +31 -0
  2628. data/lib/fog/voxel/parsers/compute/devices_list.rb +111 -0
  2629. data/lib/fog/voxel/parsers/compute/images_list.rb +59 -0
  2630. data/lib/fog/voxel/parsers/compute/voxcloud_create.rb +40 -0
  2631. data/lib/fog/voxel/parsers/compute/voxcloud_delete.rb +31 -0
  2632. data/lib/fog/voxel/parsers/compute/voxcloud_status.rb +42 -0
  2633. data/lib/fog/voxel/requests/compute/devices_list.rb +24 -0
  2634. data/lib/fog/voxel/requests/compute/devices_power.rb +22 -0
  2635. data/lib/fog/voxel/requests/compute/images_list.rb +31 -0
  2636. data/lib/fog/voxel/requests/compute/voxcloud_create.rb +22 -0
  2637. data/lib/fog/voxel/requests/compute/voxcloud_delete.rb +20 -0
  2638. data/lib/fog/voxel/requests/compute/voxcloud_status.rb +24 -0
  2639. data/lib/fog/vsphere.rb +17 -0
  2640. data/lib/fog/vsphere/compute.rb +250 -0
  2641. data/lib/fog/vsphere/models/compute/cluster.rb +31 -0
  2642. data/lib/fog/vsphere/models/compute/clusters.rb +26 -0
  2643. data/lib/fog/vsphere/models/compute/datacenter.rb +35 -0
  2644. data/lib/fog/vsphere/models/compute/datacenters.rb +23 -0
  2645. data/lib/fog/vsphere/models/compute/datastore.rb +24 -0
  2646. data/lib/fog/vsphere/models/compute/datastores.rb +25 -0
  2647. data/lib/fog/vsphere/models/compute/folder.rb +28 -0
  2648. data/lib/fog/vsphere/models/compute/folders.rb +27 -0
  2649. data/lib/fog/vsphere/models/compute/interface.rb +39 -0
  2650. data/lib/fog/vsphere/models/compute/interfaces.rb +33 -0
  2651. data/lib/fog/vsphere/models/compute/network.rb +21 -0
  2652. data/lib/fog/vsphere/models/compute/networks.rb +25 -0
  2653. data/lib/fog/vsphere/models/compute/resource_pool.rb +23 -0
  2654. data/lib/fog/vsphere/models/compute/resource_pools.rb +26 -0
  2655. data/lib/fog/vsphere/models/compute/server.rb +204 -0
  2656. data/lib/fog/vsphere/models/compute/servers.rb +39 -0
  2657. data/lib/fog/vsphere/models/compute/template.rb +13 -0
  2658. data/lib/fog/vsphere/models/compute/templates.rb +23 -0
  2659. data/lib/fog/vsphere/models/compute/volume.rb +45 -0
  2660. data/lib/fog/vsphere/models/compute/volumes.rb +33 -0
  2661. data/lib/fog/vsphere/requests/compute/create_vm.rb +114 -0
  2662. data/lib/fog/vsphere/requests/compute/current_time.rb +22 -0
  2663. data/lib/fog/vsphere/requests/compute/get_cluster.rb +25 -0
  2664. data/lib/fog/vsphere/requests/compute/get_datacenter.rb +29 -0
  2665. data/lib/fog/vsphere/requests/compute/get_datastore.rb +25 -0
  2666. data/lib/fog/vsphere/requests/compute/get_folder.rb +73 -0
  2667. data/lib/fog/vsphere/requests/compute/get_network.rb +25 -0
  2668. data/lib/fog/vsphere/requests/compute/get_resource_pool.rb +26 -0
  2669. data/lib/fog/vsphere/requests/compute/get_virtual_machine.rb +62 -0
  2670. data/lib/fog/vsphere/requests/compute/list_clusters.rb +37 -0
  2671. data/lib/fog/vsphere/requests/compute/list_datacenters.rb +34 -0
  2672. data/lib/fog/vsphere/requests/compute/list_datastores.rb +40 -0
  2673. data/lib/fog/vsphere/requests/compute/list_folders.rb +45 -0
  2674. data/lib/fog/vsphere/requests/compute/list_networks.rb +38 -0
  2675. data/lib/fog/vsphere/requests/compute/list_resource_pools.rb +39 -0
  2676. data/lib/fog/vsphere/requests/compute/list_virtual_machines.rb +173 -0
  2677. data/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb +52 -0
  2678. data/lib/fog/vsphere/requests/compute/list_vm_volumes.rb +51 -0
  2679. data/lib/fog/vsphere/requests/compute/vm_clone.rb +208 -0
  2680. data/lib/fog/vsphere/requests/compute/vm_config_vnc.rb +47 -0
  2681. data/lib/fog/vsphere/requests/compute/vm_destroy.rb +27 -0
  2682. data/lib/fog/vsphere/requests/compute/vm_migrate.rb +37 -0
  2683. data/lib/fog/vsphere/requests/compute/vm_power_off.rb +41 -0
  2684. data/lib/fog/vsphere/requests/compute/vm_power_on.rb +30 -0
  2685. data/lib/fog/vsphere/requests/compute/vm_reboot.rb +35 -0
  2686. data/lib/fog/vsphere/requests/compute/vm_reconfig_cpus.rb +23 -0
  2687. data/lib/fog/vsphere/requests/compute/vm_reconfig_hardware.rb +24 -0
  2688. data/lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb +23 -0
  2689. data/lib/fog/xenserver.rb +56 -0
  2690. data/lib/fog/xenserver/compute.rb +122 -0
  2691. data/lib/fog/xenserver/models/compute/guest_metrics.rb +28 -0
  2692. data/lib/fog/xenserver/models/compute/host.rb +46 -0
  2693. data/lib/fog/xenserver/models/compute/hosts.rb +29 -0
  2694. data/lib/fog/xenserver/models/compute/network.rb +58 -0
  2695. data/lib/fog/xenserver/models/compute/networks.rb +33 -0
  2696. data/lib/fog/xenserver/models/compute/pbd.rb +33 -0
  2697. data/lib/fog/xenserver/models/compute/pbds.rb +33 -0
  2698. data/lib/fog/xenserver/models/compute/pif.rb +46 -0
  2699. data/lib/fog/xenserver/models/compute/pifs.rb +33 -0
  2700. data/lib/fog/xenserver/models/compute/pool.rb +40 -0
  2701. data/lib/fog/xenserver/models/compute/pools.rb +33 -0
  2702. data/lib/fog/xenserver/models/compute/server.rb +211 -0
  2703. data/lib/fog/xenserver/models/compute/servers.rb +63 -0
  2704. data/lib/fog/xenserver/models/compute/storage_repositories.rb +31 -0
  2705. data/lib/fog/xenserver/models/compute/storage_repository.rb +47 -0
  2706. data/lib/fog/xenserver/models/compute/vbd.rb +90 -0
  2707. data/lib/fog/xenserver/models/compute/vbd_metrics.rb +27 -0
  2708. data/lib/fog/xenserver/models/compute/vbds.rb +33 -0
  2709. data/lib/fog/xenserver/models/compute/vdi.rb +102 -0
  2710. data/lib/fog/xenserver/models/compute/vdis.rb +29 -0
  2711. data/lib/fog/xenserver/models/compute/vif.rb +51 -0
  2712. data/lib/fog/xenserver/models/compute/vifs.rb +29 -0
  2713. data/lib/fog/xenserver/parser.rb +36 -0
  2714. data/lib/fog/xenserver/parsers/get_hosts.rb +19 -0
  2715. data/lib/fog/xenserver/parsers/get_networks.rb +19 -0
  2716. data/lib/fog/xenserver/parsers/get_pools.rb +19 -0
  2717. data/lib/fog/xenserver/parsers/get_records.rb +19 -0
  2718. data/lib/fog/xenserver/parsers/get_storage_repositories.rb +19 -0
  2719. data/lib/fog/xenserver/parsers/get_vbds.rb +19 -0
  2720. data/lib/fog/xenserver/parsers/get_vifs.rb +19 -0
  2721. data/lib/fog/xenserver/parsers/get_vms.rb +20 -0
  2722. data/lib/fog/xenserver/requests/compute/clone_server.rb +31 -0
  2723. data/lib/fog/xenserver/requests/compute/create_server.rb +126 -0
  2724. data/lib/fog/xenserver/requests/compute/create_vbd.rb +40 -0
  2725. data/lib/fog/xenserver/requests/compute/create_vdi.rb +33 -0
  2726. data/lib/fog/xenserver/requests/compute/create_vif.rb +57 -0
  2727. data/lib/fog/xenserver/requests/compute/destroy_server.rb +22 -0
  2728. data/lib/fog/xenserver/requests/compute/destroy_vdi.rb +22 -0
  2729. data/lib/fog/xenserver/requests/compute/destroy_vif.rb +22 -0
  2730. data/lib/fog/xenserver/requests/compute/eject_vbd.rb +22 -0
  2731. data/lib/fog/xenserver/requests/compute/get_record.rb +29 -0
  2732. data/lib/fog/xenserver/requests/compute/get_records.rb +30 -0
  2733. data/lib/fog/xenserver/requests/compute/insert_vbd.rb +22 -0
  2734. data/lib/fog/xenserver/requests/compute/provision_server.rb +21 -0
  2735. data/lib/fog/xenserver/requests/compute/reboot_server.rb +23 -0
  2736. data/lib/fog/xenserver/requests/compute/scan_sr.rb +22 -0
  2737. data/lib/fog/xenserver/requests/compute/set_affinity.rb +25 -0
  2738. data/lib/fog/xenserver/requests/compute/set_attribute.rb +25 -0
  2739. data/lib/fog/xenserver/requests/compute/shutdown_server.rb +23 -0
  2740. data/lib/fog/xenserver/requests/compute/start_server.rb +23 -0
  2741. data/lib/fog/xenserver/requests/compute/start_vm.rb +25 -0
  2742. data/lib/fog/xenserver/requests/compute/unplug_vbd.rb +30 -0
  2743. data/lib/fog/xenserver/utilities.rb +8 -0
  2744. data/lib/fog/zerigo.rb +11 -0
  2745. data/lib/fog/zerigo/dns.rb +120 -0
  2746. data/lib/fog/zerigo/models/dns/record.rb +70 -0
  2747. data/lib/fog/zerigo/models/dns/records.rb +46 -0
  2748. data/lib/fog/zerigo/models/dns/zone.rb +88 -0
  2749. data/lib/fog/zerigo/models/dns/zones.rb +30 -0
  2750. data/lib/fog/zerigo/parsers/dns/count_hosts.rb +24 -0
  2751. data/lib/fog/zerigo/parsers/dns/count_zones.rb +24 -0
  2752. data/lib/fog/zerigo/parsers/dns/create_host.rb +28 -0
  2753. data/lib/fog/zerigo/parsers/dns/create_zone.rb +26 -0
  2754. data/lib/fog/zerigo/parsers/dns/find_hosts.rb +32 -0
  2755. data/lib/fog/zerigo/parsers/dns/get_host.rb +28 -0
  2756. data/lib/fog/zerigo/parsers/dns/get_zone.rb +58 -0
  2757. data/lib/fog/zerigo/parsers/dns/get_zone_stats.rb +26 -0
  2758. data/lib/fog/zerigo/parsers/dns/list_hosts.rb +32 -0
  2759. data/lib/fog/zerigo/parsers/dns/list_zones.rb +30 -0
  2760. data/lib/fog/zerigo/requests/dns/count_hosts.rb +47 -0
  2761. data/lib/fog/zerigo/requests/dns/count_zones.rb +39 -0
  2762. data/lib/fog/zerigo/requests/dns/create_host.rb +128 -0
  2763. data/lib/fog/zerigo/requests/dns/create_zone.rb +132 -0
  2764. data/lib/fog/zerigo/requests/dns/delete_host.rb +43 -0
  2765. data/lib/fog/zerigo/requests/dns/delete_zone.rb +42 -0
  2766. data/lib/fog/zerigo/requests/dns/find_hosts.rb +76 -0
  2767. data/lib/fog/zerigo/requests/dns/get_host.rb +56 -0
  2768. data/lib/fog/zerigo/requests/dns/get_zone.rb +66 -0
  2769. data/lib/fog/zerigo/requests/dns/get_zone_stats.rb +59 -0
  2770. data/lib/fog/zerigo/requests/dns/list_hosts.rb +59 -0
  2771. data/lib/fog/zerigo/requests/dns/list_zones.rb +60 -0
  2772. data/lib/fog/zerigo/requests/dns/update_host.rb +71 -0
  2773. data/lib/fog/zerigo/requests/dns/update_zone.rb +89 -0
  2774. data/lib/tasks/changelog_task.rb +98 -0
  2775. data/lib/tasks/documentation_task.rb +155 -0
  2776. data/lib/tasks/test_task.rb +46 -0
  2777. data/tests/atmos/models/storage/file_update_tests.rb +19 -0
  2778. data/tests/atmos/models/storage/nested_directories_tests.rb +23 -0
  2779. data/tests/aws/credentials_tests.rb +57 -0
  2780. data/tests/aws/models/auto_scaling/activities_tests.rb +6 -0
  2781. data/tests/aws/models/auto_scaling/configuration_test.rb +13 -0
  2782. data/tests/aws/models/auto_scaling/configurations_tests.rb +11 -0
  2783. data/tests/aws/models/auto_scaling/helper.rb +0 -0
  2784. data/tests/aws/models/auto_scaling/instances_tests.rb +6 -0
  2785. data/tests/aws/models/beanstalk/application_tests.rb +70 -0
  2786. data/tests/aws/models/beanstalk/applications_tests.rb +7 -0
  2787. data/tests/aws/models/beanstalk/environment_tests.rb +132 -0
  2788. data/tests/aws/models/beanstalk/environments_tests.rb +34 -0
  2789. data/tests/aws/models/beanstalk/template_tests.rb +47 -0
  2790. data/tests/aws/models/beanstalk/templates_tests.rb +62 -0
  2791. data/tests/aws/models/beanstalk/version_tests.rb +66 -0
  2792. data/tests/aws/models/beanstalk/versions_tests.rb +61 -0
  2793. data/tests/aws/models/cdn/distribution_tests.rb +15 -0
  2794. data/tests/aws/models/cdn/distributions_tests.rb +15 -0
  2795. data/tests/aws/models/cdn/invalidation_tests.rb +32 -0
  2796. data/tests/aws/models/cdn/invalidations_tests.rb +15 -0
  2797. data/tests/aws/models/cdn/streaming_distribution_tests.rb +15 -0
  2798. data/tests/aws/models/cdn/streaming_distributions_tests.rb +15 -0
  2799. data/tests/aws/models/cloud_watch/alarm_data_tests.rb +42 -0
  2800. data/tests/aws/models/cloud_watch/alarm_history_tests.rb +22 -0
  2801. data/tests/aws/models/cloud_watch/metric_statistics_tests.rb +51 -0
  2802. data/tests/aws/models/cloud_watch/metrics_tests.rb +17 -0
  2803. data/tests/aws/models/compute/address_tests.rb +24 -0
  2804. data/tests/aws/models/compute/addresses_tests.rb +5 -0
  2805. data/tests/aws/models/compute/dhcp_option_tests.rb +4 -0
  2806. data/tests/aws/models/compute/dhcp_options_tests.rb +4 -0
  2807. data/tests/aws/models/compute/internet_gateway_tests.rb +3 -0
  2808. data/tests/aws/models/compute/internet_gateways_tests.rb +4 -0
  2809. data/tests/aws/models/compute/key_pair_tests.rb +27 -0
  2810. data/tests/aws/models/compute/key_pairs_tests.rb +5 -0
  2811. data/tests/aws/models/compute/network_interfaces_test.rb +12 -0
  2812. data/tests/aws/models/compute/security_group_tests.rb +60 -0
  2813. data/tests/aws/models/compute/security_groups_tests.rb +5 -0
  2814. data/tests/aws/models/compute/server_tests.rb +63 -0
  2815. data/tests/aws/models/compute/snapshot_tests.rb +10 -0
  2816. data/tests/aws/models/compute/snapshots_tests.rb +10 -0
  2817. data/tests/aws/models/compute/subnet_tests.rb +5 -0
  2818. data/tests/aws/models/compute/subnets_tests.rb +6 -0
  2819. data/tests/aws/models/compute/volume_tests.rb +43 -0
  2820. data/tests/aws/models/compute/volumes_tests.rb +5 -0
  2821. data/tests/aws/models/compute/vpc_tests.rb +4 -0
  2822. data/tests/aws/models/compute/vpcs_tests.rb +6 -0
  2823. data/tests/aws/models/dns/record_tests.rb +35 -0
  2824. data/tests/aws/models/dns/records_tests.rb +47 -0
  2825. data/tests/aws/models/dns/zone_tests.rb +4 -0
  2826. data/tests/aws/models/dns/zones_tests.rb +4 -0
  2827. data/tests/aws/models/elasticache/cluster_tests.rb +30 -0
  2828. data/tests/aws/models/elasticache/parameter_groups_tests.rb +17 -0
  2829. data/tests/aws/models/elasticache/security_groups_tests.rb +52 -0
  2830. data/tests/aws/models/elb/model_tests.rb +296 -0
  2831. data/tests/aws/models/glacier/model_tests.rb +47 -0
  2832. data/tests/aws/models/iam/access_keys_tests.rb +53 -0
  2833. data/tests/aws/models/iam/policies_tests.rb +56 -0
  2834. data/tests/aws/models/iam/users_tests.rb +68 -0
  2835. data/tests/aws/models/rds/helper.rb +5 -0
  2836. data/tests/aws/models/rds/parameter_group_tests.rb +24 -0
  2837. data/tests/aws/models/rds/parameter_groups_tests.rb +8 -0
  2838. data/tests/aws/models/rds/security_group_tests.rb +53 -0
  2839. data/tests/aws/models/rds/security_groups_tests.rb +5 -0
  2840. data/tests/aws/models/rds/server_tests.rb +109 -0
  2841. data/tests/aws/models/rds/servers_tests.rb +6 -0
  2842. data/tests/aws/models/rds/snapshot_tests.rb +13 -0
  2843. data/tests/aws/models/rds/snapshots_tests.rb +13 -0
  2844. data/tests/aws/models/rds/tagging_tests.rb +20 -0
  2845. data/tests/aws/models/storage/directory_tests.rb +51 -0
  2846. data/tests/aws/models/storage/file_tests.rb +80 -0
  2847. data/tests/aws/models/storage/files_tests.rb +56 -0
  2848. data/tests/aws/models/storage/url_tests.rb +28 -0
  2849. data/tests/aws/models/storage/version_tests.rb +52 -0
  2850. data/tests/aws/models/storage/versions_tests.rb +56 -0
  2851. data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +77 -0
  2852. data/tests/aws/requests/auto_scaling/describe_types_tests.rb +102 -0
  2853. data/tests/aws/requests/auto_scaling/helper.rb +230 -0
  2854. data/tests/aws/requests/auto_scaling/model_tests.rb +235 -0
  2855. data/tests/aws/requests/auto_scaling/notification_configuration_tests.rb +124 -0
  2856. data/tests/aws/requests/auto_scaling/tag_tests.rb +63 -0
  2857. data/tests/aws/requests/beanstalk/application_tests.rb +140 -0
  2858. data/tests/aws/requests/beanstalk/solution_stack_tests.rb +22 -0
  2859. data/tests/aws/requests/cdn/cdn_tests.rb +252 -0
  2860. data/tests/aws/requests/cloud_formation/stack_tests.rb +157 -0
  2861. data/tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb +28 -0
  2862. data/tests/aws/requests/cloud_watch/list_metrics_test.rb +64 -0
  2863. data/tests/aws/requests/cloud_watch/put_metric_data_tests.rb +36 -0
  2864. data/tests/aws/requests/compute/address_tests.rb +96 -0
  2865. data/tests/aws/requests/compute/availability_zone_tests.rb +25 -0
  2866. data/tests/aws/requests/compute/dhcp_options_tests.rb +40 -0
  2867. data/tests/aws/requests/compute/helper.rb +16 -0
  2868. data/tests/aws/requests/compute/image_tests.rb +138 -0
  2869. data/tests/aws/requests/compute/instance_tests.rb +282 -0
  2870. data/tests/aws/requests/compute/internet_gateway_tests.rb +44 -0
  2871. data/tests/aws/requests/compute/key_pair_tests.rb +67 -0
  2872. data/tests/aws/requests/compute/network_interface_tests.rb +175 -0
  2873. data/tests/aws/requests/compute/placement_group_tests.rb +48 -0
  2874. data/tests/aws/requests/compute/region_tests.rb +23 -0
  2875. data/tests/aws/requests/compute/security_group_tests.rb +434 -0
  2876. data/tests/aws/requests/compute/snapshot_tests.rb +57 -0
  2877. data/tests/aws/requests/compute/spot_datafeed_subscription_tests.rb +47 -0
  2878. data/tests/aws/requests/compute/spot_instance_tests.rb +54 -0
  2879. data/tests/aws/requests/compute/spot_price_history_tests.rb +24 -0
  2880. data/tests/aws/requests/compute/subnet_tests.rb +36 -0
  2881. data/tests/aws/requests/compute/tag_tests.rb +78 -0
  2882. data/tests/aws/requests/compute/volume_tests.rb +204 -0
  2883. data/tests/aws/requests/compute/vpc_tests.rb +34 -0
  2884. data/tests/aws/requests/dns/dns_tests.rb +283 -0
  2885. data/tests/aws/requests/dns/helper.rb +21 -0
  2886. data/tests/aws/requests/dynamodb/item_tests.rb +137 -0
  2887. data/tests/aws/requests/dynamodb/table_tests.rb +99 -0
  2888. data/tests/aws/requests/elasticache/cache_cluster_tests.rb +137 -0
  2889. data/tests/aws/requests/elasticache/describe_events.rb +17 -0
  2890. data/tests/aws/requests/elasticache/helper.rb +68 -0
  2891. data/tests/aws/requests/elasticache/parameter_group_tests.rb +105 -0
  2892. data/tests/aws/requests/elasticache/security_group_tests.rb +107 -0
  2893. data/tests/aws/requests/elb/helper.rb +92 -0
  2894. data/tests/aws/requests/elb/listener_tests.rb +68 -0
  2895. data/tests/aws/requests/elb/load_balancer_tests.rb +61 -0
  2896. data/tests/aws/requests/elb/policy_tests.rb +54 -0
  2897. data/tests/aws/requests/emr/helper.rb +172 -0
  2898. data/tests/aws/requests/emr/instance_group_tests.rb +106 -0
  2899. data/tests/aws/requests/emr/job_flow_tests.rb +88 -0
  2900. data/tests/aws/requests/glacier/archive_tests.rb +13 -0
  2901. data/tests/aws/requests/glacier/multipart_upload_tests.rb +30 -0
  2902. data/tests/aws/requests/glacier/tree_hash_tests.rb +63 -0
  2903. data/tests/aws/requests/glacier/vault_tests.rb +35 -0
  2904. data/tests/aws/requests/iam/access_key_tests.rb +53 -0
  2905. data/tests/aws/requests/iam/group_policy_tests.rb +42 -0
  2906. data/tests/aws/requests/iam/group_tests.rb +44 -0
  2907. data/tests/aws/requests/iam/helper.rb +104 -0
  2908. data/tests/aws/requests/iam/login_profile_tests.rb +64 -0
  2909. data/tests/aws/requests/iam/role_tests.rb +168 -0
  2910. data/tests/aws/requests/iam/server_certificate_tests.rb +95 -0
  2911. data/tests/aws/requests/iam/user_policy_tests.rb +45 -0
  2912. data/tests/aws/requests/iam/user_tests.rb +76 -0
  2913. data/tests/aws/requests/rds/describe_events.rb +16 -0
  2914. data/tests/aws/requests/rds/helper.rb +236 -0
  2915. data/tests/aws/requests/rds/instance_tests.rb +125 -0
  2916. data/tests/aws/requests/rds/parameter_group_tests.rb +62 -0
  2917. data/tests/aws/requests/rds/parameter_request_tests.rb +35 -0
  2918. data/tests/aws/requests/rds/security_group_tests.rb +101 -0
  2919. data/tests/aws/requests/rds/subnet_groups_test.rb +48 -0
  2920. data/tests/aws/requests/rds/tagging_tests.rb +78 -0
  2921. data/tests/aws/requests/ses/helper.rb +15 -0
  2922. data/tests/aws/requests/ses/verified_email_address_tests.rb +27 -0
  2923. data/tests/aws/requests/simpledb/attributes_tests.rb +86 -0
  2924. data/tests/aws/requests/simpledb/domain_tests.rb +51 -0
  2925. data/tests/aws/requests/simpledb/helper.rb +16 -0
  2926. data/tests/aws/requests/sns/helper.rb +9 -0
  2927. data/tests/aws/requests/sns/subscription_tests.rb +86 -0
  2928. data/tests/aws/requests/sns/topic_tests.rb +50 -0
  2929. data/tests/aws/requests/sqs/helper.rb +15 -0
  2930. data/tests/aws/requests/sqs/message_tests.rb +51 -0
  2931. data/tests/aws/requests/sqs/queue_tests.rb +50 -0
  2932. data/tests/aws/requests/storage/acl_utils_tests.rb +209 -0
  2933. data/tests/aws/requests/storage/bucket_tests.rb +294 -0
  2934. data/tests/aws/requests/storage/multipart_upload_tests.rb +132 -0
  2935. data/tests/aws/requests/storage/object_tests.rb +165 -0
  2936. data/tests/aws/requests/storage/versioning_tests.rb +258 -0
  2937. data/tests/aws/requests/sts/get_federation_token_tests.rb +21 -0
  2938. data/tests/aws/requests/sts/session_token_tests.rb +16 -0
  2939. data/tests/aws/signaturev4_tests.rb +41 -0
  2940. data/tests/aws/signed_params_tests.rb +5 -0
  2941. data/tests/bluebox/requests/compute/block_tests.rb +82 -0
  2942. data/tests/bluebox/requests/compute/helper.rb +22 -0
  2943. data/tests/bluebox/requests/compute/location_tests.rb +32 -0
  2944. data/tests/bluebox/requests/compute/product_tests.rb +34 -0
  2945. data/tests/bluebox/requests/compute/template_tests.rb +37 -0
  2946. data/tests/bluebox/requests/dns/dns_tests.rb +259 -0
  2947. data/tests/brightbox/compute_tests.rb +101 -0
  2948. data/tests/brightbox/models/compute/account_tests.rb +15 -0
  2949. data/tests/brightbox/oauth2_tests.rb +103 -0
  2950. data/tests/brightbox/requests/compute/account_tests.rb +64 -0
  2951. data/tests/brightbox/requests/compute/api_client_tests.rb +64 -0
  2952. data/tests/brightbox/requests/compute/application_test.rb +63 -0
  2953. data/tests/brightbox/requests/compute/cloud_ip_tests.rb +86 -0
  2954. data/tests/brightbox/requests/compute/helper.rb +680 -0
  2955. data/tests/brightbox/requests/compute/image_tests.rb +60 -0
  2956. data/tests/brightbox/requests/compute/interface_tests.rb +45 -0
  2957. data/tests/brightbox/requests/compute/load_balancer_tests.rb +121 -0
  2958. data/tests/brightbox/requests/compute/server_group_tests.rb +96 -0
  2959. data/tests/brightbox/requests/compute/server_tests.rb +96 -0
  2960. data/tests/brightbox/requests/compute/server_type_tests.rb +34 -0
  2961. data/tests/brightbox/requests/compute/user_tests.rb +36 -0
  2962. data/tests/brightbox/requests/compute/zone_tests.rb +34 -0
  2963. data/tests/clodo/requests/compute/image_tests.rb +36 -0
  2964. data/tests/clodo/requests/compute/server_tests.rb +152 -0
  2965. data/tests/cloudstack/compute/models/security_group_rule_tests.rb +29 -0
  2966. data/tests/cloudstack/compute/models/security_group_tests.rb +16 -0
  2967. data/tests/cloudstack/compute/models/security_groups_tests.rb +19 -0
  2968. data/tests/cloudstack/compute/models/server_tests.rb +18 -0
  2969. data/tests/cloudstack/compute/models/volume_tests.rb +34 -0
  2970. data/tests/cloudstack/compute/models/volumes_tests.rb +17 -0
  2971. data/tests/cloudstack/requests/disk_offering_tests.rb +29 -0
  2972. data/tests/cloudstack/requests/os_type_tests.rb +38 -0
  2973. data/tests/cloudstack/requests/security_group_tests.rb +29 -0
  2974. data/tests/cloudstack/requests/service_offering_tests.rb +38 -0
  2975. data/tests/cloudstack/requests/snapshot_tests.rb +32 -0
  2976. data/tests/cloudstack/requests/ssh_key_pair_tests.rb +23 -0
  2977. data/tests/cloudstack/requests/template_tests.rb +53 -0
  2978. data/tests/cloudstack/requests/virtual_machine_tests.rb +71 -0
  2979. data/tests/cloudstack/requests/volume_tests.rb +48 -0
  2980. data/tests/cloudstack/requests/zone_tests.rb +33 -0
  2981. data/tests/cloudstack/signed_params_tests.rb +12 -0
  2982. data/tests/compute/helper.rb +102 -0
  2983. data/tests/compute/models/flavors_tests.rb +11 -0
  2984. data/tests/compute/models/server_tests.rb +20 -0
  2985. data/tests/compute/models/servers_tests.rb +10 -0
  2986. data/tests/core/attribute_tests.rb +83 -0
  2987. data/tests/core/credential_tests.rb +66 -0
  2988. data/tests/core/current_machine_tests.rb +32 -0
  2989. data/tests/core/mocking_tests.rb +60 -0
  2990. data/tests/core/parser_tests.rb +67 -0
  2991. data/tests/core/timeout_tests.rb +10 -0
  2992. data/tests/dns/helper.rb +52 -0
  2993. data/tests/dns/models/record_tests.rb +44 -0
  2994. data/tests/dns/models/records_tests.rb +30 -0
  2995. data/tests/dns/models/zone_tests.rb +18 -0
  2996. data/tests/dns/models/zones_tests.rb +18 -0
  2997. data/tests/dnsimple/requests/dns/dns_tests.rb +118 -0
  2998. data/tests/dnsmadeeasy/requests/dns/dns_tests.rb +138 -0
  2999. data/tests/dynect/requests/dns/dns_tests.rb +232 -0
  3000. data/tests/fixtures/changelog.txt +2436 -0
  3001. data/tests/glesys/requests/compute/helper.rb +266 -0
  3002. data/tests/glesys/requests/compute/ip_tests.rb +67 -0
  3003. data/tests/glesys/requests/compute/server_tests.rb +125 -0
  3004. data/tests/glesys/requests/compute/template_tests.rb +12 -0
  3005. data/tests/go_grid/requests/compute/image_tests.rb +0 -0
  3006. data/tests/google/requests/storage/bucket_tests.rb +77 -0
  3007. data/tests/google/requests/storage/object_tests.rb +81 -0
  3008. data/tests/helper.rb +38 -0
  3009. data/tests/helpers/collection_helper.rb +59 -0
  3010. data/tests/helpers/compute/flavors_helper.rb +34 -0
  3011. data/tests/helpers/compute/server_helper.rb +26 -0
  3012. data/tests/helpers/compute/servers_helper.rb +11 -0
  3013. data/tests/helpers/formats_helper.rb +86 -0
  3014. data/tests/helpers/formats_helper_tests.rb +60 -0
  3015. data/tests/helpers/mock_helper.rb +89 -0
  3016. data/tests/helpers/model_helper.rb +35 -0
  3017. data/tests/helpers/responds_to_helper.rb +13 -0
  3018. data/tests/helpers/succeeds_helper.rb +11 -0
  3019. data/tests/hp/models/compute/address_tests.rb +18 -0
  3020. data/tests/hp/models/compute/addresses_tests.rb +5 -0
  3021. data/tests/hp/models/compute/key_pair_tests.rb +27 -0
  3022. data/tests/hp/models/compute/key_pairs_tests.rb +5 -0
  3023. data/tests/hp/models/compute/security_group_tests.rb +36 -0
  3024. data/tests/hp/models/compute/security_groups_tests.rb +5 -0
  3025. data/tests/hp/requests/cdn/container_tests.rb +56 -0
  3026. data/tests/hp/requests/compute/address_tests.rb +73 -0
  3027. data/tests/hp/requests/compute/flavor_tests.rb +45 -0
  3028. data/tests/hp/requests/compute/image_tests.rb +79 -0
  3029. data/tests/hp/requests/compute/key_pair_tests.rb +65 -0
  3030. data/tests/hp/requests/compute/security_group_rule_tests.rb +54 -0
  3031. data/tests/hp/requests/compute/security_group_tests.rb +64 -0
  3032. data/tests/hp/requests/compute/server_address_tests.rb +45 -0
  3033. data/tests/hp/requests/compute/server_tests.rb +127 -0
  3034. data/tests/hp/requests/storage/container_tests.rb +78 -0
  3035. data/tests/hp/requests/storage/object_tests.rb +81 -0
  3036. data/tests/ibm/models/compute/image_tests.rb +25 -0
  3037. data/tests/ibm/models/compute/key_tests.rb +23 -0
  3038. data/tests/ibm/models/compute/keys_tests.rb +35 -0
  3039. data/tests/ibm/models/compute/locations_tests.rb +18 -0
  3040. data/tests/ibm/models/compute/server_tests.rb +88 -0
  3041. data/tests/ibm/models/compute/servers_tests.rb +37 -0
  3042. data/tests/ibm/models/storage/volume_tests.rb +60 -0
  3043. data/tests/ibm/requests/compute/address_tests.rb +44 -0
  3044. data/tests/ibm/requests/compute/image_tests.rb +110 -0
  3045. data/tests/ibm/requests/compute/instance_tests.rb +102 -0
  3046. data/tests/ibm/requests/compute/key_tests.rb +50 -0
  3047. data/tests/ibm/requests/compute/location_tests.rb +28 -0
  3048. data/tests/ibm/requests/compute/vlan_tests.rb +21 -0
  3049. data/tests/ibm/requests/storage/volume_tests.rb +100 -0
  3050. data/tests/joyent/requests/compute/datasets_tests.rb +58 -0
  3051. data/tests/joyent/requests/compute/keys_tests.rb +47 -0
  3052. data/tests/joyent/requests/compute/machines_tests.rb +67 -0
  3053. data/tests/joyent/requests/compute/packages_tests.rb +68 -0
  3054. data/tests/libvirt/compute_tests.rb +17 -0
  3055. data/tests/libvirt/models/compute/interface_tests.rb +27 -0
  3056. data/tests/libvirt/models/compute/interfaces_tests.rb +14 -0
  3057. data/tests/libvirt/models/compute/network_tests.rb +27 -0
  3058. data/tests/libvirt/models/compute/networks_tests.rb +13 -0
  3059. data/tests/libvirt/models/compute/nic_tests.rb +31 -0
  3060. data/tests/libvirt/models/compute/nics_tests.rb +10 -0
  3061. data/tests/libvirt/models/compute/pool_tests.rb +27 -0
  3062. data/tests/libvirt/models/compute/pools_tests.rb +13 -0
  3063. data/tests/libvirt/models/compute/server_tests.rb +58 -0
  3064. data/tests/libvirt/models/compute/servers_tests.rb +14 -0
  3065. data/tests/libvirt/models/compute/volume_tests.rb +30 -0
  3066. data/tests/libvirt/models/compute/volumes_tests.rb +14 -0
  3067. data/tests/libvirt/requests/compute/create_domain_tests.rb +21 -0
  3068. data/tests/libvirt/requests/compute/define_domain_tests.rb +11 -0
  3069. data/tests/libvirt/requests/compute/update_display.rb +13 -0
  3070. data/tests/linode/requests/compute/datacenter_tests.rb +19 -0
  3071. data/tests/linode/requests/compute/distribution_tests.rb +32 -0
  3072. data/tests/linode/requests/compute/helper.rb +16 -0
  3073. data/tests/linode/requests/compute/kernel_tests.rb +27 -0
  3074. data/tests/linode/requests/compute/linode_tests.rb +143 -0
  3075. data/tests/linode/requests/compute/linodeplans_tests.rb +40 -0
  3076. data/tests/linode/requests/compute/stackscripts_tests.rb +36 -0
  3077. data/tests/linode/requests/dns/dns_tests.rb +250 -0
  3078. data/tests/local/models/directory_tests.rb +16 -0
  3079. data/tests/local/models/file_tests.rb +43 -0
  3080. data/tests/local/storage_tests.rb +40 -0
  3081. data/tests/lorem.txt +1 -0
  3082. data/tests/ninefold/models/storage/file_update_tests.rb +19 -0
  3083. data/tests/ninefold/models/storage/nested_directories_tests.rb +23 -0
  3084. data/tests/ninefold/requests/compute/address_tests.rb +42 -0
  3085. data/tests/ninefold/requests/compute/async_job_tests.rb +33 -0
  3086. data/tests/ninefold/requests/compute/helper.rb +370 -0
  3087. data/tests/ninefold/requests/compute/list_tests.rb +56 -0
  3088. data/tests/ninefold/requests/compute/load_balancer_tests.rb +66 -0
  3089. data/tests/ninefold/requests/compute/nat_tests.rb +92 -0
  3090. data/tests/ninefold/requests/compute/network_tests.rb +21 -0
  3091. data/tests/ninefold/requests/compute/template_tests.rb +21 -0
  3092. data/tests/ninefold/requests/compute/virtual_machine_tests.rb +69 -0
  3093. data/tests/openstack/models/identity/role_tests.rb +27 -0
  3094. data/tests/openstack/models/identity/roles_tests.rb +19 -0
  3095. data/tests/openstack/models/identity/tenant_tests.rb +24 -0
  3096. data/tests/openstack/models/identity/tenants_tests.rb +26 -0
  3097. data/tests/openstack/models/identity/user_tests.rb +46 -0
  3098. data/tests/openstack/models/identity/users_tests.rb +33 -0
  3099. data/tests/openstack/models/image/image_tests.rb +36 -0
  3100. data/tests/openstack/models/image/images_tests.rb +14 -0
  3101. data/tests/openstack/models/network/network_tests.rb +24 -0
  3102. data/tests/openstack/models/network/networks_tests.rb +21 -0
  3103. data/tests/openstack/models/network/port_tests.rb +28 -0
  3104. data/tests/openstack/models/network/ports_tests.rb +25 -0
  3105. data/tests/openstack/models/network/subnet_tests.rb +30 -0
  3106. data/tests/openstack/models/network/subnets_tests.rb +27 -0
  3107. data/tests/openstack/requests/compute/address_tests.rb +52 -0
  3108. data/tests/openstack/requests/compute/flavor_tests.rb +50 -0
  3109. data/tests/openstack/requests/compute/helper.rb +17 -0
  3110. data/tests/openstack/requests/compute/image_tests.rb +58 -0
  3111. data/tests/openstack/requests/compute/keypair_tests.rb +30 -0
  3112. data/tests/openstack/requests/compute/limit_tests.rb +60 -0
  3113. data/tests/openstack/requests/compute/quota_tests.rb +59 -0
  3114. data/tests/openstack/requests/compute/security_group_tests.rb +51 -0
  3115. data/tests/openstack/requests/compute/server_tests.rb +144 -0
  3116. data/tests/openstack/requests/compute/tenant_tests.rb +19 -0
  3117. data/tests/openstack/requests/compute/volume_tests.rb +38 -0
  3118. data/tests/openstack/requests/identity/role_tests.rb +41 -0
  3119. data/tests/openstack/requests/identity/tenant_tests.rb +54 -0
  3120. data/tests/openstack/requests/identity/user_tests.rb +29 -0
  3121. data/tests/openstack/requests/image/image_tests.rb +119 -0
  3122. data/tests/openstack/requests/network/network_tests.rb +56 -0
  3123. data/tests/openstack/requests/network/port_tests.rb +63 -0
  3124. data/tests/openstack/requests/network/subnet_tests.rb +66 -0
  3125. data/tests/ovirt/compute_tests.rb +24 -0
  3126. data/tests/ovirt/models/compute/cluster_tests.rb +31 -0
  3127. data/tests/ovirt/models/compute/clusters_tests.rb +9 -0
  3128. data/tests/ovirt/models/compute/interface_tests.rb +27 -0
  3129. data/tests/ovirt/models/compute/interfaces_tests.rb +9 -0
  3130. data/tests/ovirt/models/compute/server_tests.rb +51 -0
  3131. data/tests/ovirt/models/compute/servers_tests.rb +14 -0
  3132. data/tests/ovirt/models/compute/template_tests.rb +28 -0
  3133. data/tests/ovirt/models/compute/templates_tests.rb +9 -0
  3134. data/tests/ovirt/requests/compute/create_vm_tests.rb +26 -0
  3135. data/tests/ovirt/requests/compute/destroy_vm_tests.rb +18 -0
  3136. data/tests/ovirt/requests/compute/list_datacenters_tests.rb +13 -0
  3137. data/tests/ovirt/requests/compute/list_storage_domains_tests.rb +13 -0
  3138. data/tests/ovirt/requests/compute/update_vm_tests.rb +18 -0
  3139. data/tests/rackspace/databases_tests.rb +26 -0
  3140. data/tests/rackspace/helper.rb +24 -0
  3141. data/tests/rackspace/load_balancer_tests.rb +21 -0
  3142. data/tests/rackspace/models/block_storage/snapshot_tests.rb +20 -0
  3143. data/tests/rackspace/models/block_storage/snapshots_tests.rb +20 -0
  3144. data/tests/rackspace/models/block_storage/volume_tests.rb +27 -0
  3145. data/tests/rackspace/models/block_storage/volume_types_tests.rb +20 -0
  3146. data/tests/rackspace/models/block_storage/volumes_tests.rb +11 -0
  3147. data/tests/rackspace/models/compute_v2/flavors_tests.rb +20 -0
  3148. data/tests/rackspace/models/compute_v2/images_tests.rb +22 -0
  3149. data/tests/rackspace/models/compute_v2/server_tests.rb +62 -0
  3150. data/tests/rackspace/models/compute_v2/servers_tests.rb +20 -0
  3151. data/tests/rackspace/models/databases/database_tests.rb +17 -0
  3152. data/tests/rackspace/models/databases/databases_tests.rb +17 -0
  3153. data/tests/rackspace/models/databases/flavors_tests.rb +20 -0
  3154. data/tests/rackspace/models/databases/instance_tests.rb +43 -0
  3155. data/tests/rackspace/models/databases/instances_tests.rb +14 -0
  3156. data/tests/rackspace/models/databases/user_tests.rb +21 -0
  3157. data/tests/rackspace/models/databases/users_tests.rb +21 -0
  3158. data/tests/rackspace/models/dns/zone_tests.rb +14 -0
  3159. data/tests/rackspace/models/identity/credentials_tests.rb +16 -0
  3160. data/tests/rackspace/models/identity/roles_tests.rb +16 -0
  3161. data/tests/rackspace/models/identity/tenants_tests.rb +21 -0
  3162. data/tests/rackspace/models/identity/user_tests.rb +17 -0
  3163. data/tests/rackspace/models/identity/users_tests.rb +17 -0
  3164. data/tests/rackspace/models/load_balancers/access_list_tests.rb +12 -0
  3165. data/tests/rackspace/models/load_balancers/access_lists_tests.rb +12 -0
  3166. data/tests/rackspace/models/load_balancers/load_balancer_tests.rb +173 -0
  3167. data/tests/rackspace/models/load_balancers/load_balancers_tests.rb +19 -0
  3168. data/tests/rackspace/models/load_balancers/node_tests.rb +19 -0
  3169. data/tests/rackspace/models/load_balancers/nodes_tests.rb +12 -0
  3170. data/tests/rackspace/models/load_balancers/virtual_ip_tests.rb +16 -0
  3171. data/tests/rackspace/models/load_balancers/virtual_ips_tests.rb +12 -0
  3172. data/tests/rackspace/models/storage/file_tests.rb +172 -0
  3173. data/tests/rackspace/requests/block_storage/snapshot_tests.rb +81 -0
  3174. data/tests/rackspace/requests/block_storage/volume_tests.rb +61 -0
  3175. data/tests/rackspace/requests/block_storage/volume_type_tests.rb +31 -0
  3176. data/tests/rackspace/requests/compute/address_tests.rb +40 -0
  3177. data/tests/rackspace/requests/compute/flavor_tests.rb +38 -0
  3178. data/tests/rackspace/requests/compute/helper.rb +16 -0
  3179. data/tests/rackspace/requests/compute/image_tests.rb +68 -0
  3180. data/tests/rackspace/requests/compute/resize_tests.rb +33 -0
  3181. data/tests/rackspace/requests/compute/server_tests.rb +92 -0
  3182. data/tests/rackspace/requests/compute_v2/attachment_tests.rb +68 -0
  3183. data/tests/rackspace/requests/compute_v2/flavor_tests.rb +43 -0
  3184. data/tests/rackspace/requests/compute_v2/image_tests.rb +47 -0
  3185. data/tests/rackspace/requests/compute_v2/server_tests.rb +147 -0
  3186. data/tests/rackspace/requests/databases/database_tests.rb +36 -0
  3187. data/tests/rackspace/requests/databases/flavor_tests.rb +16 -0
  3188. data/tests/rackspace/requests/databases/helper.rb +84 -0
  3189. data/tests/rackspace/requests/databases/instance_tests.rb +77 -0
  3190. data/tests/rackspace/requests/databases/user_tests.rb +37 -0
  3191. data/tests/rackspace/requests/dns/dns_tests.rb +125 -0
  3192. data/tests/rackspace/requests/dns/helper.rb +126 -0
  3193. data/tests/rackspace/requests/dns/records_tests.rb +83 -0
  3194. data/tests/rackspace/requests/identity/tenants_tests.rb +21 -0
  3195. data/tests/rackspace/requests/identity/token_tests.rb +63 -0
  3196. data/tests/rackspace/requests/identity/user_tests.rb +107 -0
  3197. data/tests/rackspace/requests/load_balancers/access_list_tests.rb +56 -0
  3198. data/tests/rackspace/requests/load_balancers/algorithm_tests.rb +19 -0
  3199. data/tests/rackspace/requests/load_balancers/connection_logging_tests.rb +25 -0
  3200. data/tests/rackspace/requests/load_balancers/connection_throttling_tests.rb +37 -0
  3201. data/tests/rackspace/requests/load_balancers/error_page_tests.rb +31 -0
  3202. data/tests/rackspace/requests/load_balancers/helper.rb +216 -0
  3203. data/tests/rackspace/requests/load_balancers/load_balancer_tests.rb +75 -0
  3204. data/tests/rackspace/requests/load_balancers/load_balancer_usage_tests.rb +19 -0
  3205. data/tests/rackspace/requests/load_balancers/monitor_tests.rb +46 -0
  3206. data/tests/rackspace/requests/load_balancers/node_tests.rb +86 -0
  3207. data/tests/rackspace/requests/load_balancers/protocol_tests.rb +21 -0
  3208. data/tests/rackspace/requests/load_balancers/session_persistence_tests.rb +33 -0
  3209. data/tests/rackspace/requests/load_balancers/ssl_termination_tests.rb +38 -0
  3210. data/tests/rackspace/requests/load_balancers/usage_tests.rb +17 -0
  3211. data/tests/rackspace/requests/load_balancers/virtual_ip_tests.rb +40 -0
  3212. data/tests/rackspace/requests/storage/account_tests.rb +17 -0
  3213. data/tests/rackspace/requests/storage/container_tests.rb +64 -0
  3214. data/tests/rackspace/requests/storage/large_object_tests.rb +47 -0
  3215. data/tests/rackspace/requests/storage/object_tests.rb +117 -0
  3216. data/tests/rackspace/url_encoding_tests.rb +3 -0
  3217. data/tests/serverlove/requests/compute/image_tests.rb +57 -0
  3218. data/tests/serverlove/requests/compute/server_tests.rb +85 -0
  3219. data/tests/serverlove/util/compute/password_generator_tests.rb +19 -0
  3220. data/tests/storage/helper.rb +22 -0
  3221. data/tests/storage/models/directories_tests.rb +17 -0
  3222. data/tests/storage/models/directory_test.rb +29 -0
  3223. data/tests/storage/models/file_tests.rb +41 -0
  3224. data/tests/storage/models/files_tests.rb +26 -0
  3225. data/tests/storm_on_demand/requests/compute/server_tests.rb +64 -0
  3226. data/tests/vcloud/data/api_+_admin_+_network_+_2 +110 -0
  3227. data/tests/vcloud/data/api_+_network_+_1 +44 -0
  3228. data/tests/vcloud/data/api_+_org_+_ +5 -0
  3229. data/tests/vcloud/data/api_+_org_+_1 +17 -0
  3230. data/tests/vcloud/data/api_+_sessions +8 -0
  3231. data/tests/vcloud/data/api_+_v1.0_+_admin_+_network_+_2 +110 -0
  3232. data/tests/vcloud/data/api_+_v1.0_+_login +5 -0
  3233. data/tests/vcloud/data/api_+_v1.0_+_network_+_1 +44 -0
  3234. data/tests/vcloud/data/api_+_v1.0_+_network_+_2 +31 -0
  3235. data/tests/vcloud/data/api_+_v1.0_+_org_+_1 +17 -0
  3236. data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vapp-1 +369 -0
  3237. data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-1 +139 -0
  3238. data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-2 +155 -0
  3239. data/tests/vcloud/data/api_+_v1.0_+_vdc_+_1 +61 -0
  3240. data/tests/vcloud/data/api_+_vApp_+_vapp-1 +369 -0
  3241. data/tests/vcloud/data/api_+_vApp_+_vm-2 +155 -0
  3242. data/tests/vcloud/data/api_+_vdc_+_1 +61 -0
  3243. data/tests/vcloud/models/compute/conn_helper.rb +20 -0
  3244. data/tests/vcloud/models/compute/helper.rb +25 -0
  3245. data/tests/vcloud/models/compute/network_tests.rb +67 -0
  3246. data/tests/vcloud/models/compute/networks_tests.rb +61 -0
  3247. data/tests/vcloud/models/compute/organization_tests.rb +20 -0
  3248. data/tests/vcloud/models/compute/organizations_tests.rb +16 -0
  3249. data/tests/vcloud/models/compute/server_tests.rb +142 -0
  3250. data/tests/vcloud/models/compute/servers_tests.rb +23 -0
  3251. data/tests/vcloud/models/compute/vapp_tests.rb +32 -0
  3252. data/tests/vcloud/models/compute/vapps_tests.rb +19 -0
  3253. data/tests/vcloud/models/compute/vdc_tests.rb +48 -0
  3254. data/tests/vcloud/models/compute/vdcs_tests.rb +24 -0
  3255. data/tests/vcloud/requests/compute/disk_configure_tests.rb +114 -0
  3256. data/tests/voxel/requests/compute/image_tests.rb +52 -0
  3257. data/tests/voxel/requests/compute/server_tests.rb +123 -0
  3258. data/tests/vsphere/compute_tests.rb +55 -0
  3259. data/tests/vsphere/models/compute/server_tests.rb +44 -0
  3260. data/tests/vsphere/models/compute/servers_tests.rb +15 -0
  3261. data/tests/vsphere/requests/compute/current_time_tests.rb +12 -0
  3262. data/tests/vsphere/requests/compute/list_virtual_machines_tests.rb +38 -0
  3263. data/tests/vsphere/requests/compute/vm_clone_tests.rb +32 -0
  3264. data/tests/vsphere/requests/compute/vm_config_vnc_tests.rb +19 -0
  3265. data/tests/vsphere/requests/compute/vm_destroy_tests.rb +17 -0
  3266. data/tests/vsphere/requests/compute/vm_migrate_tests.rb +16 -0
  3267. data/tests/vsphere/requests/compute/vm_power_off_tests.rb +26 -0
  3268. data/tests/vsphere/requests/compute/vm_power_on_tests.rb +17 -0
  3269. data/tests/vsphere/requests/compute/vm_reboot_tests.rb +26 -0
  3270. data/tests/vsphere/requests/compute/vm_reconfig_cpus_tests.rb +19 -0
  3271. data/tests/vsphere/requests/compute/vm_reconfig_hardware_tests.rb +19 -0
  3272. data/tests/vsphere/requests/compute/vm_reconfig_memory_tests.rb +19 -0
  3273. data/tests/watchr.rb +22 -0
  3274. data/tests/xenserver/README +21 -0
  3275. data/tests/xenserver/compute_tests.rb +52 -0
  3276. data/tests/xenserver/helper.rb +36 -0
  3277. data/tests/xenserver/models/compute/host_tests.rb +68 -0
  3278. data/tests/xenserver/models/compute/hosts_tests.rb +22 -0
  3279. data/tests/xenserver/models/compute/network_tests.rb +67 -0
  3280. data/tests/xenserver/models/compute/networks_tests.rb +22 -0
  3281. data/tests/xenserver/models/compute/pbd_tests.rb +44 -0
  3282. data/tests/xenserver/models/compute/pbds_tests.rb +22 -0
  3283. data/tests/xenserver/models/compute/pif_tests.rb +58 -0
  3284. data/tests/xenserver/models/compute/pifs_tests.rb +22 -0
  3285. data/tests/xenserver/models/compute/pool_tests.rb +50 -0
  3286. data/tests/xenserver/models/compute/pools_tests.rb +30 -0
  3287. data/tests/xenserver/models/compute/server_tests.rb +167 -0
  3288. data/tests/xenserver/models/compute/servers_tests.rb +88 -0
  3289. data/tests/xenserver/models/compute/storage_repositories_tests.rb +30 -0
  3290. data/tests/xenserver/models/compute/storage_repository_tests.rb +63 -0
  3291. data/tests/xenserver/models/compute/vbd_tests.rb +115 -0
  3292. data/tests/xenserver/models/compute/vbds_tests.rb +22 -0
  3293. data/tests/xenserver/models/compute/vif_tests.rb +53 -0
  3294. data/tests/xenserver/models/compute/vifs_tests.rb +22 -0
  3295. data/tests/xenserver/requests/compute/clone_server_tests.rb +32 -0
  3296. data/tests/xenserver/requests/compute/create_server_tests.rb +129 -0
  3297. data/tests/xenserver/requests/compute/create_vdi_tests.rb +80 -0
  3298. data/tests/xenserver/requests/compute/create_vif_tests.rb +88 -0
  3299. data/tests/xenserver/requests/compute/destroy_vdi_tests.rb +25 -0
  3300. data/tests/xenserver/requests/compute/get_record_tests.rb +15 -0
  3301. data/tests/xenserver/requests/compute/set_attribute_tests.rb +66 -0
  3302. data/tests/xenserver/xenserver_tests.rb +34 -0
  3303. data/tests/zerigo/requests/dns/dns_tests.rb +373 -0
  3304. metadata +4180 -0
@@ -0,0 +1,39 @@
1
+ /*
2
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.net/yui/license.txt
5
+ version: 2.7.0
6
+ */
7
+ if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={};}YAHOO.namespace=function(){var A=arguments,E=null,C,B,D;for(C=0;C<A.length;C=C+1){D=(""+A[C]).split(".");E=YAHOO;for(B=(D[0]=="YAHOO")?1:0;B<D.length;B=B+1){E[D[B]]=E[D[B]]||{};E=E[D[B]];}}return E;};YAHOO.log=function(D,A,C){var B=YAHOO.widget.Logger;if(B&&B.log){return B.log(D,A,C);}else{return false;}};YAHOO.register=function(A,E,D){var I=YAHOO.env.modules,B,H,G,F,C;if(!I[A]){I[A]={versions:[],builds:[]};}B=I[A];H=D.version;G=D.build;F=YAHOO.env.listeners;B.name=A;B.version=H;B.build=G;B.versions.push(H);B.builds.push(G);B.mainClass=E;for(C=0;C<F.length;C=C+1){F[C](B);}if(E){E.VERSION=H;E.BUILD=G;}else{YAHOO.log("mainClass is undefined for module "+A,"warn");}};YAHOO.env=YAHOO.env||{modules:[],listeners:[]};YAHOO.env.getVersion=function(A){return YAHOO.env.modules[A]||null;};YAHOO.env.ua=function(){var C={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0,caja:0},B=navigator.userAgent,A;if((/KHTML/).test(B)){C.webkit=1;}A=B.match(/AppleWebKit\/([^\s]*)/);if(A&&A[1]){C.webkit=parseFloat(A[1]);if(/ Mobile\//.test(B)){C.mobile="Apple";}else{A=B.match(/NokiaN[^\/]*/);if(A){C.mobile=A[0];}}A=B.match(/AdobeAIR\/([^\s]*)/);if(A){C.air=A[0];}}if(!C.webkit){A=B.match(/Opera[\s\/]([^\s]*)/);if(A&&A[1]){C.opera=parseFloat(A[1]);A=B.match(/Opera Mini[^;]*/);if(A){C.mobile=A[0];}}else{A=B.match(/MSIE\s([^;]*)/);if(A&&A[1]){C.ie=parseFloat(A[1]);}else{A=B.match(/Gecko\/([^\s]*)/);if(A){C.gecko=1;A=B.match(/rv:([^\s\)]*)/);if(A&&A[1]){C.gecko=parseFloat(A[1]);}}}}}A=B.match(/Caja\/([^\s]*)/);if(A&&A[1]){C.caja=parseFloat(A[1]);}return C;}();(function(){YAHOO.namespace("util","widget","example");if("undefined"!==typeof YAHOO_config){var B=YAHOO_config.listener,A=YAHOO.env.listeners,D=true,C;if(B){for(C=0;C<A.length;C=C+1){if(A[C]==B){D=false;break;}}if(D){A.push(B);}}}})();YAHOO.lang=YAHOO.lang||{};(function(){var B=YAHOO.lang,F="[object Array]",C="[object Function]",A=Object.prototype,E=["toString","valueOf"],D={isArray:function(G){return A.toString.apply(G)===F;},isBoolean:function(G){return typeof G==="boolean";},isFunction:function(G){return A.toString.apply(G)===C;},isNull:function(G){return G===null;},isNumber:function(G){return typeof G==="number"&&isFinite(G);},isObject:function(G){return(G&&(typeof G==="object"||B.isFunction(G)))||false;},isString:function(G){return typeof G==="string";},isUndefined:function(G){return typeof G==="undefined";},_IEEnumFix:(YAHOO.env.ua.ie)?function(I,H){var G,K,J;for(G=0;G<E.length;G=G+1){K=E[G];J=H[K];if(B.isFunction(J)&&J!=A[K]){I[K]=J;}}}:function(){},extend:function(J,K,I){if(!K||!J){throw new Error("extend failed, please check that "+"all dependencies are included.");}var H=function(){},G;H.prototype=K.prototype;J.prototype=new H();J.prototype.constructor=J;J.superclass=K.prototype;if(K.prototype.constructor==A.constructor){K.prototype.constructor=K;}if(I){for(G in I){if(B.hasOwnProperty(I,G)){J.prototype[G]=I[G];}}B._IEEnumFix(J.prototype,I);}},augmentObject:function(K,J){if(!J||!K){throw new Error("Absorb failed, verify dependencies.");}var G=arguments,I,L,H=G[2];if(H&&H!==true){for(I=2;I<G.length;I=I+1){K[G[I]]=J[G[I]];}}else{for(L in J){if(H||!(L in K)){K[L]=J[L];}}B._IEEnumFix(K,J);}},augmentProto:function(J,I){if(!I||!J){throw new Error("Augment failed, verify dependencies.");}var G=[J.prototype,I.prototype],H;for(H=2;H<arguments.length;H=H+1){G.push(arguments[H]);}B.augmentObject.apply(this,G);},dump:function(G,L){var I,K,N=[],O="{...}",H="f(){...}",M=", ",J=" => ";if(!B.isObject(G)){return G+"";}else{if(G instanceof Date||("nodeType" in G&&"tagName" in G)){return G;}else{if(B.isFunction(G)){return H;}}}L=(B.isNumber(L))?L:3;if(B.isArray(G)){N.push("[");for(I=0,K=G.length;I<K;I=I+1){if(B.isObject(G[I])){N.push((L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}if(N.length>1){N.pop();}N.push("]");}else{N.push("{");for(I in G){if(B.hasOwnProperty(G,I)){N.push(I+J);if(B.isObject(G[I])){N.push((L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}}if(N.length>1){N.pop();}N.push("}");}return N.join("");},substitute:function(V,H,O){var L,K,J,R,S,U,Q=[],I,M="dump",P=" ",G="{",T="}",N;for(;;){L=V.lastIndexOf(G);if(L<0){break;}K=V.indexOf(T,L);if(L+1>=K){break;}I=V.substring(L+1,K);R=I;U=null;J=R.indexOf(P);if(J>-1){U=R.substring(J+1);R=R.substring(0,J);}S=H[R];if(O){S=O(R,S,U);}if(B.isObject(S)){if(B.isArray(S)){S=B.dump(S,parseInt(U,10));}else{U=U||"";N=U.indexOf(M);if(N>-1){U=U.substring(4);}if(S.toString===A.toString||N>-1){S=B.dump(S,parseInt(U,10));}else{S=S.toString();}}}else{if(!B.isString(S)&&!B.isNumber(S)){S="~-"+Q.length+"-~";Q[Q.length]=I;}}V=V.substring(0,L)+S+V.substring(K+1);}for(L=Q.length-1;L>=0;L=L-1){V=V.replace(new RegExp("~-"+L+"-~"),"{"+Q[L]+"}","g");}return V;},trim:function(G){try{return G.replace(/^\s+|\s+$/g,"");}catch(H){return G;}},merge:function(){var J={},H=arguments,G=H.length,I;for(I=0;I<G;I=I+1){B.augmentObject(J,H[I],true);}return J;},later:function(N,H,O,J,K){N=N||0;H=H||{};var I=O,M=J,L,G;if(B.isString(O)){I=H[O];}if(!I){throw new TypeError("method undefined");}if(!B.isArray(M)){M=[J];}L=function(){I.apply(H,M);};G=(K)?setInterval(L,N):setTimeout(L,N);return{interval:K,cancel:function(){if(this.interval){clearInterval(G);}else{clearTimeout(G);}}};},isValue:function(G){return(B.isObject(G)||B.isString(G)||B.isNumber(G)||B.isBoolean(G));}};B.hasOwnProperty=(A.hasOwnProperty)?function(G,H){return G&&G.hasOwnProperty(H);}:function(G,H){return !B.isUndefined(G[H])&&G.constructor.prototype[H]!==G[H];};D.augmentObject(B,D,true);YAHOO.util.Lang=B;B.augment=B.augmentProto;YAHOO.augment=B.augmentProto;YAHOO.extend=B.extend;})();YAHOO.register("yahoo",YAHOO,{version:"2.7.0",build:"1796"});YAHOO.util.Get=function(){var M={},L=0,R=0,E=false,N=YAHOO.env.ua,S=YAHOO.lang;var J=function(W,T,X){var U=X||window,Y=U.document,Z=Y.createElement(W);for(var V in T){if(T[V]&&YAHOO.lang.hasOwnProperty(T,V)){Z.setAttribute(V,T[V]);}}return Z;};var I=function(T,U,W){var V=W||"utf-8";return J("link",{"id":"yui__dyn_"+(R++),"type":"text/css","charset":V,"rel":"stylesheet","href":T},U);
8
+ };var P=function(T,U,W){var V=W||"utf-8";return J("script",{"id":"yui__dyn_"+(R++),"type":"text/javascript","charset":V,"src":T},U);};var A=function(T,U){return{tId:T.tId,win:T.win,data:T.data,nodes:T.nodes,msg:U,purge:function(){D(this.tId);}};};var B=function(T,W){var U=M[W],V=(S.isString(T))?U.win.document.getElementById(T):T;if(!V){Q(W,"target node not found: "+T);}return V;};var Q=function(W,V){var T=M[W];if(T.onFailure){var U=T.scope||T.win;T.onFailure.call(U,A(T,V));}};var C=function(W){var T=M[W];T.finished=true;if(T.aborted){var V="transaction "+W+" was aborted";Q(W,V);return;}if(T.onSuccess){var U=T.scope||T.win;T.onSuccess.call(U,A(T));}};var O=function(V){var T=M[V];if(T.onTimeout){var U=T.scope||T;T.onTimeout.call(U,A(T));}};var G=function(V,Z){var U=M[V];if(U.timer){U.timer.cancel();}if(U.aborted){var X="transaction "+V+" was aborted";Q(V,X);return;}if(Z){U.url.shift();if(U.varName){U.varName.shift();}}else{U.url=(S.isString(U.url))?[U.url]:U.url;if(U.varName){U.varName=(S.isString(U.varName))?[U.varName]:U.varName;}}var c=U.win,b=c.document,a=b.getElementsByTagName("head")[0],W;if(U.url.length===0){if(U.type==="script"&&N.webkit&&N.webkit<420&&!U.finalpass&&!U.varName){var Y=P(null,U.win,U.charset);Y.innerHTML='YAHOO.util.Get._finalize("'+V+'");';U.nodes.push(Y);a.appendChild(Y);}else{C(V);}return;}var T=U.url[0];if(!T){U.url.shift();return G(V);}if(U.timeout){U.timer=S.later(U.timeout,U,O,V);}if(U.type==="script"){W=P(T,c,U.charset);}else{W=I(T,c,U.charset);}F(U.type,W,V,T,c,U.url.length);U.nodes.push(W);if(U.insertBefore){var e=B(U.insertBefore,V);if(e){e.parentNode.insertBefore(W,e);}}else{a.appendChild(W);}if((N.webkit||N.gecko)&&U.type==="css"){G(V,T);}};var K=function(){if(E){return;}E=true;for(var T in M){var U=M[T];if(U.autopurge&&U.finished){D(U.tId);delete M[T];}}E=false;};var D=function(a){var X=M[a];if(X){var Z=X.nodes,T=Z.length,Y=X.win.document,W=Y.getElementsByTagName("head")[0];if(X.insertBefore){var V=B(X.insertBefore,a);if(V){W=V.parentNode;}}for(var U=0;U<T;U=U+1){W.removeChild(Z[U]);}X.nodes=[];}};var H=function(U,T,V){var X="q"+(L++);V=V||{};if(L%YAHOO.util.Get.PURGE_THRESH===0){K();}M[X]=S.merge(V,{tId:X,type:U,url:T,finished:false,aborted:false,nodes:[]});var W=M[X];W.win=W.win||window;W.scope=W.scope||W.win;W.autopurge=("autopurge" in W)?W.autopurge:(U==="script")?true:false;S.later(0,W,G,X);return{tId:X};};var F=function(c,X,W,U,Y,Z,b){var a=b||G;if(N.ie){X.onreadystatechange=function(){var d=this.readyState;if("loaded"===d||"complete"===d){X.onreadystatechange=null;a(W,U);}};}else{if(N.webkit){if(c==="script"){if(N.webkit>=420){X.addEventListener("load",function(){a(W,U);});}else{var T=M[W];if(T.varName){var V=YAHOO.util.Get.POLL_FREQ;T.maxattempts=YAHOO.util.Get.TIMEOUT/V;T.attempts=0;T._cache=T.varName[0].split(".");T.timer=S.later(V,T,function(j){var f=this._cache,e=f.length,d=this.win,g;for(g=0;g<e;g=g+1){d=d[f[g]];if(!d){this.attempts++;if(this.attempts++>this.maxattempts){var h="Over retry limit, giving up";T.timer.cancel();Q(W,h);}else{}return;}}T.timer.cancel();a(W,U);},null,true);}else{S.later(YAHOO.util.Get.POLL_FREQ,null,a,[W,U]);}}}}else{X.onload=function(){a(W,U);};}}};return{POLL_FREQ:10,PURGE_THRESH:20,TIMEOUT:2000,_finalize:function(T){S.later(0,null,C,T);},abort:function(U){var V=(S.isString(U))?U:U.tId;var T=M[V];if(T){T.aborted=true;}},script:function(T,U){return H("script",T,U);},css:function(T,U){return H("css",T,U);}};}();YAHOO.register("get",YAHOO.util.Get,{version:"2.7.0",build:"1796"});(function(){var Y=YAHOO,util=Y.util,lang=Y.lang,env=Y.env,PROV="_provides",SUPER="_supersedes",REQ="expanded",AFTER="_after";var YUI={dupsAllowed:{"yahoo":true,"get":true},info:{"root":"2.7.0/build/","base":"http://yui.yahooapis.com/2.7.0/build/","comboBase":"http://yui.yahooapis.com/combo?","skin":{"defaultSkin":"sam","base":"assets/skins/","path":"skin.css","after":["reset","fonts","grids","base"],"rollup":3},dupsAllowed:["yahoo","get"],"moduleInfo":{"animation":{"type":"js","path":"animation/animation-min.js","requires":["dom","event"]},"autocomplete":{"type":"js","path":"autocomplete/autocomplete-min.js","requires":["dom","event","datasource"],"optional":["connection","animation"],"skinnable":true},"base":{"type":"css","path":"base/base-min.css","after":["reset","fonts","grids"]},"button":{"type":"js","path":"button/button-min.js","requires":["element"],"optional":["menu"],"skinnable":true},"calendar":{"type":"js","path":"calendar/calendar-min.js","requires":["event","dom"],"skinnable":true},"carousel":{"type":"js","path":"carousel/carousel-min.js","requires":["element"],"optional":["animation"],"skinnable":true},"charts":{"type":"js","path":"charts/charts-min.js","requires":["element","json","datasource"]},"colorpicker":{"type":"js","path":"colorpicker/colorpicker-min.js","requires":["slider","element"],"optional":["animation"],"skinnable":true},"connection":{"type":"js","path":"connection/connection-min.js","requires":["event"]},"container":{"type":"js","path":"container/container-min.js","requires":["dom","event"],"optional":["dragdrop","animation","connection"],"supersedes":["containercore"],"skinnable":true},"containercore":{"type":"js","path":"container/container_core-min.js","requires":["dom","event"],"pkg":"container"},"cookie":{"type":"js","path":"cookie/cookie-min.js","requires":["yahoo"]},"datasource":{"type":"js","path":"datasource/datasource-min.js","requires":["event"],"optional":["connection"]},"datatable":{"type":"js","path":"datatable/datatable-min.js","requires":["element","datasource"],"optional":["calendar","dragdrop","paginator"],"skinnable":true},"dom":{"type":"js","path":"dom/dom-min.js","requires":["yahoo"]},"dragdrop":{"type":"js","path":"dragdrop/dragdrop-min.js","requires":["dom","event"]},"editor":{"type":"js","path":"editor/editor-min.js","requires":["menu","element","button"],"optional":["animation","dragdrop"],"supersedes":["simpleeditor"],"skinnable":true},"element":{"type":"js","path":"element/element-min.js","requires":["dom","event"]},"event":{"type":"js","path":"event/event-min.js","requires":["yahoo"]},"fonts":{"type":"css","path":"fonts/fonts-min.css"},"get":{"type":"js","path":"get/get-min.js","requires":["yahoo"]},"grids":{"type":"css","path":"grids/grids-min.css","requires":["fonts"],"optional":["reset"]},"history":{"type":"js","path":"history/history-min.js","requires":["event"]},"imagecropper":{"type":"js","path":"imagecropper/imagecropper-min.js","requires":["dom","event","dragdrop","element","resize"],"skinnable":true},"imageloader":{"type":"js","path":"imageloader/imageloader-min.js","requires":["event","dom"]},"json":{"type":"js","path":"json/json-min.js","requires":["yahoo"]},"layout":{"type":"js","path":"layout/layout-min.js","requires":["dom","event","element"],"optional":["animation","dragdrop","resize","selector"],"skinnable":true},"logger":{"type":"js","path":"logger/logger-min.js","requires":["event","dom"],"optional":["dragdrop"],"skinnable":true},"menu":{"type":"js","path":"menu/menu-min.js","requires":["containercore"],"skinnable":true},"paginator":{"type":"js","path":"paginator/paginator-min.js","requires":["element"],"skinnable":true},"profiler":{"type":"js","path":"profiler/profiler-min.js","requires":["yahoo"]},"profilerviewer":{"type":"js","path":"profilerviewer/profilerviewer-min.js","requires":["profiler","yuiloader","element"],"skinnable":true},"reset":{"type":"css","path":"reset/reset-min.css"},"reset-fonts-grids":{"type":"css","path":"reset-fonts-grids/reset-fonts-grids.css","supersedes":["reset","fonts","grids","reset-fonts"],"rollup":4},"reset-fonts":{"type":"css","path":"reset-fonts/reset-fonts.css","supersedes":["reset","fonts"],"rollup":2},"resize":{"type":"js","path":"resize/resize-min.js","requires":["dom","event","dragdrop","element"],"optional":["animation"],"skinnable":true},"selector":{"type":"js","path":"selector/selector-min.js","requires":["yahoo","dom"]},"simpleeditor":{"type":"js","path":"editor/simpleeditor-min.js","requires":["element"],"optional":["containercore","menu","button","animation","dragdrop"],"skinnable":true,"pkg":"editor"},"slider":{"type":"js","path":"slider/slider-min.js","requires":["dragdrop"],"optional":["animation"],"skinnable":true},"stylesheet":{"type":"js","path":"stylesheet/stylesheet-min.js","requires":["yahoo"]},"tabview":{"type":"js","path":"tabview/tabview-min.js","requires":["element"],"optional":["connection"],"skinnable":true},"treeview":{"type":"js","path":"treeview/treeview-min.js","requires":["event","dom"],"optional":["json"],"skinnable":true},"uploader":{"type":"js","path":"uploader/uploader.js","requires":["element"]},"utilities":{"type":"js","path":"utilities/utilities.js","supersedes":["yahoo","event","dragdrop","animation","dom","connection","element","yahoo-dom-event","get","yuiloader","yuiloader-dom-event"],"rollup":8},"yahoo":{"type":"js","path":"yahoo/yahoo-min.js"},"yahoo-dom-event":{"type":"js","path":"yahoo-dom-event/yahoo-dom-event.js","supersedes":["yahoo","event","dom"],"rollup":3},"yuiloader":{"type":"js","path":"yuiloader/yuiloader-min.js","supersedes":["yahoo","get"]},"yuiloader-dom-event":{"type":"js","path":"yuiloader-dom-event/yuiloader-dom-event.js","supersedes":["yahoo","dom","event","get","yuiloader","yahoo-dom-event"],"rollup":5},"yuitest":{"type":"js","path":"yuitest/yuitest-min.js","requires":["logger"],"skinnable":true}}},ObjectUtil:{appendArray:function(o,a){if(a){for(var i=0;
9
+ i<a.length;i=i+1){o[a[i]]=true;}}},keys:function(o,ordered){var a=[],i;for(i in o){if(lang.hasOwnProperty(o,i)){a.push(i);}}return a;}},ArrayUtil:{appendArray:function(a1,a2){Array.prototype.push.apply(a1,a2);},indexOf:function(a,val){for(var i=0;i<a.length;i=i+1){if(a[i]===val){return i;}}return -1;},toObject:function(a){var o={};for(var i=0;i<a.length;i=i+1){o[a[i]]=true;}return o;},uniq:function(a){return YUI.ObjectUtil.keys(YUI.ArrayUtil.toObject(a));}}};YAHOO.util.YUILoader=function(o){this._internalCallback=null;this._useYahooListener=false;this.onSuccess=null;this.onFailure=Y.log;this.onProgress=null;this.onTimeout=null;this.scope=this;this.data=null;this.insertBefore=null;this.charset=null;this.varName=null;this.base=YUI.info.base;this.comboBase=YUI.info.comboBase;this.combine=false;this.root=YUI.info.root;this.timeout=0;this.ignore=null;this.force=null;this.allowRollup=true;this.filter=null;this.required={};this.moduleInfo=lang.merge(YUI.info.moduleInfo);this.rollups=null;this.loadOptional=false;this.sorted=[];this.loaded={};this.dirty=true;this.inserted={};var self=this;env.listeners.push(function(m){if(self._useYahooListener){self.loadNext(m.name);}});this.skin=lang.merge(YUI.info.skin);this._config(o);};Y.util.YUILoader.prototype={FILTERS:{RAW:{"searchExp":"-min\\.js","replaceStr":".js"},DEBUG:{"searchExp":"-min\\.js","replaceStr":"-debug.js"}},SKIN_PREFIX:"skin-",_config:function(o){if(o){for(var i in o){if(lang.hasOwnProperty(o,i)){if(i=="require"){this.require(o[i]);}else{this[i]=o[i];}}}}var f=this.filter;if(lang.isString(f)){f=f.toUpperCase();if(f==="DEBUG"){this.require("logger");}if(!Y.widget.LogWriter){Y.widget.LogWriter=function(){return Y;};}this.filter=this.FILTERS[f];}},addModule:function(o){if(!o||!o.name||!o.type||(!o.path&&!o.fullpath)){return false;}o.ext=("ext" in o)?o.ext:true;o.requires=o.requires||[];this.moduleInfo[o.name]=o;this.dirty=true;return true;},require:function(what){var a=(typeof what==="string")?arguments:what;this.dirty=true;YUI.ObjectUtil.appendArray(this.required,a);},_addSkin:function(skin,mod){var name=this.formatSkin(skin),info=this.moduleInfo,sinf=this.skin,ext=info[mod]&&info[mod].ext;if(!info[name]){this.addModule({"name":name,"type":"css","path":sinf.base+skin+"/"+sinf.path,"after":sinf.after,"rollup":sinf.rollup,"ext":ext});}if(mod){name=this.formatSkin(skin,mod);if(!info[name]){var mdef=info[mod],pkg=mdef.pkg||mod;this.addModule({"name":name,"type":"css","after":sinf.after,"path":pkg+"/"+sinf.base+skin+"/"+mod+".css","ext":ext});}}return name;},getRequires:function(mod){if(!mod){return[];}if(!this.dirty&&mod.expanded){return mod.expanded;}mod.requires=mod.requires||[];var i,d=[],r=mod.requires,o=mod.optional,info=this.moduleInfo,m;for(i=0;i<r.length;i=i+1){d.push(r[i]);m=info[r[i]];YUI.ArrayUtil.appendArray(d,this.getRequires(m));}if(o&&this.loadOptional){for(i=0;i<o.length;i=i+1){d.push(o[i]);YUI.ArrayUtil.appendArray(d,this.getRequires(info[o[i]]));}}mod.expanded=YUI.ArrayUtil.uniq(d);return mod.expanded;},getProvides:function(name,notMe){var addMe=!(notMe),ckey=(addMe)?PROV:SUPER,m=this.moduleInfo[name],o={};if(!m){return o;}if(m[ckey]){return m[ckey];}var s=m.supersedes,done={},me=this;var add=function(mm){if(!done[mm]){done[mm]=true;lang.augmentObject(o,me.getProvides(mm));}};if(s){for(var i=0;i<s.length;i=i+1){add(s[i]);}}m[SUPER]=o;m[PROV]=lang.merge(o);m[PROV][name]=true;return m[ckey];},calculate:function(o){if(o||this.dirty){this._config(o);this._setup();this._explode();if(this.allowRollup){this._rollup();}this._reduce();this._sort();this.dirty=false;}},_setup:function(){var info=this.moduleInfo,name,i,j;for(name in info){if(lang.hasOwnProperty(info,name)){var m=info[name];if(m&&m.skinnable){var o=this.skin.overrides,smod;if(o&&o[name]){for(i=0;i<o[name].length;i=i+1){smod=this._addSkin(o[name][i],name);}}else{smod=this._addSkin(this.skin.defaultSkin,name);}m.requires.push(smod);}}}var l=lang.merge(this.inserted);if(!this._sandbox){l=lang.merge(l,env.modules);}if(this.ignore){YUI.ObjectUtil.appendArray(l,this.ignore);}if(this.force){for(i=0;i<this.force.length;i=i+1){if(this.force[i] in l){delete l[this.force[i]];}}}for(j in l){if(lang.hasOwnProperty(l,j)){lang.augmentObject(l,this.getProvides(j));}}this.loaded=l;},_explode:function(){var r=this.required,i,mod;for(i in r){if(lang.hasOwnProperty(r,i)){mod=this.moduleInfo[i];if(mod){var req=this.getRequires(mod);if(req){YUI.ObjectUtil.appendArray(r,req);}}}}},_skin:function(){},formatSkin:function(skin,mod){var s=this.SKIN_PREFIX+skin;if(mod){s=s+"-"+mod;}return s;},parseSkin:function(mod){if(mod.indexOf(this.SKIN_PREFIX)===0){var a=mod.split("-");return{skin:a[1],module:a[2]};}return null;},_rollup:function(){var i,j,m,s,rollups={},r=this.required,roll,info=this.moduleInfo;if(this.dirty||!this.rollups){for(i in info){if(lang.hasOwnProperty(info,i)){m=info[i];if(m&&m.rollup){rollups[i]=m;}}}this.rollups=rollups;}for(;;){var rolled=false;for(i in rollups){if(!r[i]&&!this.loaded[i]){m=info[i];s=m.supersedes;roll=false;if(!m.rollup){continue;}var skin=(m.ext)?false:this.parseSkin(i),c=0;if(skin){for(j in r){if(lang.hasOwnProperty(r,j)){if(i!==j&&this.parseSkin(j)){c++;roll=(c>=m.rollup);if(roll){break;}}}}}else{for(j=0;j<s.length;j=j+1){if(this.loaded[s[j]]&&(!YUI.dupsAllowed[s[j]])){roll=false;break;}else{if(r[s[j]]){c++;roll=(c>=m.rollup);if(roll){break;}}}}}if(roll){r[i]=true;rolled=true;this.getRequires(m);}}}if(!rolled){break;}}},_reduce:function(){var i,j,s,m,r=this.required;for(i in r){if(i in this.loaded){delete r[i];}else{var skinDef=this.parseSkin(i);if(skinDef){if(!skinDef.module){var skin_pre=this.SKIN_PREFIX+skinDef.skin;for(j in r){if(lang.hasOwnProperty(r,j)){m=this.moduleInfo[j];var ext=m&&m.ext;if(!ext&&j!==i&&j.indexOf(skin_pre)>-1){delete r[j];}}}}}else{m=this.moduleInfo[i];s=m&&m.supersedes;if(s){for(j=0;j<s.length;j=j+1){if(s[j] in r){delete r[s[j]];}}}}}}},_onFailure:function(msg){YAHOO.log("Failure","info","loader");var f=this.onFailure;if(f){f.call(this.scope,{msg:"failure: "+msg,data:this.data,success:false});
10
+ }},_onTimeout:function(){YAHOO.log("Timeout","info","loader");var f=this.onTimeout;if(f){f.call(this.scope,{msg:"timeout",data:this.data,success:false});}},_sort:function(){var s=[],info=this.moduleInfo,loaded=this.loaded,checkOptional=!this.loadOptional,me=this;var requires=function(aa,bb){var mm=info[aa];if(loaded[bb]||!mm){return false;}var ii,rr=mm.expanded,after=mm.after,other=info[bb],optional=mm.optional;if(rr&&YUI.ArrayUtil.indexOf(rr,bb)>-1){return true;}if(after&&YUI.ArrayUtil.indexOf(after,bb)>-1){return true;}if(checkOptional&&optional&&YUI.ArrayUtil.indexOf(optional,bb)>-1){return true;}var ss=info[bb]&&info[bb].supersedes;if(ss){for(ii=0;ii<ss.length;ii=ii+1){if(requires(aa,ss[ii])){return true;}}}if(mm.ext&&mm.type=="css"&&!other.ext&&other.type=="css"){return true;}return false;};for(var i in this.required){if(lang.hasOwnProperty(this.required,i)){s.push(i);}}var p=0;for(;;){var l=s.length,a,b,j,k,moved=false;for(j=p;j<l;j=j+1){a=s[j];for(k=j+1;k<l;k=k+1){if(requires(a,s[k])){b=s.splice(k,1);s.splice(j,0,b[0]);moved=true;break;}}if(moved){break;}else{p=p+1;}}if(!moved){break;}}this.sorted=s;},toString:function(){var o={type:"YUILoader",base:this.base,filter:this.filter,required:this.required,loaded:this.loaded,inserted:this.inserted};lang.dump(o,1);},_combine:function(){this._combining=[];var self=this,s=this.sorted,len=s.length,js=this.comboBase,css=this.comboBase,target,startLen=js.length,i,m,type=this.loadType;YAHOO.log("type "+type);for(i=0;i<len;i=i+1){m=this.moduleInfo[s[i]];if(m&&!m.ext&&(!type||type===m.type)){target=this.root+m.path;target+="&";if(m.type=="js"){js+=target;}else{css+=target;}this._combining.push(s[i]);}}if(this._combining.length){YAHOO.log("Attempting to combine: "+this._combining,"info","loader");var callback=function(o){var c=this._combining,len=c.length,i,m;for(i=0;i<len;i=i+1){this.inserted[c[i]]=true;}this.loadNext(o.data);},loadScript=function(){if(js.length>startLen){YAHOO.util.Get.script(self._filter(js),{data:self._loading,onSuccess:callback,onFailure:self._onFailure,onTimeout:self._onTimeout,insertBefore:self.insertBefore,charset:self.charset,timeout:self.timeout,scope:self});}};if(css.length>startLen){YAHOO.util.Get.css(this._filter(css),{data:this._loading,onSuccess:loadScript,onFailure:this._onFailure,onTimeout:this._onTimeout,insertBefore:this.insertBefore,charset:this.charset,timeout:this.timeout,scope:self});}else{loadScript();}return;}else{this.loadNext(this._loading);}},insert:function(o,type){this.calculate(o);this._loading=true;this.loadType=type;if(this.combine){return this._combine();}if(!type){var self=this;this._internalCallback=function(){self._internalCallback=null;self.insert(null,"js");};this.insert(null,"css");return;}this.loadNext();},sandbox:function(o,type){this._config(o);if(!this.onSuccess){throw new Error("You must supply an onSuccess handler for your sandbox");}this._sandbox=true;var self=this;if(!type||type!=="js"){this._internalCallback=function(){self._internalCallback=null;self.sandbox(null,"js");};this.insert(null,"css");return;}if(!util.Connect){var ld=new YAHOO.util.YUILoader();ld.insert({base:this.base,filter:this.filter,require:"connection",insertBefore:this.insertBefore,charset:this.charset,onSuccess:function(){this.sandbox(null,"js");},scope:this},"js");return;}this._scriptText=[];this._loadCount=0;this._stopCount=this.sorted.length;this._xhr=[];this.calculate();var s=this.sorted,l=s.length,i,m,url;for(i=0;i<l;i=i+1){m=this.moduleInfo[s[i]];if(!m){this._onFailure("undefined module "+m);for(var j=0;j<this._xhr.length;j=j+1){this._xhr[j].abort();}return;}if(m.type!=="js"){this._loadCount++;continue;}url=m.fullpath;url=(url)?this._filter(url):this._url(m.path);var xhrData={success:function(o){var idx=o.argument[0],name=o.argument[2];this._scriptText[idx]=o.responseText;if(this.onProgress){this.onProgress.call(this.scope,{name:name,scriptText:o.responseText,xhrResponse:o,data:this.data});}this._loadCount++;if(this._loadCount>=this._stopCount){var v=this.varName||"YAHOO";var t="(function() {\n";var b="\nreturn "+v+";\n})();";var ref=eval(t+this._scriptText.join("\n")+b);this._pushEvents(ref);if(ref){this.onSuccess.call(this.scope,{reference:ref,data:this.data});}else{this._onFailure.call(this.varName+" reference failure");}}},failure:function(o){this.onFailure.call(this.scope,{msg:"XHR failure",xhrResponse:o,data:this.data});},scope:this,argument:[i,url,s[i]]};this._xhr.push(util.Connect.asyncRequest("GET",url,xhrData));}},loadNext:function(mname){if(!this._loading){return;}if(mname){if(mname!==this._loading){return;}this.inserted[mname]=true;if(this.onProgress){this.onProgress.call(this.scope,{name:mname,data:this.data});}}var s=this.sorted,len=s.length,i,m;for(i=0;i<len;i=i+1){if(s[i] in this.inserted){continue;}if(s[i]===this._loading){return;}m=this.moduleInfo[s[i]];if(!m){this.onFailure.call(this.scope,{msg:"undefined module "+m,data:this.data});return;}if(!this.loadType||this.loadType===m.type){this._loading=s[i];var fn=(m.type==="css")?util.Get.css:util.Get.script,url=m.fullpath,self=this,c=function(o){self.loadNext(o.data);};url=(url)?this._filter(url):this._url(m.path);if(env.ua.webkit&&env.ua.webkit<420&&m.type==="js"&&!m.varName){c=null;this._useYahooListener=true;}fn(url,{data:s[i],onSuccess:c,onFailure:this._onFailure,onTimeout:this._onTimeout,insertBefore:this.insertBefore,charset:this.charset,timeout:this.timeout,varName:m.varName,scope:self});return;}}this._loading=null;if(this._internalCallback){var f=this._internalCallback;this._internalCallback=null;f.call(this);}else{if(this.onSuccess){this._pushEvents();this.onSuccess.call(this.scope,{data:this.data});}}},_pushEvents:function(ref){var r=ref||YAHOO;if(r.util&&r.util.Event){r.util.Event._load();}},_filter:function(str){var f=this.filter;return(f)?str.replace(new RegExp(f.searchExp,"g"),f.replaceStr):str;},_url:function(path){return this._filter((this.base||"")+path);}};})();YAHOO.register("yuiloader",YAHOO.util.YUILoader,{version:"2.7.0",build:"1796"});
11
+ (function(){YAHOO.env._id_counter=YAHOO.env._id_counter||0;var E=YAHOO.util,L=YAHOO.lang,m=YAHOO.env.ua,A=YAHOO.lang.trim,d={},h={},N=/^t(?:able|d|h)$/i,X=/color$/i,K=window.document,W=K.documentElement,e="ownerDocument",n="defaultView",v="documentElement",t="compatMode",b="offsetLeft",P="offsetTop",u="offsetParent",Z="parentNode",l="nodeType",C="tagName",O="scrollLeft",i="scrollTop",Q="getBoundingClientRect",w="getComputedStyle",a="currentStyle",M="CSS1Compat",c="BackCompat",g="class",F="className",J="",B=" ",s="(?:^|\\s)",k="(?= |$)",U="g",p="position",f="fixed",V="relative",j="left",o="top",r="medium",q="borderLeftWidth",R="borderTopWidth",D=m.opera,I=m.webkit,H=m.gecko,T=m.ie;E.Dom={CUSTOM_ATTRIBUTES:(!W.hasAttribute)?{"for":"htmlFor","class":F}:{"htmlFor":"for","className":g},get:function(y){var AA,Y,z,x,G;if(y){if(y[l]||y.item){return y;}if(typeof y==="string"){AA=y;y=K.getElementById(y);if(y&&y.id===AA){return y;}else{if(y&&K.all){y=null;Y=K.all[AA];for(x=0,G=Y.length;x<G;++x){if(Y[x].id===AA){return Y[x];}}}}return y;}if(y.DOM_EVENTS){y=y.get("element");}if("length" in y){z=[];for(x=0,G=y.length;x<G;++x){z[z.length]=E.Dom.get(y[x]);}return z;}return y;}return null;},getComputedStyle:function(G,Y){if(window[w]){return G[e][n][w](G,null)[Y];}else{if(G[a]){return E.Dom.IE_ComputedStyle.get(G,Y);}}},getStyle:function(G,Y){return E.Dom.batch(G,E.Dom._getStyle,Y);},_getStyle:function(){if(window[w]){return function(G,y){y=(y==="float")?y="cssFloat":E.Dom._toCamel(y);var x=G.style[y],Y;if(!x){Y=G[e][n][w](G,null);if(Y){x=Y[y];}}return x;};}else{if(W[a]){return function(G,y){var x;switch(y){case"opacity":x=100;try{x=G.filters["DXImageTransform.Microsoft.Alpha"].opacity;}catch(z){try{x=G.filters("alpha").opacity;}catch(Y){}}return x/100;case"float":y="styleFloat";default:y=E.Dom._toCamel(y);x=G[a]?G[a][y]:null;return(G.style[y]||x);}};}}}(),setStyle:function(G,Y,x){E.Dom.batch(G,E.Dom._setStyle,{prop:Y,val:x});},_setStyle:function(){if(T){return function(Y,G){var x=E.Dom._toCamel(G.prop),y=G.val;if(Y){switch(x){case"opacity":if(L.isString(Y.style.filter)){Y.style.filter="alpha(opacity="+y*100+")";if(!Y[a]||!Y[a].hasLayout){Y.style.zoom=1;}}break;case"float":x="styleFloat";default:Y.style[x]=y;}}else{}};}else{return function(Y,G){var x=E.Dom._toCamel(G.prop),y=G.val;if(Y){if(x=="float"){x="cssFloat";}Y.style[x]=y;}else{}};}}(),getXY:function(G){return E.Dom.batch(G,E.Dom._getXY);},_canPosition:function(G){return(E.Dom._getStyle(G,"display")!=="none"&&E.Dom._inDoc(G));},_getXY:function(){if(K[v][Q]){return function(y){var z,Y,AA,AF,AE,AD,AC,G,x,AB=Math.floor,AG=false;if(E.Dom._canPosition(y)){AA=y[Q]();AF=y[e];z=E.Dom.getDocumentScrollLeft(AF);Y=E.Dom.getDocumentScrollTop(AF);AG=[AB(AA[j]),AB(AA[o])];if(T&&m.ie<8){AE=2;AD=2;AC=AF[t];G=S(AF[v],q);x=S(AF[v],R);if(m.ie===6){if(AC!==c){AE=0;AD=0;}}if((AC==c)){if(G!==r){AE=parseInt(G,10);}if(x!==r){AD=parseInt(x,10);}}AG[0]-=AE;AG[1]-=AD;}if((Y||z)){AG[0]+=z;AG[1]+=Y;}AG[0]=AB(AG[0]);AG[1]=AB(AG[1]);}else{}return AG;};}else{return function(y){var x,Y,AA,AB,AC,z=false,G=y;if(E.Dom._canPosition(y)){z=[y[b],y[P]];x=E.Dom.getDocumentScrollLeft(y[e]);Y=E.Dom.getDocumentScrollTop(y[e]);AC=((H||m.webkit>519)?true:false);while((G=G[u])){z[0]+=G[b];z[1]+=G[P];if(AC){z=E.Dom._calcBorders(G,z);}}if(E.Dom._getStyle(y,p)!==f){G=y;while((G=G[Z])&&G[C]){AA=G[i];AB=G[O];if(H&&(E.Dom._getStyle(G,"overflow")!=="visible")){z=E.Dom._calcBorders(G,z);}if(AA||AB){z[0]-=AB;z[1]-=AA;}}z[0]+=x;z[1]+=Y;}else{if(D){z[0]-=x;z[1]-=Y;}else{if(I||H){z[0]+=x;z[1]+=Y;}}}z[0]=Math.floor(z[0]);z[1]=Math.floor(z[1]);}else{}return z;};}}(),getX:function(G){var Y=function(x){return E.Dom.getXY(x)[0];};return E.Dom.batch(G,Y,E.Dom,true);},getY:function(G){var Y=function(x){return E.Dom.getXY(x)[1];};return E.Dom.batch(G,Y,E.Dom,true);},setXY:function(G,x,Y){E.Dom.batch(G,E.Dom._setXY,{pos:x,noRetry:Y});},_setXY:function(G,z){var AA=E.Dom._getStyle(G,p),y=E.Dom.setStyle,AD=z.pos,Y=z.noRetry,AB=[parseInt(E.Dom.getComputedStyle(G,j),10),parseInt(E.Dom.getComputedStyle(G,o),10)],AC,x;if(AA=="static"){AA=V;y(G,p,AA);}AC=E.Dom._getXY(G);if(!AD||AC===false){return false;}if(isNaN(AB[0])){AB[0]=(AA==V)?0:G[b];}if(isNaN(AB[1])){AB[1]=(AA==V)?0:G[P];}if(AD[0]!==null){y(G,j,AD[0]-AC[0]+AB[0]+"px");}if(AD[1]!==null){y(G,o,AD[1]-AC[1]+AB[1]+"px");}if(!Y){x=E.Dom._getXY(G);if((AD[0]!==null&&x[0]!=AD[0])||(AD[1]!==null&&x[1]!=AD[1])){E.Dom._setXY(G,{pos:AD,noRetry:true});}}},setX:function(Y,G){E.Dom.setXY(Y,[G,null]);},setY:function(G,Y){E.Dom.setXY(G,[null,Y]);},getRegion:function(G){var Y=function(x){var y=false;if(E.Dom._canPosition(x)){y=E.Region.getRegion(x);}else{}return y;};return E.Dom.batch(G,Y,E.Dom,true);},getClientWidth:function(){return E.Dom.getViewportWidth();},getClientHeight:function(){return E.Dom.getViewportHeight();},getElementsByClassName:function(AB,AF,AC,AE,x,AD){AB=L.trim(AB);AF=AF||"*";AC=(AC)?E.Dom.get(AC):null||K;if(!AC){return[];}var Y=[],G=AC.getElementsByTagName(AF),z=E.Dom.hasClass;for(var y=0,AA=G.length;y<AA;++y){if(z(G[y],AB)){Y[Y.length]=G[y];}}if(AE){E.Dom.batch(Y,AE,x,AD);}return Y;},hasClass:function(Y,G){return E.Dom.batch(Y,E.Dom._hasClass,G);},_hasClass:function(x,Y){var G=false,y;if(x&&Y){y=E.Dom.getAttribute(x,F)||J;if(Y.exec){G=Y.test(y);}else{G=Y&&(B+y+B).indexOf(B+Y+B)>-1;}}else{}return G;},addClass:function(Y,G){return E.Dom.batch(Y,E.Dom._addClass,G);},_addClass:function(x,Y){var G=false,y;if(x&&Y){y=E.Dom.getAttribute(x,F)||J;if(!E.Dom._hasClass(x,Y)){E.Dom.setAttribute(x,F,A(y+B+Y));G=true;}}else{}return G;},removeClass:function(Y,G){return E.Dom.batch(Y,E.Dom._removeClass,G);},_removeClass:function(y,x){var Y=false,AA,z,G;if(y&&x){AA=E.Dom.getAttribute(y,F)||J;E.Dom.setAttribute(y,F,AA.replace(E.Dom._getClassRegex(x),J));z=E.Dom.getAttribute(y,F);if(AA!==z){E.Dom.setAttribute(y,F,A(z));Y=true;if(E.Dom.getAttribute(y,F)===""){G=(y.hasAttribute&&y.hasAttribute(g))?g:F;y.removeAttribute(G);}}}else{}return Y;},replaceClass:function(x,Y,G){return E.Dom.batch(x,E.Dom._replaceClass,{from:Y,to:G});
12
+ },_replaceClass:function(y,x){var Y,AB,AA,G=false,z;if(y&&x){AB=x.from;AA=x.to;if(!AA){G=false;}else{if(!AB){G=E.Dom._addClass(y,x.to);}else{if(AB!==AA){z=E.Dom.getAttribute(y,F)||J;Y=(B+z.replace(E.Dom._getClassRegex(AB),B+AA)).split(E.Dom._getClassRegex(AA));Y.splice(1,0,B+AA);E.Dom.setAttribute(y,F,A(Y.join(J)));G=true;}}}}else{}return G;},generateId:function(G,x){x=x||"yui-gen";var Y=function(y){if(y&&y.id){return y.id;}var z=x+YAHOO.env._id_counter++;if(y){if(y[e].getElementById(z)){return E.Dom.generateId(y,z+x);}y.id=z;}return z;};return E.Dom.batch(G,Y,E.Dom,true)||Y.apply(E.Dom,arguments);},isAncestor:function(Y,x){Y=E.Dom.get(Y);x=E.Dom.get(x);var G=false;if((Y&&x)&&(Y[l]&&x[l])){if(Y.contains&&Y!==x){G=Y.contains(x);}else{if(Y.compareDocumentPosition){G=!!(Y.compareDocumentPosition(x)&16);}}}else{}return G;},inDocument:function(G,Y){return E.Dom._inDoc(E.Dom.get(G),Y);},_inDoc:function(Y,x){var G=false;if(Y&&Y[C]){x=x||Y[e];G=E.Dom.isAncestor(x[v],Y);}else{}return G;},getElementsBy:function(Y,AF,AB,AD,y,AC,AE){AF=AF||"*";AB=(AB)?E.Dom.get(AB):null||K;if(!AB){return[];}var x=[],G=AB.getElementsByTagName(AF);for(var z=0,AA=G.length;z<AA;++z){if(Y(G[z])){if(AE){x=G[z];break;}else{x[x.length]=G[z];}}}if(AD){E.Dom.batch(x,AD,y,AC);}return x;},getElementBy:function(x,G,Y){return E.Dom.getElementsBy(x,G,Y,null,null,null,true);},batch:function(x,AB,AA,z){var y=[],Y=(z)?AA:window;x=(x&&(x[C]||x.item))?x:E.Dom.get(x);if(x&&AB){if(x[C]||x.length===undefined){return AB.call(Y,x,AA);}for(var G=0;G<x.length;++G){y[y.length]=AB.call(Y,x[G],AA);}}else{return false;}return y;},getDocumentHeight:function(){var Y=(K[t]!=M||I)?K.body.scrollHeight:W.scrollHeight,G=Math.max(Y,E.Dom.getViewportHeight());return G;},getDocumentWidth:function(){var Y=(K[t]!=M||I)?K.body.scrollWidth:W.scrollWidth,G=Math.max(Y,E.Dom.getViewportWidth());return G;},getViewportHeight:function(){var G=self.innerHeight,Y=K[t];if((Y||T)&&!D){G=(Y==M)?W.clientHeight:K.body.clientHeight;}return G;},getViewportWidth:function(){var G=self.innerWidth,Y=K[t];if(Y||T){G=(Y==M)?W.clientWidth:K.body.clientWidth;}return G;},getAncestorBy:function(G,Y){while((G=G[Z])){if(E.Dom._testElement(G,Y)){return G;}}return null;},getAncestorByClassName:function(Y,G){Y=E.Dom.get(Y);if(!Y){return null;}var x=function(y){return E.Dom.hasClass(y,G);};return E.Dom.getAncestorBy(Y,x);},getAncestorByTagName:function(Y,G){Y=E.Dom.get(Y);if(!Y){return null;}var x=function(y){return y[C]&&y[C].toUpperCase()==G.toUpperCase();};return E.Dom.getAncestorBy(Y,x);},getPreviousSiblingBy:function(G,Y){while(G){G=G.previousSibling;if(E.Dom._testElement(G,Y)){return G;}}return null;},getPreviousSibling:function(G){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getPreviousSiblingBy(G);},getNextSiblingBy:function(G,Y){while(G){G=G.nextSibling;if(E.Dom._testElement(G,Y)){return G;}}return null;},getNextSibling:function(G){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getNextSiblingBy(G);},getFirstChildBy:function(G,x){var Y=(E.Dom._testElement(G.firstChild,x))?G.firstChild:null;return Y||E.Dom.getNextSiblingBy(G.firstChild,x);},getFirstChild:function(G,Y){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getFirstChildBy(G);},getLastChildBy:function(G,x){if(!G){return null;}var Y=(E.Dom._testElement(G.lastChild,x))?G.lastChild:null;return Y||E.Dom.getPreviousSiblingBy(G.lastChild,x);},getLastChild:function(G){G=E.Dom.get(G);return E.Dom.getLastChildBy(G);},getChildrenBy:function(Y,y){var x=E.Dom.getFirstChildBy(Y,y),G=x?[x]:[];E.Dom.getNextSiblingBy(x,function(z){if(!y||y(z)){G[G.length]=z;}return false;});return G;},getChildren:function(G){G=E.Dom.get(G);if(!G){}return E.Dom.getChildrenBy(G);},getDocumentScrollLeft:function(G){G=G||K;return Math.max(G[v].scrollLeft,G.body.scrollLeft);},getDocumentScrollTop:function(G){G=G||K;return Math.max(G[v].scrollTop,G.body.scrollTop);},insertBefore:function(Y,G){Y=E.Dom.get(Y);G=E.Dom.get(G);if(!Y||!G||!G[Z]){return null;}return G[Z].insertBefore(Y,G);},insertAfter:function(Y,G){Y=E.Dom.get(Y);G=E.Dom.get(G);if(!Y||!G||!G[Z]){return null;}if(G.nextSibling){return G[Z].insertBefore(Y,G.nextSibling);}else{return G[Z].appendChild(Y);}},getClientRegion:function(){var x=E.Dom.getDocumentScrollTop(),Y=E.Dom.getDocumentScrollLeft(),y=E.Dom.getViewportWidth()+Y,G=E.Dom.getViewportHeight()+x;return new E.Region(x,y,G,Y);},setAttribute:function(Y,G,x){G=E.Dom.CUSTOM_ATTRIBUTES[G]||G;Y.setAttribute(G,x);},getAttribute:function(Y,G){G=E.Dom.CUSTOM_ATTRIBUTES[G]||G;return Y.getAttribute(G);},_toCamel:function(Y){var x=d;function G(y,z){return z.toUpperCase();}return x[Y]||(x[Y]=Y.indexOf("-")===-1?Y:Y.replace(/-([a-z])/gi,G));},_getClassRegex:function(Y){var G;if(Y!==undefined){if(Y.exec){G=Y;}else{G=h[Y];if(!G){Y=Y.replace(E.Dom._patterns.CLASS_RE_TOKENS,"\\$1");G=h[Y]=new RegExp(s+Y+k,U);}}}return G;},_patterns:{ROOT_TAG:/^body|html$/i,CLASS_RE_TOKENS:/([\.\(\)\^\$\*\+\?\|\[\]\{\}])/g},_testElement:function(G,Y){return G&&G[l]==1&&(!Y||Y(G));},_calcBorders:function(x,y){var Y=parseInt(E.Dom[w](x,R),10)||0,G=parseInt(E.Dom[w](x,q),10)||0;if(H){if(N.test(x[C])){Y=0;G=0;}}y[0]+=G;y[1]+=Y;return y;}};var S=E.Dom[w];if(m.opera){E.Dom[w]=function(Y,G){var x=S(Y,G);if(X.test(G)){x=E.Dom.Color.toRGB(x);}return x;};}if(m.webkit){E.Dom[w]=function(Y,G){var x=S(Y,G);if(x==="rgba(0, 0, 0, 0)"){x="transparent";}return x;};}})();YAHOO.util.Region=function(C,D,A,B){this.top=C;this.y=C;this[1]=C;this.right=D;this.bottom=A;this.left=B;this.x=B;this[0]=B;this.width=this.right-this.left;this.height=this.bottom-this.top;};YAHOO.util.Region.prototype.contains=function(A){return(A.left>=this.left&&A.right<=this.right&&A.top>=this.top&&A.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(E){var C=Math.max(this.top,E.top),D=Math.min(this.right,E.right),A=Math.min(this.bottom,E.bottom),B=Math.max(this.left,E.left);if(A>=C&&D>=B){return new YAHOO.util.Region(C,D,A,B);
13
+ }else{return null;}};YAHOO.util.Region.prototype.union=function(E){var C=Math.min(this.top,E.top),D=Math.max(this.right,E.right),A=Math.max(this.bottom,E.bottom),B=Math.min(this.left,E.left);return new YAHOO.util.Region(C,D,A,B);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+", height: "+this.height+", width: "+this.width+"}");};YAHOO.util.Region.getRegion=function(D){var F=YAHOO.util.Dom.getXY(D),C=F[1],E=F[0]+D.offsetWidth,A=F[1]+D.offsetHeight,B=F[0];return new YAHOO.util.Region(C,E,A,B);};YAHOO.util.Point=function(A,B){if(YAHOO.lang.isArray(A)){B=A[1];A=A[0];}YAHOO.util.Point.superclass.constructor.call(this,B,A,B,A);};YAHOO.extend(YAHOO.util.Point,YAHOO.util.Region);(function(){var B=YAHOO.util,A="clientTop",F="clientLeft",J="parentNode",K="right",W="hasLayout",I="px",U="opacity",L="auto",D="borderLeftWidth",G="borderTopWidth",P="borderRightWidth",V="borderBottomWidth",S="visible",Q="transparent",N="height",E="width",H="style",T="currentStyle",R=/^width|height$/,O=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,M={get:function(X,Z){var Y="",a=X[T][Z];if(Z===U){Y=B.Dom.getStyle(X,U);}else{if(!a||(a.indexOf&&a.indexOf(I)>-1)){Y=a;}else{if(B.Dom.IE_COMPUTED[Z]){Y=B.Dom.IE_COMPUTED[Z](X,Z);}else{if(O.test(a)){Y=B.Dom.IE.ComputedStyle.getPixel(X,Z);}else{Y=a;}}}}return Y;},getOffset:function(Z,e){var b=Z[T][e],X=e.charAt(0).toUpperCase()+e.substr(1),c="offset"+X,Y="pixel"+X,a="",d;if(b==L){d=Z[c];if(d===undefined){a=0;}a=d;if(R.test(e)){Z[H][e]=d;if(Z[c]>d){a=d-(Z[c]-d);}Z[H][e]=L;}}else{if(!Z[H][Y]&&!Z[H][e]){Z[H][e]=b;}a=Z[H][Y];}return a+I;},getBorderWidth:function(X,Z){var Y=null;if(!X[T][W]){X[H].zoom=1;}switch(Z){case G:Y=X[A];break;case V:Y=X.offsetHeight-X.clientHeight-X[A];break;case D:Y=X[F];break;case P:Y=X.offsetWidth-X.clientWidth-X[F];break;}return Y+I;},getPixel:function(Y,X){var a=null,b=Y[T][K],Z=Y[T][X];Y[H][K]=Z;a=Y[H].pixelRight;Y[H][K]=b;return a+I;},getMargin:function(Y,X){var Z;if(Y[T][X]==L){Z=0+I;}else{Z=B.Dom.IE.ComputedStyle.getPixel(Y,X);}return Z;},getVisibility:function(Y,X){var Z;while((Z=Y[T])&&Z[X]=="inherit"){Y=Y[J];}return(Z)?Z[X]:S;},getColor:function(Y,X){return B.Dom.Color.toRGB(Y[T][X])||Q;},getBorderColor:function(Y,X){var Z=Y[T],a=Z[X]||Z.color;return B.Dom.Color.toRGB(B.Dom.Color.toHex(a));}},C={};C.top=C.right=C.bottom=C.left=C[E]=C[N]=M.getOffset;C.color=M.getColor;C[G]=C[P]=C[V]=C[D]=M.getBorderWidth;C.marginTop=C.marginRight=C.marginBottom=C.marginLeft=M.getMargin;C.visibility=M.getVisibility;C.borderColor=C.borderTopColor=C.borderRightColor=C.borderBottomColor=C.borderLeftColor=M.getBorderColor;B.Dom.IE_COMPUTED=C;B.Dom.IE_ComputedStyle=M;})();(function(){var C="toString",A=parseInt,B=RegExp,D=YAHOO.util;D.Dom.Color={KEYWORDS:{black:"000",silver:"c0c0c0",gray:"808080",white:"fff",maroon:"800000",red:"f00",purple:"800080",fuchsia:"f0f",green:"008000",lime:"0f0",olive:"808000",yellow:"ff0",navy:"000080",blue:"00f",teal:"008080",aqua:"0ff"},re_RGB:/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,re_hex:/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,re_hex3:/([0-9A-F])/gi,toRGB:function(E){if(!D.Dom.Color.re_RGB.test(E)){E=D.Dom.Color.toHex(E);}if(D.Dom.Color.re_hex.exec(E)){E="rgb("+[A(B.$1,16),A(B.$2,16),A(B.$3,16)].join(", ")+")";}return E;},toHex:function(H){H=D.Dom.Color.KEYWORDS[H]||H;if(D.Dom.Color.re_RGB.exec(H)){var G=(B.$1.length===1)?"0"+B.$1:Number(B.$1),F=(B.$2.length===1)?"0"+B.$2:Number(B.$2),E=(B.$3.length===1)?"0"+B.$3:Number(B.$3);H=[G[C](16),F[C](16),E[C](16)].join("");}if(H.length<6){H=H.replace(D.Dom.Color.re_hex3,"$1$1");}if(H!=="transparent"&&H.indexOf("#")<0){H="#"+H;}return H.toLowerCase();}};}());YAHOO.register("dom",YAHOO.util.Dom,{version:"2.7.0",build:"1796"});YAHOO.util.CustomEvent=function(D,C,B,A){this.type=D;this.scope=C||window;this.silent=B;this.signature=A||YAHOO.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){}var E="_YUICEOnSubscribe";if(D!==E){this.subscribeEvent=new YAHOO.util.CustomEvent(E,this,true);}this.lastError=null;};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;YAHOO.util.CustomEvent.prototype={subscribe:function(A,B,C){if(!A){throw new Error("Invalid callback for subscriber to '"+this.type+"'");}if(this.subscribeEvent){this.subscribeEvent.fire(A,B,C);}this.subscribers.push(new YAHOO.util.Subscriber(A,B,C));},unsubscribe:function(D,F){if(!D){return this.unsubscribeAll();}var E=false;for(var B=0,A=this.subscribers.length;B<A;++B){var C=this.subscribers[B];if(C&&C.contains(D,F)){this._delete(B);E=true;}}return E;},fire:function(){this.lastError=null;var K=[],E=this.subscribers.length;if(!E&&this.silent){return true;}var I=[].slice.call(arguments,0),G=true,D,J=false;if(!this.silent){}var C=this.subscribers.slice(),A=YAHOO.util.Event.throwErrors;for(D=0;D<E;++D){var M=C[D];if(!M){J=true;}else{if(!this.silent){}var L=M.getScope(this.scope);if(this.signature==YAHOO.util.CustomEvent.FLAT){var B=null;if(I.length>0){B=I[0];}try{G=M.fn.call(L,B,M.obj);}catch(F){this.lastError=F;if(A){throw F;}}}else{try{G=M.fn.call(L,this.type,I,M.obj);}catch(H){this.lastError=H;if(A){throw H;}}}if(false===G){if(!this.silent){}break;}}}return(G!==false);},unsubscribeAll:function(){var A=this.subscribers.length,B;for(B=A-1;B>-1;B--){this._delete(B);}this.subscribers=[];return A;},_delete:function(A){var B=this.subscribers[A];if(B){delete B.fn;delete B.obj;}this.subscribers.splice(A,1);},toString:function(){return"CustomEvent: "+"'"+this.type+"', "+"context: "+this.scope;}};YAHOO.util.Subscriber=function(A,B,C){this.fn=A;this.obj=YAHOO.lang.isUndefined(B)?null:B;this.overrideContext=C;};YAHOO.util.Subscriber.prototype.getScope=function(A){if(this.overrideContext){if(this.overrideContext===true){return this.obj;}else{return this.overrideContext;}}return A;};YAHOO.util.Subscriber.prototype.contains=function(A,B){if(B){return(this.fn==A&&this.obj==B);}else{return(this.fn==A);}};YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", overrideContext: "+(this.overrideContext||"no")+" }";};if(!YAHOO.util.Event){YAHOO.util.Event=function(){var H=false;var I=[];var J=[];var G=[];var E=[];var C=0;var F=[];var B=[];var A=0;var D={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9};var K=YAHOO.env.ua.ie?"focusin":"focus";var L=YAHOO.env.ua.ie?"focusout":"blur";return{POLL_RETRYS:2000,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,UNLOAD_OBJ:3,ADJ_SCOPE:4,OBJ:5,OVERRIDE:6,lastError:null,isSafari:YAHOO.env.ua.webkit,webkit:YAHOO.env.ua.webkit,isIE:YAHOO.env.ua.ie,_interval:null,_dri:null,DOMReady:false,throwErrors:false,startInterval:function(){if(!this._interval){var M=this;var N=function(){M._tryPreloadAttach();};this._interval=setInterval(N,this.POLL_INTERVAL);}},onAvailable:function(S,O,Q,R,P){var M=(YAHOO.lang.isString(S))?[S]:S;for(var N=0;N<M.length;N=N+1){F.push({id:M[N],fn:O,obj:Q,overrideContext:R,checkReady:P});}C=this.POLL_RETRYS;this.startInterval();},onContentReady:function(P,M,N,O){this.onAvailable(P,M,N,O,true);},onDOMReady:function(M,N,O){if(this.DOMReady){setTimeout(function(){var P=window;if(O){if(O===true){P=N;}else{P=O;}}M.call(P,"DOMReady",[],N);},0);}else{this.DOMReadyEvent.subscribe(M,N,O);}},_addListener:function(O,M,Y,S,W,b){if(!Y||!Y.call){return false;}if(this._isValidCollection(O)){var Z=true;for(var T=0,V=O.length;T<V;++T){Z=this.on(O[T],M,Y,S,W)&&Z;}return Z;}else{if(YAHOO.lang.isString(O)){var R=this.getEl(O);if(R){O=R;}else{this.onAvailable(O,function(){YAHOO.util.Event.on(O,M,Y,S,W);});return true;}}}if(!O){return false;}if("unload"==M&&S!==this){J[J.length]=[O,M,Y,S,W];return true;}var N=O;if(W){if(W===true){N=S;}else{N=W;}}var P=function(c){return Y.call(N,YAHOO.util.Event.getEvent(c,O),S);};var a=[O,M,Y,P,N,S,W];var U=I.length;I[U]=a;if(this.useLegacyEvent(O,M)){var Q=this.getLegacyIndex(O,M);if(Q==-1||O!=G[Q][0]){Q=G.length;B[O.id+M]=Q;G[Q]=[O,M,O["on"+M]];E[Q]=[];O["on"+M]=function(c){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(c),Q);};}E[Q].push(a);}else{try{this._simpleAdd(O,M,P,b);}catch(X){this.lastError=X;this.removeListener(O,M,Y);return false;}}return true;},addListener:function(N,Q,M,O,P){return this._addListener(N,Q,M,O,P,false);},addFocusListener:function(N,M,O,P){return this._addListener(N,K,M,O,P,true);},removeFocusListener:function(N,M){return this.removeListener(N,K,M);},addBlurListener:function(N,M,O,P){return this._addListener(N,L,M,O,P,true);},removeBlurListener:function(N,M){return this.removeListener(N,L,M);},fireLegacyEvent:function(R,P){var T=true,M,V,U,N,S;V=E[P].slice();for(var O=0,Q=V.length;O<Q;++O){U=V[O];if(U&&U[this.WFN]){N=U[this.ADJ_SCOPE];S=U[this.WFN].call(N,R);T=(T&&S);}}M=G[P];if(M&&M[2]){M[2](R);}return T;},getLegacyIndex:function(N,O){var M=this.generateId(N)+O;if(typeof B[M]=="undefined"){return -1;}else{return B[M];}},useLegacyEvent:function(M,N){return(this.webkit&&this.webkit<419&&("click"==N||"dblclick"==N));},removeListener:function(N,M,V){var Q,T,X;if(typeof N=="string"){N=this.getEl(N);}else{if(this._isValidCollection(N)){var W=true;for(Q=N.length-1;Q>-1;Q--){W=(this.removeListener(N[Q],M,V)&&W);}return W;}}if(!V||!V.call){return this.purgeElement(N,false,M);}if("unload"==M){for(Q=J.length-1;Q>-1;Q--){X=J[Q];if(X&&X[0]==N&&X[1]==M&&X[2]==V){J.splice(Q,1);return true;}}return false;}var R=null;var S=arguments[3];if("undefined"===typeof S){S=this._getCacheIndex(N,M,V);}if(S>=0){R=I[S];}if(!N||!R){return false;}if(this.useLegacyEvent(N,M)){var P=this.getLegacyIndex(N,M);var O=E[P];if(O){for(Q=0,T=O.length;Q<T;++Q){X=O[Q];if(X&&X[this.EL]==N&&X[this.TYPE]==M&&X[this.FN]==V){O.splice(Q,1);break;}}}}else{try{this._simpleRemove(N,M,R[this.WFN],false);}catch(U){this.lastError=U;return false;}}delete I[S][this.WFN];delete I[S][this.FN];
14
+ I.splice(S,1);return true;},getTarget:function(O,N){var M=O.target||O.srcElement;return this.resolveTextNode(M);},resolveTextNode:function(N){try{if(N&&3==N.nodeType){return N.parentNode;}}catch(M){}return N;},getPageX:function(N){var M=N.pageX;if(!M&&0!==M){M=N.clientX||0;if(this.isIE){M+=this._getScrollLeft();}}return M;},getPageY:function(M){var N=M.pageY;if(!N&&0!==N){N=M.clientY||0;if(this.isIE){N+=this._getScrollTop();}}return N;},getXY:function(M){return[this.getPageX(M),this.getPageY(M)];},getRelatedTarget:function(N){var M=N.relatedTarget;if(!M){if(N.type=="mouseout"){M=N.toElement;}else{if(N.type=="mouseover"){M=N.fromElement;}}}return this.resolveTextNode(M);},getTime:function(O){if(!O.time){var N=new Date().getTime();try{O.time=N;}catch(M){this.lastError=M;return N;}}return O.time;},stopEvent:function(M){this.stopPropagation(M);this.preventDefault(M);},stopPropagation:function(M){if(M.stopPropagation){M.stopPropagation();}else{M.cancelBubble=true;}},preventDefault:function(M){if(M.preventDefault){M.preventDefault();}else{M.returnValue=false;}},getEvent:function(O,M){var N=O||window.event;if(!N){var P=this.getEvent.caller;while(P){N=P.arguments[0];if(N&&Event==N.constructor){break;}P=P.caller;}}return N;},getCharCode:function(N){var M=N.keyCode||N.charCode||0;if(YAHOO.env.ua.webkit&&(M in D)){M=D[M];}return M;},_getCacheIndex:function(Q,R,P){for(var O=0,N=I.length;O<N;O=O+1){var M=I[O];if(M&&M[this.FN]==P&&M[this.EL]==Q&&M[this.TYPE]==R){return O;}}return -1;},generateId:function(M){var N=M.id;if(!N){N="yuievtautoid-"+A;++A;M.id=N;}return N;},_isValidCollection:function(N){try{return(N&&typeof N!=="string"&&N.length&&!N.tagName&&!N.alert&&typeof N[0]!=="undefined");}catch(M){return false;}},elCache:{},getEl:function(M){return(typeof M==="string")?document.getElementById(M):M;},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",this),_load:function(N){if(!H){H=true;var M=YAHOO.util.Event;M._ready();M._tryPreloadAttach();}},_ready:function(N){var M=YAHOO.util.Event;if(!M.DOMReady){M.DOMReady=true;M.DOMReadyEvent.fire();M._simpleRemove(document,"DOMContentLoaded",M._ready);}},_tryPreloadAttach:function(){if(F.length===0){C=0;if(this._interval){clearInterval(this._interval);this._interval=null;}return;}if(this.locked){return;}if(this.isIE){if(!this.DOMReady){this.startInterval();return;}}this.locked=true;var S=!H;if(!S){S=(C>0&&F.length>0);}var R=[];var T=function(V,W){var U=V;if(W.overrideContext){if(W.overrideContext===true){U=W.obj;}else{U=W.overrideContext;}}W.fn.call(U,W.obj);};var N,M,Q,P,O=[];for(N=0,M=F.length;N<M;N=N+1){Q=F[N];if(Q){P=this.getEl(Q.id);if(P){if(Q.checkReady){if(H||P.nextSibling||!S){O.push(Q);F[N]=null;}}else{T(P,Q);F[N]=null;}}else{R.push(Q);}}}for(N=0,M=O.length;N<M;N=N+1){Q=O[N];T(this.getEl(Q.id),Q);}C--;if(S){for(N=F.length-1;N>-1;N--){Q=F[N];if(!Q||!Q.id){F.splice(N,1);}}this.startInterval();}else{if(this._interval){clearInterval(this._interval);this._interval=null;}}this.locked=false;},purgeElement:function(Q,R,T){var O=(YAHOO.lang.isString(Q))?this.getEl(Q):Q;var S=this.getListeners(O,T),P,M;if(S){for(P=S.length-1;P>-1;P--){var N=S[P];this.removeListener(O,N.type,N.fn);}}if(R&&O&&O.childNodes){for(P=0,M=O.childNodes.length;P<M;++P){this.purgeElement(O.childNodes[P],R,T);}}},getListeners:function(O,M){var R=[],N;if(!M){N=[I,J];}else{if(M==="unload"){N=[J];}else{N=[I];}}var T=(YAHOO.lang.isString(O))?this.getEl(O):O;for(var Q=0;Q<N.length;Q=Q+1){var V=N[Q];if(V){for(var S=0,U=V.length;S<U;++S){var P=V[S];if(P&&P[this.EL]===T&&(!M||M===P[this.TYPE])){R.push({type:P[this.TYPE],fn:P[this.FN],obj:P[this.OBJ],adjust:P[this.OVERRIDE],scope:P[this.ADJ_SCOPE],index:S});}}}}return(R.length)?R:null;},_unload:function(T){var N=YAHOO.util.Event,Q,P,O,S,R,U=J.slice(),M;for(Q=0,S=J.length;Q<S;++Q){O=U[Q];if(O){M=window;if(O[N.ADJ_SCOPE]){if(O[N.ADJ_SCOPE]===true){M=O[N.UNLOAD_OBJ];}else{M=O[N.ADJ_SCOPE];}}O[N.FN].call(M,N.getEvent(T,O[N.EL]),O[N.UNLOAD_OBJ]);U[Q]=null;}}O=null;M=null;J=null;if(I){for(P=I.length-1;P>-1;P--){O=I[P];if(O){N.removeListener(O[N.EL],O[N.TYPE],O[N.FN],P);}}O=null;}G=null;N._simpleRemove(window,"unload",N._unload);},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var M=document.documentElement,N=document.body;if(M&&(M.scrollTop||M.scrollLeft)){return[M.scrollTop,M.scrollLeft];}else{if(N){return[N.scrollTop,N.scrollLeft];}else{return[0,0];}}},regCE:function(){},_simpleAdd:function(){if(window.addEventListener){return function(O,P,N,M){O.addEventListener(P,N,(M));};}else{if(window.attachEvent){return function(O,P,N,M){O.attachEvent("on"+P,N);};}else{return function(){};}}}(),_simpleRemove:function(){if(window.removeEventListener){return function(O,P,N,M){O.removeEventListener(P,N,(M));};}else{if(window.detachEvent){return function(N,O,M){N.detachEvent("on"+O,M);};}else{return function(){};}}}()};}();(function(){var EU=YAHOO.util.Event;EU.on=EU.addListener;EU.onFocus=EU.addFocusListener;EU.onBlur=EU.addBlurListener;
15
+ /* DOMReady: based on work by: Dean Edwards/John Resig/Matthias Miller */
16
+ if(EU.isIE){YAHOO.util.Event.onDOMReady(YAHOO.util.Event._tryPreloadAttach,YAHOO.util.Event,true);var n=document.createElement("p");EU._dri=setInterval(function(){try{n.doScroll("left");clearInterval(EU._dri);EU._dri=null;EU._ready();n=null;}catch(ex){}},EU.POLL_INTERVAL);}else{if(EU.webkit&&EU.webkit<525){EU._dri=setInterval(function(){var rs=document.readyState;if("loaded"==rs||"complete"==rs){clearInterval(EU._dri);EU._dri=null;EU._ready();}},EU.POLL_INTERVAL);}else{EU._simpleAdd(document,"DOMContentLoaded",EU._ready);}}EU._simpleAdd(window,"load",EU._load);EU._simpleAdd(window,"unload",EU._unload);EU._tryPreloadAttach();})();}YAHOO.util.EventProvider=function(){};YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(A,C,F,E){this.__yui_events=this.__yui_events||{};var D=this.__yui_events[A];if(D){D.subscribe(C,F,E);
17
+ }else{this.__yui_subscribers=this.__yui_subscribers||{};var B=this.__yui_subscribers;if(!B[A]){B[A]=[];}B[A].push({fn:C,obj:F,overrideContext:E});}},unsubscribe:function(C,E,G){this.__yui_events=this.__yui_events||{};var A=this.__yui_events;if(C){var F=A[C];if(F){return F.unsubscribe(E,G);}}else{var B=true;for(var D in A){if(YAHOO.lang.hasOwnProperty(A,D)){B=B&&A[D].unsubscribe(E,G);}}return B;}return false;},unsubscribeAll:function(A){return this.unsubscribe(A);},createEvent:function(G,D){this.__yui_events=this.__yui_events||{};var A=D||{};var I=this.__yui_events;if(I[G]){}else{var H=A.scope||this;var E=(A.silent);var B=new YAHOO.util.CustomEvent(G,H,E,YAHOO.util.CustomEvent.FLAT);I[G]=B;if(A.onSubscribeCallback){B.subscribeEvent.subscribe(A.onSubscribeCallback);}this.__yui_subscribers=this.__yui_subscribers||{};var F=this.__yui_subscribers[G];if(F){for(var C=0;C<F.length;++C){B.subscribe(F[C].fn,F[C].obj,F[C].overrideContext);}}}return I[G];},fireEvent:function(E,D,A,C){this.__yui_events=this.__yui_events||{};var G=this.__yui_events[E];if(!G){return null;}var B=[];for(var F=1;F<arguments.length;++F){B.push(arguments[F]);}return G.fire.apply(G,B);},hasEvent:function(A){if(this.__yui_events){if(this.__yui_events[A]){return true;}}return false;}};(function(){var A=YAHOO.util.Event,C=YAHOO.lang;YAHOO.util.KeyListener=function(D,I,E,F){if(!D){}else{if(!I){}else{if(!E){}}}if(!F){F=YAHOO.util.KeyListener.KEYDOWN;}var G=new YAHOO.util.CustomEvent("keyPressed");this.enabledEvent=new YAHOO.util.CustomEvent("enabled");this.disabledEvent=new YAHOO.util.CustomEvent("disabled");if(C.isString(D)){D=document.getElementById(D);}if(C.isFunction(E)){G.subscribe(E);}else{G.subscribe(E.fn,E.scope,E.correctScope);}function H(O,N){if(!I.shift){I.shift=false;}if(!I.alt){I.alt=false;}if(!I.ctrl){I.ctrl=false;}if(O.shiftKey==I.shift&&O.altKey==I.alt&&O.ctrlKey==I.ctrl){var J,M=I.keys,L;if(YAHOO.lang.isArray(M)){for(var K=0;K<M.length;K++){J=M[K];L=A.getCharCode(O);if(J==L){G.fire(L,O);break;}}}else{L=A.getCharCode(O);if(M==L){G.fire(L,O);}}}}this.enable=function(){if(!this.enabled){A.on(D,F,H);this.enabledEvent.fire(I);}this.enabled=true;};this.disable=function(){if(this.enabled){A.removeListener(D,F,H);this.disabledEvent.fire(I);}this.enabled=false;};this.toString=function(){return"KeyListener ["+I.keys+"] "+D.tagName+(D.id?"["+D.id+"]":"");};};var B=YAHOO.util.KeyListener;B.KEYDOWN="keydown";B.KEYUP="keyup";B.KEY={ALT:18,BACK_SPACE:8,CAPS_LOCK:20,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,META:224,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PRINTSCREEN:44,RIGHT:39,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,UP:38};})();YAHOO.register("event",YAHOO.util.Event,{version:"2.7.0",build:"1796"});YAHOO.register("yuiloader-dom-event", YAHOO, {version: "2.7.0", build: "1796"});
18
+ /*
19
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
20
+ Code licensed under the BSD License:
21
+ http://developer.yahoo.net/yui/license.txt
22
+ version: 2.7.0
23
+ */
24
+ YAHOO.namespace("tool");YAHOO.tool.Profiler={_container:new Object(),_report:new Object(),_saveData:function(B,C){var A=this._report[B];A.calls++;A.points.push(C);if(A.calls>1){A.avg=((A.avg*(A.calls-1))+C)/A.calls;A.min=Math.min(A.min,C);A.max=Math.max(A.max,C);}else{A.avg=C;A.min=C;A.max=C;}},getAverage:function(A){return this._report[A].avg;},getCallCount:function(A){return this._report[A].calls;},getMax:function(A){return this._report[A].max;},getMin:function(A){return this._report[A].min;},getFunctionReport:function(A){return this._report[A];},getFullReport:function(C){C=C||function(){return true;};if(YAHOO.lang.isFunction(C)){var A={};for(var B in this._report){if(C(this._report[B])){A[B]=this._report[B];}}return A;}},registerConstructor:function(B,A){this.registerFunction(B,A,true);},registerFunction:function(name,owner,registerPrototype){var funcName=(name.indexOf(".")>-1?name.substring(name.lastIndexOf(".")+1):name);if(!YAHOO.lang.isObject(owner)){owner=eval(name.substring(0,name.lastIndexOf(".")));}var method=owner[funcName];var prototype=method.prototype;if(YAHOO.lang.isFunction(method)&&!method.__yuiProfiled){this._container[name]=method;owner[funcName]=function(){var start=new Date();var retval=method.apply(this,arguments);var stop=new Date();YAHOO.tool.Profiler._saveData(name,stop-start);return retval;};YAHOO.lang.augmentObject(owner[funcName],method);owner[funcName].__yuiProfiled=true;owner[funcName].prototype=prototype;this._container[name].__yuiOwner=owner;this._container[name].__yuiFuncName=funcName;if(registerPrototype){this.registerObject(name+".prototype",prototype);}this._report[name]={calls:0,max:0,min:0,avg:0,points:[]};}return method;},registerObject:function(name,object,recurse){object=(YAHOO.lang.isObject(object)?object:eval(name));this._container[name]=object;for(var prop in object){if(typeof object[prop]=="function"){if(prop!="constructor"&&prop!="superclass"){this.registerFunction(name+"."+prop,object);}}else{if(typeof object[prop]=="object"&&recurse){this.registerObject(name+"."+prop,object[prop],recurse);}}}},unregisterConstructor:function(A){if(YAHOO.lang.isFunction(this._container[A])){this.unregisterFunction(A,true);}},unregisterFunction:function(B,C){if(YAHOO.lang.isFunction(this._container[B])){if(C){this.unregisterObject(B+".prototype",this._container[B].prototype);}var A=this._container[B].__yuiOwner;var D=this._container[B].__yuiFuncName;delete this._container[B].__yuiOwner;delete this._container[B].__yuiFuncName;A[D]=this._container[B];delete this._container[B];delete this._report[B];}},unregisterObject:function(B,C){if(YAHOO.lang.isObject(this._container[B])){var A=this._container[B];for(var D in A){if(typeof A[D]=="function"){this.unregisterFunction(B+"."+D);}else{if(typeof A[D]=="object"&&C){this.unregisterObject(B+"."+D,C);}}}delete this._container[B];}}};YAHOO.register("profiler",YAHOO.tool.Profiler,{version:"2.7.0",build:"1796"});/*
25
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
26
+ Code licensed under the BSD License:
27
+ http://developer.yahoo.net/yui/license.txt
28
+ version: 2.7.0
29
+ */
30
+ YAHOO.util.Attribute=function(B,A){if(A){this.owner=A;this.configure(B,true);}};YAHOO.util.Attribute.prototype={name:undefined,value:null,owner:null,readOnly:false,writeOnce:false,_initialConfig:null,_written:false,method:null,setter:null,getter:null,validator:null,getValue:function(){var A=this.value;if(this.getter){A=this.getter.call(this.owner,this.name);}return A;},setValue:function(F,B){var E,A=this.owner,C=this.name;var D={type:C,prevValue:this.getValue(),newValue:F};if(this.readOnly||(this.writeOnce&&this._written)){return false;}if(this.validator&&!this.validator.call(A,F)){return false;}if(!B){E=A.fireBeforeChangeEvent(D);if(E===false){return false;}}if(this.setter){F=this.setter.call(A,F,this.name);if(F===undefined){}}if(this.method){this.method.call(A,F,this.name);}this.value=F;this._written=true;D.type=C;if(!B){this.owner.fireChangeEvent(D);}return true;},configure:function(B,C){B=B||{};if(C){this._written=false;}this._initialConfig=this._initialConfig||{};for(var A in B){if(B.hasOwnProperty(A)){this[A]=B[A];if(C){this._initialConfig[A]=B[A];}}}},resetValue:function(){return this.setValue(this._initialConfig.value);},resetConfig:function(){this.configure(this._initialConfig,true);},refresh:function(A){this.setValue(this.value,A);}};(function(){var A=YAHOO.util.Lang;YAHOO.util.AttributeProvider=function(){};YAHOO.util.AttributeProvider.prototype={_configs:null,get:function(C){this._configs=this._configs||{};var B=this._configs[C];if(!B||!this._configs.hasOwnProperty(C)){return null;}return B.getValue();},set:function(D,E,B){this._configs=this._configs||{};var C=this._configs[D];if(!C){return false;}return C.setValue(E,B);},getAttributeKeys:function(){this._configs=this._configs;var C=[],B;for(B in this._configs){if(A.hasOwnProperty(this._configs,B)&&!A.isUndefined(this._configs[B])){C[C.length]=B;}}return C;},setAttributes:function(D,B){for(var C in D){if(A.hasOwnProperty(D,C)){this.set(C,D[C],B);}}},resetValue:function(C,B){this._configs=this._configs||{};if(this._configs[C]){this.set(C,this._configs[C]._initialConfig.value,B);return true;}return false;},refresh:function(E,C){this._configs=this._configs||{};var F=this._configs;E=((A.isString(E))?[E]:E)||this.getAttributeKeys();for(var D=0,B=E.length;D<B;++D){if(F.hasOwnProperty(E[D])){this._configs[E[D]].refresh(C);}}},register:function(B,C){this.setAttributeConfig(B,C);},getAttributeConfig:function(C){this._configs=this._configs||{};var B=this._configs[C]||{};var D={};for(C in B){if(A.hasOwnProperty(B,C)){D[C]=B[C];}}return D;},setAttributeConfig:function(B,C,D){this._configs=this._configs||{};C=C||{};if(!this._configs[B]){C.name=B;this._configs[B]=this.createAttribute(C);}else{this._configs[B].configure(C,D);}},configureAttribute:function(B,C,D){this.setAttributeConfig(B,C,D);},resetAttributeConfig:function(B){this._configs=this._configs||{};this._configs[B].resetConfig();},subscribe:function(B,C){this._events=this._events||{};if(!(B in this._events)){this._events[B]=this.createEvent(B);}YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments);},on:function(){this.subscribe.apply(this,arguments);},addListener:function(){this.subscribe.apply(this,arguments);},fireBeforeChangeEvent:function(C){var B="before";B+=C.type.charAt(0).toUpperCase()+C.type.substr(1)+"Change";C.type=B;return this.fireEvent(C.type,C);},fireChangeEvent:function(B){B.type+="Change";return this.fireEvent(B.type,B);},createAttribute:function(B){return new YAHOO.util.Attribute(B,this);}};YAHOO.augment(YAHOO.util.AttributeProvider,YAHOO.util.EventProvider);})();(function(){var B=YAHOO.util.Dom,C=YAHOO.util.AttributeProvider;var A=function(D,E){this.init.apply(this,arguments);};A.DOM_EVENTS={"click":true,"dblclick":true,"keydown":true,"keypress":true,"keyup":true,"mousedown":true,"mousemove":true,"mouseout":true,"mouseover":true,"mouseup":true,"focus":true,"blur":true,"submit":true,"change":true};A.prototype={DOM_EVENTS:null,DEFAULT_HTML_SETTER:function(F,D){var E=this.get("element");if(E){E[D]=F;}},DEFAULT_HTML_GETTER:function(D){var E=this.get("element"),F;if(E){F=E[D];}return F;},appendChild:function(D){D=D.get?D.get("element"):D;return this.get("element").appendChild(D);},getElementsByTagName:function(D){return this.get("element").getElementsByTagName(D);},hasChildNodes:function(){return this.get("element").hasChildNodes();},insertBefore:function(D,E){D=D.get?D.get("element"):D;E=(E&&E.get)?E.get("element"):E;return this.get("element").insertBefore(D,E);},removeChild:function(D){D=D.get?D.get("element"):D;return this.get("element").removeChild(D);},replaceChild:function(D,E){D=D.get?D.get("element"):D;E=E.get?E.get("element"):E;return this.get("element").replaceChild(D,E);},initAttributes:function(D){},addListener:function(H,G,I,F){var E=this.get("element")||this.get("id");F=F||this;var D=this;if(!this._events[H]){if(E&&this.DOM_EVENTS[H]){YAHOO.util.Event.addListener(E,H,function(J){if(J.srcElement&&!J.target){J.target=J.srcElement;}D.fireEvent(H,J);},I,F);}this.createEvent(H,this);}return YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments);},on:function(){return this.addListener.apply(this,arguments);},subscribe:function(){return this.addListener.apply(this,arguments);},removeListener:function(E,D){return this.unsubscribe.apply(this,arguments);},addClass:function(D){B.addClass(this.get("element"),D);},getElementsByClassName:function(E,D){return B.getElementsByClassName(E,D,this.get("element"));},hasClass:function(D){return B.hasClass(this.get("element"),D);},removeClass:function(D){return B.removeClass(this.get("element"),D);},replaceClass:function(E,D){return B.replaceClass(this.get("element"),E,D);},setStyle:function(E,D){return B.setStyle(this.get("element"),E,D);},getStyle:function(D){return B.getStyle(this.get("element"),D);},fireQueue:function(){var E=this._queue;for(var F=0,D=E.length;F<D;++F){this[E[F][0]].apply(this,E[F][1]);}},appendTo:function(E,F){E=(E.get)?E.get("element"):B.get(E);this.fireEvent("beforeAppendTo",{type:"beforeAppendTo",target:E});
31
+ F=(F&&F.get)?F.get("element"):B.get(F);var D=this.get("element");if(!D){return false;}if(!E){return false;}if(D.parent!=E){if(F){E.insertBefore(D,F);}else{E.appendChild(D);}}this.fireEvent("appendTo",{type:"appendTo",target:E});return D;},get:function(D){var F=this._configs||{},E=F.element;if(E&&!F[D]&&!YAHOO.lang.isUndefined(E.value[D])){this._setHTMLAttrConfig(D);}return C.prototype.get.call(this,D);},setAttributes:function(J,G){var E={},H=this._configOrder;for(var I=0,D=H.length;I<D;++I){if(J[H[I]]!==undefined){E[H[I]]=true;this.set(H[I],J[H[I]],G);}}for(var F in J){if(J.hasOwnProperty(F)&&!E[F]){this.set(F,J[F],G);}}},set:function(E,G,D){var F=this.get("element");if(!F){this._queue[this._queue.length]=["set",arguments];if(this._configs[E]){this._configs[E].value=G;}return;}if(!this._configs[E]&&!YAHOO.lang.isUndefined(F[E])){this._setHTMLAttrConfig(E);}return C.prototype.set.apply(this,arguments);},setAttributeConfig:function(D,E,F){this._configOrder.push(D);C.prototype.setAttributeConfig.apply(this,arguments);},createEvent:function(E,D){this._events[E]=true;return C.prototype.createEvent.apply(this,arguments);},init:function(E,D){this._initElement(E,D);},destroy:function(){var D=this.get("element");YAHOO.util.Event.purgeElement(D,true);this.unsubscribeAll();if(D&&D.parentNode){D.parentNode.removeChild(D);}this._queue=[];this._events={};this._configs={};this._configOrder=[];},_initElement:function(F,E){this._queue=this._queue||[];this._events=this._events||{};this._configs=this._configs||{};this._configOrder=[];E=E||{};E.element=E.element||F||null;var H=false;var D=A.DOM_EVENTS;this.DOM_EVENTS=this.DOM_EVENTS||{};for(var G in D){if(D.hasOwnProperty(G)){this.DOM_EVENTS[G]=D[G];}}if(typeof E.element==="string"){this._setHTMLAttrConfig("id",{value:E.element});}if(B.get(E.element)){H=true;this._initHTMLElement(E);this._initContent(E);}YAHOO.util.Event.onAvailable(E.element,function(){if(!H){this._initHTMLElement(E);}this.fireEvent("available",{type:"available",target:B.get(E.element)});},this,true);YAHOO.util.Event.onContentReady(E.element,function(){if(!H){this._initContent(E);}this.fireEvent("contentReady",{type:"contentReady",target:B.get(E.element)});},this,true);},_initHTMLElement:function(D){this.setAttributeConfig("element",{value:B.get(D.element),readOnly:true});},_initContent:function(D){this.initAttributes(D);this.setAttributes(D,true);this.fireQueue();},_setHTMLAttrConfig:function(D,F){var E=this.get("element");F=F||{};F.name=D;F.setter=F.setter||this.DEFAULT_HTML_SETTER;F.getter=F.getter||this.DEFAULT_HTML_GETTER;F.value=F.value||E[D];this._configs[D]=new YAHOO.util.Attribute(F,this);}};YAHOO.augment(A,C);YAHOO.util.Element=A;})();YAHOO.register("element",YAHOO.util.Element,{version:"2.7.0",build:"1796"});/*
32
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
33
+ Code licensed under the BSD License:
34
+ http://developer.yahoo.net/yui/license.txt
35
+ version: 2.7.0
36
+ */
37
+ (function(){YAHOO.widget.ProfilerViewer=function(H,G){G=G||{};if(arguments.length==1&&!YAHOO.lang.isString(H)&&!H.nodeName){G=H;H=G.element||null;}if(!H&&!G.element){H=this._createProfilerViewerElement();}YAHOO.widget.ProfilerViewer.superclass.constructor.call(this,H,G);this._init();};YAHOO.extend(YAHOO.widget.ProfilerViewer,YAHOO.util.Element);YAHOO.lang.augmentObject(YAHOO.widget.ProfilerViewer,{CLASS:"yui-pv",CLASS_DASHBOARD:"yui-pv-dashboard",CLASS_REFRESH:"yui-pv-refresh",CLASS_BUSY:"yui-pv-busy",CLASS_CHART_CONTAINER:"yui-pv-chartcontainer",CLASS_CHART:"yui-pv-chart",CLASS_CHART_LEGEND:"yui-pv-chartlegend",CLASS_TABLE:"yui-pv-table",STRINGS:{title:"YUI Profiler (beta)",buttons:{viewprofiler:"View Profiler Data",hideprofiler:"Hide Profiler Report",showchart:"Show Chart",hidechart:"Hide Chart",refreshdata:"Refresh Data"},colHeads:{fn:["Function/Method",null],calls:["Calls",40],avg:["Average",80],min:["Shortest",70],max:["Longest",70],total:["Total Time",70],pct:["Percent",70]},millisecondsAbbrev:"ms",initMessage:"initialiazing chart...",installFlashMessage:"Unable to load Flash content. The YUI Charts Control requires Flash Player 9.0.45 or higher. You can download the latest version of Flash Player from the <a href='http://www.adobe.com/go/getflashplayer'>Adobe Flash Player Download Center</a>."},timeAxisLabelFunction:function(H){var G=(H===Math.floor(H))?H:(Math.round(H*1000))/1000;return(G+" "+YAHOO.widget.ProfilerViewer.STRINGS.millisecondsAbbrev);},percentAxisLabelFunction:function(H){var G=(H===Math.floor(H))?H:(Math.round(H*100))/100;return(G+"%");}},true);var C=YAHOO.util.Dom;var A=YAHOO.util.Event;var B=YAHOO.tool.Profiler;var E=YAHOO.widget.ProfilerViewer;var D=E.prototype;D.refreshData=function(){this.fireEvent("dataRefreshEvent");};D.getHeadEl=function(){return(this._headEl)?C.get(this._headEl):false;};D.getBodyEl=function(){return(this._bodyEl)?C.get(this._bodyEl):false;};D.getChartEl=function(){return(this._chartEl)?C.get(this._chartEl):false;};D.getTableEl=function(){return(this._tableEl)?C.get(this._tableEl):false;};D.getDataTable=function(){return this._dataTable;};D.getChart=function(){return this._chart;};D._rendered=false;D._headEl=null;D._bodyEl=null;D._toggleVisibleEl=null;D._busyEl=null;D._busy=false;D._tableEl=null;D._dataTable=null;D._chartEl=null;D._chartLegendEl=null;D._chartElHeight=250;D._chart=null;D._chartInitialized=false;D._init=function(){this.createEvent("dataRefreshEvent");this.createEvent("renderEvent");this.on("dataRefreshEvent",this._refreshDataTable,this,true);this._initLauncherDOM();if(this.get("showChart")){this.on("sortedByChange",this._refreshChart);}};D._createProfilerViewerElement=function(){var G=document.createElement("div");document.body.insertBefore(G,document.body.firstChild);C.addClass(G,this.SKIN_CLASS);C.addClass(G,E.CLASS);return G;};D.toString=function(){return"ProfilerViewer "+(this.get("id")||this.get("tagName"));};D._toggleVisible=function(){var G=(this.get("visible"))?false:true;this.set("visible",G);};D._show=function(){if(!this._busy){this._setBusyState(true);if(!this._rendered){var G=new YAHOO.util.YUILoader();if(this.get("base")){G.base=this.get("base");}var H=["datatable"];if(this.get("showChart")){H.push("charts");}G.insert({require:H,onSuccess:function(){this._render();},scope:this});}else{var I=this.get("element");C.removeClass(I,"yui-pv-minimized");this._toggleVisibleEl.innerHTML=E.STRINGS.buttons.hideprofiler;C.addClass(I,"yui-pv-null");C.removeClass(I,"yui-pv-null");this.refreshData();}}};D._hide=function(){this._toggleVisibleEl.innerHTML=E.STRINGS.buttons.viewprofiler;C.addClass(this.get("element"),"yui-pv-minimized");};D._render=function(){C.removeClass(this.get("element"),"yui-pv-minimized");this._initViewerDOM();this._initDataTable();if(this.get("showChart")){this._initChartDOM();this._initChart();}this._rendered=true;this._toggleVisibleEl.innerHTML=E.STRINGS.buttons.hideprofiler;this.fireEvent("renderEvent");};D._initLauncherDOM=function(){var I=this.get("element");C.addClass(I,E.CLASS);C.addClass(I,"yui-pv-minimized");this._headEl=document.createElement("div");C.addClass(this._headEl,"hd");var H=E.STRINGS.buttons;var G=(this.get("visible"))?H.hideprofiler:H.viewprofiler;this._toggleVisibleEl=this._createButton(G,this._headEl);this._refreshEl=this._createButton(H.refreshdata,this._headEl);C.addClass(this._refreshEl,E.CLASS_REFRESH);this._busyEl=document.createElement("span");this._headEl.appendChild(this._busyEl);var J=document.createElement("h4");J.innerHTML=E.STRINGS.title;this._headEl.appendChild(J);I.appendChild(this._headEl);A.on(this._toggleVisibleEl,"click",this._toggleVisible,this,true);A.on(this._refreshEl,"click",function(){if(!this._busy){this._setBusyState(true);this.fireEvent("dataRefreshEvent");}},this,true);};D._initViewerDOM=function(){var G=this.get("element");this._bodyEl=document.createElement("div");C.addClass(this._bodyEl,"bd");this._tableEl=document.createElement("div");C.addClass(this._tableEl,E.CLASS_TABLE);this._bodyEl.appendChild(this._tableEl);G.appendChild(this._bodyEl);};D._initChartDOM=function(){this._chartContainer=document.createElement("div");C.addClass(this._chartContainer,E.CLASS_CHART_CONTAINER);var H=document.createElement("div");C.addClass(H,E.CLASS_CHART_LEGEND);var G=document.createElement("div");this._chartLegendEl=document.createElement("dl");this._chartLegendEl.innerHTML="<dd>"+E.STRINGS.initMessage+"</dd>";this._chartEl=document.createElement("div");C.addClass(this._chartEl,E.CLASS_CHART);var I=document.createElement("p");I.innerHTML=E.STRINGS.installFlashMessage;this._chartEl.appendChild(I);this._chartContainer.appendChild(H);H.appendChild(G);G.appendChild(this._chartLegendEl);this._chartContainer.appendChild(this._chartEl);this._bodyEl.insertBefore(this._chartContainer,this._tableEl);};D._createButton=function(I,J,H){var G=document.createElement("a");G.innerHTML=G.title=I;if(J){if(!H){J.appendChild(G);}else{J.insertBefore(G,J.firstChild);}}return G;};D._setBusyState=function(G){if(G){C.addClass(this._busyEl,E.CLASS_BUSY);
38
+ this._busy=true;}else{C.removeClass(this._busyEl,E.CLASS_BUSY);this._busy=false;}};D._genSortFunction=function(H,G){var J=H;var I=G;return function(L,K){if(I==YAHOO.widget.DataTable.CLASS_ASC){return L[J]-K[J];}else{return((L[J]-K[J])*-1);}};};var F=function(G){var I=0;for(var H=0;H<G.length;I+=G[H++]){}return I;};D._getProfilerData=function(){var L=B.getFullReport();var N=[];var H=0;for(name in L){if(YAHOO.lang.hasOwnProperty(L,name)){var G=L[name];var I={};I.fn=name;I.points=G.points.slice();I.calls=G.calls;I.min=G.min;I.max=G.max;I.avg=G.avg;I.total=F(I.points);I.points=G.points;var P=this.get("filter");if((!P)||(P(I))){N.push(I);H+=I.total;}}}for(var M=0,K=N.length;M<K;M++){N[M].pct=(H)?(N[M].total*100)/H:0;}var O=this.get("sortedBy");var Q=O.key;var J=O.dir;N.sort(this._genSortFunction(Q,J));return N;};D._initDataTable=function(){var P=this;this._dataSource=new YAHOO.util.DataSource(function(){return P._getProfilerData.call(P);},{responseType:YAHOO.util.DataSource.TYPE_JSARRAY,maxCacheEntries:0});var H=this._dataSource;H.responseSchema={fields:["fn","avg","calls","max","min","total","pct","points"]};var O=function(S,R,T,U){var Q=(U===Math.floor(U))?U:(Math.round(U*1000))/1000;S.innerHTML=Q+" "+E.STRINGS.millisecondsAbbrev;};var N=function(S,R,T,U){var Q=(U===Math.floor(U))?U:(Math.round(U*100))/100;S.innerHTML=Q+"%";};var M=YAHOO.widget.DataTable.CLASS_ASC;var J=YAHOO.widget.DataTable.CLASS_DESC;var K=E.STRINGS.colHeads;var I=O;var L=[{key:"fn",sortable:true,label:K.fn[0],sortOptions:{defaultDir:M},resizeable:(YAHOO.util.DragDrop)?true:false,minWidth:K.fn[1]},{key:"calls",sortable:true,label:K.calls[0],sortOptions:{defaultDir:J},width:K.calls[1]},{key:"avg",sortable:true,label:K.avg[0],sortOptions:{defaultDir:J},formatter:I,width:K.avg[1]},{key:"min",sortable:true,label:K.min[0],sortOptions:{defaultDir:M},formatter:I,width:K.min[1]},{key:"max",sortable:true,label:K.max[0],sortOptions:{defaultDir:J},formatter:I,width:K.max[1]},{key:"total",sortable:true,label:K.total[0],sortOptions:{defaultDir:J},formatter:I,width:K.total[1]},{key:"pct",sortable:true,label:K.pct[0],sortOptions:{defaultDir:J},formatter:N,width:K.pct[1]}];this._dataTable=new YAHOO.widget.DataTable(this._tableEl,L,H,{scrollable:true,height:this.get("tableHeight"),initialRequest:null,sortedBy:{key:"total",dir:YAHOO.widget.DataTable.CLASS_DESC}});var G=this._dataTable;G.subscribe("sortedByChange",this._sortedByChange,this,true);G.subscribe("renderEvent",this._dataTableRenderHandler,this,true);G.subscribe("initEvent",this._dataTableRenderHandler,this,true);A.on(this._tableEl.getElementsByTagName("th"),"click",this._thClickHandler,this,true);};D._sortedByChange=function(G){if(G.newValue&&G.newValue.key){this.set("sortedBy",{key:G.newValue.key,dir:G.newValue.dir});}};D._dataTableRenderHandler=function(G){this._setBusyState(false);};D._thClickHandler=function(G){this._setBusyState(true);};D._refreshDataTable=function(G){var H=this._dataTable;H.getDataSource().sendRequest("",H.onDataReturnInitializeTable,H);};D._refreshChart=function(){switch(this.get("sortedBy").key){case"fn":this._chart.set("dataSource",this._chart.get("dataSource"));return;case"calls":this._chart.set("xAxis",this._chartAxisDefinitionPlain);break;case"pct":this._chart.set("xAxis",this._chartAxisDefinitionPercent);break;default:this._chart.set("xAxis",this._chartAxisDefinitionTime);break;}this._drawChartLegend();this._chart.set("series",this._getSeriesDef(this.get("sortedBy").key));};D._getChartData=function(){var H=this._dataTable.getRecordSet().getRecords(0,this.get("maxChartFunctions"));var G=[];for(var J=0,I=H.length;J<I;J++){G.push(H[J].getData());}return G;};D._getSeriesDef=function(K){var J=this.get("chartSeriesDefinitions")[K];var G=[];for(var I=0,H=J.group.length;I<H;I++){var L=this.get("chartSeriesDefinitions")[J.group[I]];G.push({displayName:L.displayName,xField:L.xField,style:{color:L.style.color,size:L.style.size}});}return G;};D._initChart=function(){this._sizeChartCanvas();YAHOO.widget.Chart.SWFURL=this.get("swfUrl");var G=this;var H=new YAHOO.util.DataSource(function(){return G._getChartData.call(G);},{responseType:YAHOO.util.DataSource.TYPE_JSARRAY,maxCacheEntries:0});H.responseSchema={fields:["fn","avg","calls","max","min","total","pct"]};H.subscribe("responseEvent",this._sizeChartCanvas,this,true);this._chartAxisDefinitionTime=new YAHOO.widget.NumericAxis();this._chartAxisDefinitionTime.labelFunction="YAHOO.widget.ProfilerViewer.timeAxisLabelFunction";this._chartAxisDefinitionPercent=new YAHOO.widget.NumericAxis();this._chartAxisDefinitionPercent.labelFunction="YAHOO.widget.ProfilerViewer.percentAxisLabelFunction";this._chartAxisDefinitionPlain=new YAHOO.widget.NumericAxis();this._chart=new YAHOO.widget.BarChart(this._chartEl,H,{yField:"fn",series:this._getSeriesDef(this.get("sortedBy").key),style:this.get("chartStyle"),xAxis:this._chartAxisDefinitionTime});this._drawChartLegend();this._chartInitialized=true;this._dataTable.unsubscribe("initEvent",this._initChart,this);this._dataTable.subscribe("initEvent",this._refreshChart,this,true);};D._drawChartLegend=function(){var M=this.get("chartSeriesDefinitions");var I=M[this.get("sortedBy").key];var H=this._chartLegendEl;H.innerHTML="";for(var K=0,J=I.group.length;K<J;K++){var N=M[I.group[K]];var L=document.createElement("dt");C.setStyle(L,"backgroundColor","#"+N.style.color);var G=document.createElement("dd");G.innerHTML=N.displayName;H.appendChild(L);H.appendChild(G);}};D._sizeChartCanvas=function(I){var G=(I)?I.response.length:this.get("maxChartFunctions");var H=(G*36)+34;if(H!=parseInt(this._chartElHeight,10)){this._chartElHeight=H;C.setStyle(this._chartEl,"height",H+"px");}};D.initAttributes=function(G){YAHOO.widget.ProfilerViewer.superclass.initAttributes.call(this,G);this.setAttributeConfig("base",{value:G.base});this.setAttributeConfig("tableHeight",{value:G.tableHeight||"15em",method:function(H){if(this._dataTable){this._dataTable.set("height",H);}}});this.setAttributeConfig("sortedBy",{value:G.sortedBy||{key:"total",dir:"yui-dt-desc"}});
39
+ this.setAttributeConfig("filter",{value:G.filter||null,validator:YAHOO.lang.isFunction});this.setAttributeConfig("swfUrl",{value:G.swfUrl||"http://yui.yahooapis.com/2.5.0/build/charts/assets/charts.swf"});this.setAttributeConfig("maxChartFunctions",{value:G.maxChartFunctions||6,method:function(H){if(this._rendered){this._sizeChartCanvas();}},validator:YAHOO.lang.isNumber});this.setAttributeConfig("chartStyle",{value:G.chartStyle||{font:{name:"Arial",color:15658588,size:12},background:{color:"6e6e63"}},method:function(){if(this._rendered&&this.get("showChart")){this._refreshChart();}}});this.setAttributeConfig("chartSeriesDefinitions",{value:G.chartSeriesDefinitions||{total:{displayName:E.STRINGS.colHeads.total[0],xField:"total",style:{color:"4d95dd",size:20},group:["total"]},calls:{displayName:E.STRINGS.colHeads.calls[0],xField:"calls",style:{color:"edff9f",size:20},group:["calls"]},avg:{displayName:E.STRINGS.colHeads.avg[0],xField:"avg",style:{color:"209daf",size:9},group:["avg","min","max"]},min:{displayName:E.STRINGS.colHeads.min[0],xField:"min",style:{color:"b6ecf4",size:9},group:["avg","min","max"]},max:{displayName:E.STRINGS.colHeads.max[0],xField:"max",style:{color:"29c7de",size:9},group:["avg","min","max"]},pct:{displayName:E.STRINGS.colHeads.pct[0],xField:"pct",style:{color:"C96EDB",size:20},group:["pct"]}},method:function(){if(this._rendered&&this.get("showChart")){this._refreshChart();}}});this.setAttributeConfig("visible",{value:G.visible||false,validator:YAHOO.lang.isBoolean,method:function(H){if(H){this._show();}else{if(this._rendered){this._hide();}}}});this.setAttributeConfig("showChart",{value:G.showChart||true,validator:YAHOO.lang.isBoolean,writeOnce:true});YAHOO.widget.ProfilerViewer.superclass.initAttributes.call(this,G);};})();YAHOO.register("profilerviewer",YAHOO.widget.ProfilerViewer,{version:"2.7.0",build:"1796"});
@@ -0,0 +1,5 @@
1
+ # www.robotstxt.org/
2
+ # www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449
3
+
4
+ User-agent: *
5
+
@@ -0,0 +1,204 @@
1
+ ---
2
+ layout: default
3
+ title: Storage
4
+ ---
5
+
6
+ Having Ruby experience makes you hirable; but how can you stand out? You need to demonstrate your abilities. What better way than using Ruby and "the cloud" to store and serve your resume!
7
+
8
+ In this blog post you will learn to use <a href="http://github.com/fog/fog">fog</a> - the cloud computing library - to upload your resume to Amazon's <a href="http://aws.amazon.com/s3/">Simple Storage Service</a> (S3), Rackspace's <a href="http://www.rackspacecloud.com/cloud_hosting_products/files">CloudFiles</a> or Google's <a href="http://code.google.com/apis/storage/">Cloud Storage</a>.
9
+
10
+ Here's my out of date resume stored on <a href="http://geemus.s3.amazonaws.com/resume.html">S3</a>, <a href="http://c0023559.cdn2.cloudfiles.rackspacecloud.com/resume.html">CloudFiles</a> and <a href="https://geemus.storage.googleapis.com/resume.html">Google Storage</a>; programmatically stored in the cloud using this tutorial. NOTE: my boss would like me to add that I'm not currently looking for a new gig ;)
11
+
12
+ Check out those cloud-specific URLs! You could put all three in your job application, add the Ruby source for how you did it, and have your choice of Ruby jobs for being so awesome!
13
+
14
+ How? The all-clouds-in-one library of choice is <a href="https://github.com/fog/fog">fog</a>.
15
+
16
+ ## Installing fog
17
+
18
+ fog is distributed as a RubyGem:
19
+
20
+ gem install fog
21
+
22
+ Or add it in your application's Gemfile:
23
+
24
+ gem "fog"
25
+
26
+ ## Using Amazon S3 and fog
27
+
28
+ Sign up for an account <a href="http://aws-portal.amazon.com/gp/aws/developer/subscription/index.html?productCode=AmazonS3">here</a> and copy down your secret access key and access key id from <a href="http://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key">here</a>. We are about to get into the code samples, so be sure to fill in anything in ALL_CAPS with your own values!
29
+
30
+ First, create a connection with your new account:
31
+
32
+ require 'rubygems'
33
+ require 'fog'
34
+
35
+ # create a connection
36
+ connection = Fog::Storage.new({
37
+ :provider => 'AWS',
38
+ :aws_access_key_id => YOUR_AWS_ACCESS_KEY_ID,
39
+ :aws_secret_access_key => YOUR_AWS_SECRET_ACCESS_KEY
40
+ })
41
+
42
+ # First, a place to contain the glorious details
43
+ directory = connection.directories.create(
44
+ :key => "fog-demo-#{Time.now.to_i}", # globally unique name
45
+ :public => true
46
+ )
47
+
48
+ # list directories
49
+ p connection.directories
50
+
51
+ # upload that resume
52
+ file = directory.files.create(
53
+ :key => 'resume.html',
54
+ :body => File.open("/path/to/my/resume.html"),
55
+ :public => true
56
+ )
57
+
58
+ If you are anything like me, you will continually tweak your resume. Pushing updates is easy:
59
+
60
+ file.body = File.open("/path/to/my/resume.html")
61
+ file.save
62
+
63
+ As you can see, cloud storage files in fog are a lot like an ActiveRecord model. Attributes that can be changed and a `#save` method that creates or updates the stored file in the cloud.
64
+
65
+ But if it took you longer to realize the mistake you might not still have file around, but you've got options.
66
+
67
+ directory = connection.directories.get("proclamations1234567890")
68
+
69
+ # get the resume file
70
+ file = directory.files.get('resume.html')
71
+ file.body = File.open("/path/to/my/resume.html")
72
+ file.save
73
+
74
+ # also, create(attributes) is just new(attributes).save, so you can also do:
75
+ file = directory.files.new({
76
+ :key => 'resume.html',
77
+ :body => 'improvements',
78
+ :public => true
79
+ })
80
+ file.save
81
+
82
+ ## Backing up your files
83
+
84
+ Now you've got a bunch of files in S3: your resume, some code samples,
85
+ and maybe some pictures of your cat doing funny stuff. Since this is
86
+ all of vital importance, you need to back it up.
87
+
88
+ # copy each file to local disk
89
+ directory.files.each do |s3_file|
90
+ File.open(s3_file.key, 'w') do |local_file|
91
+ local_file.write(s3_file.body)
92
+ end
93
+ end
94
+
95
+ One caveat: it's way more efficient to do this:
96
+
97
+ # do two things per file
98
+ directory.files.each do |file|
99
+ do_one_thing(file)
100
+ do_another_thing(file)
101
+ end
102
+
103
+ than it is to do this:
104
+
105
+ # do two things per file
106
+ directory.files.each do |file|
107
+ do_one_thing(file)
108
+ end.each do |file|
109
+ do_another_thing(file)
110
+ end
111
+
112
+ The reason is that the list of files might be large. Really
113
+ large. Eat-all-your-RAM-and-ask-for-more large. Therefore, every time
114
+ you say `files.each`, fog makes a fresh set of API calls to Amazon to
115
+ list the available files (Amazon's API returns a page at a time, so
116
+ fog works a page at a time in order to keep its memory requirements sane).
117
+
118
+ ## Sending it out
119
+
120
+ Alright, so you (eventually) become satisfied enough to send it off, what is the URL endpoint to your resume?
121
+
122
+ puts file.public_url
123
+
124
+ Pop that link in an email and you should be ready to cruise job ads and send your resume far and wide (Engine Yard is <a href="http://www.engineyard.com/company/careers/wanted-head-in-the-clouds-engineer">hiring</a>, so check us out!). Now you are set, unless you are interviewing for Google, or Rackspace... Both of these companies have their own cloud storage services, so using Amazon S3 might not be the foot in the door you hoped for.
125
+
126
+ More clouds? How much extra stuff will you have to do for these services!?! Hardly anything needs to change, you just have to pass slightly different credentials in, but I'm getting ahead of myself.
127
+
128
+ ## Google Cloud Storage
129
+
130
+ Sign up <a href="http://gs-signup-redirect.appspot.com/">here</a> and get your credentials <a href="https://storage.cloud.google.com/m">here</a> under the section "Interoperable Access".
131
+
132
+ connection = Fog::Storage.new({
133
+ :provider => 'Google',
134
+ :google_storage_access_key_id => YOUR_SECRET_ACCESS_KEY_ID,
135
+ :google_storage_secret_access_key => YOUR_SECRET_ACCESS_KEY
136
+ })
137
+
138
+ ## Rackspace CloudFiles
139
+
140
+ Rackspace has <a href="http://www.rackspacecloud.com/cloud_hosting_products/files">Cloud Files</a> and you can sign up <a href="https://www.rackspacecloud.com/signup">here</a> and get your credentials <a href="https://manage.rackspacecloud.com/APIAccess.do">here</a>.
141
+
142
+ connection = Fog::Storage.new({
143
+ :provider => 'Rackspace',
144
+ :rackspace_username => RACKSPACE_USERNAME,
145
+ :rackspace_api_key => RACKSPACE_API_KEY
146
+ })
147
+
148
+ If you work with the European cloud from Rackspace you have to add the following:
149
+
150
+ :rackspace_auth_url => "lon.auth.api.rackspacecloud.com"
151
+
152
+ Then create, save, destroy as per fog-for-AWS. The `:public => true` option when creating directories (see above) is important for Rackspace; your folder and files won't be shared to Rackspace's CDN and hence your users without it. Similarly the `:public =&gt; true` on files is important for AWS and Google or they will be private.
153
+
154
+ ## Local Storage
155
+
156
+ While you are working out the kinks you might not want to do everything live though, ditto for while you are running tests, so you have a couple options to try before you buy. First, you can use a local provider to store things in a directory on your machine.
157
+
158
+ connection = Fog::Storage.new({
159
+ :provider => 'Local',
160
+ :local_root => '~/fog'
161
+ })
162
+
163
+ ## Mocking out Cloud Storage
164
+
165
+ Of course when you are testing or developing you can always just use the mocks (at least for AWS and Google, Rackspace still needs mocks implemented if you are looking for somewhere to contribute). They emulate the behavior of the external systems without actually using them. It is as simple as:
166
+
167
+ Fog.mock!
168
+ connection = Fog::Storage.new(config_hash)
169
+
170
+ ## Cleaning up
171
+
172
+ Fog takes care of the rest so you can focus on your cover letter. And with the awesome cover letter and cloud delivered resume you are probably a shoe-in. So all that is left is to cleanup that leftover job hunt residue.
173
+
174
+ file.destroy
175
+ directory.destroy
176
+
177
+ ## Checking if a file already exists
178
+
179
+ Sometimes you might want to find out some information about a file without retrieving the whole file. You can do that using 'head'.
180
+
181
+ #returns nil if the file doesn't exist
182
+ unless directory.files.head('resume.html')
183
+ #do something, like creating the file
184
+ end
185
+
186
+ #returns a hash with the following data:
187
+ # 'key' - Key for the object
188
+ # 'Content-Length' - Size of object contents
189
+ # 'Content-Type' - MIME type of object
190
+ # 'ETag' - Etag of object
191
+ # 'Last-Modified' - Last modified timestamp for object
192
+ puts directory.files.head('resume.html')
193
+
194
+ ## Summary
195
+
196
+ All done. Try out all the different options and let me know if you have any bugs or issues. I also wrote up a more <a href="https://gist.github.com/710869">consolidated example as a script</a> that you can use for reference.
197
+
198
+ Bonus, note the `Fog.mock!` command. In your tests you can easily mock out calls to cloud providers.
199
+
200
+ Please let me know in the comments if you got a new Ruby job because you hosted your CV on 3 different Cloud Stores without getting your hands dirty.
201
+
202
+ Have questions or comments? Hop into <a href="irc://irc.freenode.net/">#ruby-fog</a> on freenode, ping <a href="http://twitter.com/fog">@fog</a> or <a href="http://twitter.com/geemus">@geemus</a>.
203
+
204
+ And please always remember that I accept high fives and contributions!
@@ -0,0 +1,71 @@
1
+ Gem::Specification.new do |s|
2
+ s.specification_version = 2 if s.respond_to? :specification_version=
3
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
4
+
5
+ ## Leave these as is they will be modified for you by the rake gemspec task.
6
+ ## If your rubyforge_project name is different, then edit it and comment out
7
+ ## the sub! line in the Rakefile
8
+ s.name = 'fog-nirvanix'
9
+ s.version = '1.8.1'
10
+ s.date = '2013-04-23'
11
+ s.rubyforge_project = 'fog'
12
+
13
+
14
+ ## Make sure your summary is short. The description may be as long
15
+ ## as you like.
16
+ s.summary = "brings clouds to you"
17
+ s.description = "The Ruby cloud services library. Supports all major cloud providers including AWS, Rackspace, Linode, Blue Box, StormOnDemand, and many others. Full support for most AWS services including EC2, S3, CloudWatch, SimpleDB, ELB, and RDS. This version adds basic functionality for interacting with the Nirvanix object store."
18
+
19
+ ## List the primary authors. If there are a bunch of authors, it's probably
20
+ ## better to set the email to an email list or something. If you don't have
21
+ ## a custom homepage, consider using your GitHub URL or the like.
22
+ s.authors = ["geemus (Wesley Beary)"]
23
+ s.email = 'geemus@gmail.com'
24
+ s.homepage = 'http://github.com/fog/fog'
25
+
26
+ ## This sections is only necessary if you have C extensions.
27
+ # s.require_paths << 'ext'
28
+ # s.extensions = %w[ext/extconf.rb]
29
+
30
+ ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
31
+ ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
32
+ s.require_paths = %w[lib]
33
+
34
+ ## If your gem includes any executables, list them here.
35
+ s.executables = ["fog"]
36
+
37
+ ## Specify any RDoc options here. You'll want to add your README and
38
+ ## LICENSE files to the extra_rdoc_files list.
39
+ s.rdoc_options = ["--charset=UTF-8"]
40
+ s.extra_rdoc_files = %w[README.md]
41
+
42
+ ## List your runtime dependencies here. Runtime dependencies are those
43
+ ## that are needed for an end user to actually USE your code.
44
+ s.add_dependency('builder')
45
+ s.add_dependency('excon', '~>0.14')
46
+ s.add_dependency('formatador', '~>0.2.0')
47
+ s.add_dependency('multi_json', '~>1.0')
48
+ s.add_dependency('mime-types')
49
+ s.add_dependency('net-scp', '~>1.0.4')
50
+ s.add_dependency('net-ssh', '>=2.1.3')
51
+ s.add_dependency('nokogiri', '~>1.5.0')
52
+ s.add_dependency('ruby-hmac')
53
+
54
+ ## List your development dependencies here. Development dependencies are
55
+ ## those that are only needed during development
56
+ s.add_development_dependency('jekyll')
57
+ s.add_development_dependency('rake')
58
+ s.add_development_dependency('rbvmomi')
59
+ s.add_development_dependency('yard')
60
+ s.add_development_dependency('thor')
61
+ s.add_development_dependency('rspec', '~>1.3.1')
62
+ s.add_development_dependency('rbovirt', '>=0.0.11')
63
+ s.add_development_dependency('shindo', '~>0.3.4')
64
+ s.add_development_dependency('virtualbox', '~>0.9.1')
65
+ s.add_development_dependency('fission')
66
+
67
+ # s.add_development_dependency('ruby-libvirt','~>0.4.0')
68
+
69
+ s.files = `git ls-files`.split("\n").delete_if {|f| f == 'tester.rb'}
70
+ s.test_files = `git ls-files -- {spec,tests}/*`.split("\n")
71
+ end
@@ -0,0 +1,17 @@
1
+ require File.join(File.dirname(__FILE__), 'fog', 'core')
2
+
3
+ module Fog
4
+ end
5
+
6
+ # FIXME: these should go away (force usage of Fog::[Compute, CDN, DNS, Storage] etc)
7
+ require 'fog/providers'
8
+ require 'fog/terremark'
9
+
10
+ require 'fog/compute'
11
+ require 'fog/identity'
12
+ require 'fog/image'
13
+ require 'fog/volume'
14
+ require 'fog/cdn'
15
+ require 'fog/dns'
16
+ require 'fog/network'
17
+ require 'fog/storage'
@@ -0,0 +1,11 @@
1
+ require 'fog/core'
2
+
3
+ module Fog
4
+ module Atmos
5
+
6
+ extend Fog::Provider
7
+
8
+ service(:storage, 'atmos/storage', 'Storage')
9
+
10
+ end
11
+ end
@@ -0,0 +1,48 @@
1
+ require 'fog/core/collection'
2
+ require 'fog/atmos/models/storage/directory'
3
+
4
+ module Fog
5
+ module Storage
6
+ class Atmos
7
+
8
+ class Directories < Fog::Collection
9
+
10
+ attribute :directory
11
+
12
+ model Fog::Storage::Atmos::Directory
13
+
14
+ def all
15
+ directory ? ns = directory.key : ns = ''
16
+ ns = ns + '/' unless ns =~ /\/$/
17
+ data = connection.get_namespace(ns).body[:DirectoryList]
18
+ data = {:DirectoryEntry => []} if data.kind_of? String
19
+ data[:DirectoryEntry] = [data[:DirectoryEntry]] if data[:DirectoryEntry].kind_of? Hash
20
+ dirs = data[:DirectoryEntry].select {|de| de[:FileType] == 'directory'}
21
+ dirs.each do |d|
22
+ d[:Filename] = ns + d[:Filename] if directory
23
+ d[:Filename] += '/' unless d[:Filename] =~ /\/$/
24
+ end
25
+ load(dirs)
26
+ end
27
+
28
+ def get(key, options = {})
29
+ return nil if key == '' # Root dir shouldn't be retrieved like this.
30
+ key =~ /\/$/ ? ns = key : ns = key + '/'
31
+ res = connection.get_namespace ns
32
+ emc_meta = res.headers['x-emc-meta']
33
+ obj_id = emc_meta.scan(/objectid=(\w+),/).flatten[0]
34
+ new(:objectid => obj_id, :key => ns)
35
+ rescue Fog::Storage::Atmos::NotFound
36
+ nil
37
+ end
38
+
39
+ def new(attributes ={})
40
+ attributes = {:directory => directory}.merge(attributes) if directory
41
+ super(attributes)
42
+ end
43
+
44
+ end
45
+
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,53 @@
1
+ require 'fog/core/model'
2
+
3
+ module Fog
4
+ module Storage
5
+ class Atmos
6
+
7
+ class Directory < Fog::Model
8
+
9
+ identity :key, :aliases => :Filename
10
+ attribute :objectid, :aliases => :ObjectID
11
+
12
+ def files
13
+ @files ||= begin
14
+ Fog::Storage::Atmos::Files.new(
15
+ :directory => self,
16
+ :connection => connection
17
+ )
18
+ end
19
+ end
20
+
21
+ def directories
22
+ @directories ||= begin
23
+ Fog::Storage::Atmos::Directories.new(
24
+ :directory => self,
25
+ :connection => connection
26
+ )
27
+ end
28
+ end
29
+
30
+ def save
31
+ self.key = attributes[:directory].key + key if attributes[:directory]
32
+ self.key = key + '/' unless key =~ /\/$/
33
+ res = connection.post_namespace key
34
+ reload
35
+ end
36
+
37
+ def destroy(opts={})
38
+ if opts[:recursive]
39
+ files.each {|f| f.destroy }
40
+ directories.each do |d|
41
+ d.files.each {|f| f.destroy }
42
+ d.destroy(opts)
43
+ end
44
+ end
45
+ connection.delete_namespace key
46
+ end
47
+
48
+
49
+ end
50
+
51
+ end
52
+ end
53
+ end