fog-nirvanix 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +3 -0
- data/.gitignore +22 -0
- data/.irbrc +82 -0
- data/.travis.yml +21 -0
- data/Gemfile +3 -0
- data/README.md +154 -0
- data/Rakefile +158 -0
- data/benchs/fog_vs.rb +106 -0
- data/benchs/params.rb +43 -0
- data/benchs/parse_vs_push.rb +69 -0
- data/bin/fog +52 -0
- data/changelog.txt +3726 -0
- data/docs/_config.yml +39 -0
- data/docs/_layouts/default.html +111 -0
- data/docs/about/contributing.markdown +229 -0
- data/docs/about/getting_started.markdown +108 -0
- data/docs/about/press.markdown +52 -0
- data/docs/about/structure.markdown +78 -0
- data/docs/about/users.markdown +34 -0
- data/docs/cdn/index.markdown +148 -0
- data/docs/compute/index.markdown +122 -0
- data/docs/dns/index.markdown +79 -0
- data/docs/index.markdown +93 -0
- data/docs/public/crossdomain.xml +25 -0
- data/docs/public/css/fog.css +142 -0
- data/docs/public/css/handheld.css +8 -0
- data/docs/public/css/style.css +129 -0
- data/docs/public/images/.gitignore +3 -0
- data/docs/public/js/libs/dd_belatedpng.js +289 -0
- data/docs/public/js/libs/dd_belatedpng.min.js +13 -0
- data/docs/public/js/libs/jquery-1.4.2.js +6240 -0
- data/docs/public/js/libs/jquery-1.4.2.min.js +154 -0
- data/docs/public/js/libs/modernizr-1.6.js +892 -0
- data/docs/public/js/libs/modernizr-1.6.min.js +30 -0
- data/docs/public/js/mylibs/.gitignore +3 -0
- data/docs/public/js/plugins.js +34 -0
- data/docs/public/js/profiling/config.js +59 -0
- data/docs/public/js/profiling/yahoo-profiling.css +7 -0
- data/docs/public/js/profiling/yahoo-profiling.js +1028 -0
- data/docs/public/js/profiling/yahoo-profiling.min.js +39 -0
- data/docs/public/js/script.js +26 -0
- data/docs/public/robots.txt +5 -0
- data/docs/storage/index.markdown +204 -0
- data/fog.gemspec +71 -0
- data/lib/fog.rb +17 -0
- data/lib/fog/atmos.rb +11 -0
- data/lib/fog/atmos/models/storage/directories.rb +48 -0
- data/lib/fog/atmos/models/storage/directory.rb +53 -0
- data/lib/fog/atmos/models/storage/file.rb +109 -0
- data/lib/fog/atmos/models/storage/files.rb +73 -0
- data/lib/fog/atmos/requests/storage/delete_namespace.rb +19 -0
- data/lib/fog/atmos/requests/storage/get_namespace.rb +20 -0
- data/lib/fog/atmos/requests/storage/head_namespace.rb +20 -0
- data/lib/fog/atmos/requests/storage/post_namespace.rb +20 -0
- data/lib/fog/atmos/requests/storage/put_namespace.rb +20 -0
- data/lib/fog/atmos/storage.rb +186 -0
- data/lib/fog/aws.rb +305 -0
- data/lib/fog/aws/auto_scaling.rb +286 -0
- data/lib/fog/aws/beanstalk.rb +152 -0
- data/lib/fog/aws/cdn.rb +196 -0
- data/lib/fog/aws/cloud_formation.rb +127 -0
- data/lib/fog/aws/cloud_watch.rb +167 -0
- data/lib/fog/aws/compute.rb +408 -0
- data/lib/fog/aws/credential_fetcher.rb +64 -0
- data/lib/fog/aws/dns.rb +139 -0
- data/lib/fog/aws/dynamodb.rb +142 -0
- data/lib/fog/aws/elasticache.rb +192 -0
- data/lib/fog/aws/elb.rb +229 -0
- data/lib/fog/aws/elb/policy_types.rb +466 -0
- data/lib/fog/aws/emr.rb +134 -0
- data/lib/fog/aws/glacier.rb +172 -0
- data/lib/fog/aws/iam.rb +226 -0
- data/lib/fog/aws/models/auto_scaling/activities.rb +30 -0
- data/lib/fog/aws/models/auto_scaling/activity.rb +29 -0
- data/lib/fog/aws/models/auto_scaling/configuration.rb +65 -0
- data/lib/fog/aws/models/auto_scaling/configurations.rb +35 -0
- data/lib/fog/aws/models/auto_scaling/group.rb +147 -0
- data/lib/fog/aws/models/auto_scaling/groups.rb +35 -0
- data/lib/fog/aws/models/auto_scaling/instance.rb +60 -0
- data/lib/fog/aws/models/auto_scaling/instances.rb +30 -0
- data/lib/fog/aws/models/auto_scaling/policies.rb +33 -0
- data/lib/fog/aws/models/auto_scaling/policy.rb +46 -0
- data/lib/fog/aws/models/beanstalk/application.rb +62 -0
- data/lib/fog/aws/models/beanstalk/applications.rb +25 -0
- data/lib/fog/aws/models/beanstalk/environment.rb +145 -0
- data/lib/fog/aws/models/beanstalk/environments.rb +29 -0
- data/lib/fog/aws/models/beanstalk/event.rb +20 -0
- data/lib/fog/aws/models/beanstalk/events.rb +19 -0
- data/lib/fog/aws/models/beanstalk/template.rb +78 -0
- data/lib/fog/aws/models/beanstalk/templates.rb +70 -0
- data/lib/fog/aws/models/beanstalk/version.rb +79 -0
- data/lib/fog/aws/models/beanstalk/versions.rb +31 -0
- data/lib/fog/aws/models/cdn/distribution.rb +93 -0
- data/lib/fog/aws/models/cdn/distribution_helper.rb +64 -0
- data/lib/fog/aws/models/cdn/distributions.rb +32 -0
- data/lib/fog/aws/models/cdn/distributions_helper.rb +47 -0
- data/lib/fog/aws/models/cdn/invalidation.rb +64 -0
- data/lib/fog/aws/models/cdn/invalidations.rb +54 -0
- data/lib/fog/aws/models/cdn/streaming_distribution.rb +77 -0
- data/lib/fog/aws/models/cdn/streaming_distributions.rb +32 -0
- data/lib/fog/aws/models/cloud_watch/alarm.rb +60 -0
- data/lib/fog/aws/models/cloud_watch/alarm_data.rb +39 -0
- data/lib/fog/aws/models/cloud_watch/alarm_datum.rb +66 -0
- data/lib/fog/aws/models/cloud_watch/alarm_histories.rb +18 -0
- data/lib/fog/aws/models/cloud_watch/alarm_history.rb +16 -0
- data/lib/fog/aws/models/cloud_watch/alarms.rb +47 -0
- data/lib/fog/aws/models/cloud_watch/metric.rb +14 -0
- data/lib/fog/aws/models/cloud_watch/metric_statistic.rb +45 -0
- data/lib/fog/aws/models/cloud_watch/metric_statistics.rb +23 -0
- data/lib/fog/aws/models/cloud_watch/metrics.rb +32 -0
- data/lib/fog/aws/models/compute/address.rb +76 -0
- data/lib/fog/aws/models/compute/addresses.rb +100 -0
- data/lib/fog/aws/models/compute/dhcp_option.rb +68 -0
- data/lib/fog/aws/models/compute/dhcp_options.rb +91 -0
- data/lib/fog/aws/models/compute/flavor.rb +21 -0
- data/lib/fog/aws/models/compute/flavors.rb +187 -0
- data/lib/fog/aws/models/compute/image.rb +48 -0
- data/lib/fog/aws/models/compute/images.rb +62 -0
- data/lib/fog/aws/models/compute/internet_gateway.rb +81 -0
- data/lib/fog/aws/models/compute/internet_gateways.rb +91 -0
- data/lib/fog/aws/models/compute/key_pair.rb +59 -0
- data/lib/fog/aws/models/compute/key_pairs.rb +88 -0
- data/lib/fog/aws/models/compute/network_interface.rb +70 -0
- data/lib/fog/aws/models/compute/network_interfaces.rb +136 -0
- data/lib/fog/aws/models/compute/security_group.rb +285 -0
- data/lib/fog/aws/models/compute/security_groups.rb +120 -0
- data/lib/fog/aws/models/compute/server.rb +254 -0
- data/lib/fog/aws/models/compute/servers.rb +158 -0
- data/lib/fog/aws/models/compute/snapshot.rb +56 -0
- data/lib/fog/aws/models/compute/snapshots.rb +52 -0
- data/lib/fog/aws/models/compute/spot_request.rb +120 -0
- data/lib/fog/aws/models/compute/spot_requests.rb +91 -0
- data/lib/fog/aws/models/compute/subnet.rb +57 -0
- data/lib/fog/aws/models/compute/subnets.rb +99 -0
- data/lib/fog/aws/models/compute/tag.rb +34 -0
- data/lib/fog/aws/models/compute/tags.rb +34 -0
- data/lib/fog/aws/models/compute/volume.rb +130 -0
- data/lib/fog/aws/models/compute/volumes.rb +121 -0
- data/lib/fog/aws/models/compute/vpc.rb +63 -0
- data/lib/fog/aws/models/compute/vpcs.rb +93 -0
- data/lib/fog/aws/models/dns/record.rb +106 -0
- data/lib/fog/aws/models/dns/records.rb +126 -0
- data/lib/fog/aws/models/dns/zone.rb +53 -0
- data/lib/fog/aws/models/dns/zones.rb +33 -0
- data/lib/fog/aws/models/elasticache/cluster.rb +69 -0
- data/lib/fog/aws/models/elasticache/clusters.rb +31 -0
- data/lib/fog/aws/models/elasticache/parameter_group.rb +32 -0
- data/lib/fog/aws/models/elasticache/parameter_groups.rb +30 -0
- data/lib/fog/aws/models/elasticache/security_group.rb +52 -0
- data/lib/fog/aws/models/elasticache/security_groups.rb +30 -0
- data/lib/fog/aws/models/elb/listener.rb +59 -0
- data/lib/fog/aws/models/elb/listeners.rb +32 -0
- data/lib/fog/aws/models/elb/load_balancer.rb +173 -0
- data/lib/fog/aws/models/elb/load_balancers.rb +38 -0
- data/lib/fog/aws/models/elb/policies.rb +40 -0
- data/lib/fog/aws/models/elb/policy.rb +52 -0
- data/lib/fog/aws/models/glacier/archive.rb +70 -0
- data/lib/fog/aws/models/glacier/archives.rb +30 -0
- data/lib/fog/aws/models/glacier/job.rb +65 -0
- data/lib/fog/aws/models/glacier/jobs.rb +45 -0
- data/lib/fog/aws/models/glacier/vault.rb +53 -0
- data/lib/fog/aws/models/glacier/vaults.rb +28 -0
- data/lib/fog/aws/models/iam/access_key.rb +38 -0
- data/lib/fog/aws/models/iam/access_keys.rb +36 -0
- data/lib/fog/aws/models/iam/policies.rb +44 -0
- data/lib/fog/aws/models/iam/policy.rb +39 -0
- data/lib/fog/aws/models/iam/user.rb +40 -0
- data/lib/fog/aws/models/iam/users.rb +49 -0
- data/lib/fog/aws/models/rds/parameter.rb +21 -0
- data/lib/fog/aws/models/rds/parameter_group.rb +36 -0
- data/lib/fog/aws/models/rds/parameter_groups.rb +27 -0
- data/lib/fog/aws/models/rds/parameters.rb +37 -0
- data/lib/fog/aws/models/rds/security_group.rb +82 -0
- data/lib/fog/aws/models/rds/security_groups.rb +43 -0
- data/lib/fog/aws/models/rds/server.rb +131 -0
- data/lib/fog/aws/models/rds/servers.rb +27 -0
- data/lib/fog/aws/models/rds/snapshot.rb +50 -0
- data/lib/fog/aws/models/rds/snapshots.rb +48 -0
- data/lib/fog/aws/models/rds/subnet_group.rb +20 -0
- data/lib/fog/aws/models/rds/subnet_groups.rb +27 -0
- data/lib/fog/aws/models/storage/directories.rb +43 -0
- data/lib/fog/aws/models/storage/directory.rb +126 -0
- data/lib/fog/aws/models/storage/file.rb +194 -0
- data/lib/fog/aws/models/storage/files.rb +122 -0
- data/lib/fog/aws/models/storage/version.rb +36 -0
- data/lib/fog/aws/models/storage/versions.rb +38 -0
- data/lib/fog/aws/parsers/auto_scaling/basic.rb +28 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb +52 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +159 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb +43 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_notification_types.rb +43 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb +94 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb +66 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_notification_configurations.rb +42 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_policies.rb +68 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb +47 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb +52 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb +46 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_tags.rb +46 -0
- data/lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb +44 -0
- data/lib/fog/aws/parsers/auto_scaling/put_notification_configuration.rb +27 -0
- data/lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb +30 -0
- data/lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb +35 -0
- data/lib/fog/aws/parsers/beanstalk/check_dns_availability.rb +19 -0
- data/lib/fog/aws/parsers/beanstalk/create_application.rb +24 -0
- data/lib/fog/aws/parsers/beanstalk/create_application_version.rb +26 -0
- data/lib/fog/aws/parsers/beanstalk/create_configuration_template.rb +29 -0
- data/lib/fog/aws/parsers/beanstalk/create_environment.rb +37 -0
- data/lib/fog/aws/parsers/beanstalk/create_storage_location.rb +18 -0
- data/lib/fog/aws/parsers/beanstalk/describe_application_versions.rb +26 -0
- data/lib/fog/aws/parsers/beanstalk/describe_applications.rb +24 -0
- data/lib/fog/aws/parsers/beanstalk/describe_configuration_options.rb +32 -0
- data/lib/fog/aws/parsers/beanstalk/describe_configuration_settings.rb +30 -0
- data/lib/fog/aws/parsers/beanstalk/describe_environment_resources.rb +26 -0
- data/lib/fog/aws/parsers/beanstalk/describe_environments.rb +38 -0
- data/lib/fog/aws/parsers/beanstalk/describe_events.rb +27 -0
- data/lib/fog/aws/parsers/beanstalk/empty.rb +27 -0
- data/lib/fog/aws/parsers/beanstalk/list_available_solution_stacks.rb +21 -0
- data/lib/fog/aws/parsers/beanstalk/parser.rb +93 -0
- data/lib/fog/aws/parsers/beanstalk/retrieve_environment_info.rb +22 -0
- data/lib/fog/aws/parsers/beanstalk/terminate_environment.rb +37 -0
- data/lib/fog/aws/parsers/beanstalk/update_application.rb +24 -0
- data/lib/fog/aws/parsers/beanstalk/update_application_version.rb +26 -0
- data/lib/fog/aws/parsers/beanstalk/update_configuration_template.rb +29 -0
- data/lib/fog/aws/parsers/beanstalk/update_environment.rb +37 -0
- data/lib/fog/aws/parsers/beanstalk/validate_configuration_settings.rb +22 -0
- data/lib/fog/aws/parsers/cdn/distribution.rb +59 -0
- data/lib/fog/aws/parsers/cdn/get_distribution_list.rb +61 -0
- data/lib/fog/aws/parsers/cdn/get_invalidation.rb +32 -0
- data/lib/fog/aws/parsers/cdn/get_invalidation_list.rb +42 -0
- data/lib/fog/aws/parsers/cdn/get_streaming_distribution_list.rb +59 -0
- data/lib/fog/aws/parsers/cdn/post_invalidation.rb +28 -0
- data/lib/fog/aws/parsers/cdn/streaming_distribution.rb +59 -0
- data/lib/fog/aws/parsers/cloud_formation/basic.rb +12 -0
- data/lib/fog/aws/parsers/cloud_formation/create_stack.rb +19 -0
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb +31 -0
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_resources.rb +31 -0
- data/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +81 -0
- data/lib/fog/aws/parsers/cloud_formation/get_template.rb +19 -0
- data/lib/fog/aws/parsers/cloud_formation/update_stack.rb +19 -0
- data/lib/fog/aws/parsers/cloud_formation/validate_template.rb +52 -0
- data/lib/fog/aws/parsers/cloud_watch/delete_alarms.rb +26 -0
- data/lib/fog/aws/parsers/cloud_watch/describe_alarm_history.rb +40 -0
- data/lib/fog/aws/parsers/cloud_watch/describe_alarms.rb +73 -0
- data/lib/fog/aws/parsers/cloud_watch/describe_alarms_for_metric.rb +71 -0
- data/lib/fog/aws/parsers/cloud_watch/disable_alarm_actions.rb +26 -0
- data/lib/fog/aws/parsers/cloud_watch/enable_alarm_actions.rb +26 -0
- data/lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb +43 -0
- data/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +58 -0
- data/lib/fog/aws/parsers/cloud_watch/put_metric_alarm.rb +26 -0
- data/lib/fog/aws/parsers/cloud_watch/put_metric_data.rb +26 -0
- data/lib/fog/aws/parsers/cloud_watch/set_alarm_state.rb +26 -0
- data/lib/fog/aws/parsers/compute/allocate_address.rb +19 -0
- data/lib/fog/aws/parsers/compute/associate_address.rb +25 -0
- data/lib/fog/aws/parsers/compute/associate_dhcp_options.rb +24 -0
- data/lib/fog/aws/parsers/compute/attach_internet_gateway.rb +24 -0
- data/lib/fog/aws/parsers/compute/attach_network_interface.rb +18 -0
- data/lib/fog/aws/parsers/compute/attach_volume.rb +22 -0
- data/lib/fog/aws/parsers/compute/basic.rb +25 -0
- data/lib/fog/aws/parsers/compute/cancel_spot_instance_requests.rb +30 -0
- data/lib/fog/aws/parsers/compute/create_dhcp_options.rb +75 -0
- data/lib/fog/aws/parsers/compute/create_image.rb +20 -0
- data/lib/fog/aws/parsers/compute/create_internet_gateway.rb +65 -0
- data/lib/fog/aws/parsers/compute/create_key_pair.rb +20 -0
- data/lib/fog/aws/parsers/compute/create_network_interface.rb +28 -0
- data/lib/fog/aws/parsers/compute/create_security_group.rb +24 -0
- data/lib/fog/aws/parsers/compute/create_snapshot.rb +26 -0
- data/lib/fog/aws/parsers/compute/create_subnet.rb +51 -0
- data/lib/fog/aws/parsers/compute/create_volume.rb +24 -0
- data/lib/fog/aws/parsers/compute/create_vpc.rb +51 -0
- data/lib/fog/aws/parsers/compute/delete_dhcp_options.rb +24 -0
- data/lib/fog/aws/parsers/compute/delete_internet_gateway.rb +24 -0
- data/lib/fog/aws/parsers/compute/delete_network_interface.rb +24 -0
- data/lib/fog/aws/parsers/compute/delete_subnet.rb +24 -0
- data/lib/fog/aws/parsers/compute/delete_vpc.rb +24 -0
- data/lib/fog/aws/parsers/compute/deregister_image.rb +20 -0
- data/lib/fog/aws/parsers/compute/describe_addresses.rb +30 -0
- data/lib/fog/aws/parsers/compute/describe_availability_zones.rb +43 -0
- data/lib/fog/aws/parsers/compute/describe_dhcp_options.rb +75 -0
- data/lib/fog/aws/parsers/compute/describe_images.rb +91 -0
- data/lib/fog/aws/parsers/compute/describe_instance_status.rb +74 -0
- data/lib/fog/aws/parsers/compute/describe_instances.rb +112 -0
- data/lib/fog/aws/parsers/compute/describe_internet_gateways.rb +65 -0
- data/lib/fog/aws/parsers/compute/describe_key_pairs.rb +30 -0
- data/lib/fog/aws/parsers/compute/describe_network_interface_attribute.rb +79 -0
- data/lib/fog/aws/parsers/compute/describe_network_interfaces.rb +43 -0
- data/lib/fog/aws/parsers/compute/describe_placement_groups.rb +30 -0
- data/lib/fog/aws/parsers/compute/describe_regions.rb +30 -0
- data/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +36 -0
- data/lib/fog/aws/parsers/compute/describe_reserved_instances_offerings.rb +34 -0
- data/lib/fog/aws/parsers/compute/describe_security_groups.rb +100 -0
- data/lib/fog/aws/parsers/compute/describe_snapshots.rb +54 -0
- data/lib/fog/aws/parsers/compute/describe_spot_price_history.rb +34 -0
- data/lib/fog/aws/parsers/compute/describe_subnets.rb +49 -0
- data/lib/fog/aws/parsers/compute/describe_tags.rb +30 -0
- data/lib/fog/aws/parsers/compute/describe_volume_status.rb +87 -0
- data/lib/fog/aws/parsers/compute/describe_volumes.rb +71 -0
- data/lib/fog/aws/parsers/compute/describe_vpcs.rb +49 -0
- data/lib/fog/aws/parsers/compute/detach_internet_gateway.rb +24 -0
- data/lib/fog/aws/parsers/compute/detach_network_interface.rb +24 -0
- data/lib/fog/aws/parsers/compute/detach_volume.rb +22 -0
- data/lib/fog/aws/parsers/compute/get_console_output.rb +28 -0
- data/lib/fog/aws/parsers/compute/get_password_data.rb +26 -0
- data/lib/fog/aws/parsers/compute/import_key_pair.rb +20 -0
- data/lib/fog/aws/parsers/compute/monitor_unmonitor_instances.rb +35 -0
- data/lib/fog/aws/parsers/compute/network_interface_parser.rb +89 -0
- data/lib/fog/aws/parsers/compute/purchase_reserved_instances_offering.rb +24 -0
- data/lib/fog/aws/parsers/compute/register_image.rb +20 -0
- data/lib/fog/aws/parsers/compute/run_instances.rb +84 -0
- data/lib/fog/aws/parsers/compute/spot_datafeed_subscription.rb +29 -0
- data/lib/fog/aws/parsers/compute/spot_instance_requests.rb +67 -0
- data/lib/fog/aws/parsers/compute/start_stop_instances.rb +41 -0
- data/lib/fog/aws/parsers/compute/terminate_instances.rb +55 -0
- data/lib/fog/aws/parsers/dns/change_resource_record_sets.rb +26 -0
- data/lib/fog/aws/parsers/dns/create_hosted_zone.rb +55 -0
- data/lib/fog/aws/parsers/dns/delete_hosted_zone.rb +25 -0
- data/lib/fog/aws/parsers/dns/get_change.rb +26 -0
- data/lib/fog/aws/parsers/dns/get_hosted_zone.rb +43 -0
- data/lib/fog/aws/parsers/dns/list_hosted_zones.rb +37 -0
- data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +56 -0
- data/lib/fog/aws/parsers/elasticache/authorize_cache_security_group_ingress.rb +26 -0
- data/lib/fog/aws/parsers/elasticache/base.rb +32 -0
- data/lib/fog/aws/parsers/elasticache/cache_cluster_parser.rb +79 -0
- data/lib/fog/aws/parsers/elasticache/describe_cache_clusters.rb +27 -0
- data/lib/fog/aws/parsers/elasticache/describe_cache_parameters.rb +22 -0
- data/lib/fog/aws/parsers/elasticache/describe_engine_default_parameters.rb +22 -0
- data/lib/fog/aws/parsers/elasticache/describe_parameter_groups.rb +27 -0
- data/lib/fog/aws/parsers/elasticache/describe_security_groups.rb +27 -0
- data/lib/fog/aws/parsers/elasticache/engine_defaults_parser.rb +59 -0
- data/lib/fog/aws/parsers/elasticache/event_list.rb +40 -0
- data/lib/fog/aws/parsers/elasticache/modify_parameter_group.rb +27 -0
- data/lib/fog/aws/parsers/elasticache/parameter_group_parser.rb +30 -0
- data/lib/fog/aws/parsers/elasticache/reset_parameter_group.rb +27 -0
- data/lib/fog/aws/parsers/elasticache/security_group_parser.rb +40 -0
- data/lib/fog/aws/parsers/elasticache/single_cache_cluster.rb +22 -0
- data/lib/fog/aws/parsers/elasticache/single_parameter_group.rb +22 -0
- data/lib/fog/aws/parsers/elasticache/single_security_group.rb +34 -0
- data/lib/fog/aws/parsers/elb/apply_security_groups_to_load_balancer.rb +26 -0
- data/lib/fog/aws/parsers/elb/attach_load_balancer_to_subnets.rb +26 -0
- data/lib/fog/aws/parsers/elb/configure_health_check.rb +37 -0
- data/lib/fog/aws/parsers/elb/create_load_balancer.rb +26 -0
- data/lib/fog/aws/parsers/elb/delete_load_balancer.rb +24 -0
- data/lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb +26 -0
- data/lib/fog/aws/parsers/elb/describe_instance_health.rb +30 -0
- data/lib/fog/aws/parsers/elb/describe_load_balancer_policies.rb +64 -0
- data/lib/fog/aws/parsers/elb/describe_load_balancer_policy_types.rb +70 -0
- data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +140 -0
- data/lib/fog/aws/parsers/elb/detach_load_balancer_from_subnets.rb +26 -0
- data/lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb +26 -0
- data/lib/fog/aws/parsers/elb/empty.rb +28 -0
- data/lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb +26 -0
- data/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb +26 -0
- data/lib/fog/aws/parsers/emr/add_instance_groups.rb +28 -0
- data/lib/fog/aws/parsers/emr/add_job_flow_steps.rb +17 -0
- data/lib/fog/aws/parsers/emr/describe_job_flows.rb +140 -0
- data/lib/fog/aws/parsers/emr/modify_instance_groups.rb +17 -0
- data/lib/fog/aws/parsers/emr/run_job_flow.rb +19 -0
- data/lib/fog/aws/parsers/emr/set_termination_protection.rb +17 -0
- data/lib/fog/aws/parsers/emr/terminate_job_flows.rb +17 -0
- data/lib/fog/aws/parsers/iam/base_instance_profile.rb +79 -0
- data/lib/fog/aws/parsers/iam/basic.rb +19 -0
- data/lib/fog/aws/parsers/iam/create_access_key.rb +26 -0
- data/lib/fog/aws/parsers/iam/create_group.rb +26 -0
- data/lib/fog/aws/parsers/iam/create_user.rb +26 -0
- data/lib/fog/aws/parsers/iam/get_group.rb +55 -0
- data/lib/fog/aws/parsers/iam/get_group_policy.rb +27 -0
- data/lib/fog/aws/parsers/iam/get_role_policy.rb +32 -0
- data/lib/fog/aws/parsers/iam/get_user.rb +27 -0
- data/lib/fog/aws/parsers/iam/get_user_policy.rb +33 -0
- data/lib/fog/aws/parsers/iam/instance_profile.rb +34 -0
- data/lib/fog/aws/parsers/iam/list_access_keys.rb +32 -0
- data/lib/fog/aws/parsers/iam/list_account_aliases.rb +28 -0
- data/lib/fog/aws/parsers/iam/list_groups.rb +32 -0
- data/lib/fog/aws/parsers/iam/list_groups_for_user.rb +32 -0
- data/lib/fog/aws/parsers/iam/list_instance_profiles.rb +34 -0
- data/lib/fog/aws/parsers/iam/list_policies.rb +28 -0
- data/lib/fog/aws/parsers/iam/list_roles.rb +31 -0
- data/lib/fog/aws/parsers/iam/list_server_certificates.rb +38 -0
- data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +32 -0
- data/lib/fog/aws/parsers/iam/list_users.rb +32 -0
- data/lib/fog/aws/parsers/iam/login_profile.rb +27 -0
- data/lib/fog/aws/parsers/iam/role_parser.rb +53 -0
- data/lib/fog/aws/parsers/iam/single_role.rb +29 -0
- data/lib/fog/aws/parsers/iam/update_group.rb +26 -0
- data/lib/fog/aws/parsers/iam/update_user.rb +27 -0
- data/lib/fog/aws/parsers/iam/upload_server_certificate.rb +28 -0
- data/lib/fog/aws/parsers/iam/upload_signing_certificate.rb +26 -0
- data/lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb +38 -0
- data/lib/fog/aws/parsers/rds/base.rb +32 -0
- data/lib/fog/aws/parsers/rds/create_db_instance.rb +34 -0
- data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +34 -0
- data/lib/fog/aws/parsers/rds/create_db_parameter_group.rb +35 -0
- data/lib/fog/aws/parsers/rds/create_db_security_group.rb +38 -0
- data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +35 -0
- data/lib/fog/aws/parsers/rds/create_db_subnet_group.rb +38 -0
- data/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +35 -0
- data/lib/fog/aws/parsers/rds/db_parser.rb +125 -0
- data/lib/fog/aws/parsers/rds/delete_db_instance.rb +35 -0
- data/lib/fog/aws/parsers/rds/delete_db_parameter_group.rb +27 -0
- data/lib/fog/aws/parsers/rds/delete_db_security_group.rb +33 -0
- data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +34 -0
- data/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +39 -0
- data/lib/fog/aws/parsers/rds/describe_db_instances.rb +36 -0
- data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +38 -0
- data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +44 -0
- data/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +43 -0
- data/lib/fog/aws/parsers/rds/describe_db_security_groups.rb +39 -0
- data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +39 -0
- data/lib/fog/aws/parsers/rds/describe_db_subnet_groups.rb +38 -0
- data/lib/fog/aws/parsers/rds/event_list.rb +40 -0
- data/lib/fog/aws/parsers/rds/modify_db_instance.rb +34 -0
- data/lib/fog/aws/parsers/rds/modify_db_parameter_group.rb +28 -0
- data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +35 -0
- data/lib/fog/aws/parsers/rds/restore_db_instance_from_db_snapshot.rb +34 -0
- data/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb +35 -0
- data/lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb +39 -0
- data/lib/fog/aws/parsers/rds/security_group_parser.rb +39 -0
- data/lib/fog/aws/parsers/rds/snapshot_parser.rb +41 -0
- data/lib/fog/aws/parsers/rds/subnet_group_parser.rb +38 -0
- data/lib/fog/aws/parsers/rds/tag_list_parser.rb +35 -0
- data/lib/fog/aws/parsers/ses/delete_verified_email_address.rb +24 -0
- data/lib/fog/aws/parsers/ses/get_send_quota.rb +26 -0
- data/lib/fog/aws/parsers/ses/get_send_statistics.rb +29 -0
- data/lib/fog/aws/parsers/ses/list_verified_email_addresses.rb +25 -0
- data/lib/fog/aws/parsers/ses/send_email.rb +26 -0
- data/lib/fog/aws/parsers/ses/send_raw_email.rb +26 -0
- data/lib/fog/aws/parsers/ses/verify_email_address.rb +24 -0
- data/lib/fog/aws/parsers/simpledb/basic.rb +31 -0
- data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +32 -0
- data/lib/fog/aws/parsers/simpledb/get_attributes.rb +36 -0
- data/lib/fog/aws/parsers/simpledb/list_domains.rb +30 -0
- data/lib/fog/aws/parsers/simpledb/select.rb +41 -0
- data/lib/fog/aws/parsers/sns/add_permission.rb +24 -0
- data/lib/fog/aws/parsers/sns/confirm_subscription.rb +24 -0
- data/lib/fog/aws/parsers/sns/create_topic.rb +24 -0
- data/lib/fog/aws/parsers/sns/delete_topic.rb +24 -0
- data/lib/fog/aws/parsers/sns/get_topic_attributes.rb +32 -0
- data/lib/fog/aws/parsers/sns/list_subscriptions.rb +29 -0
- data/lib/fog/aws/parsers/sns/list_topics.rb +26 -0
- data/lib/fog/aws/parsers/sns/publish.rb +24 -0
- data/lib/fog/aws/parsers/sns/remove_permission.rb +24 -0
- data/lib/fog/aws/parsers/sns/set_topic_attributes.rb +24 -0
- data/lib/fog/aws/parsers/sns/subscribe.rb +24 -0
- data/lib/fog/aws/parsers/sns/unsubscribe.rb +24 -0
- data/lib/fog/aws/parsers/sqs/basic.rb +23 -0
- data/lib/fog/aws/parsers/sqs/create_queue.rb +26 -0
- data/lib/fog/aws/parsers/sqs/get_queue_attributes.rb +35 -0
- data/lib/fog/aws/parsers/sqs/list_queues.rb +25 -0
- data/lib/fog/aws/parsers/sqs/receive_message.rb +41 -0
- data/lib/fog/aws/parsers/sqs/send_message.rb +28 -0
- data/lib/fog/aws/parsers/storage/access_control_list.rb +46 -0
- data/lib/fog/aws/parsers/storage/complete_multipart_upload.rb +24 -0
- data/lib/fog/aws/parsers/storage/copy_object.rb +22 -0
- data/lib/fog/aws/parsers/storage/delete_multiple_objects.rb +50 -0
- data/lib/fog/aws/parsers/storage/get_bucket.rb +62 -0
- data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +32 -0
- data/lib/fog/aws/parsers/storage/get_bucket_location.rb +20 -0
- data/lib/fog/aws/parsers/storage/get_bucket_logging.rb +40 -0
- data/lib/fog/aws/parsers/storage/get_bucket_object_versions.rb +88 -0
- data/lib/fog/aws/parsers/storage/get_bucket_versioning.rb +24 -0
- data/lib/fog/aws/parsers/storage/get_bucket_website.rb +26 -0
- data/lib/fog/aws/parsers/storage/get_request_payment.rb +20 -0
- data/lib/fog/aws/parsers/storage/get_service.rb +32 -0
- data/lib/fog/aws/parsers/storage/initiate_multipart_upload.rb +24 -0
- data/lib/fog/aws/parsers/storage/list_multipart_uploads.rb +56 -0
- data/lib/fog/aws/parsers/storage/list_parts.rb +40 -0
- data/lib/fog/aws/parsers/sts/get_session_token.rb +31 -0
- data/lib/fog/aws/rds.rb +231 -0
- data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +137 -0
- data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +112 -0
- data/lib/fog/aws/requests/auto_scaling/create_or_update_tags.rb +63 -0
- data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +60 -0
- data/lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb +57 -0
- data/lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb +63 -0
- data/lib/fog/aws/requests/auto_scaling/delete_policy.rb +56 -0
- data/lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb +48 -0
- data/lib/fog/aws/requests/auto_scaling/delete_tags.rb +63 -0
- data/lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb +53 -0
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb +132 -0
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +95 -0
- data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_notification_types.rb +55 -0
- data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +117 -0
- data/lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb +61 -0
- data/lib/fog/aws/requests/auto_scaling/describe_notification_configurations.rb +79 -0
- data/lib/fog/aws/requests/auto_scaling/describe_policies.rb +97 -0
- data/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +88 -0
- data/lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb +55 -0
- data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +88 -0
- data/lib/fog/aws/requests/auto_scaling/describe_tags.rb +74 -0
- data/lib/fog/aws/requests/auto_scaling/describe_termination_policy_types.rb +53 -0
- data/lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb +56 -0
- data/lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb +66 -0
- data/lib/fog/aws/requests/auto_scaling/execute_policy.rb +50 -0
- data/lib/fog/aws/requests/auto_scaling/put_notification_configuration.rb +70 -0
- data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +85 -0
- data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +70 -0
- data/lib/fog/aws/requests/auto_scaling/resume_processes.rb +50 -0
- data/lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb +87 -0
- data/lib/fog/aws/requests/auto_scaling/set_instance_health.rb +55 -0
- data/lib/fog/aws/requests/auto_scaling/suspend_processes.rb +57 -0
- data/lib/fog/aws/requests/auto_scaling/terminate_instance_in_auto_scaling_group.rb +65 -0
- data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +91 -0
- data/lib/fog/aws/requests/beanstalk/check_dns_availability.rb +27 -0
- data/lib/fog/aws/requests/beanstalk/create_application.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/create_application_version.rb +41 -0
- data/lib/fog/aws/requests/beanstalk/create_configuration_template.rb +47 -0
- data/lib/fog/aws/requests/beanstalk/create_environment.rb +50 -0
- data/lib/fog/aws/requests/beanstalk/create_storage_location.rb +27 -0
- data/lib/fog/aws/requests/beanstalk/delete_application.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/delete_application_version.rb +36 -0
- data/lib/fog/aws/requests/beanstalk/delete_configuration_template.rb +34 -0
- data/lib/fog/aws/requests/beanstalk/delete_environment_configuration.rb +34 -0
- data/lib/fog/aws/requests/beanstalk/describe_application_versions.rb +34 -0
- data/lib/fog/aws/requests/beanstalk/describe_applications.rb +30 -0
- data/lib/fog/aws/requests/beanstalk/describe_configuration_options.rb +40 -0
- data/lib/fog/aws/requests/beanstalk/describe_configuration_settings.rb +31 -0
- data/lib/fog/aws/requests/beanstalk/describe_environment_resources.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/describe_environments.rb +40 -0
- data/lib/fog/aws/requests/beanstalk/describe_events.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/list_available_solution_stacks.rb +27 -0
- data/lib/fog/aws/requests/beanstalk/rebuild_environment.rb +30 -0
- data/lib/fog/aws/requests/beanstalk/request_environment_info.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/restart_app_server.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/retrieve_environment_info.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/swap_environment_cnames.rb +29 -0
- data/lib/fog/aws/requests/beanstalk/terminate_environment.rb +31 -0
- data/lib/fog/aws/requests/beanstalk/update_application.rb +30 -0
- data/lib/fog/aws/requests/beanstalk/update_application_version.rb +30 -0
- data/lib/fog/aws/requests/beanstalk/update_configuration_template.rb +36 -0
- data/lib/fog/aws/requests/beanstalk/update_environment.rb +42 -0
- data/lib/fog/aws/requests/beanstalk/validate_configuration_settings.rb +33 -0
- data/lib/fog/aws/requests/cdn/delete_distribution.rb +59 -0
- data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +58 -0
- data/lib/fog/aws/requests/cdn/get_distribution.rb +85 -0
- data/lib/fog/aws/requests/cdn/get_distribution_list.rb +88 -0
- data/lib/fog/aws/requests/cdn/get_invalidation.rb +60 -0
- data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +83 -0
- data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +76 -0
- data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +89 -0
- data/lib/fog/aws/requests/cdn/post_distribution.rb +135 -0
- data/lib/fog/aws/requests/cdn/post_invalidation.rb +84 -0
- data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +122 -0
- data/lib/fog/aws/requests/cdn/put_distribution_config.rb +122 -0
- data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +111 -0
- data/lib/fog/aws/requests/cloud_formation/create_stack.rb +77 -0
- data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +30 -0
- data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +44 -0
- data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +43 -0
- data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +42 -0
- data/lib/fog/aws/requests/cloud_formation/get_template.rb +32 -0
- data/lib/fog/aws/requests/cloud_formation/update_stack.rb +62 -0
- data/lib/fog/aws/requests/cloud_formation/validate_template.rb +34 -0
- data/lib/fog/aws/requests/cloud_watch/delete_alarms.rb +48 -0
- data/lib/fog/aws/requests/cloud_watch/describe_alarm_history.rb +33 -0
- data/lib/fog/aws/requests/cloud_watch/describe_alarms.rb +56 -0
- data/lib/fog/aws/requests/cloud_watch/describe_alarms_for_metric.rb +39 -0
- data/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb +30 -0
- data/lib/fog/aws/requests/cloud_watch/enable_alarm_actions.rb +30 -0
- data/lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb +48 -0
- data/lib/fog/aws/requests/cloud_watch/list_metrics.rb +38 -0
- data/lib/fog/aws/requests/cloud_watch/put_metric_alarm.rb +93 -0
- data/lib/fog/aws/requests/cloud_watch/put_metric_data.rb +73 -0
- data/lib/fog/aws/requests/cloud_watch/set_alarm_state.rb +31 -0
- data/lib/fog/aws/requests/compute/allocate_address.rb +59 -0
- data/lib/fog/aws/requests/compute/associate_address.rb +94 -0
- data/lib/fog/aws/requests/compute/associate_dhcp_options.rb +57 -0
- data/lib/fog/aws/requests/compute/attach_internet_gateway.rb +56 -0
- data/lib/fog/aws/requests/compute/attach_network_interface.rb +57 -0
- data/lib/fog/aws/requests/compute/attach_volume.rb +87 -0
- data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +213 -0
- data/lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb +34 -0
- data/lib/fog/aws/requests/compute/create_dhcp_options.rb +76 -0
- data/lib/fog/aws/requests/compute/create_image.rb +92 -0
- data/lib/fog/aws/requests/compute/create_internet_gateway.rb +52 -0
- data/lib/fog/aws/requests/compute/create_key_pair.rb +56 -0
- data/lib/fog/aws/requests/compute/create_network_interface.rb +118 -0
- data/lib/fog/aws/requests/compute/create_placement_group.rb +34 -0
- data/lib/fog/aws/requests/compute/create_security_group.rb +64 -0
- data/lib/fog/aws/requests/compute/create_snapshot.rb +72 -0
- data/lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb +41 -0
- data/lib/fog/aws/requests/compute/create_subnet.rb +80 -0
- data/lib/fog/aws/requests/compute/create_tags.rb +87 -0
- data/lib/fog/aws/requests/compute/create_volume.rb +125 -0
- data/lib/fog/aws/requests/compute/create_vpc.rb +72 -0
- data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +51 -0
- data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +49 -0
- data/lib/fog/aws/requests/compute/delete_key_pair.rb +47 -0
- data/lib/fog/aws/requests/compute/delete_network_interface.rb +52 -0
- data/lib/fog/aws/requests/compute/delete_placement_group.rb +32 -0
- data/lib/fog/aws/requests/compute/delete_security_group.rb +92 -0
- data/lib/fog/aws/requests/compute/delete_snapshot.rb +50 -0
- data/lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb +28 -0
- data/lib/fog/aws/requests/compute/delete_subnet.rb +50 -0
- data/lib/fog/aws/requests/compute/delete_tags.rb +86 -0
- data/lib/fog/aws/requests/compute/delete_volume.rb +56 -0
- data/lib/fog/aws/requests/compute/delete_vpc.rb +53 -0
- data/lib/fog/aws/requests/compute/deregister_image.rb +53 -0
- data/lib/fog/aws/requests/compute/describe_addresses.rb +66 -0
- data/lib/fog/aws/requests/compute/describe_availability_zones.rb +98 -0
- data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +55 -0
- data/lib/fog/aws/requests/compute/describe_images.rb +130 -0
- data/lib/fog/aws/requests/compute/describe_instance_status.rb +48 -0
- data/lib/fog/aws/requests/compute/describe_instances.rb +229 -0
- data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +60 -0
- data/lib/fog/aws/requests/compute/describe_key_pairs.rb +68 -0
- data/lib/fog/aws/requests/compute/describe_network_interface_attribute.rb +67 -0
- data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +85 -0
- data/lib/fog/aws/requests/compute/describe_placement_groups.rb +35 -0
- data/lib/fog/aws/requests/compute/describe_regions.rb +68 -0
- data/lib/fog/aws/requests/compute/describe_reserved_instances.rb +60 -0
- data/lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb +67 -0
- data/lib/fog/aws/requests/compute/describe_security_groups.rb +101 -0
- data/lib/fog/aws/requests/compute/describe_snapshots.rb +122 -0
- data/lib/fog/aws/requests/compute/describe_spot_datafeed_subscription.rb +35 -0
- data/lib/fog/aws/requests/compute/describe_spot_instance_requests.rb +48 -0
- data/lib/fog/aws/requests/compute/describe_spot_price_history.rb +37 -0
- data/lib/fog/aws/requests/compute/describe_subnets.rb +64 -0
- data/lib/fog/aws/requests/compute/describe_tags.rb +107 -0
- data/lib/fog/aws/requests/compute/describe_volume_status.rb +45 -0
- data/lib/fog/aws/requests/compute/describe_volumes.rb +120 -0
- data/lib/fog/aws/requests/compute/describe_vpcs.rb +61 -0
- data/lib/fog/aws/requests/compute/detach_internet_gateway.rb +56 -0
- data/lib/fog/aws/requests/compute/detach_network_interface.rb +49 -0
- data/lib/fog/aws/requests/compute/detach_volume.rb +65 -0
- data/lib/fog/aws/requests/compute/disassociate_address.rb +58 -0
- data/lib/fog/aws/requests/compute/get_console_output.rb +54 -0
- data/lib/fog/aws/requests/compute/get_password_data.rb +56 -0
- data/lib/fog/aws/requests/compute/import_key_pair.rb +56 -0
- data/lib/fog/aws/requests/compute/modify_image_attribute.rb +74 -0
- data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +44 -0
- data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +90 -0
- data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +37 -0
- data/lib/fog/aws/requests/compute/modify_volume_attribute.rb +51 -0
- data/lib/fog/aws/requests/compute/monitor_instances.rb +54 -0
- data/lib/fog/aws/requests/compute/purchase_reserved_instances_offering.rb +63 -0
- data/lib/fog/aws/requests/compute/reboot_instances.rb +54 -0
- data/lib/fog/aws/requests/compute/register_image.rb +133 -0
- data/lib/fog/aws/requests/compute/release_address.rb +63 -0
- data/lib/fog/aws/requests/compute/request_spot_instances.rb +89 -0
- data/lib/fog/aws/requests/compute/reset_network_interface_attribute.rb +56 -0
- data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +102 -0
- data/lib/fog/aws/requests/compute/run_instances.rb +186 -0
- data/lib/fog/aws/requests/compute/start_instances.rb +60 -0
- data/lib/fog/aws/requests/compute/stop_instances.rb +61 -0
- data/lib/fog/aws/requests/compute/terminate_instances.rb +96 -0
- data/lib/fog/aws/requests/compute/unmonitor_instances.rb +55 -0
- data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +211 -0
- data/lib/fog/aws/requests/dns/create_hosted_zone.rb +104 -0
- data/lib/fog/aws/requests/dns/delete_hosted_zone.rb +39 -0
- data/lib/fog/aws/requests/dns/get_change.rb +38 -0
- data/lib/fog/aws/requests/dns/get_hosted_zone.rb +65 -0
- data/lib/fog/aws/requests/dns/list_hosted_zones.rb +99 -0
- data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +65 -0
- data/lib/fog/aws/requests/dynamodb/batch_get_item.rb +43 -0
- data/lib/fog/aws/requests/dynamodb/batch_write_item.rb +35 -0
- data/lib/fog/aws/requests/dynamodb/create_table.rb +55 -0
- data/lib/fog/aws/requests/dynamodb/delete_item.rb +45 -0
- data/lib/fog/aws/requests/dynamodb/delete_table.rb +42 -0
- data/lib/fog/aws/requests/dynamodb/describe_table.rb +44 -0
- data/lib/fog/aws/requests/dynamodb/get_item.rb +43 -0
- data/lib/fog/aws/requests/dynamodb/list_tables.rb +29 -0
- data/lib/fog/aws/requests/dynamodb/put_item.rb +41 -0
- data/lib/fog/aws/requests/dynamodb/query.rb +44 -0
- data/lib/fog/aws/requests/dynamodb/scan.rb +45 -0
- data/lib/fog/aws/requests/dynamodb/update_item.rb +49 -0
- data/lib/fog/aws/requests/dynamodb/update_table.rb +46 -0
- data/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb +36 -0
- data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +86 -0
- data/lib/fog/aws/requests/elasticache/create_cache_parameter_group.rb +37 -0
- data/lib/fog/aws/requests/elasticache/create_cache_security_group.rb +33 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_cluster.rb +41 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb +31 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_security_group.rb +31 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_clusters.rb +54 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_parameter_groups.rb +34 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_parameters.rb +36 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_security_groups.rb +34 -0
- data/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb +35 -0
- data/lib/fog/aws/requests/elasticache/describe_events.rb +49 -0
- data/lib/fog/aws/requests/elasticache/modify_cache_cluster.rb +102 -0
- data/lib/fog/aws/requests/elasticache/modify_cache_parameter_group.rb +45 -0
- data/lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb +52 -0
- data/lib/fog/aws/requests/elasticache/reset_cache_parameter_group.rb +46 -0
- data/lib/fog/aws/requests/elasticache/revoke_cache_security_group_ingress.rb +37 -0
- data/lib/fog/aws/requests/elb/apply_security_groups_to_load_balancer.rb +61 -0
- data/lib/fog/aws/requests/elb/attach_load_balancer_to_subnets.rb +61 -0
- data/lib/fog/aws/requests/elb/configure_health_check.rb +65 -0
- data/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +56 -0
- data/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +58 -0
- data/lib/fog/aws/requests/elb/create_load_balancer.rb +119 -0
- data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +88 -0
- data/lib/fog/aws/requests/elb/create_load_balancer_policy.rb +79 -0
- data/lib/fog/aws/requests/elb/delete_load_balancer.rb +51 -0
- data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +50 -0
- data/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +54 -0
- data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +63 -0
- data/lib/fog/aws/requests/elb/describe_instance_health.rb +72 -0
- data/lib/fog/aws/requests/elb/describe_load_balancer_policies.rb +71 -0
- data/lib/fog/aws/requests/elb/describe_load_balancer_policy_types.rb +68 -0
- data/lib/fog/aws/requests/elb/describe_load_balancers.rb +119 -0
- data/lib/fog/aws/requests/elb/detach_load_balancer_from_subnets.rb +61 -0
- data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +59 -0
- data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +61 -0
- data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +64 -0
- data/lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb +67 -0
- data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +80 -0
- data/lib/fog/aws/requests/emr/add_instance_groups.rb +46 -0
- data/lib/fog/aws/requests/emr/add_job_flow_steps.rb +49 -0
- data/lib/fog/aws/requests/emr/describe_job_flows.rb +108 -0
- data/lib/fog/aws/requests/emr/modify_instance_groups.rb +40 -0
- data/lib/fog/aws/requests/emr/run_job_flow.rb +108 -0
- data/lib/fog/aws/requests/emr/set_termination_protection.rb +39 -0
- data/lib/fog/aws/requests/emr/terminate_job_flows.rb +37 -0
- data/lib/fog/aws/requests/glacier/abort_multipart_upload.rb +35 -0
- data/lib/fog/aws/requests/glacier/complete_multipart_upload.rb +42 -0
- data/lib/fog/aws/requests/glacier/create_archive.rb +43 -0
- data/lib/fog/aws/requests/glacier/create_vault.rb +34 -0
- data/lib/fog/aws/requests/glacier/delete_archive.rb +35 -0
- data/lib/fog/aws/requests/glacier/delete_vault.rb +34 -0
- data/lib/fog/aws/requests/glacier/delete_vault_notification_configuration.rb +33 -0
- data/lib/fog/aws/requests/glacier/describe_job.rb +35 -0
- data/lib/fog/aws/requests/glacier/describe_vault.rb +34 -0
- data/lib/fog/aws/requests/glacier/get_job_output.rb +41 -0
- data/lib/fog/aws/requests/glacier/get_vault_notification_configuration.rb +34 -0
- data/lib/fog/aws/requests/glacier/initiate_job.rb +41 -0
- data/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +38 -0
- data/lib/fog/aws/requests/glacier/list_jobs.rb +39 -0
- data/lib/fog/aws/requests/glacier/list_multipart_uploads.rb +37 -0
- data/lib/fog/aws/requests/glacier/list_parts.rb +37 -0
- data/lib/fog/aws/requests/glacier/list_vaults.rb +36 -0
- data/lib/fog/aws/requests/glacier/set_vault_notification_configuration.rb +37 -0
- data/lib/fog/aws/requests/glacier/upload_part.rb +46 -0
- data/lib/fog/aws/requests/iam/add_role_to_instance_profile.rb +35 -0
- data/lib/fog/aws/requests/iam/add_user_to_group.rb +58 -0
- data/lib/fog/aws/requests/iam/create_access_key.rb +61 -0
- data/lib/fog/aws/requests/iam/create_account_alias.rb +19 -0
- data/lib/fog/aws/requests/iam/create_group.rb +60 -0
- data/lib/fog/aws/requests/iam/create_instance_profile.rb +46 -0
- data/lib/fog/aws/requests/iam/create_login_profile.rb +36 -0
- data/lib/fog/aws/requests/iam/create_role.rb +56 -0
- data/lib/fog/aws/requests/iam/create_user.rb +60 -0
- data/lib/fog/aws/requests/iam/delete_access_key.rb +51 -0
- data/lib/fog/aws/requests/iam/delete_account_alias.rb +19 -0
- data/lib/fog/aws/requests/iam/delete_group.rb +51 -0
- data/lib/fog/aws/requests/iam/delete_group_policy.rb +34 -0
- data/lib/fog/aws/requests/iam/delete_instance_profile.rb +32 -0
- data/lib/fog/aws/requests/iam/delete_login_profile.rb +31 -0
- data/lib/fog/aws/requests/iam/delete_role.rb +32 -0
- data/lib/fog/aws/requests/iam/delete_role_policy.rb +35 -0
- data/lib/fog/aws/requests/iam/delete_server_certificate.rb +46 -0
- data/lib/fog/aws/requests/iam/delete_signing_certificate.rb +33 -0
- data/lib/fog/aws/requests/iam/delete_user.rb +49 -0
- data/lib/fog/aws/requests/iam/delete_user_policy.rb +50 -0
- data/lib/fog/aws/requests/iam/get_group.rb +62 -0
- data/lib/fog/aws/requests/iam/get_group_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/get_instance_profile.rb +42 -0
- data/lib/fog/aws/requests/iam/get_login_profile.rb +35 -0
- data/lib/fog/aws/requests/iam/get_role.rb +38 -0
- data/lib/fog/aws/requests/iam/get_role_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/get_server_certificate.rb +48 -0
- data/lib/fog/aws/requests/iam/get_user.rb +56 -0
- data/lib/fog/aws/requests/iam/get_user_policy.rb +53 -0
- data/lib/fog/aws/requests/iam/list_access_keys.rb +61 -0
- data/lib/fog/aws/requests/iam/list_account_aliases.rb +18 -0
- data/lib/fog/aws/requests/iam/list_group_policies.rb +39 -0
- data/lib/fog/aws/requests/iam/list_groups.rb +60 -0
- data/lib/fog/aws/requests/iam/list_groups_for_user.rb +67 -0
- data/lib/fog/aws/requests/iam/list_instance_profiles.rb +50 -0
- data/lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb +51 -0
- data/lib/fog/aws/requests/iam/list_role_policies.rb +39 -0
- data/lib/fog/aws/requests/iam/list_roles.rb +43 -0
- data/lib/fog/aws/requests/iam/list_server_certificates.rb +56 -0
- data/lib/fog/aws/requests/iam/list_signing_certificates.rb +38 -0
- data/lib/fog/aws/requests/iam/list_user_policies.rb +57 -0
- data/lib/fog/aws/requests/iam/list_users.rb +59 -0
- data/lib/fog/aws/requests/iam/put_group_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/put_role_policy.rb +36 -0
- data/lib/fog/aws/requests/iam/put_user_policy.rb +54 -0
- data/lib/fog/aws/requests/iam/remove_role_from_instance_profile.rb +36 -0
- data/lib/fog/aws/requests/iam/remove_user_from_group.rb +53 -0
- data/lib/fog/aws/requests/iam/update_access_key.rb +36 -0
- data/lib/fog/aws/requests/iam/update_group.rb +39 -0
- data/lib/fog/aws/requests/iam/update_login_profile.rb +33 -0
- data/lib/fog/aws/requests/iam/update_server_certificate.rb +37 -0
- data/lib/fog/aws/requests/iam/update_signing_certificate.rb +32 -0
- data/lib/fog/aws/requests/iam/update_user.rb +39 -0
- data/lib/fog/aws/requests/iam/upload_server_certificate.rb +97 -0
- data/lib/fog/aws/requests/iam/upload_signing_certificate.rb +38 -0
- data/lib/fog/aws/requests/rds/add_tags_to_resource.rb +46 -0
- data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +72 -0
- data/lib/fog/aws/requests/rds/create_db_instance.rb +126 -0
- data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +82 -0
- data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +59 -0
- data/lib/fog/aws/requests/rds/create_db_security_group.rb +55 -0
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +72 -0
- data/lib/fog/aws/requests/rds/create_db_subnet_group.rb +58 -0
- data/lib/fog/aws/requests/rds/delete_db_instance.rb +55 -0
- data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +46 -0
- data/lib/fog/aws/requests/rds/delete_db_security_group.rb +46 -0
- data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +47 -0
- data/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +34 -0
- data/lib/fog/aws/requests/rds/describe_db_instances.rb +95 -0
- data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +63 -0
- data/lib/fog/aws/requests/rds/describe_db_parameters.rb +45 -0
- data/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +42 -0
- data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +85 -0
- data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +71 -0
- data/lib/fog/aws/requests/rds/describe_db_subnet_groups.rb +63 -0
- data/lib/fog/aws/requests/rds/describe_events.rb +52 -0
- data/lib/fog/aws/requests/rds/list_tags_for_resource.rb +44 -0
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +80 -0
- data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +55 -0
- data/lib/fog/aws/requests/rds/reboot_db_instance.rb +51 -0
- data/lib/fog/aws/requests/rds/remove_tags_from_resource.rb +44 -0
- data/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +34 -0
- data/lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb +35 -0
- data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +70 -0
- data/lib/fog/aws/requests/ses/delete_verified_email_address.rb +28 -0
- data/lib/fog/aws/requests/ses/get_send_quota.rb +31 -0
- data/lib/fog/aws/requests/ses/get_send_statistics.rb +34 -0
- data/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +28 -0
- data/lib/fog/aws/requests/ses/send_email.rb +73 -0
- data/lib/fog/aws/requests/ses/send_raw_email.rb +41 -0
- data/lib/fog/aws/requests/ses/verify_email_address.rb +28 -0
- data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +64 -0
- data/lib/fog/aws/requests/simpledb/create_domain.rb +44 -0
- data/lib/fog/aws/requests/simpledb/delete_attributes.rb +73 -0
- data/lib/fog/aws/requests/simpledb/delete_domain.rb +45 -0
- data/lib/fog/aws/requests/simpledb/domain_metadata.rb +76 -0
- data/lib/fog/aws/requests/simpledb/get_attributes.rb +84 -0
- data/lib/fog/aws/requests/simpledb/list_domains.rb +59 -0
- data/lib/fog/aws/requests/simpledb/put_attributes.rb +78 -0
- data/lib/fog/aws/requests/simpledb/select.rb +43 -0
- data/lib/fog/aws/requests/sns/add_permission.rb +26 -0
- data/lib/fog/aws/requests/sns/confirm_subscription.rb +33 -0
- data/lib/fog/aws/requests/sns/create_topic.rb +29 -0
- data/lib/fog/aws/requests/sns/delete_topic.rb +29 -0
- data/lib/fog/aws/requests/sns/get_topic_attributes.rb +29 -0
- data/lib/fog/aws/requests/sns/list_subscriptions.rb +29 -0
- data/lib/fog/aws/requests/sns/list_subscriptions_by_topic.rb +31 -0
- data/lib/fog/aws/requests/sns/list_topics.rb +29 -0
- data/lib/fog/aws/requests/sns/publish.rb +34 -0
- data/lib/fog/aws/requests/sns/remove_permission.rb +26 -0
- data/lib/fog/aws/requests/sns/set_topic_attributes.rb +33 -0
- data/lib/fog/aws/requests/sns/subscribe.rb +33 -0
- data/lib/fog/aws/requests/sns/unsubscribe.rb +29 -0
- data/lib/fog/aws/requests/sqs/change_message_visibility.rb +63 -0
- data/lib/fog/aws/requests/sqs/create_queue.rb +65 -0
- data/lib/fog/aws/requests/sqs/delete_message.rb +60 -0
- data/lib/fog/aws/requests/sqs/delete_queue.rb +52 -0
- data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +52 -0
- data/lib/fog/aws/requests/sqs/list_queues.rb +42 -0
- data/lib/fog/aws/requests/sqs/receive_message.rb +87 -0
- data/lib/fog/aws/requests/sqs/send_message.rb +69 -0
- data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +51 -0
- data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +30 -0
- data/lib/fog/aws/requests/storage/acl_utils.rb +62 -0
- data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +52 -0
- data/lib/fog/aws/requests/storage/copy_object.rb +82 -0
- data/lib/fog/aws/requests/storage/delete_bucket.rb +50 -0
- data/lib/fog/aws/requests/storage/delete_bucket_lifecycle.rb +30 -0
- data/lib/fog/aws/requests/storage/delete_bucket_policy.rb +32 -0
- data/lib/fog/aws/requests/storage/delete_bucket_website.rb +32 -0
- data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +172 -0
- data/lib/fog/aws/requests/storage/delete_object.rb +121 -0
- data/lib/fog/aws/requests/storage/get_bucket.rb +115 -0
- data/lib/fog/aws/requests/storage/get_bucket_acl.rb +72 -0
- data/lib/fog/aws/requests/storage/get_bucket_lifecycle.rb +41 -0
- data/lib/fog/aws/requests/storage/get_bucket_location.rb +61 -0
- data/lib/fog/aws/requests/storage/get_bucket_logging.rb +50 -0
- data/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +168 -0
- data/lib/fog/aws/requests/storage/get_bucket_policy.rb +37 -0
- data/lib/fog/aws/requests/storage/get_bucket_versioning.rb +72 -0
- data/lib/fog/aws/requests/storage/get_bucket_website.rb +42 -0
- data/lib/fog/aws/requests/storage/get_object.rb +191 -0
- data/lib/fog/aws/requests/storage/get_object_acl.rb +83 -0
- data/lib/fog/aws/requests/storage/get_object_http_url.rb +58 -0
- data/lib/fog/aws/requests/storage/get_object_https_url.rb +40 -0
- data/lib/fog/aws/requests/storage/get_object_torrent.rb +50 -0
- data/lib/fog/aws/requests/storage/get_object_url.rb +58 -0
- data/lib/fog/aws/requests/storage/get_request_payment.rb +52 -0
- data/lib/fog/aws/requests/storage/get_service.rb +57 -0
- data/lib/fog/aws/requests/storage/head_object.rb +69 -0
- data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +47 -0
- data/lib/fog/aws/requests/storage/list_multipart_uploads.rb +60 -0
- data/lib/fog/aws/requests/storage/list_parts.rb +59 -0
- data/lib/fog/aws/requests/storage/post_object_hidden_fields.rb +40 -0
- data/lib/fog/aws/requests/storage/put_bucket.rb +77 -0
- data/lib/fog/aws/requests/storage/put_bucket_acl.rb +73 -0
- data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +48 -0
- data/lib/fog/aws/requests/storage/put_bucket_logging.rb +83 -0
- data/lib/fog/aws/requests/storage/put_bucket_policy.rb +30 -0
- data/lib/fog/aws/requests/storage/put_bucket_versioning.rb +77 -0
- data/lib/fog/aws/requests/storage/put_bucket_website.rb +66 -0
- data/lib/fog/aws/requests/storage/put_object.rb +116 -0
- data/lib/fog/aws/requests/storage/put_object_acl.rb +82 -0
- data/lib/fog/aws/requests/storage/put_object_url.rb +51 -0
- data/lib/fog/aws/requests/storage/put_request_payment.rb +51 -0
- data/lib/fog/aws/requests/storage/sync_clock.rb +28 -0
- data/lib/fog/aws/requests/storage/upload_part.rb +44 -0
- data/lib/fog/aws/requests/sts/get_federation_token.rb +21 -0
- data/lib/fog/aws/requests/sts/get_session_token.rb +19 -0
- data/lib/fog/aws/ses.rb +121 -0
- data/lib/fog/aws/signaturev4.rb +73 -0
- data/lib/fog/aws/simpledb.rb +205 -0
- data/lib/fog/aws/sns.rb +116 -0
- data/lib/fog/aws/sqs.rb +150 -0
- data/lib/fog/aws/storage.rb +406 -0
- data/lib/fog/aws/sts.rb +136 -0
- data/lib/fog/bare_metal_cloud.rb +11 -0
- data/lib/fog/bare_metal_cloud/compute.rb +100 -0
- data/lib/fog/bare_metal_cloud/requests/compute/add_server.rb +33 -0
- data/lib/fog/bare_metal_cloud/requests/compute/add_server_by_configuration.rb +33 -0
- data/lib/fog/bare_metal_cloud/requests/compute/cancel_server.rb +30 -0
- data/lib/fog/bare_metal_cloud/requests/compute/get_server.rb +41 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_configurations.rb +27 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_images.rb +27 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_plans.rb +30 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_servers.rb +36 -0
- data/lib/fog/bare_metal_cloud/requests/compute/reboot_server.rb +24 -0
- data/lib/fog/bin.rb +93 -0
- data/lib/fog/bin/atmos.rb +31 -0
- data/lib/fog/bin/aws.rb +115 -0
- data/lib/fog/bin/bare_metal_cloud.rb +31 -0
- data/lib/fog/bin/bluebox.rb +36 -0
- data/lib/fog/bin/brightbox.rb +35 -0
- data/lib/fog/bin/clodo.rb +31 -0
- data/lib/fog/bin/cloudstack.rb +30 -0
- data/lib/fog/bin/dnsimple.rb +31 -0
- data/lib/fog/bin/dnsmadeeasy.rb +31 -0
- data/lib/fog/bin/dynect.rb +30 -0
- data/lib/fog/bin/ecloud.rb +35 -0
- data/lib/fog/bin/glesys.rb +31 -0
- data/lib/fog/bin/go_grid.rb +31 -0
- data/lib/fog/bin/google.rb +31 -0
- data/lib/fog/bin/hp.rb +38 -0
- data/lib/fog/bin/ibm.rb +34 -0
- data/lib/fog/bin/joyent.rb +31 -0
- data/lib/fog/bin/libvirt.rb +60 -0
- data/lib/fog/bin/linode.rb +36 -0
- data/lib/fog/bin/local.rb +31 -0
- data/lib/fog/bin/ninefold.rb +36 -0
- data/lib/fog/bin/openstack.rb +41 -0
- data/lib/fog/bin/ovirt.rb +30 -0
- data/lib/fog/bin/rackspace.rb +60 -0
- data/lib/fog/bin/serverlove.rb +31 -0
- data/lib/fog/bin/stormondemand.rb +31 -0
- data/lib/fog/bin/terremark.rb +31 -0
- data/lib/fog/bin/vcloud.rb +30 -0
- data/lib/fog/bin/virtual_box.rb +57 -0
- data/lib/fog/bin/vmfusion.rb +60 -0
- data/lib/fog/bin/voxel.rb +31 -0
- data/lib/fog/bin/vsphere.rb +30 -0
- data/lib/fog/bin/xenserver.rb +31 -0
- data/lib/fog/bin/zerigo.rb +31 -0
- data/lib/fog/bluebox.rb +12 -0
- data/lib/fog/bluebox/compute.rb +104 -0
- data/lib/fog/bluebox/dns.rb +104 -0
- data/lib/fog/bluebox/models/compute/flavor.rb +45 -0
- data/lib/fog/bluebox/models/compute/flavors.rb +28 -0
- data/lib/fog/bluebox/models/compute/image.rb +34 -0
- data/lib/fog/bluebox/models/compute/images.rb +28 -0
- data/lib/fog/bluebox/models/compute/location.rb +17 -0
- data/lib/fog/bluebox/models/compute/locations.rb +28 -0
- data/lib/fog/bluebox/models/compute/server.rb +120 -0
- data/lib/fog/bluebox/models/compute/servers.rb +36 -0
- data/lib/fog/bluebox/models/dns/record.rb +55 -0
- data/lib/fog/bluebox/models/dns/records.rb +36 -0
- data/lib/fog/bluebox/models/dns/zone.rb +64 -0
- data/lib/fog/bluebox/models/dns/zones.rb +28 -0
- data/lib/fog/bluebox/parsers/dns/create_record.rb +26 -0
- data/lib/fog/bluebox/parsers/dns/create_zone.rb +26 -0
- data/lib/fog/bluebox/parsers/dns/get_record.rb +21 -0
- data/lib/fog/bluebox/parsers/dns/get_records.rb +28 -0
- data/lib/fog/bluebox/parsers/dns/get_zone.rb +26 -0
- data/lib/fog/bluebox/parsers/dns/get_zones.rb +30 -0
- data/lib/fog/bluebox/requests/compute/create_block.rb +45 -0
- data/lib/fog/bluebox/requests/compute/create_template.rb +27 -0
- data/lib/fog/bluebox/requests/compute/destroy_block.rb +26 -0
- data/lib/fog/bluebox/requests/compute/destroy_template.rb +26 -0
- data/lib/fog/bluebox/requests/compute/get_block.rb +26 -0
- data/lib/fog/bluebox/requests/compute/get_blocks.rb +28 -0
- data/lib/fog/bluebox/requests/compute/get_location.rb +26 -0
- data/lib/fog/bluebox/requests/compute/get_locations.rb +24 -0
- data/lib/fog/bluebox/requests/compute/get_product.rb +26 -0
- data/lib/fog/bluebox/requests/compute/get_products.rb +25 -0
- data/lib/fog/bluebox/requests/compute/get_template.rb +26 -0
- data/lib/fog/bluebox/requests/compute/get_templates.rb +26 -0
- data/lib/fog/bluebox/requests/compute/reboot_block.rb +27 -0
- data/lib/fog/bluebox/requests/dns/create_record.rb +48 -0
- data/lib/fog/bluebox/requests/dns/create_zone.rb +52 -0
- data/lib/fog/bluebox/requests/dns/delete_record.rb +31 -0
- data/lib/fog/bluebox/requests/dns/delete_zone.rb +31 -0
- data/lib/fog/bluebox/requests/dns/get_record.rb +40 -0
- data/lib/fog/bluebox/requests/dns/get_records.rb +41 -0
- data/lib/fog/bluebox/requests/dns/get_zone.rb +44 -0
- data/lib/fog/bluebox/requests/dns/get_zones.rb +43 -0
- data/lib/fog/bluebox/requests/dns/update_record.rb +34 -0
- data/lib/fog/bluebox/requests/dns/update_zone.rb +30 -0
- data/lib/fog/brightbox.rb +10 -0
- data/lib/fog/brightbox/compute.rb +442 -0
- data/lib/fog/brightbox/models/compute/account.rb +69 -0
- data/lib/fog/brightbox/models/compute/accounts.rb +29 -0
- data/lib/fog/brightbox/models/compute/api_client.rb +37 -0
- data/lib/fog/brightbox/models/compute/api_clients.rb +24 -0
- data/lib/fog/brightbox/models/compute/application.rb +27 -0
- data/lib/fog/brightbox/models/compute/applications.rb +28 -0
- data/lib/fog/brightbox/models/compute/cloud_ip.rb +59 -0
- data/lib/fog/brightbox/models/compute/cloud_ips.rb +34 -0
- data/lib/fog/brightbox/models/compute/firewall_policies.rb +29 -0
- data/lib/fog/brightbox/models/compute/firewall_policy.rb +65 -0
- data/lib/fog/brightbox/models/compute/firewall_rule.rb +54 -0
- data/lib/fog/brightbox/models/compute/firewall_rules.rb +24 -0
- data/lib/fog/brightbox/models/compute/flavor.rb +32 -0
- data/lib/fog/brightbox/models/compute/flavors.rb +28 -0
- data/lib/fog/brightbox/models/compute/image.rb +66 -0
- data/lib/fog/brightbox/models/compute/images.rb +28 -0
- data/lib/fog/brightbox/models/compute/load_balancer.rb +59 -0
- data/lib/fog/brightbox/models/compute/load_balancers.rb +28 -0
- data/lib/fog/brightbox/models/compute/server.rb +203 -0
- data/lib/fog/brightbox/models/compute/server_group.rb +96 -0
- data/lib/fog/brightbox/models/compute/server_groups.rb +29 -0
- data/lib/fog/brightbox/models/compute/servers.rb +61 -0
- data/lib/fog/brightbox/models/compute/user.rb +43 -0
- data/lib/fog/brightbox/models/compute/users.rb +27 -0
- data/lib/fog/brightbox/models/compute/zone.rb +22 -0
- data/lib/fog/brightbox/models/compute/zones.rb +29 -0
- data/lib/fog/brightbox/oauth2.rb +164 -0
- data/lib/fog/brightbox/requests/compute/activate_console_server.rb +21 -0
- data/lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb +23 -0
- data/lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb +23 -0
- data/lib/fog/brightbox/requests/compute/add_servers_server_group.rb +26 -0
- data/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb +23 -0
- data/lib/fog/brightbox/requests/compute/create_api_client.rb +22 -0
- data/lib/fog/brightbox/requests/compute/create_application.rb +22 -0
- data/lib/fog/brightbox/requests/compute/create_cloud_ip.rb +23 -0
- data/lib/fog/brightbox/requests/compute/create_firewall_policy.rb +24 -0
- data/lib/fog/brightbox/requests/compute/create_firewall_rule.rb +28 -0
- data/lib/fog/brightbox/requests/compute/create_image.rb +29 -0
- data/lib/fog/brightbox/requests/compute/create_load_balancer.rb +25 -0
- data/lib/fog/brightbox/requests/compute/create_server.rb +28 -0
- data/lib/fog/brightbox/requests/compute/create_server_group.rb +22 -0
- data/lib/fog/brightbox/requests/compute/destroy_api_client.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_application.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_cloud_ip.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_firewall_policy.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_firewall_rule.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_image.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_load_balancer.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_server.rb +21 -0
- data/lib/fog/brightbox/requests/compute/destroy_server_group.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_account.rb +29 -0
- data/lib/fog/brightbox/requests/compute/get_api_client.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_application.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_authenticated_user.rb +17 -0
- data/lib/fog/brightbox/requests/compute/get_cloud_ip.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_firewall_policy.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_firewall_rule.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_image.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_interface.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_load_balancer.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_scoped_account.rb +15 -0
- data/lib/fog/brightbox/requests/compute/get_server.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_server_group.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_server_type.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_user.rb +29 -0
- data/lib/fog/brightbox/requests/compute/get_zone.rb +21 -0
- data/lib/fog/brightbox/requests/compute/list_accounts.rb +17 -0
- data/lib/fog/brightbox/requests/compute/list_api_clients.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_applications.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_cloud_ips.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_firewall_policies.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_images.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_load_balancers.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_server_groups.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_server_types.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_servers.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_users.rb +19 -0
- data/lib/fog/brightbox/requests/compute/list_zones.rb +19 -0
- data/lib/fog/brightbox/requests/compute/map_cloud_ip.rb +23 -0
- data/lib/fog/brightbox/requests/compute/move_servers_server_group.rb +27 -0
- data/lib/fog/brightbox/requests/compute/remove_firewall_policy.rb +23 -0
- data/lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb +23 -0
- data/lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb +23 -0
- data/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb +26 -0
- data/lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb +32 -0
- data/lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb +18 -0
- data/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb +26 -0
- data/lib/fog/brightbox/requests/compute/reset_secret_application.rb +21 -0
- data/lib/fog/brightbox/requests/compute/shutdown_server.rb +21 -0
- data/lib/fog/brightbox/requests/compute/snapshot_server.rb +21 -0
- data/lib/fog/brightbox/requests/compute/start_server.rb +21 -0
- data/lib/fog/brightbox/requests/compute/stop_server.rb +21 -0
- data/lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb +21 -0
- data/lib/fog/brightbox/requests/compute/update_account.rb +60 -0
- data/lib/fog/brightbox/requests/compute/update_api_client.rb +25 -0
- data/lib/fog/brightbox/requests/compute/update_application.rb +25 -0
- data/lib/fog/brightbox/requests/compute/update_cloud_ip.rb +26 -0
- data/lib/fog/brightbox/requests/compute/update_firewall_rule.rb +30 -0
- data/lib/fog/brightbox/requests/compute/update_image.rb +30 -0
- data/lib/fog/brightbox/requests/compute/update_load_balancer.rb +28 -0
- data/lib/fog/brightbox/requests/compute/update_scoped_account.rb +30 -0
- data/lib/fog/brightbox/requests/compute/update_server.rb +25 -0
- data/lib/fog/brightbox/requests/compute/update_server_group.rb +25 -0
- data/lib/fog/brightbox/requests/compute/update_user.rb +28 -0
- data/lib/fog/cdn.rb +30 -0
- data/lib/fog/clodo.rb +34 -0
- data/lib/fog/clodo/compute.rb +150 -0
- data/lib/fog/clodo/models/compute/image.rb +31 -0
- data/lib/fog/clodo/models/compute/images.rb +28 -0
- data/lib/fog/clodo/models/compute/server.rb +126 -0
- data/lib/fog/clodo/models/compute/servers.rb +36 -0
- data/lib/fog/clodo/requests/compute/add_ip_address.rb +49 -0
- data/lib/fog/clodo/requests/compute/create_server.rb +112 -0
- data/lib/fog/clodo/requests/compute/delete_ip_address.rb +47 -0
- data/lib/fog/clodo/requests/compute/delete_server.rb +44 -0
- data/lib/fog/clodo/requests/compute/get_image_details.rb +20 -0
- data/lib/fog/clodo/requests/compute/get_server_details.rb +49 -0
- data/lib/fog/clodo/requests/compute/list_images.rb +48 -0
- data/lib/fog/clodo/requests/compute/list_images_detail.rb +61 -0
- data/lib/fog/clodo/requests/compute/list_servers.rb +50 -0
- data/lib/fog/clodo/requests/compute/list_servers_detail.rb +51 -0
- data/lib/fog/clodo/requests/compute/move_ip_address.rb +34 -0
- data/lib/fog/clodo/requests/compute/reboot_server.rb +19 -0
- data/lib/fog/clodo/requests/compute/rebuild_server.rb +21 -0
- data/lib/fog/clodo/requests/compute/server_action.rb +25 -0
- data/lib/fog/clodo/requests/compute/start_server.rb +19 -0
- data/lib/fog/clodo/requests/compute/stop_server.rb +19 -0
- data/lib/fog/cloudstack.rb +40 -0
- data/lib/fog/cloudstack/compute.rb +441 -0
- data/lib/fog/cloudstack/models/compute/address.rb +17 -0
- data/lib/fog/cloudstack/models/compute/flavor.rb +33 -0
- data/lib/fog/cloudstack/models/compute/flavors.rb +28 -0
- data/lib/fog/cloudstack/models/compute/image.rb +72 -0
- data/lib/fog/cloudstack/models/compute/images.rb +41 -0
- data/lib/fog/cloudstack/models/compute/job.rb +42 -0
- data/lib/fog/cloudstack/models/compute/jobs.rb +28 -0
- data/lib/fog/cloudstack/models/compute/security_group.rb +50 -0
- data/lib/fog/cloudstack/models/compute/security_group_rule.rb +62 -0
- data/lib/fog/cloudstack/models/compute/security_group_rules.rb +37 -0
- data/lib/fog/cloudstack/models/compute/security_groups.rb +27 -0
- data/lib/fog/cloudstack/models/compute/server.rb +118 -0
- data/lib/fog/cloudstack/models/compute/servers.rb +34 -0
- data/lib/fog/cloudstack/models/compute/volume.rb +115 -0
- data/lib/fog/cloudstack/models/compute/volumes.rb +28 -0
- data/lib/fog/cloudstack/models/compute/zone.rb +38 -0
- data/lib/fog/cloudstack/models/compute/zones.rb +33 -0
- data/lib/fog/cloudstack/requests/compute/acquire_ip_address.rb +21 -0
- data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb +18 -0
- data/lib/fog/cloudstack/requests/compute/attach_volume.rb +70 -0
- data/lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb +68 -0
- data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +73 -0
- data/lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_account.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_domain.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_network.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_security_group.rb +28 -0
- data/lib/fog/cloudstack/requests/compute/create_snapshot.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +22 -0
- data/lib/fog/cloudstack/requests/compute/create_user.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/create_volume.rb +63 -0
- data/lib/fog/cloudstack/requests/compute/create_zone.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_account.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_domain.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +37 -0
- data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +21 -0
- data/lib/fog/cloudstack/requests/compute/delete_template.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_user.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/delete_volume.rb +40 -0
- data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +129 -0
- data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +51 -0
- data/lib/fog/cloudstack/requests/compute/detach_volume.rb +62 -0
- data/lib/fog/cloudstack/requests/compute/disable_account.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/disable_user.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/enable_account.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/enable_user.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +28 -0
- data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +21 -0
- data/lib/fog/cloudstack/requests/compute/list_accounts.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_alerts.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_async_jobs.rb +32 -0
- data/lib/fog/cloudstack/requests/compute/list_capabilities.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_capacity.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_clusters.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_configurations.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_domains.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_events.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +15 -0
- data/lib/fog/cloudstack/requests/compute/list_hosts.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_isos.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +23 -0
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +22 -0
- data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_networks.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +22 -0
- data/lib/fog/cloudstack/requests/compute/list_os_types.rb +22 -0
- data/lib/fog/cloudstack/requests/compute/list_pods.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +22 -0
- data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +22 -0
- data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +38 -0
- data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +42 -0
- data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_templates.rb +35 -0
- data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +28 -0
- data/lib/fog/cloudstack/requests/compute/list_users.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +26 -0
- data/lib/fog/cloudstack/requests/compute/list_volumes.rb +38 -0
- data/lib/fog/cloudstack/requests/compute/list_zones.rb +34 -0
- data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +32 -0
- data/lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb +31 -0
- data/lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/register_template.rb +35 -0
- data/lib/fog/cloudstack/requests/compute/register_user_keys.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +25 -0
- data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +21 -0
- data/lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb +42 -0
- data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +47 -0
- data/lib/fog/cloudstack/requests/compute/start_virtual_machine.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/update_account.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/update_domain.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/update_resource_count.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/update_user.rb +20 -0
- data/lib/fog/cloudstack/requests/compute/update_virtual_machine.rb +20 -0
- data/lib/fog/compute.rb +123 -0
- data/lib/fog/compute/models/server.rb +73 -0
- data/lib/fog/core.rb +38 -0
- data/lib/fog/core/attributes.rb +204 -0
- data/lib/fog/core/collection.rb +134 -0
- data/lib/fog/core/connection.rb +36 -0
- data/lib/fog/core/credentials.rb +65 -0
- data/lib/fog/core/current_machine.rb +34 -0
- data/lib/fog/core/deprecation.rb +23 -0
- data/lib/fog/core/errors.rb +102 -0
- data/lib/fog/core/hmac.rb +48 -0
- data/lib/fog/core/json.rb +46 -0
- data/lib/fog/core/logger.rb +43 -0
- data/lib/fog/core/mock.rb +92 -0
- data/lib/fog/core/model.rb +69 -0
- data/lib/fog/core/parser.rb +103 -0
- data/lib/fog/core/provider.rb +35 -0
- data/lib/fog/core/scp.rb +95 -0
- data/lib/fog/core/service.rb +223 -0
- data/lib/fog/core/ssh.rb +136 -0
- data/lib/fog/core/time.rb +32 -0
- data/lib/fog/core/timeout.rb +11 -0
- data/lib/fog/core/wait_for.rb +15 -0
- data/lib/fog/dns.rb +56 -0
- data/lib/fog/dnsimple.rb +11 -0
- data/lib/fog/dnsimple/dns.rb +95 -0
- data/lib/fog/dnsimple/models/dns/record.rb +67 -0
- data/lib/fog/dnsimple/models/dns/records.rb +38 -0
- data/lib/fog/dnsimple/models/dns/zone.rb +50 -0
- data/lib/fog/dnsimple/models/dns/zones.rb +29 -0
- data/lib/fog/dnsimple/requests/dns/create_domain.rb +27 -0
- data/lib/fog/dnsimple/requests/dns/create_record.rb +48 -0
- data/lib/fog/dnsimple/requests/dns/delete_domain.rb +26 -0
- data/lib/fog/dnsimple/requests/dns/delete_record.rb +21 -0
- data/lib/fog/dnsimple/requests/dns/get_domain.rb +37 -0
- data/lib/fog/dnsimple/requests/dns/get_record.rb +34 -0
- data/lib/fog/dnsimple/requests/dns/list_domains.rb +35 -0
- data/lib/fog/dnsimple/requests/dns/list_records.rb +32 -0
- data/lib/fog/dnsimple/requests/dns/update_record.rb +42 -0
- data/lib/fog/dnsmadeeasy.rb +11 -0
- data/lib/fog/dnsmadeeasy/dns.rb +135 -0
- data/lib/fog/dnsmadeeasy/models/dns/record.rb +80 -0
- data/lib/fog/dnsmadeeasy/models/dns/records.rb +36 -0
- data/lib/fog/dnsmadeeasy/models/dns/zone.rb +42 -0
- data/lib/fog/dnsmadeeasy/models/dns/zones.rb +30 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_domain.rb +29 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_record.rb +62 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_secondary.rb +36 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_all_domains.rb +23 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_all_secondary.rb +22 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_domain.rb +25 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_record.rb +26 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_secondary.rb +25 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_domain.rb +29 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_record.rb +38 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb +29 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_domains.rb +24 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_records.rb +42 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_secondary.rb +24 -0
- data/lib/fog/dnsmadeeasy/requests/dns/update_record.rb +56 -0
- data/lib/fog/dnsmadeeasy/requests/dns/update_secondary.rb +36 -0
- data/lib/fog/dynect.rb +26 -0
- data/lib/fog/dynect/dns.rb +139 -0
- data/lib/fog/dynect/models/dns/record.rb +66 -0
- data/lib/fog/dynect/models/dns/records.rb +53 -0
- data/lib/fog/dynect/models/dns/zone.rb +60 -0
- data/lib/fog/dynect/models/dns/zones.rb +29 -0
- data/lib/fog/dynect/requests/dns/delete_record.rb +56 -0
- data/lib/fog/dynect/requests/dns/delete_zone.rb +42 -0
- data/lib/fog/dynect/requests/dns/get_node_list.rb +56 -0
- data/lib/fog/dynect/requests/dns/get_record.rb +84 -0
- data/lib/fog/dynect/requests/dns/get_zone.rb +58 -0
- data/lib/fog/dynect/requests/dns/post_record.rb +72 -0
- data/lib/fog/dynect/requests/dns/post_session.rb +44 -0
- data/lib/fog/dynect/requests/dns/post_zone.rb +71 -0
- data/lib/fog/dynect/requests/dns/put_zone.rb +76 -0
- data/lib/fog/ecloud.rb +17 -0
- data/lib/fog/ecloud/collection.rb +26 -0
- data/lib/fog/ecloud/compute.rb +515 -0
- data/lib/fog/ecloud/generate_collection.rb +130 -0
- data/lib/fog/ecloud/ipaddr.rb +5 -0
- data/lib/fog/ecloud/mock_data_classes.rb +768 -0
- data/lib/fog/ecloud/model.rb +22 -0
- data/lib/fog/ecloud/models/compute/admin_organization.rb +39 -0
- data/lib/fog/ecloud/models/compute/admin_organizations.rb +27 -0
- data/lib/fog/ecloud/models/compute/api_key.rb +21 -0
- data/lib/fog/ecloud/models/compute/api_keys.rb +27 -0
- data/lib/fog/ecloud/models/compute/association.rb +23 -0
- data/lib/fog/ecloud/models/compute/associations.rb +35 -0
- data/lib/fog/ecloud/models/compute/authentication_level.rb +22 -0
- data/lib/fog/ecloud/models/compute/authentication_levels.rb +27 -0
- data/lib/fog/ecloud/models/compute/backup_internet_service.rb +45 -0
- data/lib/fog/ecloud/models/compute/backup_internet_services.rb +42 -0
- data/lib/fog/ecloud/models/compute/catalog.rb +40 -0
- data/lib/fog/ecloud/models/compute/catalog_configuration.rb +23 -0
- data/lib/fog/ecloud/models/compute/catalog_configurations.rb +27 -0
- data/lib/fog/ecloud/models/compute/catalog_item.rb +24 -0
- data/lib/fog/ecloud/models/compute/compute_pool.rb +59 -0
- data/lib/fog/ecloud/models/compute/compute_pools.rb +34 -0
- data/lib/fog/ecloud/models/compute/cpu_usage_detail.rb +17 -0
- data/lib/fog/ecloud/models/compute/cpu_usage_detail_summary.rb +27 -0
- data/lib/fog/ecloud/models/compute/environment.rb +105 -0
- data/lib/fog/ecloud/models/compute/environments.rb +40 -0
- data/lib/fog/ecloud/models/compute/firewall_acl.rb +27 -0
- data/lib/fog/ecloud/models/compute/firewall_acls.rb +28 -0
- data/lib/fog/ecloud/models/compute/group.rb +39 -0
- data/lib/fog/ecloud/models/compute/groups.rb +28 -0
- data/lib/fog/ecloud/models/compute/guest_process.rb +15 -0
- data/lib/fog/ecloud/models/compute/guest_processes.rb +27 -0
- data/lib/fog/ecloud/models/compute/hardware_configuration.rb +18 -0
- data/lib/fog/ecloud/models/compute/hardware_configurations.rb +27 -0
- data/lib/fog/ecloud/models/compute/internet_service.rb +91 -0
- data/lib/fog/ecloud/models/compute/internet_services.rb +46 -0
- data/lib/fog/ecloud/models/compute/ip_address.rb +25 -0
- data/lib/fog/ecloud/models/compute/ip_addresses.rb +28 -0
- data/lib/fog/ecloud/models/compute/layout.rb +20 -0
- data/lib/fog/ecloud/models/compute/layouts.rb +27 -0
- data/lib/fog/ecloud/models/compute/location.rb +23 -0
- data/lib/fog/ecloud/models/compute/locations.rb +31 -0
- data/lib/fog/ecloud/models/compute/login_banner.rb +16 -0
- data/lib/fog/ecloud/models/compute/login_banners.rb +27 -0
- data/lib/fog/ecloud/models/compute/memory_usage_detail.rb +16 -0
- data/lib/fog/ecloud/models/compute/memory_usage_detail_summary.rb +27 -0
- data/lib/fog/ecloud/models/compute/monitor.rb +46 -0
- data/lib/fog/ecloud/models/compute/monitors.rb +31 -0
- data/lib/fog/ecloud/models/compute/network.rb +36 -0
- data/lib/fog/ecloud/models/compute/networks.rb +29 -0
- data/lib/fog/ecloud/models/compute/node.rb +39 -0
- data/lib/fog/ecloud/models/compute/nodes.rb +44 -0
- data/lib/fog/ecloud/models/compute/operating_system.rb +17 -0
- data/lib/fog/ecloud/models/compute/operating_system_families.rb +27 -0
- data/lib/fog/ecloud/models/compute/operating_system_family.rb +21 -0
- data/lib/fog/ecloud/models/compute/operating_systems.rb +26 -0
- data/lib/fog/ecloud/models/compute/organization.rb +79 -0
- data/lib/fog/ecloud/models/compute/organizations.rb +39 -0
- data/lib/fog/ecloud/models/compute/password_complexity_rule.rb +49 -0
- data/lib/fog/ecloud/models/compute/password_complexity_rules.rb +27 -0
- data/lib/fog/ecloud/models/compute/physical_device.rb +22 -0
- data/lib/fog/ecloud/models/compute/physical_devices.rb +27 -0
- data/lib/fog/ecloud/models/compute/public_ip.rb +26 -0
- data/lib/fog/ecloud/models/compute/public_ips.rb +33 -0
- data/lib/fog/ecloud/models/compute/rnat.rb +27 -0
- data/lib/fog/ecloud/models/compute/rnats.rb +27 -0
- data/lib/fog/ecloud/models/compute/role.rb +24 -0
- data/lib/fog/ecloud/models/compute/roles.rb +37 -0
- data/lib/fog/ecloud/models/compute/row.rb +53 -0
- data/lib/fog/ecloud/models/compute/rows.rb +37 -0
- data/lib/fog/ecloud/models/compute/server.rb +277 -0
- data/lib/fog/ecloud/models/compute/server_configuration_option.rb +17 -0
- data/lib/fog/ecloud/models/compute/server_configuration_options.rb +27 -0
- data/lib/fog/ecloud/models/compute/servers.rb +69 -0
- data/lib/fog/ecloud/models/compute/ssh_key.rb +20 -0
- data/lib/fog/ecloud/models/compute/ssh_keys.rb +27 -0
- data/lib/fog/ecloud/models/compute/storage_usage_detail.rb +16 -0
- data/lib/fog/ecloud/models/compute/storage_usage_detail_summary.rb +27 -0
- data/lib/fog/ecloud/models/compute/support_ticket.rb +29 -0
- data/lib/fog/ecloud/models/compute/support_tickets.rb +27 -0
- data/lib/fog/ecloud/models/compute/tag.rb +13 -0
- data/lib/fog/ecloud/models/compute/tags.rb +27 -0
- data/lib/fog/ecloud/models/compute/task.rb +20 -0
- data/lib/fog/ecloud/models/compute/tasks.rb +31 -0
- data/lib/fog/ecloud/models/compute/template.rb +24 -0
- data/lib/fog/ecloud/models/compute/templates.rb +40 -0
- data/lib/fog/ecloud/models/compute/trusted_network_group.rb +33 -0
- data/lib/fog/ecloud/models/compute/trusted_network_groups.rb +28 -0
- data/lib/fog/ecloud/models/compute/user.rb +35 -0
- data/lib/fog/ecloud/models/compute/users.rb +27 -0
- data/lib/fog/ecloud/requests/compute/admin_disable_support_access.rb +9 -0
- data/lib/fog/ecloud/requests/compute/admin_edit_authentication_levels.rb +34 -0
- data/lib/fog/ecloud/requests/compute/admin_edit_login_banner.rb +32 -0
- data/lib/fog/ecloud/requests/compute/admin_edit_password_complexity_rules.rb +74 -0
- data/lib/fog/ecloud/requests/compute/admin_enable_support_access.rb +9 -0
- data/lib/fog/ecloud/requests/compute/backup_internet_service_create.rb +47 -0
- data/lib/fog/ecloud/requests/compute/backup_internet_service_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/backup_internet_service_edit.rb +47 -0
- data/lib/fog/ecloud/requests/compute/compute_pool_edit.rb +37 -0
- data/lib/fog/ecloud/requests/compute/firewall_acls_create.rb +79 -0
- data/lib/fog/ecloud/requests/compute/firewall_acls_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_admin_organization.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_admin_organizations.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_api_key.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_api_keys.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_association.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_associations.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_authentication_level.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_authentication_levels.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_backup_internet_service.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_backup_internet_services.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_catalog.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_catalog_configuration.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_catalog_configurations.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_catalog_item.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_compute_pool.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_compute_pools.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_cpu_usage_detail.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_cpu_usage_detail_summary.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_environment.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_environments.rb +0 -0
- data/lib/fog/ecloud/requests/compute/get_firewall_acl.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_firewall_acls.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_group.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_groups.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_guest_process.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_guest_processes.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_hardware_configuration.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_hardware_configurations.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_internet_service.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_internet_services.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_ip_address.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_ip_addresses.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_layout.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_layouts.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_location.rb +12 -0
- data/lib/fog/ecloud/requests/compute/get_locations.rb +12 -0
- data/lib/fog/ecloud/requests/compute/get_login_banner.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_login_banners.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_memory_usage_detail.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_memory_usage_detail_summary.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_monitor.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_monitors.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_network.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_network_summary.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_networks.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_node.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_nodes.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_operating_system.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_operating_system_families.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_operating_system_family.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_organization.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_organizations.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_password_complexity_rule.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_password_complexity_rules.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_physical_device.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_physical_devices.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_process.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_processes.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_public_ip.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_public_ips.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_rnat.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_rnats.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_role.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_roles.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_row.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_rows.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_server.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_server_configuration_option.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_server_configuration_options.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_servers.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_ssh_key.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_ssh_keys.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_storage_usage_detail.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_storage_usage_detail_summary.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_support_ticket.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_support_tickets.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_tag.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_tags.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_task.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_tasks.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_template.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_templates.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_trusted_network_group.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_trusted_network_groups.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_user.rb +11 -0
- data/lib/fog/ecloud/requests/compute/get_users.rb +11 -0
- data/lib/fog/ecloud/requests/compute/groups_create.rb +31 -0
- data/lib/fog/ecloud/requests/compute/groups_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/groups_edit.rb +29 -0
- data/lib/fog/ecloud/requests/compute/groups_movedown.rb +11 -0
- data/lib/fog/ecloud/requests/compute/groups_moveup.rb +11 -0
- data/lib/fog/ecloud/requests/compute/internet_service_create.rb +67 -0
- data/lib/fog/ecloud/requests/compute/internet_service_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/internet_service_edit.rb +60 -0
- data/lib/fog/ecloud/requests/compute/monitors_create_default.rb +11 -0
- data/lib/fog/ecloud/requests/compute/monitors_create_ecv.rb +40 -0
- data/lib/fog/ecloud/requests/compute/monitors_create_http.rb +44 -0
- data/lib/fog/ecloud/requests/compute/monitors_create_loopback.rb +11 -0
- data/lib/fog/ecloud/requests/compute/monitors_create_ping.rb +35 -0
- data/lib/fog/ecloud/requests/compute/monitors_disable.rb +11 -0
- data/lib/fog/ecloud/requests/compute/monitors_edit_ecv.rb +40 -0
- data/lib/fog/ecloud/requests/compute/monitors_edit_http.rb +44 -0
- data/lib/fog/ecloud/requests/compute/monitors_edit_ping.rb +35 -0
- data/lib/fog/ecloud/requests/compute/monitors_enable.rb +11 -0
- data/lib/fog/ecloud/requests/compute/node_service_create.rb +45 -0
- data/lib/fog/ecloud/requests/compute/node_service_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/node_service_edit.rb +41 -0
- data/lib/fog/ecloud/requests/compute/power_off.rb +11 -0
- data/lib/fog/ecloud/requests/compute/power_on.rb +11 -0
- data/lib/fog/ecloud/requests/compute/power_reset.rb +11 -0
- data/lib/fog/ecloud/requests/compute/power_shutdown.rb +11 -0
- data/lib/fog/ecloud/requests/compute/public_ip_activate.rb +11 -0
- data/lib/fog/ecloud/requests/compute/rnat_associations_create_device.rb +32 -0
- data/lib/fog/ecloud/requests/compute/rnat_associations_delete.rb +9 -0
- data/lib/fog/ecloud/requests/compute/rnat_associations_edit_network.rb +31 -0
- data/lib/fog/ecloud/requests/compute/rows_create.rb +29 -0
- data/lib/fog/ecloud/requests/compute/rows_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/rows_edit.rb +29 -0
- data/lib/fog/ecloud/requests/compute/rows_movedown.rb +11 -0
- data/lib/fog/ecloud/requests/compute/rows_moveup.rb +11 -0
- data/lib/fog/ecloud/requests/compute/trusted_network_groups_create.rb +53 -0
- data/lib/fog/ecloud/requests/compute/trusted_network_groups_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/trusted_network_groups_edit.rb +53 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_add_ip.rb +40 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_copy.rb +118 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_copy_identical.rb +45 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_create_from_template.rb +125 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_delete.rb +11 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_edit.rb +47 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_edit_hardware_configuration.rb +53 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_import.rb +67 -0
- data/lib/fog/ecloud/requests/compute/virtual_machine_upload_file.rb +31 -0
- data/lib/fog/glesys.rb +11 -0
- data/lib/fog/glesys/compute.rb +130 -0
- data/lib/fog/glesys/models/compute/ip.rb +75 -0
- data/lib/fog/glesys/models/compute/ips.rb +39 -0
- data/lib/fog/glesys/models/compute/server.rb +76 -0
- data/lib/fog/glesys/models/compute/servers.rb +40 -0
- data/lib/fog/glesys/models/compute/template.rb +25 -0
- data/lib/fog/glesys/models/compute/templates.rb +22 -0
- data/lib/fog/glesys/requests/compute/create.rb +15 -0
- data/lib/fog/glesys/requests/compute/destroy.rb +18 -0
- data/lib/fog/glesys/requests/compute/ip_add.rb +14 -0
- data/lib/fog/glesys/requests/compute/ip_details.rb +14 -0
- data/lib/fog/glesys/requests/compute/ip_list_free.rb +14 -0
- data/lib/fog/glesys/requests/compute/ip_list_own.rb +14 -0
- data/lib/fog/glesys/requests/compute/ip_release.rb +14 -0
- data/lib/fog/glesys/requests/compute/ip_remove.rb +14 -0
- data/lib/fog/glesys/requests/compute/ip_take.rb +14 -0
- data/lib/fog/glesys/requests/compute/list_servers.rb +19 -0
- data/lib/fog/glesys/requests/compute/reboot.rb +14 -0
- data/lib/fog/glesys/requests/compute/server_details.rb +14 -0
- data/lib/fog/glesys/requests/compute/server_status.rb +14 -0
- data/lib/fog/glesys/requests/compute/start.rb +14 -0
- data/lib/fog/glesys/requests/compute/stop.rb +14 -0
- data/lib/fog/glesys/requests/compute/template_list.rb +14 -0
- data/lib/fog/go_grid.rb +11 -0
- data/lib/fog/go_grid/compute.rb +116 -0
- data/lib/fog/go_grid/models/compute/image.rb +60 -0
- data/lib/fog/go_grid/models/compute/images.rb +33 -0
- data/lib/fog/go_grid/models/compute/password.rb +50 -0
- data/lib/fog/go_grid/models/compute/passwords.rb +36 -0
- data/lib/fog/go_grid/models/compute/server.rb +98 -0
- data/lib/fog/go_grid/models/compute/servers.rb +36 -0
- data/lib/fog/go_grid/requests/compute/common_lookup_list.rb +28 -0
- data/lib/fog/go_grid/requests/compute/grid_image_get.rb +41 -0
- data/lib/fog/go_grid/requests/compute/grid_image_list.rb +44 -0
- data/lib/fog/go_grid/requests/compute/grid_ip_list.rb +30 -0
- data/lib/fog/go_grid/requests/compute/grid_loadbalancer_list.rb +28 -0
- data/lib/fog/go_grid/requests/compute/grid_server_add.rb +36 -0
- data/lib/fog/go_grid/requests/compute/grid_server_delete.rb +25 -0
- data/lib/fog/go_grid/requests/compute/grid_server_get.rb +25 -0
- data/lib/fog/go_grid/requests/compute/grid_server_list.rb +30 -0
- data/lib/fog/go_grid/requests/compute/grid_server_power.rb +26 -0
- data/lib/fog/go_grid/requests/compute/support_password_get.rb +28 -0
- data/lib/fog/go_grid/requests/compute/support_password_list.rb +30 -0
- data/lib/fog/google.rb +23 -0
- data/lib/fog/google/models/storage/directories.rb +43 -0
- data/lib/fog/google/models/storage/directory.rb +78 -0
- data/lib/fog/google/models/storage/file.rb +142 -0
- data/lib/fog/google/models/storage/files.rb +103 -0
- data/lib/fog/google/parsers/storage/access_control_list.rb +48 -0
- data/lib/fog/google/parsers/storage/copy_object.rb +22 -0
- data/lib/fog/google/parsers/storage/get_bucket.rb +62 -0
- data/lib/fog/google/parsers/storage/get_bucket_logging.rb +40 -0
- data/lib/fog/google/parsers/storage/get_bucket_object_versions.rb +88 -0
- data/lib/fog/google/parsers/storage/get_bucket_versioning.rb +24 -0
- data/lib/fog/google/parsers/storage/get_request_payment.rb +20 -0
- data/lib/fog/google/parsers/storage/get_service.rb +32 -0
- data/lib/fog/google/requests/storage/copy_object.rb +72 -0
- data/lib/fog/google/requests/storage/delete_bucket.rb +46 -0
- data/lib/fog/google/requests/storage/delete_object.rb +50 -0
- data/lib/fog/google/requests/storage/get_bucket.rb +110 -0
- data/lib/fog/google/requests/storage/get_bucket_acl.rb +63 -0
- data/lib/fog/google/requests/storage/get_object.rb +112 -0
- data/lib/fog/google/requests/storage/get_object_acl.rb +74 -0
- data/lib/fog/google/requests/storage/get_object_http_url.rb +51 -0
- data/lib/fog/google/requests/storage/get_object_https_url.rb +51 -0
- data/lib/fog/google/requests/storage/get_object_torrent.rb +47 -0
- data/lib/fog/google/requests/storage/get_object_url.rb +37 -0
- data/lib/fog/google/requests/storage/get_service.rb +53 -0
- data/lib/fog/google/requests/storage/head_object.rb +64 -0
- data/lib/fog/google/requests/storage/put_bucket.rb +75 -0
- data/lib/fog/google/requests/storage/put_bucket_acl.rb +73 -0
- data/lib/fog/google/requests/storage/put_object.rb +93 -0
- data/lib/fog/google/requests/storage/put_object_url.rb +54 -0
- data/lib/fog/google/storage.rb +282 -0
- data/lib/fog/hp.rb +234 -0
- data/lib/fog/hp/README_HP.rdoc +60 -0
- data/lib/fog/hp/cdn.rb +131 -0
- data/lib/fog/hp/compute.rb +182 -0
- data/lib/fog/hp/models/compute/address.rb +71 -0
- data/lib/fog/hp/models/compute/addresses.rb +29 -0
- data/lib/fog/hp/models/compute/flavor.rb +24 -0
- data/lib/fog/hp/models/compute/flavors.rb +28 -0
- data/lib/fog/hp/models/compute/image.rb +37 -0
- data/lib/fog/hp/models/compute/images.rb +34 -0
- data/lib/fog/hp/models/compute/key_pair.rb +59 -0
- data/lib/fog/hp/models/compute/key_pairs.rb +31 -0
- data/lib/fog/hp/models/compute/security_group.rb +50 -0
- data/lib/fog/hp/models/compute/security_groups.rb +29 -0
- data/lib/fog/hp/models/compute/server.rb +207 -0
- data/lib/fog/hp/models/compute/servers.rb +36 -0
- data/lib/fog/hp/models/storage/directories.rb +50 -0
- data/lib/fog/hp/models/storage/directory.rb +160 -0
- data/lib/fog/hp/models/storage/file.rb +87 -0
- data/lib/fog/hp/models/storage/files.rb +103 -0
- data/lib/fog/hp/requests/cdn/delete_container.rb +38 -0
- data/lib/fog/hp/requests/cdn/get_containers.rb +44 -0
- data/lib/fog/hp/requests/cdn/head_container.rb +50 -0
- data/lib/fog/hp/requests/cdn/post_container.rb +52 -0
- data/lib/fog/hp/requests/cdn/put_container.rb +53 -0
- data/lib/fog/hp/requests/compute/allocate_address.rb +49 -0
- data/lib/fog/hp/requests/compute/associate_address.rb +42 -0
- data/lib/fog/hp/requests/compute/change_password_server.rb +33 -0
- data/lib/fog/hp/requests/compute/confirm_resized_server.rb +34 -0
- data/lib/fog/hp/requests/compute/create_image.rb +63 -0
- data/lib/fog/hp/requests/compute/create_key_pair.rb +81 -0
- data/lib/fog/hp/requests/compute/create_security_group.rb +83 -0
- data/lib/fog/hp/requests/compute/create_security_group_rule.rb +75 -0
- data/lib/fog/hp/requests/compute/create_server.rb +140 -0
- data/lib/fog/hp/requests/compute/delete_image.rb +45 -0
- data/lib/fog/hp/requests/compute/delete_key_pair.rb +39 -0
- data/lib/fog/hp/requests/compute/delete_security_group.rb +41 -0
- data/lib/fog/hp/requests/compute/delete_security_group_rule.rb +49 -0
- data/lib/fog/hp/requests/compute/delete_server.rb +43 -0
- data/lib/fog/hp/requests/compute/disassociate_address.rb +39 -0
- data/lib/fog/hp/requests/compute/get_address.rb +45 -0
- data/lib/fog/hp/requests/compute/get_flavor_details.rb +51 -0
- data/lib/fog/hp/requests/compute/get_image_details.rb +43 -0
- data/lib/fog/hp/requests/compute/get_security_group.rb +57 -0
- data/lib/fog/hp/requests/compute/get_server_details.rb +52 -0
- data/lib/fog/hp/requests/compute/list_addresses.rb +41 -0
- data/lib/fog/hp/requests/compute/list_flavors.rb +44 -0
- data/lib/fog/hp/requests/compute/list_flavors_detail.rb +46 -0
- data/lib/fog/hp/requests/compute/list_images.rb +40 -0
- data/lib/fog/hp/requests/compute/list_images_detail.rb +49 -0
- data/lib/fog/hp/requests/compute/list_key_pairs.rb +44 -0
- data/lib/fog/hp/requests/compute/list_security_groups.rb +54 -0
- data/lib/fog/hp/requests/compute/list_server_addresses.rb +42 -0
- data/lib/fog/hp/requests/compute/list_server_private_addresses.rb +58 -0
- data/lib/fog/hp/requests/compute/list_server_public_addresses.rb +58 -0
- data/lib/fog/hp/requests/compute/list_servers.rb +41 -0
- data/lib/fog/hp/requests/compute/list_servers_detail.rb +56 -0
- data/lib/fog/hp/requests/compute/reboot_server.rb +34 -0
- data/lib/fog/hp/requests/compute/rebuild_server.rb +32 -0
- data/lib/fog/hp/requests/compute/release_address.rb +39 -0
- data/lib/fog/hp/requests/compute/resize_server.rb +39 -0
- data/lib/fog/hp/requests/compute/revert_resized_server.rb +35 -0
- data/lib/fog/hp/requests/compute/server_action.rb +25 -0
- data/lib/fog/hp/requests/compute/update_server.rb +42 -0
- data/lib/fog/hp/requests/storage/delete_container.rb +43 -0
- data/lib/fog/hp/requests/storage/delete_object.rb +44 -0
- data/lib/fog/hp/requests/storage/get_container.rb +92 -0
- data/lib/fog/hp/requests/storage/get_containers.rb +71 -0
- data/lib/fog/hp/requests/storage/get_object.rb +83 -0
- data/lib/fog/hp/requests/storage/head_container.rb +40 -0
- data/lib/fog/hp/requests/storage/head_containers.rb +37 -0
- data/lib/fog/hp/requests/storage/head_object.rb +35 -0
- data/lib/fog/hp/requests/storage/put_container.rb +48 -0
- data/lib/fog/hp/requests/storage/put_object.rb +94 -0
- data/lib/fog/hp/storage.rb +201 -0
- data/lib/fog/ibm.rb +176 -0
- data/lib/fog/ibm/compute.rb +235 -0
- data/lib/fog/ibm/models/compute/address.rb +62 -0
- data/lib/fog/ibm/models/compute/addresses.rb +28 -0
- data/lib/fog/ibm/models/compute/image.rb +70 -0
- data/lib/fog/ibm/models/compute/images.rb +27 -0
- data/lib/fog/ibm/models/compute/instance-type.rb +14 -0
- data/lib/fog/ibm/models/compute/instance-types.rb +15 -0
- data/lib/fog/ibm/models/compute/key.rb +35 -0
- data/lib/fog/ibm/models/compute/keys.rb +35 -0
- data/lib/fog/ibm/models/compute/location.rb +15 -0
- data/lib/fog/ibm/models/compute/locations.rb +27 -0
- data/lib/fog/ibm/models/compute/server.rb +193 -0
- data/lib/fog/ibm/models/compute/servers.rb +27 -0
- data/lib/fog/ibm/models/compute/vlan.rb +15 -0
- data/lib/fog/ibm/models/compute/vlans.rb +28 -0
- data/lib/fog/ibm/models/storage/offering.rb +18 -0
- data/lib/fog/ibm/models/storage/offerings.rb +19 -0
- data/lib/fog/ibm/models/storage/volume.rb +98 -0
- data/lib/fog/ibm/models/storage/volumes.rb +27 -0
- data/lib/fog/ibm/requests/compute/clone_image.rb +48 -0
- data/lib/fog/ibm/requests/compute/create_address.rb +50 -0
- data/lib/fog/ibm/requests/compute/create_image.rb +56 -0
- data/lib/fog/ibm/requests/compute/create_instance.rb +80 -0
- data/lib/fog/ibm/requests/compute/create_key.rb +61 -0
- data/lib/fog/ibm/requests/compute/delete_address.rb +46 -0
- data/lib/fog/ibm/requests/compute/delete_image.rb +43 -0
- data/lib/fog/ibm/requests/compute/delete_instance.rb +52 -0
- data/lib/fog/ibm/requests/compute/delete_key.rb +41 -0
- data/lib/fog/ibm/requests/compute/get_image.rb +67 -0
- data/lib/fog/ibm/requests/compute/get_image_agreement.rb +66 -0
- data/lib/fog/ibm/requests/compute/get_image_manifest.rb +39 -0
- data/lib/fog/ibm/requests/compute/get_instance.rb +76 -0
- data/lib/fog/ibm/requests/compute/get_instance_logs.rb +25 -0
- data/lib/fog/ibm/requests/compute/get_key.rb +49 -0
- data/lib/fog/ibm/requests/compute/get_location.rb +55 -0
- data/lib/fog/ibm/requests/compute/get_request.rb +78 -0
- data/lib/fog/ibm/requests/compute/list_address_offerings.rb +58 -0
- data/lib/fog/ibm/requests/compute/list_addresses.rb +53 -0
- data/lib/fog/ibm/requests/compute/list_images.rb +58 -0
- data/lib/fog/ibm/requests/compute/list_instances.rb +57 -0
- data/lib/fog/ibm/requests/compute/list_keys.rb +57 -0
- data/lib/fog/ibm/requests/compute/list_locations.rb +37 -0
- data/lib/fog/ibm/requests/compute/list_vlans.rb +47 -0
- data/lib/fog/ibm/requests/compute/modify_instance.rb +71 -0
- data/lib/fog/ibm/requests/compute/modify_key.rb +52 -0
- data/lib/fog/ibm/requests/storage/create_volume.rb +66 -0
- data/lib/fog/ibm/requests/storage/delete_volume.rb +42 -0
- data/lib/fog/ibm/requests/storage/get_volume.rb +72 -0
- data/lib/fog/ibm/requests/storage/list_offerings.rb +76 -0
- data/lib/fog/ibm/requests/storage/list_volumes.rb +47 -0
- data/lib/fog/ibm/storage.rb +82 -0
- data/lib/fog/identity.rb +24 -0
- data/lib/fog/image.rb +24 -0
- data/lib/fog/joyent.rb +8 -0
- data/lib/fog/joyent/compute.rb +243 -0
- data/lib/fog/joyent/errors.rb +90 -0
- data/lib/fog/joyent/models/compute/flavor.rb +17 -0
- data/lib/fog/joyent/models/compute/flavors.rb +25 -0
- data/lib/fog/joyent/models/compute/image.rb +18 -0
- data/lib/fog/joyent/models/compute/images.rb +25 -0
- data/lib/fog/joyent/models/compute/key.rb +19 -0
- data/lib/fog/joyent/models/compute/keys.rb +34 -0
- data/lib/fog/joyent/models/compute/server.rb +120 -0
- data/lib/fog/joyent/models/compute/servers.rb +36 -0
- data/lib/fog/joyent/models/compute/snapshot.rb +45 -0
- data/lib/fog/joyent/models/compute/snapshots.rb +37 -0
- data/lib/fog/joyent/requests/compute/add_machine_tags.rb +20 -0
- data/lib/fog/joyent/requests/compute/create_key.rb +56 -0
- data/lib/fog/joyent/requests/compute/create_machine.rb +16 -0
- data/lib/fog/joyent/requests/compute/create_machine_snapshot.rb +18 -0
- data/lib/fog/joyent/requests/compute/delete_all_machine_metadata.rb +16 -0
- data/lib/fog/joyent/requests/compute/delete_all_machine_tags.rb +15 -0
- data/lib/fog/joyent/requests/compute/delete_key.rb +29 -0
- data/lib/fog/joyent/requests/compute/delete_machine.rb +15 -0
- data/lib/fog/joyent/requests/compute/delete_machine_metadata.rb +18 -0
- data/lib/fog/joyent/requests/compute/delete_machine_snapshot.rb +21 -0
- data/lib/fog/joyent/requests/compute/delete_machine_tag.rb +15 -0
- data/lib/fog/joyent/requests/compute/get_dataset.rb +28 -0
- data/lib/fog/joyent/requests/compute/get_key.rb +29 -0
- data/lib/fog/joyent/requests/compute/get_machine.rb +29 -0
- data/lib/fog/joyent/requests/compute/get_machine_metadata.rb +25 -0
- data/lib/fog/joyent/requests/compute/get_machine_snapshot.rb +14 -0
- data/lib/fog/joyent/requests/compute/get_machine_tag.rb +19 -0
- data/lib/fog/joyent/requests/compute/get_package.rb +33 -0
- data/lib/fog/joyent/requests/compute/list_datacenters.rb +17 -0
- data/lib/fog/joyent/requests/compute/list_datasets.rb +24 -0
- data/lib/fog/joyent/requests/compute/list_keys.rb +25 -0
- data/lib/fog/joyent/requests/compute/list_machine_snapshots.rb +14 -0
- data/lib/fog/joyent/requests/compute/list_machine_tags.rb +20 -0
- data/lib/fog/joyent/requests/compute/list_machines.rb +25 -0
- data/lib/fog/joyent/requests/compute/list_packages.rb +36 -0
- data/lib/fog/joyent/requests/compute/reboot_machine.rb +15 -0
- data/lib/fog/joyent/requests/compute/resize_machine.rb +13 -0
- data/lib/fog/joyent/requests/compute/start_machine.rb +16 -0
- data/lib/fog/joyent/requests/compute/start_machine_from_snapshot.rb +15 -0
- data/lib/fog/joyent/requests/compute/stop_machine.rb +16 -0
- data/lib/fog/joyent/requests/compute/update_machine_metadata.rb +15 -0
- data/lib/fog/libvirt.rb +11 -0
- data/lib/fog/libvirt/compute.rb +136 -0
- data/lib/fog/libvirt/models/compute/README.md +76 -0
- data/lib/fog/libvirt/models/compute/interface.rb +28 -0
- data/lib/fog/libvirt/models/compute/interfaces.rb +24 -0
- data/lib/fog/libvirt/models/compute/network.rb +34 -0
- data/lib/fog/libvirt/models/compute/networks.rb +24 -0
- data/lib/fog/libvirt/models/compute/nic.rb +54 -0
- data/lib/fog/libvirt/models/compute/nics.rb +16 -0
- data/lib/fog/libvirt/models/compute/node.rb +34 -0
- data/lib/fog/libvirt/models/compute/nodes.rb +23 -0
- data/lib/fog/libvirt/models/compute/pool.rb +88 -0
- data/lib/fog/libvirt/models/compute/pools.rb +24 -0
- data/lib/fog/libvirt/models/compute/server.rb +399 -0
- data/lib/fog/libvirt/models/compute/servers.rb +24 -0
- data/lib/fog/libvirt/models/compute/templates/network.xml.erb +6 -0
- data/lib/fog/libvirt/models/compute/templates/pool.xml.erb +6 -0
- data/lib/fog/libvirt/models/compute/templates/server.xml.erb +53 -0
- data/lib/fog/libvirt/models/compute/templates/volume.xml.erb +14 -0
- data/lib/fog/libvirt/models/compute/util/uri.rb +145 -0
- data/lib/fog/libvirt/models/compute/util/util.rb +33 -0
- data/lib/fog/libvirt/models/compute/volume.rb +108 -0
- data/lib/fog/libvirt/models/compute/volumes.rb +24 -0
- data/lib/fog/libvirt/requests/compute/create_domain.rb +17 -0
- data/lib/fog/libvirt/requests/compute/create_volume.rb +17 -0
- data/lib/fog/libvirt/requests/compute/define_domain.rb +17 -0
- data/lib/fog/libvirt/requests/compute/define_pool.rb +17 -0
- data/lib/fog/libvirt/requests/compute/destroy_interface.rb +18 -0
- data/lib/fog/libvirt/requests/compute/destroy_network.rb +17 -0
- data/lib/fog/libvirt/requests/compute/get_node_info.rb +39 -0
- data/lib/fog/libvirt/requests/compute/list_domains.rb +106 -0
- data/lib/fog/libvirt/requests/compute/list_interfaces.rb +59 -0
- data/lib/fog/libvirt/requests/compute/list_networks.rb +58 -0
- data/lib/fog/libvirt/requests/compute/list_pool_volumes.rb +21 -0
- data/lib/fog/libvirt/requests/compute/list_pools.rb +72 -0
- data/lib/fog/libvirt/requests/compute/list_volumes.rb +89 -0
- data/lib/fog/libvirt/requests/compute/mock_files/domain.xml +40 -0
- data/lib/fog/libvirt/requests/compute/pool_action.rb +19 -0
- data/lib/fog/libvirt/requests/compute/update_display.rb +31 -0
- data/lib/fog/libvirt/requests/compute/vm_action.rb +19 -0
- data/lib/fog/libvirt/requests/compute/volume_action.rb +18 -0
- data/lib/fog/linode.rb +10 -0
- data/lib/fog/linode/compute.rb +118 -0
- data/lib/fog/linode/dns.rb +93 -0
- data/lib/fog/linode/models/compute/data_center.rb +12 -0
- data/lib/fog/linode/models/compute/data_centers.rb +26 -0
- data/lib/fog/linode/models/compute/disk.rb +62 -0
- data/lib/fog/linode/models/compute/disks.rb +40 -0
- data/lib/fog/linode/models/compute/flavor.rb +23 -0
- data/lib/fog/linode/models/compute/flavors.rb +32 -0
- data/lib/fog/linode/models/compute/image.rb +14 -0
- data/lib/fog/linode/models/compute/images.rb +33 -0
- data/lib/fog/linode/models/compute/ip.rb +30 -0
- data/lib/fog/linode/models/compute/ips.rb +40 -0
- data/lib/fog/linode/models/compute/kernel.rb +12 -0
- data/lib/fog/linode/models/compute/kernels.rb +32 -0
- data/lib/fog/linode/models/compute/server.rb +97 -0
- data/lib/fog/linode/models/compute/servers.rb +32 -0
- data/lib/fog/linode/models/compute/stack_script.rb +13 -0
- data/lib/fog/linode/models/compute/stack_scripts.rb +32 -0
- data/lib/fog/linode/models/dns/record.rb +72 -0
- data/lib/fog/linode/models/dns/records.rb +37 -0
- data/lib/fog/linode/models/dns/zone.rb +84 -0
- data/lib/fog/linode/models/dns/zones.rb +29 -0
- data/lib/fog/linode/requests/compute/avail_datacenters.rb +43 -0
- data/lib/fog/linode/requests/compute/avail_distributions.rb +67 -0
- data/lib/fog/linode/requests/compute/avail_kernels.rb +65 -0
- data/lib/fog/linode/requests/compute/avail_linodeplans.rb +69 -0
- data/lib/fog/linode/requests/compute/avail_stackscripts.rb +63 -0
- data/lib/fog/linode/requests/compute/linode_boot.rb +30 -0
- data/lib/fog/linode/requests/compute/linode_config_create.rb +36 -0
- data/lib/fog/linode/requests/compute/linode_config_list.rb +71 -0
- data/lib/fog/linode/requests/compute/linode_create.rb +46 -0
- data/lib/fog/linode/requests/compute/linode_delete.rb +41 -0
- data/lib/fog/linode/requests/compute/linode_disk_create.rb +37 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromdistribution.rb +38 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromstackscript.rb +26 -0
- data/lib/fog/linode/requests/compute/linode_disk_delete.rb +35 -0
- data/lib/fog/linode/requests/compute/linode_disk_list.rb +60 -0
- data/lib/fog/linode/requests/compute/linode_ip_addprivate.rb +17 -0
- data/lib/fog/linode/requests/compute/linode_ip_list.rb +59 -0
- data/lib/fog/linode/requests/compute/linode_list.rb +83 -0
- data/lib/fog/linode/requests/compute/linode_reboot.rb +41 -0
- data/lib/fog/linode/requests/compute/linode_shutdown.rb +30 -0
- data/lib/fog/linode/requests/compute/linode_update.rb +30 -0
- data/lib/fog/linode/requests/compute/stackscript_list.rb +32 -0
- data/lib/fog/linode/requests/dns/domain_create.rb +43 -0
- data/lib/fog/linode/requests/dns/domain_delete.rb +27 -0
- data/lib/fog/linode/requests/dns/domain_list.rb +42 -0
- data/lib/fog/linode/requests/dns/domain_resource_create.rb +44 -0
- data/lib/fog/linode/requests/dns/domain_resource_delete.rb +28 -0
- data/lib/fog/linode/requests/dns/domain_resource_list.rb +43 -0
- data/lib/fog/linode/requests/dns/domain_resource_update.rb +46 -0
- data/lib/fog/linode/requests/dns/domain_update.rb +40 -0
- data/lib/fog/local.rb +11 -0
- data/lib/fog/local/models/storage/directories.rb +33 -0
- data/lib/fog/local/models/storage/directory.rb +57 -0
- data/lib/fog/local/models/storage/file.rb +131 -0
- data/lib/fog/local/models/storage/files.rb +87 -0
- data/lib/fog/local/storage.rb +103 -0
- data/lib/fog/network.rb +26 -0
- data/lib/fog/ninefold.rb +12 -0
- data/lib/fog/ninefold/compute.rb +148 -0
- data/lib/fog/ninefold/models/compute/address.rb +103 -0
- data/lib/fog/ninefold/models/compute/addresses.rb +31 -0
- data/lib/fog/ninefold/models/compute/flavor.rb +29 -0
- data/lib/fog/ninefold/models/compute/flavors.rb +30 -0
- data/lib/fog/ninefold/models/compute/image.rb +42 -0
- data/lib/fog/ninefold/models/compute/images.rb +30 -0
- data/lib/fog/ninefold/models/compute/ip_forwarding_rule.rb +79 -0
- data/lib/fog/ninefold/models/compute/ip_forwarding_rules.rb +31 -0
- data/lib/fog/ninefold/models/compute/server.rb +185 -0
- data/lib/fog/ninefold/models/compute/servers.rb +31 -0
- data/lib/fog/ninefold/requests/compute/assign_to_load_balancer_rule.rb +13 -0
- data/lib/fog/ninefold/requests/compute/associate_ip_address.rb +14 -0
- data/lib/fog/ninefold/requests/compute/change_service_for_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/requests/compute/create_ip_forwarding_rule.rb +14 -0
- data/lib/fog/ninefold/requests/compute/create_load_balancer_rule.rb +11 -0
- data/lib/fog/ninefold/requests/compute/delete_ip_forwarding_rule.rb +14 -0
- data/lib/fog/ninefold/requests/compute/delete_load_balancer_rule.rb +11 -0
- data/lib/fog/ninefold/requests/compute/deploy_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/requests/compute/destroy_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/requests/compute/disable_static_nat.rb +14 -0
- data/lib/fog/ninefold/requests/compute/disassociate_ip_address.rb +14 -0
- data/lib/fog/ninefold/requests/compute/enable_static_nat.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_accounts.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_async_jobs.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_capabilities.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_disk_offerings.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_events.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_hypervisors.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_ip_forwarding_rules.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_load_balancer_rule_instances.rb +15 -0
- data/lib/fog/ninefold/requests/compute/list_load_balancer_rules.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_network_offerings.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_networks.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_public_ip_addresses.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_resource_limits.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_service_offerings.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_templates.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_virtual_machines.rb +14 -0
- data/lib/fog/ninefold/requests/compute/list_zones.rb +14 -0
- data/lib/fog/ninefold/requests/compute/query_async_job_result.rb +14 -0
- data/lib/fog/ninefold/requests/compute/reboot_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/requests/compute/remove_from_load_balancer_rule.rb +12 -0
- data/lib/fog/ninefold/requests/compute/reset_password_for_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/requests/compute/start_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/requests/compute/stop_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/requests/compute/update_load_balancer_rule.rb +15 -0
- data/lib/fog/ninefold/requests/compute/update_virtual_machine.rb +14 -0
- data/lib/fog/ninefold/storage.rb +56 -0
- data/lib/fog/nirvanix.rb +41 -0
- data/lib/fog/nirvanix/models/storage/directories.rb +29 -0
- data/lib/fog/nirvanix/models/storage/directory.rb +46 -0
- data/lib/fog/nirvanix/models/storage/file.rb +60 -0
- data/lib/fog/nirvanix/models/storage/files.rb +27 -0
- data/lib/fog/nirvanix/requests/storage/create_folder.rb +35 -0
- data/lib/fog/nirvanix/requests/storage/delete_folder.rb +34 -0
- data/lib/fog/nirvanix/requests/storage/get_object.rb +50 -0
- data/lib/fog/nirvanix/requests/storage/get_optimal_url.rb +41 -0
- data/lib/fog/nirvanix/requests/storage/list_folder.rb +40 -0
- data/lib/fog/nirvanix/requests/storage/upload_file.rb +109 -0
- data/lib/fog/nirvanix/storage.rb +63 -0
- data/lib/fog/openstack.rb +178 -0
- data/lib/fog/openstack/compute.rb +389 -0
- data/lib/fog/openstack/identity.rb +283 -0
- data/lib/fog/openstack/image.rb +211 -0
- data/lib/fog/openstack/models/compute/address.rb +71 -0
- data/lib/fog/openstack/models/compute/addresses.rb +33 -0
- data/lib/fog/openstack/models/compute/flavor.rb +44 -0
- data/lib/fog/openstack/models/compute/flavors.rb +28 -0
- data/lib/fog/openstack/models/compute/host.rb +28 -0
- data/lib/fog/openstack/models/compute/hosts.rb +32 -0
- data/lib/fog/openstack/models/compute/image.rb +57 -0
- data/lib/fog/openstack/models/compute/images.rb +33 -0
- data/lib/fog/openstack/models/compute/key_pair.rb +60 -0
- data/lib/fog/openstack/models/compute/key_pairs.rb +31 -0
- data/lib/fog/openstack/models/compute/metadata.rb +69 -0
- data/lib/fog/openstack/models/compute/metadatum.rb +29 -0
- data/lib/fog/openstack/models/compute/network.rb +13 -0
- data/lib/fog/openstack/models/compute/networks.rb +29 -0
- data/lib/fog/openstack/models/compute/security_group.rb +44 -0
- data/lib/fog/openstack/models/compute/security_groups.rb +27 -0
- data/lib/fog/openstack/models/compute/server.rb +265 -0
- data/lib/fog/openstack/models/compute/servers.rb +44 -0
- data/lib/fog/openstack/models/compute/snapshot.rb +43 -0
- data/lib/fog/openstack/models/compute/snapshots.rb +26 -0
- data/lib/fog/openstack/models/compute/tenant.rb +24 -0
- data/lib/fog/openstack/models/compute/tenants.rb +20 -0
- data/lib/fog/openstack/models/compute/volume.rb +58 -0
- data/lib/fog/openstack/models/compute/volumes.rb +26 -0
- data/lib/fog/openstack/models/identity/role.rb +50 -0
- data/lib/fog/openstack/models/identity/roles.rb +21 -0
- data/lib/fog/openstack/models/identity/tenant.rb +62 -0
- data/lib/fog/openstack/models/identity/tenants.rb +29 -0
- data/lib/fog/openstack/models/identity/user.rb +64 -0
- data/lib/fog/openstack/models/identity/users.rb +32 -0
- data/lib/fog/openstack/models/image/image.rb +90 -0
- data/lib/fog/openstack/models/image/images.rb +60 -0
- data/lib/fog/openstack/models/meta_parent.rb +33 -0
- data/lib/fog/openstack/models/network/network.rb +46 -0
- data/lib/fog/openstack/models/network/networks.rb +34 -0
- data/lib/fog/openstack/models/network/port.rb +52 -0
- data/lib/fog/openstack/models/network/ports.rb +34 -0
- data/lib/fog/openstack/models/network/subnet.rb +55 -0
- data/lib/fog/openstack/models/network/subnets.rb +34 -0
- data/lib/fog/openstack/models/volume/volume.rb +46 -0
- data/lib/fog/openstack/models/volume/volumes.rb +27 -0
- data/lib/fog/openstack/network.rb +234 -0
- data/lib/fog/openstack/requests/compute/add_fixed_ip.rb +29 -0
- data/lib/fog/openstack/requests/compute/allocate_address.rb +42 -0
- data/lib/fog/openstack/requests/compute/associate_address.rb +27 -0
- data/lib/fog/openstack/requests/compute/attach_volume.rb +38 -0
- data/lib/fog/openstack/requests/compute/boot_from_snapshot.rb +41 -0
- data/lib/fog/openstack/requests/compute/change_server_password.rb +24 -0
- data/lib/fog/openstack/requests/compute/confirm_resize_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/create_flavor.rb +85 -0
- data/lib/fog/openstack/requests/compute/create_image.rb +49 -0
- data/lib/fog/openstack/requests/compute/create_key_pair.rb +49 -0
- data/lib/fog/openstack/requests/compute/create_security_group.rb +51 -0
- data/lib/fog/openstack/requests/compute/create_security_group_rule.rb +58 -0
- data/lib/fog/openstack/requests/compute/create_server.rb +84 -0
- data/lib/fog/openstack/requests/compute/create_volume.rb +54 -0
- data/lib/fog/openstack/requests/compute/create_volume_snapshot.rb +47 -0
- data/lib/fog/openstack/requests/compute/delete_flavor.rb +28 -0
- data/lib/fog/openstack/requests/compute/delete_image.rb +40 -0
- data/lib/fog/openstack/requests/compute/delete_key_pair.rb +31 -0
- data/lib/fog/openstack/requests/compute/delete_metadata.rb +28 -0
- data/lib/fog/openstack/requests/compute/delete_security_group.rb +31 -0
- data/lib/fog/openstack/requests/compute/delete_security_group_rule.rb +31 -0
- data/lib/fog/openstack/requests/compute/delete_server.rb +38 -0
- data/lib/fog/openstack/requests/compute/delete_snapshot.rb +26 -0
- data/lib/fog/openstack/requests/compute/delete_volume.rb +26 -0
- data/lib/fog/openstack/requests/compute/detach_volume.rb +26 -0
- data/lib/fog/openstack/requests/compute/disassociate_address.rb +27 -0
- data/lib/fog/openstack/requests/compute/get_address.rb +41 -0
- data/lib/fog/openstack/requests/compute/get_console_output.rb +28 -0
- data/lib/fog/openstack/requests/compute/get_flavor_details.rb +43 -0
- data/lib/fog/openstack/requests/compute/get_host_details.rb +74 -0
- data/lib/fog/openstack/requests/compute/get_image_details.rb +33 -0
- data/lib/fog/openstack/requests/compute/get_limits.rb +93 -0
- data/lib/fog/openstack/requests/compute/get_metadata.rb +29 -0
- data/lib/fog/openstack/requests/compute/get_quota.rb +31 -0
- data/lib/fog/openstack/requests/compute/get_quota_defaults.rb +31 -0
- data/lib/fog/openstack/requests/compute/get_security_group.rb +49 -0
- data/lib/fog/openstack/requests/compute/get_server_details.rb +32 -0
- data/lib/fog/openstack/requests/compute/get_server_volumes.rb +23 -0
- data/lib/fog/openstack/requests/compute/get_snapshot_details.rb +39 -0
- data/lib/fog/openstack/requests/compute/get_usage.rb +53 -0
- data/lib/fog/openstack/requests/compute/get_vnc_console.rb +40 -0
- data/lib/fog/openstack/requests/compute/get_volume_details.rb +42 -0
- data/lib/fog/openstack/requests/compute/list_address_pools.rb +23 -0
- data/lib/fog/openstack/requests/compute/list_addresses.rb +32 -0
- data/lib/fog/openstack/requests/compute/list_all_addresses.rb +64 -0
- data/lib/fog/openstack/requests/compute/list_flavors.rb +38 -0
- data/lib/fog/openstack/requests/compute/list_flavors_detail.rb +38 -0
- data/lib/fog/openstack/requests/compute/list_hosts.rb +32 -0
- data/lib/fog/openstack/requests/compute/list_images.rb +33 -0
- data/lib/fog/openstack/requests/compute/list_images_detail.rb +39 -0
- data/lib/fog/openstack/requests/compute/list_key_pairs.rb +39 -0
- data/lib/fog/openstack/requests/compute/list_metadata.rb +28 -0
- data/lib/fog/openstack/requests/compute/list_private_addresses.rb +32 -0
- data/lib/fog/openstack/requests/compute/list_public_addresses.rb +32 -0
- data/lib/fog/openstack/requests/compute/list_security_groups.rb +74 -0
- data/lib/fog/openstack/requests/compute/list_servers.rb +37 -0
- data/lib/fog/openstack/requests/compute/list_servers_detail.rb +44 -0
- data/lib/fog/openstack/requests/compute/list_snapshots.rb +32 -0
- data/lib/fog/openstack/requests/compute/list_tenants.rb +44 -0
- data/lib/fog/openstack/requests/compute/list_usages.rb +43 -0
- data/lib/fog/openstack/requests/compute/list_volumes.rb +51 -0
- data/lib/fog/openstack/requests/compute/live_migrate_server.rb +31 -0
- data/lib/fog/openstack/requests/compute/migrate_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/pause_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/reboot_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/rebuild_server.rb +31 -0
- data/lib/fog/openstack/requests/compute/release_address.rb +34 -0
- data/lib/fog/openstack/requests/compute/remove_fixed_ip.rb +29 -0
- data/lib/fog/openstack/requests/compute/rescue_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/reset_server_state.rb +24 -0
- data/lib/fog/openstack/requests/compute/resize_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/resume_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/revert_resize_server.rb +30 -0
- data/lib/fog/openstack/requests/compute/server_action.rb +18 -0
- data/lib/fog/openstack/requests/compute/server_actions.rb +27 -0
- data/lib/fog/openstack/requests/compute/server_diagnostics.rb +25 -0
- data/lib/fog/openstack/requests/compute/set_metadata.rb +45 -0
- data/lib/fog/openstack/requests/compute/set_tenant.rb +21 -0
- data/lib/fog/openstack/requests/compute/suspend_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/unpause_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/update_metadata.rb +46 -0
- data/lib/fog/openstack/requests/compute/update_quota.rb +32 -0
- data/lib/fog/openstack/requests/compute/update_server.rb +35 -0
- data/lib/fog/openstack/requests/identity/add_user_to_tenant.rb +29 -0
- data/lib/fog/openstack/requests/identity/check_token.rb +23 -0
- data/lib/fog/openstack/requests/identity/create_role.rb +37 -0
- data/lib/fog/openstack/requests/identity/create_tenant.rb +34 -0
- data/lib/fog/openstack/requests/identity/create_user.rb +47 -0
- data/lib/fog/openstack/requests/identity/create_user_role.rb +26 -0
- data/lib/fog/openstack/requests/identity/delete_role.rb +32 -0
- data/lib/fog/openstack/requests/identity/delete_tenant.rb +31 -0
- data/lib/fog/openstack/requests/identity/delete_user.rb +32 -0
- data/lib/fog/openstack/requests/identity/delete_user_role.rb +26 -0
- data/lib/fog/openstack/requests/identity/get_role.rb +28 -0
- data/lib/fog/openstack/requests/identity/get_tenant.rb +31 -0
- data/lib/fog/openstack/requests/identity/get_tenants_by_id.rb +23 -0
- data/lib/fog/openstack/requests/identity/get_tenants_by_name.rb +23 -0
- data/lib/fog/openstack/requests/identity/get_user_by_id.rb +34 -0
- data/lib/fog/openstack/requests/identity/get_user_by_name.rb +23 -0
- data/lib/fog/openstack/requests/identity/list_endpoints_for_token.rb +23 -0
- data/lib/fog/openstack/requests/identity/list_roles.rb +36 -0
- data/lib/fog/openstack/requests/identity/list_roles_for_user_on_tenant.rb +24 -0
- data/lib/fog/openstack/requests/identity/list_tenants.rb +45 -0
- data/lib/fog/openstack/requests/identity/list_user_global_roles.rb +22 -0
- data/lib/fog/openstack/requests/identity/list_users.rb +25 -0
- data/lib/fog/openstack/requests/identity/remove_user_from_tenant.rb +20 -0
- data/lib/fog/openstack/requests/identity/set_tenant.rb +21 -0
- data/lib/fog/openstack/requests/identity/update_tenant.rb +30 -0
- data/lib/fog/openstack/requests/identity/update_user.rb +36 -0
- data/lib/fog/openstack/requests/identity/validate_token.rb +23 -0
- data/lib/fog/openstack/requests/image/add_member_to_image.rb +23 -0
- data/lib/fog/openstack/requests/image/create_image.rb +77 -0
- data/lib/fog/openstack/requests/image/delete_image.rb +25 -0
- data/lib/fog/openstack/requests/image/get_image.rb +45 -0
- data/lib/fog/openstack/requests/image/get_image_by_id.rb +32 -0
- data/lib/fog/openstack/requests/image/get_image_members.rb +29 -0
- data/lib/fog/openstack/requests/image/get_shared_images.rb +29 -0
- data/lib/fog/openstack/requests/image/list_public_images.rb +32 -0
- data/lib/fog/openstack/requests/image/list_public_images_detailed.rb +31 -0
- data/lib/fog/openstack/requests/image/remove_member_from_image.rb +23 -0
- data/lib/fog/openstack/requests/image/set_tenant.rb +21 -0
- data/lib/fog/openstack/requests/image/update_image.rb +70 -0
- data/lib/fog/openstack/requests/image/update_image_members.rb +37 -0
- data/lib/fog/openstack/requests/network/create_network.rb +44 -0
- data/lib/fog/openstack/requests/network/create_port.rb +52 -0
- data/lib/fog/openstack/requests/network/create_subnet.rb +56 -0
- data/lib/fog/openstack/requests/network/delete_network.rb +30 -0
- data/lib/fog/openstack/requests/network/delete_port.rb +30 -0
- data/lib/fog/openstack/requests/network/delete_subnet.rb +30 -0
- data/lib/fog/openstack/requests/network/get_network.rb +42 -0
- data/lib/fog/openstack/requests/network/get_port.rb +48 -0
- data/lib/fog/openstack/requests/network/get_subnet.rb +49 -0
- data/lib/fog/openstack/requests/network/list_networks.rb +27 -0
- data/lib/fog/openstack/requests/network/list_ports.rb +27 -0
- data/lib/fog/openstack/requests/network/list_subnets.rb +27 -0
- data/lib/fog/openstack/requests/network/set_tenant.rb +21 -0
- data/lib/fog/openstack/requests/network/update_network.rb +41 -0
- data/lib/fog/openstack/requests/network/update_port.rb +44 -0
- data/lib/fog/openstack/requests/network/update_subnet.rb +44 -0
- data/lib/fog/openstack/requests/volume/create_volume.rb +54 -0
- data/lib/fog/openstack/requests/volume/create_volume_snapshot.rb +47 -0
- data/lib/fog/openstack/requests/volume/delete_snapshot.rb +26 -0
- data/lib/fog/openstack/requests/volume/delete_volume.rb +26 -0
- data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +39 -0
- data/lib/fog/openstack/requests/volume/get_volume_details.rb +42 -0
- data/lib/fog/openstack/requests/volume/list_snapshots.rb +32 -0
- data/lib/fog/openstack/requests/volume/list_volumes.rb +55 -0
- data/lib/fog/openstack/requests/volume/set_tenant.rb +21 -0
- data/lib/fog/openstack/volume.rb +215 -0
- data/lib/fog/ovirt.rb +17 -0
- data/lib/fog/ovirt/compute.rb +116 -0
- data/lib/fog/ovirt/models/compute/cluster.rb +24 -0
- data/lib/fog/ovirt/models/compute/clusters.rb +23 -0
- data/lib/fog/ovirt/models/compute/interface.rb +22 -0
- data/lib/fog/ovirt/models/compute/interfaces.rb +32 -0
- data/lib/fog/ovirt/models/compute/server.rb +135 -0
- data/lib/fog/ovirt/models/compute/servers.rb +30 -0
- data/lib/fog/ovirt/models/compute/template.rb +60 -0
- data/lib/fog/ovirt/models/compute/templates.rb +23 -0
- data/lib/fog/ovirt/models/compute/volume.rb +35 -0
- data/lib/fog/ovirt/models/compute/volumes.rb +32 -0
- data/lib/fog/ovirt/requests/compute/add_interface.rb +23 -0
- data/lib/fog/ovirt/requests/compute/add_volume.rb +23 -0
- data/lib/fog/ovirt/requests/compute/create_vm.rb +20 -0
- data/lib/fog/ovirt/requests/compute/datacenters.rb +22 -0
- data/lib/fog/ovirt/requests/compute/destroy_interface.rb +25 -0
- data/lib/fog/ovirt/requests/compute/destroy_vm.rb +22 -0
- data/lib/fog/ovirt/requests/compute/destroy_volume.rb +25 -0
- data/lib/fog/ovirt/requests/compute/get_cluster.rb +18 -0
- data/lib/fog/ovirt/requests/compute/get_template.rb +18 -0
- data/lib/fog/ovirt/requests/compute/get_virtual_machine.rb +18 -0
- data/lib/fog/ovirt/requests/compute/list_clusters.rb +20 -0
- data/lib/fog/ovirt/requests/compute/list_networks.rb +17 -0
- data/lib/fog/ovirt/requests/compute/list_template_interfaces.rb +20 -0
- data/lib/fog/ovirt/requests/compute/list_template_volumes.rb +20 -0
- data/lib/fog/ovirt/requests/compute/list_templates.rb +20 -0
- data/lib/fog/ovirt/requests/compute/list_virtual_machines.rb +20 -0
- data/lib/fog/ovirt/requests/compute/list_vm_interfaces.rb +20 -0
- data/lib/fog/ovirt/requests/compute/list_vm_volumes.rb +20 -0
- data/lib/fog/ovirt/requests/compute/mock_files/cluster.xml +20 -0
- data/lib/fog/ovirt/requests/compute/mock_files/clusters.xml +39 -0
- data/lib/fog/ovirt/requests/compute/mock_files/data_centers.xml +17 -0
- data/lib/fog/ovirt/requests/compute/mock_files/nics.xml +10 -0
- data/lib/fog/ovirt/requests/compute/mock_files/storage_domains.xml +36 -0
- data/lib/fog/ovirt/requests/compute/mock_files/template.xml +39 -0
- data/lib/fog/ovirt/requests/compute/mock_files/templates.xml +110 -0
- data/lib/fog/ovirt/requests/compute/mock_files/vm.xml +52 -0
- data/lib/fog/ovirt/requests/compute/mock_files/vms.xml +152 -0
- data/lib/fog/ovirt/requests/compute/mock_files/volumes.xml +40 -0
- data/lib/fog/ovirt/requests/compute/storage_domains.rb +22 -0
- data/lib/fog/ovirt/requests/compute/update_interface.rb +25 -0
- data/lib/fog/ovirt/requests/compute/update_vm.rb +20 -0
- data/lib/fog/ovirt/requests/compute/vm_action.rb +26 -0
- data/lib/fog/ovirt/requests/compute/vm_ticket.rb +21 -0
- data/lib/fog/providers.rb +34 -0
- data/lib/fog/rackspace.rb +85 -0
- data/lib/fog/rackspace/block_storage.rb +114 -0
- data/lib/fog/rackspace/cdn.rb +100 -0
- data/lib/fog/rackspace/compute.rb +262 -0
- data/lib/fog/rackspace/compute_v2.rb +123 -0
- data/lib/fog/rackspace/databases.rb +121 -0
- data/lib/fog/rackspace/dns.rb +139 -0
- data/lib/fog/rackspace/identity.rb +83 -0
- data/lib/fog/rackspace/load_balancers.rb +161 -0
- data/lib/fog/rackspace/models/block_storage/snapshot.rb +46 -0
- data/lib/fog/rackspace/models/block_storage/snapshots.rb +25 -0
- data/lib/fog/rackspace/models/block_storage/volume.rb +58 -0
- data/lib/fog/rackspace/models/block_storage/volume_type.rb +14 -0
- data/lib/fog/rackspace/models/block_storage/volume_types.rb +25 -0
- data/lib/fog/rackspace/models/block_storage/volumes.rb +25 -0
- data/lib/fog/rackspace/models/compute/flavor.rb +46 -0
- data/lib/fog/rackspace/models/compute/flavors.rb +28 -0
- data/lib/fog/rackspace/models/compute/image.rb +48 -0
- data/lib/fog/rackspace/models/compute/images.rb +35 -0
- data/lib/fog/rackspace/models/compute/server.rb +107 -0
- data/lib/fog/rackspace/models/compute/servers.rb +36 -0
- data/lib/fog/rackspace/models/compute_v2/attachment.rb +34 -0
- data/lib/fog/rackspace/models/compute_v2/attachments.rb +25 -0
- data/lib/fog/rackspace/models/compute_v2/flavor.rb +17 -0
- data/lib/fog/rackspace/models/compute_v2/flavors.rb +25 -0
- data/lib/fog/rackspace/models/compute_v2/image.rb +30 -0
- data/lib/fog/rackspace/models/compute_v2/images.rb +25 -0
- data/lib/fog/rackspace/models/compute_v2/server.rb +176 -0
- data/lib/fog/rackspace/models/compute_v2/servers.rb +33 -0
- data/lib/fog/rackspace/models/databases/database.rb +32 -0
- data/lib/fog/rackspace/models/databases/databases.rb +31 -0
- data/lib/fog/rackspace/models/databases/flavor.rb +15 -0
- data/lib/fog/rackspace/models/databases/flavors.rb +25 -0
- data/lib/fog/rackspace/models/databases/instance.rb +104 -0
- data/lib/fog/rackspace/models/databases/instances.rb +25 -0
- data/lib/fog/rackspace/models/databases/user.rb +32 -0
- data/lib/fog/rackspace/models/databases/users.rb +31 -0
- data/lib/fog/rackspace/models/dns/callback.rb +30 -0
- data/lib/fog/rackspace/models/dns/record.rb +95 -0
- data/lib/fog/rackspace/models/dns/records.rb +38 -0
- data/lib/fog/rackspace/models/dns/zone.rb +67 -0
- data/lib/fog/rackspace/models/dns/zones.rb +33 -0
- data/lib/fog/rackspace/models/identity/credential.rb +13 -0
- data/lib/fog/rackspace/models/identity/credentials.rb +32 -0
- data/lib/fog/rackspace/models/identity/role.rb +14 -0
- data/lib/fog/rackspace/models/identity/roles.rb +32 -0
- data/lib/fog/rackspace/models/identity/tenant.rb +15 -0
- data/lib/fog/rackspace/models/identity/tenants.rb +28 -0
- data/lib/fog/rackspace/models/identity/user.rb +53 -0
- data/lib/fog/rackspace/models/identity/users.rb +36 -0
- data/lib/fog/rackspace/models/load_balancers/access_rule.rb +39 -0
- data/lib/fog/rackspace/models/load_balancers/access_rules.rb +29 -0
- data/lib/fog/rackspace/models/load_balancers/load_balancer.rb +250 -0
- data/lib/fog/rackspace/models/load_balancers/load_balancers.rb +27 -0
- data/lib/fog/rackspace/models/load_balancers/node.rb +58 -0
- data/lib/fog/rackspace/models/load_balancers/nodes.rb +29 -0
- data/lib/fog/rackspace/models/load_balancers/virtual_ip.rb +35 -0
- data/lib/fog/rackspace/models/load_balancers/virtual_ips.rb +32 -0
- data/lib/fog/rackspace/models/storage/directories.rb +43 -0
- data/lib/fog/rackspace/models/storage/directory.rb +80 -0
- data/lib/fog/rackspace/models/storage/file.rb +150 -0
- data/lib/fog/rackspace/models/storage/files.rb +94 -0
- data/lib/fog/rackspace/requests/block_storage/create_snapshot.rb +26 -0
- data/lib/fog/rackspace/requests/block_storage/create_volume.rb +27 -0
- data/lib/fog/rackspace/requests/block_storage/delete_snapshot.rb +15 -0
- data/lib/fog/rackspace/requests/block_storage/delete_volume.rb +15 -0
- data/lib/fog/rackspace/requests/block_storage/get_snapshot.rb +15 -0
- data/lib/fog/rackspace/requests/block_storage/get_volume.rb +15 -0
- data/lib/fog/rackspace/requests/block_storage/get_volume_type.rb +15 -0
- data/lib/fog/rackspace/requests/block_storage/list_snapshots.rb +15 -0
- data/lib/fog/rackspace/requests/block_storage/list_volume_types.rb +15 -0
- data/lib/fog/rackspace/requests/block_storage/list_volumes.rb +15 -0
- data/lib/fog/rackspace/requests/cdn/get_containers.rb +31 -0
- data/lib/fog/rackspace/requests/cdn/head_container.rb +33 -0
- data/lib/fog/rackspace/requests/cdn/post_container.rb +30 -0
- data/lib/fog/rackspace/requests/cdn/put_container.rb +30 -0
- data/lib/fog/rackspace/requests/compute/confirm_resized_server.rb +34 -0
- data/lib/fog/rackspace/requests/compute/create_image.rb +60 -0
- data/lib/fog/rackspace/requests/compute/create_server.rb +94 -0
- data/lib/fog/rackspace/requests/compute/delete_image.rb +45 -0
- data/lib/fog/rackspace/requests/compute/delete_server.rb +43 -0
- data/lib/fog/rackspace/requests/compute/get_flavor_details.rb +52 -0
- data/lib/fog/rackspace/requests/compute/get_image_details.rb +27 -0
- data/lib/fog/rackspace/requests/compute/get_server_details.rb +52 -0
- data/lib/fog/rackspace/requests/compute/list_addresses.rb +43 -0
- data/lib/fog/rackspace/requests/compute/list_flavors.rb +45 -0
- data/lib/fog/rackspace/requests/compute/list_flavors_detail.rb +47 -0
- data/lib/fog/rackspace/requests/compute/list_images.rb +40 -0
- data/lib/fog/rackspace/requests/compute/list_images_detail.rb +49 -0
- data/lib/fog/rackspace/requests/compute/list_private_addresses.rb +41 -0
- data/lib/fog/rackspace/requests/compute/list_public_addresses.rb +41 -0
- data/lib/fog/rackspace/requests/compute/list_servers.rb +41 -0
- data/lib/fog/rackspace/requests/compute/list_servers_detail.rb +56 -0
- data/lib/fog/rackspace/requests/compute/reboot_server.rb +30 -0
- data/lib/fog/rackspace/requests/compute/resize_server.rb +39 -0
- data/lib/fog/rackspace/requests/compute/revert_resized_server.rb +35 -0
- data/lib/fog/rackspace/requests/compute/server_action.rb +25 -0
- data/lib/fog/rackspace/requests/compute/update_server.rb +45 -0
- data/lib/fog/rackspace/requests/compute_v2/attach_volume.rb +23 -0
- data/lib/fog/rackspace/requests/compute_v2/change_server_password.rb +22 -0
- data/lib/fog/rackspace/requests/compute_v2/confirm_resize_server.rb +20 -0
- data/lib/fog/rackspace/requests/compute_v2/create_server.rb +31 -0
- data/lib/fog/rackspace/requests/compute_v2/delete_attachment.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/get_attachment.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/get_image.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/get_server.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/list_attachments.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/list_flavors.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/list_images.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +15 -0
- data/lib/fog/rackspace/requests/compute_v2/reboot_server.rb +22 -0
- data/lib/fog/rackspace/requests/compute_v2/rebuild_server.rb +22 -0
- data/lib/fog/rackspace/requests/compute_v2/resize_server.rb +22 -0
- data/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb +20 -0
- data/lib/fog/rackspace/requests/compute_v2/update_server.rb +22 -0
- data/lib/fog/rackspace/requests/databases/check_root_user.rb +15 -0
- data/lib/fog/rackspace/requests/databases/create_database.rb +24 -0
- data/lib/fog/rackspace/requests/databases/create_instance.rb +26 -0
- data/lib/fog/rackspace/requests/databases/create_user.rb +24 -0
- data/lib/fog/rackspace/requests/databases/delete_database.rb +15 -0
- data/lib/fog/rackspace/requests/databases/delete_instance.rb +15 -0
- data/lib/fog/rackspace/requests/databases/delete_user.rb +15 -0
- data/lib/fog/rackspace/requests/databases/enable_root_user.rb +15 -0
- data/lib/fog/rackspace/requests/databases/get_flavor.rb +15 -0
- data/lib/fog/rackspace/requests/databases/get_instance.rb +15 -0
- data/lib/fog/rackspace/requests/databases/list_databases.rb +15 -0
- data/lib/fog/rackspace/requests/databases/list_flavors.rb +15 -0
- data/lib/fog/rackspace/requests/databases/list_instances.rb +15 -0
- data/lib/fog/rackspace/requests/databases/list_users.rb +15 -0
- data/lib/fog/rackspace/requests/databases/resize_instance.rb +22 -0
- data/lib/fog/rackspace/requests/databases/resize_instance_volume.rb +24 -0
- data/lib/fog/rackspace/requests/databases/restart_instance.rb +20 -0
- data/lib/fog/rackspace/requests/dns/add_records.rb +34 -0
- data/lib/fog/rackspace/requests/dns/callback.rb +19 -0
- data/lib/fog/rackspace/requests/dns/create_domains.rb +48 -0
- data/lib/fog/rackspace/requests/dns/list_domain_details.rb +32 -0
- data/lib/fog/rackspace/requests/dns/list_domains.rb +21 -0
- data/lib/fog/rackspace/requests/dns/list_record_details.rb +21 -0
- data/lib/fog/rackspace/requests/dns/list_records.rb +23 -0
- data/lib/fog/rackspace/requests/dns/list_subdomains.rb +23 -0
- data/lib/fog/rackspace/requests/dns/modify_domain.rb +36 -0
- data/lib/fog/rackspace/requests/dns/modify_record.rb +37 -0
- data/lib/fog/rackspace/requests/dns/remove_domain.rb +29 -0
- data/lib/fog/rackspace/requests/dns/remove_domains.rb +27 -0
- data/lib/fog/rackspace/requests/dns/remove_record.rb +21 -0
- data/lib/fog/rackspace/requests/dns/remove_records.rb +20 -0
- data/lib/fog/rackspace/requests/identity/create_token.rb +25 -0
- data/lib/fog/rackspace/requests/identity/create_user.rb +25 -0
- data/lib/fog/rackspace/requests/identity/delete_user.rb +15 -0
- data/lib/fog/rackspace/requests/identity/get_credentials.rb +15 -0
- data/lib/fog/rackspace/requests/identity/get_user_by_id.rb +15 -0
- data/lib/fog/rackspace/requests/identity/get_user_by_name.rb +15 -0
- data/lib/fog/rackspace/requests/identity/list_credentials.rb +22 -0
- data/lib/fog/rackspace/requests/identity/list_tenants.rb +22 -0
- data/lib/fog/rackspace/requests/identity/list_user_roles.rb +22 -0
- data/lib/fog/rackspace/requests/identity/list_users.rb +22 -0
- data/lib/fog/rackspace/requests/identity/update_user.rb +24 -0
- data/lib/fog/rackspace/requests/load_balancers/create_access_rule.rb +24 -0
- data/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +29 -0
- data/lib/fog/rackspace/requests/load_balancers/create_node.rb +27 -0
- data/lib/fog/rackspace/requests/load_balancers/create_virtual_ip.rb +20 -0
- data/lib/fog/rackspace/requests/load_balancers/delete_access_rule.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/delete_all_access_rules.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/delete_load_balancer.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/delete_node.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/delete_nodes.rb +16 -0
- data/lib/fog/rackspace/requests/load_balancers/delete_virtual_ip.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_connection_logging.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_connection_throttling.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_error_page.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_load_balancer.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_load_balancer_usage.rb +21 -0
- data/lib/fog/rackspace/requests/load_balancers/get_monitor.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_node.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_session_persistence.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_ssl_termination.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/get_usage.rb +20 -0
- data/lib/fog/rackspace/requests/load_balancers/list_access_rules.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/list_algorithms.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/list_load_balancers.rb +21 -0
- data/lib/fog/rackspace/requests/load_balancers/list_nodes.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/list_protocols.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/list_virtual_ips.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/remove_connection_throttling.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/remove_error_page.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/remove_monitor.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/remove_session_persistence.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/remove_ssl_termination.rb +15 -0
- data/lib/fog/rackspace/requests/load_balancers/set_connection_logging.rb +21 -0
- data/lib/fog/rackspace/requests/load_balancers/set_connection_throttling.rb +22 -0
- data/lib/fog/rackspace/requests/load_balancers/set_error_page.rb +21 -0
- data/lib/fog/rackspace/requests/load_balancers/set_monitor.rb +31 -0
- data/lib/fog/rackspace/requests/load_balancers/set_session_persistence.rb +21 -0
- data/lib/fog/rackspace/requests/load_balancers/set_ssl_termination.rb +31 -0
- data/lib/fog/rackspace/requests/load_balancers/update_load_balancer.rb +24 -0
- data/lib/fog/rackspace/requests/load_balancers/update_node.rb +26 -0
- data/lib/fog/rackspace/requests/storage/copy_object.rb +27 -0
- data/lib/fog/rackspace/requests/storage/delete_container.rb +22 -0
- data/lib/fog/rackspace/requests/storage/delete_object.rb +23 -0
- data/lib/fog/rackspace/requests/storage/get_container.rb +44 -0
- data/lib/fog/rackspace/requests/storage/get_containers.rb +33 -0
- data/lib/fog/rackspace/requests/storage/get_object.rb +30 -0
- data/lib/fog/rackspace/requests/storage/get_object_https_url.rb +51 -0
- data/lib/fog/rackspace/requests/storage/head_container.rb +28 -0
- data/lib/fog/rackspace/requests/storage/head_containers.rb +25 -0
- data/lib/fog/rackspace/requests/storage/head_object.rb +23 -0
- data/lib/fog/rackspace/requests/storage/post_set_meta_temp_url_key.rb +37 -0
- data/lib/fog/rackspace/requests/storage/put_container.rb +22 -0
- data/lib/fog/rackspace/requests/storage/put_object.rb +30 -0
- data/lib/fog/rackspace/requests/storage/put_object_manifest.rb +25 -0
- data/lib/fog/rackspace/storage.rb +162 -0
- data/lib/fog/serverlove.rb +10 -0
- data/lib/fog/serverlove/compute.rb +97 -0
- data/lib/fog/serverlove/models/compute/image.rb +57 -0
- data/lib/fog/serverlove/models/compute/images.rb +26 -0
- data/lib/fog/serverlove/models/compute/server.rb +72 -0
- data/lib/fog/serverlove/models/compute/servers.rb +26 -0
- data/lib/fog/serverlove/requests/compute/create_image.rb +32 -0
- data/lib/fog/serverlove/requests/compute/create_server.rb +34 -0
- data/lib/fog/serverlove/requests/compute/destroy_image.rb +13 -0
- data/lib/fog/serverlove/requests/compute/destroy_server.rb +13 -0
- data/lib/fog/serverlove/requests/compute/get_image.rb +13 -0
- data/lib/fog/serverlove/requests/compute/get_images.rb +13 -0
- data/lib/fog/serverlove/requests/compute/get_server.rb +13 -0
- data/lib/fog/serverlove/requests/compute/get_servers.rb +13 -0
- data/lib/fog/serverlove/requests/compute/load_standard_image.rb +13 -0
- data/lib/fog/serverlove/requests/compute/reset_server.rb +13 -0
- data/lib/fog/serverlove/requests/compute/shutdown_server.rb +13 -0
- data/lib/fog/serverlove/requests/compute/start_server.rb +13 -0
- data/lib/fog/serverlove/requests/compute/stop_server.rb +13 -0
- data/lib/fog/serverlove/requests/compute/update_image.rb +15 -0
- data/lib/fog/serverlove/requests/compute/update_server.rb +15 -0
- data/lib/fog/serverlove/util/compute/password_generator.rb +11 -0
- data/lib/fog/storage.rb +94 -0
- data/lib/fog/storm_on_demand.rb +12 -0
- data/lib/fog/storm_on_demand/compute.rb +136 -0
- data/lib/fog/storm_on_demand/models/compute/balancer.rb +38 -0
- data/lib/fog/storm_on_demand/models/compute/balancers.rb +21 -0
- data/lib/fog/storm_on_demand/models/compute/config.rb +25 -0
- data/lib/fog/storm_on_demand/models/compute/configs.rb +22 -0
- data/lib/fog/storm_on_demand/models/compute/image.rb +20 -0
- data/lib/fog/storm_on_demand/models/compute/images.rb +21 -0
- data/lib/fog/storm_on_demand/models/compute/private_ip.rb +19 -0
- data/lib/fog/storm_on_demand/models/compute/private_ips.rb +31 -0
- data/lib/fog/storm_on_demand/models/compute/server.rb +70 -0
- data/lib/fog/storm_on_demand/models/compute/servers.rb +26 -0
- data/lib/fog/storm_on_demand/models/compute/stat.rb +23 -0
- data/lib/fog/storm_on_demand/models/compute/stats.rb +22 -0
- data/lib/fog/storm_on_demand/models/compute/template.rb +22 -0
- data/lib/fog/storm_on_demand/models/compute/templates.rb +21 -0
- data/lib/fog/storm_on_demand/requests/compute/add_balancer_node.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/clone_server.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/create_server.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/delete_server.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/get_server.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/get_stats.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/list_balancers.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/list_configs.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/list_images.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/list_private_ips.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/list_servers.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/list_templates.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/reboot_server.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/remove_balancer_node.rb +16 -0
- data/lib/fog/storm_on_demand/requests/compute/resize_server.rb +16 -0
- data/lib/fog/terremark.rb +11 -0
- data/lib/fog/terremark/models/shared/address.rb +29 -0
- data/lib/fog/terremark/models/shared/addresses.rb +49 -0
- data/lib/fog/terremark/models/shared/image.rb +22 -0
- data/lib/fog/terremark/models/shared/images.rb +48 -0
- data/lib/fog/terremark/models/shared/internetservice.rb +67 -0
- data/lib/fog/terremark/models/shared/internetservices.rb +42 -0
- data/lib/fog/terremark/models/shared/network.rb +35 -0
- data/lib/fog/terremark/models/shared/networks.rb +52 -0
- data/lib/fog/terremark/models/shared/nodeservice.rb +52 -0
- data/lib/fog/terremark/models/shared/nodeservices.rb +32 -0
- data/lib/fog/terremark/models/shared/server.rb +209 -0
- data/lib/fog/terremark/models/shared/servers.rb +54 -0
- data/lib/fog/terremark/models/shared/task.rb +50 -0
- data/lib/fog/terremark/models/shared/tasks.rb +58 -0
- data/lib/fog/terremark/models/shared/vdc.rb +44 -0
- data/lib/fog/terremark/models/shared/vdcs.rb +52 -0
- data/lib/fog/terremark/parser.rb +19 -0
- data/lib/fog/terremark/parsers/shared/get_catalog.rb +51 -0
- data/lib/fog/terremark/parsers/shared/get_catalog_item.rb +46 -0
- data/lib/fog/terremark/parsers/shared/get_internet_services.rb +60 -0
- data/lib/fog/terremark/parsers/shared/get_keys_list.rb +56 -0
- data/lib/fog/terremark/parsers/shared/get_network_ips.rb +29 -0
- data/lib/fog/terremark/parsers/shared/get_node_services.rb +36 -0
- data/lib/fog/terremark/parsers/shared/get_organization.rb +52 -0
- data/lib/fog/terremark/parsers/shared/get_organizations.rb +32 -0
- data/lib/fog/terremark/parsers/shared/get_public_ips.rb +30 -0
- data/lib/fog/terremark/parsers/shared/get_tasks_list.rb +52 -0
- data/lib/fog/terremark/parsers/shared/get_vapp_template.rb +46 -0
- data/lib/fog/terremark/parsers/shared/get_vdc.rb +123 -0
- data/lib/fog/terremark/parsers/shared/instantiate_vapp_template.rb +41 -0
- data/lib/fog/terremark/parsers/shared/internet_service.rb +65 -0
- data/lib/fog/terremark/parsers/shared/network.rb +51 -0
- data/lib/fog/terremark/parsers/shared/node_service.rb +32 -0
- data/lib/fog/terremark/parsers/shared/public_ip.rb +26 -0
- data/lib/fog/terremark/parsers/shared/task.rb +40 -0
- data/lib/fog/terremark/parsers/shared/vapp.rb +77 -0
- data/lib/fog/terremark/requests/shared/add_internet_service.rb +56 -0
- data/lib/fog/terremark/requests/shared/add_node_service.rb +53 -0
- data/lib/fog/terremark/requests/shared/configure_vapp.rb +61 -0
- data/lib/fog/terremark/requests/shared/create_internet_service.rb +60 -0
- data/lib/fog/terremark/requests/shared/delete_internet_service.rb +23 -0
- data/lib/fog/terremark/requests/shared/delete_node_service.rb +23 -0
- data/lib/fog/terremark/requests/shared/delete_public_ip.rb +23 -0
- data/lib/fog/terremark/requests/shared/delete_vapp.rb +22 -0
- data/lib/fog/terremark/requests/shared/deploy_vapp.rb +35 -0
- data/lib/fog/terremark/requests/shared/get_catalog.rb +32 -0
- data/lib/fog/terremark/requests/shared/get_catalog_item.rb +35 -0
- data/lib/fog/terremark/requests/shared/get_internet_services.rb +36 -0
- data/lib/fog/terremark/requests/shared/get_keys_list.rb +36 -0
- data/lib/fog/terremark/requests/shared/get_network.rb +73 -0
- data/lib/fog/terremark/requests/shared/get_network_ips.rb +32 -0
- data/lib/fog/terremark/requests/shared/get_node_services.rb +31 -0
- data/lib/fog/terremark/requests/shared/get_organization.rb +86 -0
- data/lib/fog/terremark/requests/shared/get_organizations.rb +49 -0
- data/lib/fog/terremark/requests/shared/get_public_ip.rb +33 -0
- data/lib/fog/terremark/requests/shared/get_public_ips.rb +72 -0
- data/lib/fog/terremark/requests/shared/get_task.rb +39 -0
- data/lib/fog/terremark/requests/shared/get_tasks_list.rb +33 -0
- data/lib/fog/terremark/requests/shared/get_vapp.rb +42 -0
- data/lib/fog/terremark/requests/shared/get_vapp_template.rb +35 -0
- data/lib/fog/terremark/requests/shared/get_vdc.rb +125 -0
- data/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +81 -0
- data/lib/fog/terremark/requests/shared/power_off.rb +35 -0
- data/lib/fog/terremark/requests/shared/power_on.rb +35 -0
- data/lib/fog/terremark/requests/shared/power_reset.rb +35 -0
- data/lib/fog/terremark/requests/shared/power_shutdown.rb +24 -0
- data/lib/fog/terremark/shared.rb +311 -0
- data/lib/fog/terremark/vcloud.rb +135 -0
- data/lib/fog/vcloud.rb +11 -0
- data/lib/fog/vcloud/compute.rb +372 -0
- data/lib/fog/vcloud/models/compute/catalog.rb +22 -0
- data/lib/fog/vcloud/models/compute/catalog_item.rb +29 -0
- data/lib/fog/vcloud/models/compute/catalog_items.rb +36 -0
- data/lib/fog/vcloud/models/compute/catalogs.rb +38 -0
- data/lib/fog/vcloud/models/compute/helpers/status.rb +37 -0
- data/lib/fog/vcloud/models/compute/ip.rb +42 -0
- data/lib/fog/vcloud/models/compute/ips.rb +33 -0
- data/lib/fog/vcloud/models/compute/network.rb +23 -0
- data/lib/fog/vcloud/models/compute/networks.rb +48 -0
- data/lib/fog/vcloud/models/compute/organization.rb +43 -0
- data/lib/fog/vcloud/models/compute/organizations.rb +31 -0
- data/lib/fog/vcloud/models/compute/server.rb +305 -0
- data/lib/fog/vcloud/models/compute/servers.rb +52 -0
- data/lib/fog/vcloud/models/compute/task.rb +21 -0
- data/lib/fog/vcloud/models/compute/tasks.rb +30 -0
- data/lib/fog/vcloud/models/compute/vapp.rb +43 -0
- data/lib/fog/vcloud/models/compute/vapps.rb +28 -0
- data/lib/fog/vcloud/models/compute/vdc.rb +41 -0
- data/lib/fog/vcloud/models/compute/vdcs.rb +35 -0
- data/lib/fog/vcloud/requests/compute/clone_vapp.rb +40 -0
- data/lib/fog/vcloud/requests/compute/configure_network.rb +43 -0
- data/lib/fog/vcloud/requests/compute/configure_network_ip.rb +46 -0
- data/lib/fog/vcloud/requests/compute/configure_node.rb +38 -0
- data/lib/fog/vcloud/requests/compute/configure_org_network.rb +141 -0
- data/lib/fog/vcloud/requests/compute/configure_vapp.rb +112 -0
- data/lib/fog/vcloud/requests/compute/configure_vm.rb +109 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_cpus.rb +38 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_disks.rb +100 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_memory.rb +39 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_name_description.rb +30 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_password.rb +39 -0
- data/lib/fog/vcloud/requests/compute/delete_node.rb +10 -0
- data/lib/fog/vcloud/requests/compute/delete_vapp.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_catalog.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_catalog_item.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_customization_options.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_network.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_network_extensions.rb +11 -0
- data/lib/fog/vcloud/requests/compute/get_network_ip.rb +15 -0
- data/lib/fog/vcloud/requests/compute/get_network_ips.rb +15 -0
- data/lib/fog/vcloud/requests/compute/get_organization.rb +11 -0
- data/lib/fog/vcloud/requests/compute/get_server.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_task.rb +11 -0
- data/lib/fog/vcloud/requests/compute/get_task_list.rb +11 -0
- data/lib/fog/vcloud/requests/compute/get_vapp.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_vapp_template.rb +11 -0
- data/lib/fog/vcloud/requests/compute/get_vdc.rb +10 -0
- data/lib/fog/vcloud/requests/compute/get_vm_disks.rb +16 -0
- data/lib/fog/vcloud/requests/compute/get_vm_memory.rb +16 -0
- data/lib/fog/vcloud/requests/compute/instantiate_vapp_template.rb +83 -0
- data/lib/fog/vcloud/requests/compute/login.rb +27 -0
- data/lib/fog/vcloud/requests/compute/power_off.rb +10 -0
- data/lib/fog/vcloud/requests/compute/power_on.rb +11 -0
- data/lib/fog/vcloud/requests/compute/power_reset.rb +11 -0
- data/lib/fog/vcloud/requests/compute/power_shutdown.rb +11 -0
- data/lib/fog/vcloud/requests/compute/undeploy.rb +31 -0
- data/lib/fog/version.rb +5 -0
- data/lib/fog/virtual_box.rb +11 -0
- data/lib/fog/virtual_box/compute.rb +53 -0
- data/lib/fog/virtual_box/models/compute/medium.rb +87 -0
- data/lib/fog/virtual_box/models/compute/medium_format.rb +34 -0
- data/lib/fog/virtual_box/models/compute/mediums.rb +32 -0
- data/lib/fog/virtual_box/models/compute/nat_engine.rb +65 -0
- data/lib/fog/virtual_box/models/compute/nat_redirect.rb +91 -0
- data/lib/fog/virtual_box/models/compute/nat_redirects.rb +41 -0
- data/lib/fog/virtual_box/models/compute/network_adapter.rb +82 -0
- data/lib/fog/virtual_box/models/compute/network_adapters.rb +42 -0
- data/lib/fog/virtual_box/models/compute/server.rb +199 -0
- data/lib/fog/virtual_box/models/compute/servers.rb +41 -0
- data/lib/fog/virtual_box/models/compute/storage_controller.rb +83 -0
- data/lib/fog/virtual_box/models/compute/storage_controllers.rb +38 -0
- data/lib/fog/vmfusion.rb +11 -0
- data/lib/fog/vmfusion/compute.rb +29 -0
- data/lib/fog/vmfusion/models/compute/server.rb +258 -0
- data/lib/fog/vmfusion/models/compute/servers.rb +41 -0
- data/lib/fog/volume.rb +25 -0
- data/lib/fog/voxel.rb +16 -0
- data/lib/fog/voxel/compute.rb +125 -0
- data/lib/fog/voxel/models/compute/image.rb +15 -0
- data/lib/fog/voxel/models/compute/images.rb +30 -0
- data/lib/fog/voxel/models/compute/server.rb +78 -0
- data/lib/fog/voxel/models/compute/servers.rb +32 -0
- data/lib/fog/voxel/parsers/compute/basic.rb +31 -0
- data/lib/fog/voxel/parsers/compute/devices_list.rb +111 -0
- data/lib/fog/voxel/parsers/compute/images_list.rb +59 -0
- data/lib/fog/voxel/parsers/compute/voxcloud_create.rb +40 -0
- data/lib/fog/voxel/parsers/compute/voxcloud_delete.rb +31 -0
- data/lib/fog/voxel/parsers/compute/voxcloud_status.rb +42 -0
- data/lib/fog/voxel/requests/compute/devices_list.rb +24 -0
- data/lib/fog/voxel/requests/compute/devices_power.rb +22 -0
- data/lib/fog/voxel/requests/compute/images_list.rb +31 -0
- data/lib/fog/voxel/requests/compute/voxcloud_create.rb +22 -0
- data/lib/fog/voxel/requests/compute/voxcloud_delete.rb +20 -0
- data/lib/fog/voxel/requests/compute/voxcloud_status.rb +24 -0
- data/lib/fog/vsphere.rb +17 -0
- data/lib/fog/vsphere/compute.rb +250 -0
- data/lib/fog/vsphere/models/compute/cluster.rb +31 -0
- data/lib/fog/vsphere/models/compute/clusters.rb +26 -0
- data/lib/fog/vsphere/models/compute/datacenter.rb +35 -0
- data/lib/fog/vsphere/models/compute/datacenters.rb +23 -0
- data/lib/fog/vsphere/models/compute/datastore.rb +24 -0
- data/lib/fog/vsphere/models/compute/datastores.rb +25 -0
- data/lib/fog/vsphere/models/compute/folder.rb +28 -0
- data/lib/fog/vsphere/models/compute/folders.rb +27 -0
- data/lib/fog/vsphere/models/compute/interface.rb +39 -0
- data/lib/fog/vsphere/models/compute/interfaces.rb +33 -0
- data/lib/fog/vsphere/models/compute/network.rb +21 -0
- data/lib/fog/vsphere/models/compute/networks.rb +25 -0
- data/lib/fog/vsphere/models/compute/resource_pool.rb +23 -0
- data/lib/fog/vsphere/models/compute/resource_pools.rb +26 -0
- data/lib/fog/vsphere/models/compute/server.rb +204 -0
- data/lib/fog/vsphere/models/compute/servers.rb +39 -0
- data/lib/fog/vsphere/models/compute/template.rb +13 -0
- data/lib/fog/vsphere/models/compute/templates.rb +23 -0
- data/lib/fog/vsphere/models/compute/volume.rb +45 -0
- data/lib/fog/vsphere/models/compute/volumes.rb +33 -0
- data/lib/fog/vsphere/requests/compute/create_vm.rb +114 -0
- data/lib/fog/vsphere/requests/compute/current_time.rb +22 -0
- data/lib/fog/vsphere/requests/compute/get_cluster.rb +25 -0
- data/lib/fog/vsphere/requests/compute/get_datacenter.rb +29 -0
- data/lib/fog/vsphere/requests/compute/get_datastore.rb +25 -0
- data/lib/fog/vsphere/requests/compute/get_folder.rb +73 -0
- data/lib/fog/vsphere/requests/compute/get_network.rb +25 -0
- data/lib/fog/vsphere/requests/compute/get_resource_pool.rb +26 -0
- data/lib/fog/vsphere/requests/compute/get_virtual_machine.rb +62 -0
- data/lib/fog/vsphere/requests/compute/list_clusters.rb +37 -0
- data/lib/fog/vsphere/requests/compute/list_datacenters.rb +34 -0
- data/lib/fog/vsphere/requests/compute/list_datastores.rb +40 -0
- data/lib/fog/vsphere/requests/compute/list_folders.rb +45 -0
- data/lib/fog/vsphere/requests/compute/list_networks.rb +38 -0
- data/lib/fog/vsphere/requests/compute/list_resource_pools.rb +39 -0
- data/lib/fog/vsphere/requests/compute/list_virtual_machines.rb +173 -0
- data/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb +52 -0
- data/lib/fog/vsphere/requests/compute/list_vm_volumes.rb +51 -0
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +208 -0
- data/lib/fog/vsphere/requests/compute/vm_config_vnc.rb +47 -0
- data/lib/fog/vsphere/requests/compute/vm_destroy.rb +27 -0
- data/lib/fog/vsphere/requests/compute/vm_migrate.rb +37 -0
- data/lib/fog/vsphere/requests/compute/vm_power_off.rb +41 -0
- data/lib/fog/vsphere/requests/compute/vm_power_on.rb +30 -0
- data/lib/fog/vsphere/requests/compute/vm_reboot.rb +35 -0
- data/lib/fog/vsphere/requests/compute/vm_reconfig_cpus.rb +23 -0
- data/lib/fog/vsphere/requests/compute/vm_reconfig_hardware.rb +24 -0
- data/lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb +23 -0
- data/lib/fog/xenserver.rb +56 -0
- data/lib/fog/xenserver/compute.rb +122 -0
- data/lib/fog/xenserver/models/compute/guest_metrics.rb +28 -0
- data/lib/fog/xenserver/models/compute/host.rb +46 -0
- data/lib/fog/xenserver/models/compute/hosts.rb +29 -0
- data/lib/fog/xenserver/models/compute/network.rb +58 -0
- data/lib/fog/xenserver/models/compute/networks.rb +33 -0
- data/lib/fog/xenserver/models/compute/pbd.rb +33 -0
- data/lib/fog/xenserver/models/compute/pbds.rb +33 -0
- data/lib/fog/xenserver/models/compute/pif.rb +46 -0
- data/lib/fog/xenserver/models/compute/pifs.rb +33 -0
- data/lib/fog/xenserver/models/compute/pool.rb +40 -0
- data/lib/fog/xenserver/models/compute/pools.rb +33 -0
- data/lib/fog/xenserver/models/compute/server.rb +211 -0
- data/lib/fog/xenserver/models/compute/servers.rb +63 -0
- data/lib/fog/xenserver/models/compute/storage_repositories.rb +31 -0
- data/lib/fog/xenserver/models/compute/storage_repository.rb +47 -0
- data/lib/fog/xenserver/models/compute/vbd.rb +90 -0
- data/lib/fog/xenserver/models/compute/vbd_metrics.rb +27 -0
- data/lib/fog/xenserver/models/compute/vbds.rb +33 -0
- data/lib/fog/xenserver/models/compute/vdi.rb +102 -0
- data/lib/fog/xenserver/models/compute/vdis.rb +29 -0
- data/lib/fog/xenserver/models/compute/vif.rb +51 -0
- data/lib/fog/xenserver/models/compute/vifs.rb +29 -0
- data/lib/fog/xenserver/parser.rb +36 -0
- data/lib/fog/xenserver/parsers/get_hosts.rb +19 -0
- data/lib/fog/xenserver/parsers/get_networks.rb +19 -0
- data/lib/fog/xenserver/parsers/get_pools.rb +19 -0
- data/lib/fog/xenserver/parsers/get_records.rb +19 -0
- data/lib/fog/xenserver/parsers/get_storage_repositories.rb +19 -0
- data/lib/fog/xenserver/parsers/get_vbds.rb +19 -0
- data/lib/fog/xenserver/parsers/get_vifs.rb +19 -0
- data/lib/fog/xenserver/parsers/get_vms.rb +20 -0
- data/lib/fog/xenserver/requests/compute/clone_server.rb +31 -0
- data/lib/fog/xenserver/requests/compute/create_server.rb +126 -0
- data/lib/fog/xenserver/requests/compute/create_vbd.rb +40 -0
- data/lib/fog/xenserver/requests/compute/create_vdi.rb +33 -0
- data/lib/fog/xenserver/requests/compute/create_vif.rb +57 -0
- data/lib/fog/xenserver/requests/compute/destroy_server.rb +22 -0
- data/lib/fog/xenserver/requests/compute/destroy_vdi.rb +22 -0
- data/lib/fog/xenserver/requests/compute/destroy_vif.rb +22 -0
- data/lib/fog/xenserver/requests/compute/eject_vbd.rb +22 -0
- data/lib/fog/xenserver/requests/compute/get_record.rb +29 -0
- data/lib/fog/xenserver/requests/compute/get_records.rb +30 -0
- data/lib/fog/xenserver/requests/compute/insert_vbd.rb +22 -0
- data/lib/fog/xenserver/requests/compute/provision_server.rb +21 -0
- data/lib/fog/xenserver/requests/compute/reboot_server.rb +23 -0
- data/lib/fog/xenserver/requests/compute/scan_sr.rb +22 -0
- data/lib/fog/xenserver/requests/compute/set_affinity.rb +25 -0
- data/lib/fog/xenserver/requests/compute/set_attribute.rb +25 -0
- data/lib/fog/xenserver/requests/compute/shutdown_server.rb +23 -0
- data/lib/fog/xenserver/requests/compute/start_server.rb +23 -0
- data/lib/fog/xenserver/requests/compute/start_vm.rb +25 -0
- data/lib/fog/xenserver/requests/compute/unplug_vbd.rb +30 -0
- data/lib/fog/xenserver/utilities.rb +8 -0
- data/lib/fog/zerigo.rb +11 -0
- data/lib/fog/zerigo/dns.rb +120 -0
- data/lib/fog/zerigo/models/dns/record.rb +70 -0
- data/lib/fog/zerigo/models/dns/records.rb +46 -0
- data/lib/fog/zerigo/models/dns/zone.rb +88 -0
- data/lib/fog/zerigo/models/dns/zones.rb +30 -0
- data/lib/fog/zerigo/parsers/dns/count_hosts.rb +24 -0
- data/lib/fog/zerigo/parsers/dns/count_zones.rb +24 -0
- data/lib/fog/zerigo/parsers/dns/create_host.rb +28 -0
- data/lib/fog/zerigo/parsers/dns/create_zone.rb +26 -0
- data/lib/fog/zerigo/parsers/dns/find_hosts.rb +32 -0
- data/lib/fog/zerigo/parsers/dns/get_host.rb +28 -0
- data/lib/fog/zerigo/parsers/dns/get_zone.rb +58 -0
- data/lib/fog/zerigo/parsers/dns/get_zone_stats.rb +26 -0
- data/lib/fog/zerigo/parsers/dns/list_hosts.rb +32 -0
- data/lib/fog/zerigo/parsers/dns/list_zones.rb +30 -0
- data/lib/fog/zerigo/requests/dns/count_hosts.rb +47 -0
- data/lib/fog/zerigo/requests/dns/count_zones.rb +39 -0
- data/lib/fog/zerigo/requests/dns/create_host.rb +128 -0
- data/lib/fog/zerigo/requests/dns/create_zone.rb +132 -0
- data/lib/fog/zerigo/requests/dns/delete_host.rb +43 -0
- data/lib/fog/zerigo/requests/dns/delete_zone.rb +42 -0
- data/lib/fog/zerigo/requests/dns/find_hosts.rb +76 -0
- data/lib/fog/zerigo/requests/dns/get_host.rb +56 -0
- data/lib/fog/zerigo/requests/dns/get_zone.rb +66 -0
- data/lib/fog/zerigo/requests/dns/get_zone_stats.rb +59 -0
- data/lib/fog/zerigo/requests/dns/list_hosts.rb +59 -0
- data/lib/fog/zerigo/requests/dns/list_zones.rb +60 -0
- data/lib/fog/zerigo/requests/dns/update_host.rb +71 -0
- data/lib/fog/zerigo/requests/dns/update_zone.rb +89 -0
- data/lib/tasks/changelog_task.rb +98 -0
- data/lib/tasks/documentation_task.rb +155 -0
- data/lib/tasks/test_task.rb +46 -0
- data/tests/atmos/models/storage/file_update_tests.rb +19 -0
- data/tests/atmos/models/storage/nested_directories_tests.rb +23 -0
- data/tests/aws/credentials_tests.rb +57 -0
- data/tests/aws/models/auto_scaling/activities_tests.rb +6 -0
- data/tests/aws/models/auto_scaling/configuration_test.rb +13 -0
- data/tests/aws/models/auto_scaling/configurations_tests.rb +11 -0
- data/tests/aws/models/auto_scaling/helper.rb +0 -0
- data/tests/aws/models/auto_scaling/instances_tests.rb +6 -0
- data/tests/aws/models/beanstalk/application_tests.rb +70 -0
- data/tests/aws/models/beanstalk/applications_tests.rb +7 -0
- data/tests/aws/models/beanstalk/environment_tests.rb +132 -0
- data/tests/aws/models/beanstalk/environments_tests.rb +34 -0
- data/tests/aws/models/beanstalk/template_tests.rb +47 -0
- data/tests/aws/models/beanstalk/templates_tests.rb +62 -0
- data/tests/aws/models/beanstalk/version_tests.rb +66 -0
- data/tests/aws/models/beanstalk/versions_tests.rb +61 -0
- data/tests/aws/models/cdn/distribution_tests.rb +15 -0
- data/tests/aws/models/cdn/distributions_tests.rb +15 -0
- data/tests/aws/models/cdn/invalidation_tests.rb +32 -0
- data/tests/aws/models/cdn/invalidations_tests.rb +15 -0
- data/tests/aws/models/cdn/streaming_distribution_tests.rb +15 -0
- data/tests/aws/models/cdn/streaming_distributions_tests.rb +15 -0
- data/tests/aws/models/cloud_watch/alarm_data_tests.rb +42 -0
- data/tests/aws/models/cloud_watch/alarm_history_tests.rb +22 -0
- data/tests/aws/models/cloud_watch/metric_statistics_tests.rb +51 -0
- data/tests/aws/models/cloud_watch/metrics_tests.rb +17 -0
- data/tests/aws/models/compute/address_tests.rb +24 -0
- data/tests/aws/models/compute/addresses_tests.rb +5 -0
- data/tests/aws/models/compute/dhcp_option_tests.rb +4 -0
- data/tests/aws/models/compute/dhcp_options_tests.rb +4 -0
- data/tests/aws/models/compute/internet_gateway_tests.rb +3 -0
- data/tests/aws/models/compute/internet_gateways_tests.rb +4 -0
- data/tests/aws/models/compute/key_pair_tests.rb +27 -0
- data/tests/aws/models/compute/key_pairs_tests.rb +5 -0
- data/tests/aws/models/compute/network_interfaces_test.rb +12 -0
- data/tests/aws/models/compute/security_group_tests.rb +60 -0
- data/tests/aws/models/compute/security_groups_tests.rb +5 -0
- data/tests/aws/models/compute/server_tests.rb +63 -0
- data/tests/aws/models/compute/snapshot_tests.rb +10 -0
- data/tests/aws/models/compute/snapshots_tests.rb +10 -0
- data/tests/aws/models/compute/subnet_tests.rb +5 -0
- data/tests/aws/models/compute/subnets_tests.rb +6 -0
- data/tests/aws/models/compute/volume_tests.rb +43 -0
- data/tests/aws/models/compute/volumes_tests.rb +5 -0
- data/tests/aws/models/compute/vpc_tests.rb +4 -0
- data/tests/aws/models/compute/vpcs_tests.rb +6 -0
- data/tests/aws/models/dns/record_tests.rb +35 -0
- data/tests/aws/models/dns/records_tests.rb +47 -0
- data/tests/aws/models/dns/zone_tests.rb +4 -0
- data/tests/aws/models/dns/zones_tests.rb +4 -0
- data/tests/aws/models/elasticache/cluster_tests.rb +30 -0
- data/tests/aws/models/elasticache/parameter_groups_tests.rb +17 -0
- data/tests/aws/models/elasticache/security_groups_tests.rb +52 -0
- data/tests/aws/models/elb/model_tests.rb +296 -0
- data/tests/aws/models/glacier/model_tests.rb +47 -0
- data/tests/aws/models/iam/access_keys_tests.rb +53 -0
- data/tests/aws/models/iam/policies_tests.rb +56 -0
- data/tests/aws/models/iam/users_tests.rb +68 -0
- data/tests/aws/models/rds/helper.rb +5 -0
- data/tests/aws/models/rds/parameter_group_tests.rb +24 -0
- data/tests/aws/models/rds/parameter_groups_tests.rb +8 -0
- data/tests/aws/models/rds/security_group_tests.rb +53 -0
- data/tests/aws/models/rds/security_groups_tests.rb +5 -0
- data/tests/aws/models/rds/server_tests.rb +109 -0
- data/tests/aws/models/rds/servers_tests.rb +6 -0
- data/tests/aws/models/rds/snapshot_tests.rb +13 -0
- data/tests/aws/models/rds/snapshots_tests.rb +13 -0
- data/tests/aws/models/rds/tagging_tests.rb +20 -0
- data/tests/aws/models/storage/directory_tests.rb +51 -0
- data/tests/aws/models/storage/file_tests.rb +80 -0
- data/tests/aws/models/storage/files_tests.rb +56 -0
- data/tests/aws/models/storage/url_tests.rb +28 -0
- data/tests/aws/models/storage/version_tests.rb +52 -0
- data/tests/aws/models/storage/versions_tests.rb +56 -0
- data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +77 -0
- data/tests/aws/requests/auto_scaling/describe_types_tests.rb +102 -0
- data/tests/aws/requests/auto_scaling/helper.rb +230 -0
- data/tests/aws/requests/auto_scaling/model_tests.rb +235 -0
- data/tests/aws/requests/auto_scaling/notification_configuration_tests.rb +124 -0
- data/tests/aws/requests/auto_scaling/tag_tests.rb +63 -0
- data/tests/aws/requests/beanstalk/application_tests.rb +140 -0
- data/tests/aws/requests/beanstalk/solution_stack_tests.rb +22 -0
- data/tests/aws/requests/cdn/cdn_tests.rb +252 -0
- data/tests/aws/requests/cloud_formation/stack_tests.rb +157 -0
- data/tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb +28 -0
- data/tests/aws/requests/cloud_watch/list_metrics_test.rb +64 -0
- data/tests/aws/requests/cloud_watch/put_metric_data_tests.rb +36 -0
- data/tests/aws/requests/compute/address_tests.rb +96 -0
- data/tests/aws/requests/compute/availability_zone_tests.rb +25 -0
- data/tests/aws/requests/compute/dhcp_options_tests.rb +40 -0
- data/tests/aws/requests/compute/helper.rb +16 -0
- data/tests/aws/requests/compute/image_tests.rb +138 -0
- data/tests/aws/requests/compute/instance_tests.rb +282 -0
- data/tests/aws/requests/compute/internet_gateway_tests.rb +44 -0
- data/tests/aws/requests/compute/key_pair_tests.rb +67 -0
- data/tests/aws/requests/compute/network_interface_tests.rb +175 -0
- data/tests/aws/requests/compute/placement_group_tests.rb +48 -0
- data/tests/aws/requests/compute/region_tests.rb +23 -0
- data/tests/aws/requests/compute/security_group_tests.rb +434 -0
- data/tests/aws/requests/compute/snapshot_tests.rb +57 -0
- data/tests/aws/requests/compute/spot_datafeed_subscription_tests.rb +47 -0
- data/tests/aws/requests/compute/spot_instance_tests.rb +54 -0
- data/tests/aws/requests/compute/spot_price_history_tests.rb +24 -0
- data/tests/aws/requests/compute/subnet_tests.rb +36 -0
- data/tests/aws/requests/compute/tag_tests.rb +78 -0
- data/tests/aws/requests/compute/volume_tests.rb +204 -0
- data/tests/aws/requests/compute/vpc_tests.rb +34 -0
- data/tests/aws/requests/dns/dns_tests.rb +283 -0
- data/tests/aws/requests/dns/helper.rb +21 -0
- data/tests/aws/requests/dynamodb/item_tests.rb +137 -0
- data/tests/aws/requests/dynamodb/table_tests.rb +99 -0
- data/tests/aws/requests/elasticache/cache_cluster_tests.rb +137 -0
- data/tests/aws/requests/elasticache/describe_events.rb +17 -0
- data/tests/aws/requests/elasticache/helper.rb +68 -0
- data/tests/aws/requests/elasticache/parameter_group_tests.rb +105 -0
- data/tests/aws/requests/elasticache/security_group_tests.rb +107 -0
- data/tests/aws/requests/elb/helper.rb +92 -0
- data/tests/aws/requests/elb/listener_tests.rb +68 -0
- data/tests/aws/requests/elb/load_balancer_tests.rb +61 -0
- data/tests/aws/requests/elb/policy_tests.rb +54 -0
- data/tests/aws/requests/emr/helper.rb +172 -0
- data/tests/aws/requests/emr/instance_group_tests.rb +106 -0
- data/tests/aws/requests/emr/job_flow_tests.rb +88 -0
- data/tests/aws/requests/glacier/archive_tests.rb +13 -0
- data/tests/aws/requests/glacier/multipart_upload_tests.rb +30 -0
- data/tests/aws/requests/glacier/tree_hash_tests.rb +63 -0
- data/tests/aws/requests/glacier/vault_tests.rb +35 -0
- data/tests/aws/requests/iam/access_key_tests.rb +53 -0
- data/tests/aws/requests/iam/group_policy_tests.rb +42 -0
- data/tests/aws/requests/iam/group_tests.rb +44 -0
- data/tests/aws/requests/iam/helper.rb +104 -0
- data/tests/aws/requests/iam/login_profile_tests.rb +64 -0
- data/tests/aws/requests/iam/role_tests.rb +168 -0
- data/tests/aws/requests/iam/server_certificate_tests.rb +95 -0
- data/tests/aws/requests/iam/user_policy_tests.rb +45 -0
- data/tests/aws/requests/iam/user_tests.rb +76 -0
- data/tests/aws/requests/rds/describe_events.rb +16 -0
- data/tests/aws/requests/rds/helper.rb +236 -0
- data/tests/aws/requests/rds/instance_tests.rb +125 -0
- data/tests/aws/requests/rds/parameter_group_tests.rb +62 -0
- data/tests/aws/requests/rds/parameter_request_tests.rb +35 -0
- data/tests/aws/requests/rds/security_group_tests.rb +101 -0
- data/tests/aws/requests/rds/subnet_groups_test.rb +48 -0
- data/tests/aws/requests/rds/tagging_tests.rb +78 -0
- data/tests/aws/requests/ses/helper.rb +15 -0
- data/tests/aws/requests/ses/verified_email_address_tests.rb +27 -0
- data/tests/aws/requests/simpledb/attributes_tests.rb +86 -0
- data/tests/aws/requests/simpledb/domain_tests.rb +51 -0
- data/tests/aws/requests/simpledb/helper.rb +16 -0
- data/tests/aws/requests/sns/helper.rb +9 -0
- data/tests/aws/requests/sns/subscription_tests.rb +86 -0
- data/tests/aws/requests/sns/topic_tests.rb +50 -0
- data/tests/aws/requests/sqs/helper.rb +15 -0
- data/tests/aws/requests/sqs/message_tests.rb +51 -0
- data/tests/aws/requests/sqs/queue_tests.rb +50 -0
- data/tests/aws/requests/storage/acl_utils_tests.rb +209 -0
- data/tests/aws/requests/storage/bucket_tests.rb +294 -0
- data/tests/aws/requests/storage/multipart_upload_tests.rb +132 -0
- data/tests/aws/requests/storage/object_tests.rb +165 -0
- data/tests/aws/requests/storage/versioning_tests.rb +258 -0
- data/tests/aws/requests/sts/get_federation_token_tests.rb +21 -0
- data/tests/aws/requests/sts/session_token_tests.rb +16 -0
- data/tests/aws/signaturev4_tests.rb +41 -0
- data/tests/aws/signed_params_tests.rb +5 -0
- data/tests/bluebox/requests/compute/block_tests.rb +82 -0
- data/tests/bluebox/requests/compute/helper.rb +22 -0
- data/tests/bluebox/requests/compute/location_tests.rb +32 -0
- data/tests/bluebox/requests/compute/product_tests.rb +34 -0
- data/tests/bluebox/requests/compute/template_tests.rb +37 -0
- data/tests/bluebox/requests/dns/dns_tests.rb +259 -0
- data/tests/brightbox/compute_tests.rb +101 -0
- data/tests/brightbox/models/compute/account_tests.rb +15 -0
- data/tests/brightbox/oauth2_tests.rb +103 -0
- data/tests/brightbox/requests/compute/account_tests.rb +64 -0
- data/tests/brightbox/requests/compute/api_client_tests.rb +64 -0
- data/tests/brightbox/requests/compute/application_test.rb +63 -0
- data/tests/brightbox/requests/compute/cloud_ip_tests.rb +86 -0
- data/tests/brightbox/requests/compute/helper.rb +680 -0
- data/tests/brightbox/requests/compute/image_tests.rb +60 -0
- data/tests/brightbox/requests/compute/interface_tests.rb +45 -0
- data/tests/brightbox/requests/compute/load_balancer_tests.rb +121 -0
- data/tests/brightbox/requests/compute/server_group_tests.rb +96 -0
- data/tests/brightbox/requests/compute/server_tests.rb +96 -0
- data/tests/brightbox/requests/compute/server_type_tests.rb +34 -0
- data/tests/brightbox/requests/compute/user_tests.rb +36 -0
- data/tests/brightbox/requests/compute/zone_tests.rb +34 -0
- data/tests/clodo/requests/compute/image_tests.rb +36 -0
- data/tests/clodo/requests/compute/server_tests.rb +152 -0
- data/tests/cloudstack/compute/models/security_group_rule_tests.rb +29 -0
- data/tests/cloudstack/compute/models/security_group_tests.rb +16 -0
- data/tests/cloudstack/compute/models/security_groups_tests.rb +19 -0
- data/tests/cloudstack/compute/models/server_tests.rb +18 -0
- data/tests/cloudstack/compute/models/volume_tests.rb +34 -0
- data/tests/cloudstack/compute/models/volumes_tests.rb +17 -0
- data/tests/cloudstack/requests/disk_offering_tests.rb +29 -0
- data/tests/cloudstack/requests/os_type_tests.rb +38 -0
- data/tests/cloudstack/requests/security_group_tests.rb +29 -0
- data/tests/cloudstack/requests/service_offering_tests.rb +38 -0
- data/tests/cloudstack/requests/snapshot_tests.rb +32 -0
- data/tests/cloudstack/requests/ssh_key_pair_tests.rb +23 -0
- data/tests/cloudstack/requests/template_tests.rb +53 -0
- data/tests/cloudstack/requests/virtual_machine_tests.rb +71 -0
- data/tests/cloudstack/requests/volume_tests.rb +48 -0
- data/tests/cloudstack/requests/zone_tests.rb +33 -0
- data/tests/cloudstack/signed_params_tests.rb +12 -0
- data/tests/compute/helper.rb +102 -0
- data/tests/compute/models/flavors_tests.rb +11 -0
- data/tests/compute/models/server_tests.rb +20 -0
- data/tests/compute/models/servers_tests.rb +10 -0
- data/tests/core/attribute_tests.rb +83 -0
- data/tests/core/credential_tests.rb +66 -0
- data/tests/core/current_machine_tests.rb +32 -0
- data/tests/core/mocking_tests.rb +60 -0
- data/tests/core/parser_tests.rb +67 -0
- data/tests/core/timeout_tests.rb +10 -0
- data/tests/dns/helper.rb +52 -0
- data/tests/dns/models/record_tests.rb +44 -0
- data/tests/dns/models/records_tests.rb +30 -0
- data/tests/dns/models/zone_tests.rb +18 -0
- data/tests/dns/models/zones_tests.rb +18 -0
- data/tests/dnsimple/requests/dns/dns_tests.rb +118 -0
- data/tests/dnsmadeeasy/requests/dns/dns_tests.rb +138 -0
- data/tests/dynect/requests/dns/dns_tests.rb +232 -0
- data/tests/fixtures/changelog.txt +2436 -0
- data/tests/glesys/requests/compute/helper.rb +266 -0
- data/tests/glesys/requests/compute/ip_tests.rb +67 -0
- data/tests/glesys/requests/compute/server_tests.rb +125 -0
- data/tests/glesys/requests/compute/template_tests.rb +12 -0
- data/tests/go_grid/requests/compute/image_tests.rb +0 -0
- data/tests/google/requests/storage/bucket_tests.rb +77 -0
- data/tests/google/requests/storage/object_tests.rb +81 -0
- data/tests/helper.rb +38 -0
- data/tests/helpers/collection_helper.rb +59 -0
- data/tests/helpers/compute/flavors_helper.rb +34 -0
- data/tests/helpers/compute/server_helper.rb +26 -0
- data/tests/helpers/compute/servers_helper.rb +11 -0
- data/tests/helpers/formats_helper.rb +86 -0
- data/tests/helpers/formats_helper_tests.rb +60 -0
- data/tests/helpers/mock_helper.rb +89 -0
- data/tests/helpers/model_helper.rb +35 -0
- data/tests/helpers/responds_to_helper.rb +13 -0
- data/tests/helpers/succeeds_helper.rb +11 -0
- data/tests/hp/models/compute/address_tests.rb +18 -0
- data/tests/hp/models/compute/addresses_tests.rb +5 -0
- data/tests/hp/models/compute/key_pair_tests.rb +27 -0
- data/tests/hp/models/compute/key_pairs_tests.rb +5 -0
- data/tests/hp/models/compute/security_group_tests.rb +36 -0
- data/tests/hp/models/compute/security_groups_tests.rb +5 -0
- data/tests/hp/requests/cdn/container_tests.rb +56 -0
- data/tests/hp/requests/compute/address_tests.rb +73 -0
- data/tests/hp/requests/compute/flavor_tests.rb +45 -0
- data/tests/hp/requests/compute/image_tests.rb +79 -0
- data/tests/hp/requests/compute/key_pair_tests.rb +65 -0
- data/tests/hp/requests/compute/security_group_rule_tests.rb +54 -0
- data/tests/hp/requests/compute/security_group_tests.rb +64 -0
- data/tests/hp/requests/compute/server_address_tests.rb +45 -0
- data/tests/hp/requests/compute/server_tests.rb +127 -0
- data/tests/hp/requests/storage/container_tests.rb +78 -0
- data/tests/hp/requests/storage/object_tests.rb +81 -0
- data/tests/ibm/models/compute/image_tests.rb +25 -0
- data/tests/ibm/models/compute/key_tests.rb +23 -0
- data/tests/ibm/models/compute/keys_tests.rb +35 -0
- data/tests/ibm/models/compute/locations_tests.rb +18 -0
- data/tests/ibm/models/compute/server_tests.rb +88 -0
- data/tests/ibm/models/compute/servers_tests.rb +37 -0
- data/tests/ibm/models/storage/volume_tests.rb +60 -0
- data/tests/ibm/requests/compute/address_tests.rb +44 -0
- data/tests/ibm/requests/compute/image_tests.rb +110 -0
- data/tests/ibm/requests/compute/instance_tests.rb +102 -0
- data/tests/ibm/requests/compute/key_tests.rb +50 -0
- data/tests/ibm/requests/compute/location_tests.rb +28 -0
- data/tests/ibm/requests/compute/vlan_tests.rb +21 -0
- data/tests/ibm/requests/storage/volume_tests.rb +100 -0
- data/tests/joyent/requests/compute/datasets_tests.rb +58 -0
- data/tests/joyent/requests/compute/keys_tests.rb +47 -0
- data/tests/joyent/requests/compute/machines_tests.rb +67 -0
- data/tests/joyent/requests/compute/packages_tests.rb +68 -0
- data/tests/libvirt/compute_tests.rb +17 -0
- data/tests/libvirt/models/compute/interface_tests.rb +27 -0
- data/tests/libvirt/models/compute/interfaces_tests.rb +14 -0
- data/tests/libvirt/models/compute/network_tests.rb +27 -0
- data/tests/libvirt/models/compute/networks_tests.rb +13 -0
- data/tests/libvirt/models/compute/nic_tests.rb +31 -0
- data/tests/libvirt/models/compute/nics_tests.rb +10 -0
- data/tests/libvirt/models/compute/pool_tests.rb +27 -0
- data/tests/libvirt/models/compute/pools_tests.rb +13 -0
- data/tests/libvirt/models/compute/server_tests.rb +58 -0
- data/tests/libvirt/models/compute/servers_tests.rb +14 -0
- data/tests/libvirt/models/compute/volume_tests.rb +30 -0
- data/tests/libvirt/models/compute/volumes_tests.rb +14 -0
- data/tests/libvirt/requests/compute/create_domain_tests.rb +21 -0
- data/tests/libvirt/requests/compute/define_domain_tests.rb +11 -0
- data/tests/libvirt/requests/compute/update_display.rb +13 -0
- data/tests/linode/requests/compute/datacenter_tests.rb +19 -0
- data/tests/linode/requests/compute/distribution_tests.rb +32 -0
- data/tests/linode/requests/compute/helper.rb +16 -0
- data/tests/linode/requests/compute/kernel_tests.rb +27 -0
- data/tests/linode/requests/compute/linode_tests.rb +143 -0
- data/tests/linode/requests/compute/linodeplans_tests.rb +40 -0
- data/tests/linode/requests/compute/stackscripts_tests.rb +36 -0
- data/tests/linode/requests/dns/dns_tests.rb +250 -0
- data/tests/local/models/directory_tests.rb +16 -0
- data/tests/local/models/file_tests.rb +43 -0
- data/tests/local/storage_tests.rb +40 -0
- data/tests/lorem.txt +1 -0
- data/tests/ninefold/models/storage/file_update_tests.rb +19 -0
- data/tests/ninefold/models/storage/nested_directories_tests.rb +23 -0
- data/tests/ninefold/requests/compute/address_tests.rb +42 -0
- data/tests/ninefold/requests/compute/async_job_tests.rb +33 -0
- data/tests/ninefold/requests/compute/helper.rb +370 -0
- data/tests/ninefold/requests/compute/list_tests.rb +56 -0
- data/tests/ninefold/requests/compute/load_balancer_tests.rb +66 -0
- data/tests/ninefold/requests/compute/nat_tests.rb +92 -0
- data/tests/ninefold/requests/compute/network_tests.rb +21 -0
- data/tests/ninefold/requests/compute/template_tests.rb +21 -0
- data/tests/ninefold/requests/compute/virtual_machine_tests.rb +69 -0
- data/tests/openstack/models/identity/role_tests.rb +27 -0
- data/tests/openstack/models/identity/roles_tests.rb +19 -0
- data/tests/openstack/models/identity/tenant_tests.rb +24 -0
- data/tests/openstack/models/identity/tenants_tests.rb +26 -0
- data/tests/openstack/models/identity/user_tests.rb +46 -0
- data/tests/openstack/models/identity/users_tests.rb +33 -0
- data/tests/openstack/models/image/image_tests.rb +36 -0
- data/tests/openstack/models/image/images_tests.rb +14 -0
- data/tests/openstack/models/network/network_tests.rb +24 -0
- data/tests/openstack/models/network/networks_tests.rb +21 -0
- data/tests/openstack/models/network/port_tests.rb +28 -0
- data/tests/openstack/models/network/ports_tests.rb +25 -0
- data/tests/openstack/models/network/subnet_tests.rb +30 -0
- data/tests/openstack/models/network/subnets_tests.rb +27 -0
- data/tests/openstack/requests/compute/address_tests.rb +52 -0
- data/tests/openstack/requests/compute/flavor_tests.rb +50 -0
- data/tests/openstack/requests/compute/helper.rb +17 -0
- data/tests/openstack/requests/compute/image_tests.rb +58 -0
- data/tests/openstack/requests/compute/keypair_tests.rb +30 -0
- data/tests/openstack/requests/compute/limit_tests.rb +60 -0
- data/tests/openstack/requests/compute/quota_tests.rb +59 -0
- data/tests/openstack/requests/compute/security_group_tests.rb +51 -0
- data/tests/openstack/requests/compute/server_tests.rb +144 -0
- data/tests/openstack/requests/compute/tenant_tests.rb +19 -0
- data/tests/openstack/requests/compute/volume_tests.rb +38 -0
- data/tests/openstack/requests/identity/role_tests.rb +41 -0
- data/tests/openstack/requests/identity/tenant_tests.rb +54 -0
- data/tests/openstack/requests/identity/user_tests.rb +29 -0
- data/tests/openstack/requests/image/image_tests.rb +119 -0
- data/tests/openstack/requests/network/network_tests.rb +56 -0
- data/tests/openstack/requests/network/port_tests.rb +63 -0
- data/tests/openstack/requests/network/subnet_tests.rb +66 -0
- data/tests/ovirt/compute_tests.rb +24 -0
- data/tests/ovirt/models/compute/cluster_tests.rb +31 -0
- data/tests/ovirt/models/compute/clusters_tests.rb +9 -0
- data/tests/ovirt/models/compute/interface_tests.rb +27 -0
- data/tests/ovirt/models/compute/interfaces_tests.rb +9 -0
- data/tests/ovirt/models/compute/server_tests.rb +51 -0
- data/tests/ovirt/models/compute/servers_tests.rb +14 -0
- data/tests/ovirt/models/compute/template_tests.rb +28 -0
- data/tests/ovirt/models/compute/templates_tests.rb +9 -0
- data/tests/ovirt/requests/compute/create_vm_tests.rb +26 -0
- data/tests/ovirt/requests/compute/destroy_vm_tests.rb +18 -0
- data/tests/ovirt/requests/compute/list_datacenters_tests.rb +13 -0
- data/tests/ovirt/requests/compute/list_storage_domains_tests.rb +13 -0
- data/tests/ovirt/requests/compute/update_vm_tests.rb +18 -0
- data/tests/rackspace/databases_tests.rb +26 -0
- data/tests/rackspace/helper.rb +24 -0
- data/tests/rackspace/load_balancer_tests.rb +21 -0
- data/tests/rackspace/models/block_storage/snapshot_tests.rb +20 -0
- data/tests/rackspace/models/block_storage/snapshots_tests.rb +20 -0
- data/tests/rackspace/models/block_storage/volume_tests.rb +27 -0
- data/tests/rackspace/models/block_storage/volume_types_tests.rb +20 -0
- data/tests/rackspace/models/block_storage/volumes_tests.rb +11 -0
- data/tests/rackspace/models/compute_v2/flavors_tests.rb +20 -0
- data/tests/rackspace/models/compute_v2/images_tests.rb +22 -0
- data/tests/rackspace/models/compute_v2/server_tests.rb +62 -0
- data/tests/rackspace/models/compute_v2/servers_tests.rb +20 -0
- data/tests/rackspace/models/databases/database_tests.rb +17 -0
- data/tests/rackspace/models/databases/databases_tests.rb +17 -0
- data/tests/rackspace/models/databases/flavors_tests.rb +20 -0
- data/tests/rackspace/models/databases/instance_tests.rb +43 -0
- data/tests/rackspace/models/databases/instances_tests.rb +14 -0
- data/tests/rackspace/models/databases/user_tests.rb +21 -0
- data/tests/rackspace/models/databases/users_tests.rb +21 -0
- data/tests/rackspace/models/dns/zone_tests.rb +14 -0
- data/tests/rackspace/models/identity/credentials_tests.rb +16 -0
- data/tests/rackspace/models/identity/roles_tests.rb +16 -0
- data/tests/rackspace/models/identity/tenants_tests.rb +21 -0
- data/tests/rackspace/models/identity/user_tests.rb +17 -0
- data/tests/rackspace/models/identity/users_tests.rb +17 -0
- data/tests/rackspace/models/load_balancers/access_list_tests.rb +12 -0
- data/tests/rackspace/models/load_balancers/access_lists_tests.rb +12 -0
- data/tests/rackspace/models/load_balancers/load_balancer_tests.rb +173 -0
- data/tests/rackspace/models/load_balancers/load_balancers_tests.rb +19 -0
- data/tests/rackspace/models/load_balancers/node_tests.rb +19 -0
- data/tests/rackspace/models/load_balancers/nodes_tests.rb +12 -0
- data/tests/rackspace/models/load_balancers/virtual_ip_tests.rb +16 -0
- data/tests/rackspace/models/load_balancers/virtual_ips_tests.rb +12 -0
- data/tests/rackspace/models/storage/file_tests.rb +172 -0
- data/tests/rackspace/requests/block_storage/snapshot_tests.rb +81 -0
- data/tests/rackspace/requests/block_storage/volume_tests.rb +61 -0
- data/tests/rackspace/requests/block_storage/volume_type_tests.rb +31 -0
- data/tests/rackspace/requests/compute/address_tests.rb +40 -0
- data/tests/rackspace/requests/compute/flavor_tests.rb +38 -0
- data/tests/rackspace/requests/compute/helper.rb +16 -0
- data/tests/rackspace/requests/compute/image_tests.rb +68 -0
- data/tests/rackspace/requests/compute/resize_tests.rb +33 -0
- data/tests/rackspace/requests/compute/server_tests.rb +92 -0
- data/tests/rackspace/requests/compute_v2/attachment_tests.rb +68 -0
- data/tests/rackspace/requests/compute_v2/flavor_tests.rb +43 -0
- data/tests/rackspace/requests/compute_v2/image_tests.rb +47 -0
- data/tests/rackspace/requests/compute_v2/server_tests.rb +147 -0
- data/tests/rackspace/requests/databases/database_tests.rb +36 -0
- data/tests/rackspace/requests/databases/flavor_tests.rb +16 -0
- data/tests/rackspace/requests/databases/helper.rb +84 -0
- data/tests/rackspace/requests/databases/instance_tests.rb +77 -0
- data/tests/rackspace/requests/databases/user_tests.rb +37 -0
- data/tests/rackspace/requests/dns/dns_tests.rb +125 -0
- data/tests/rackspace/requests/dns/helper.rb +126 -0
- data/tests/rackspace/requests/dns/records_tests.rb +83 -0
- data/tests/rackspace/requests/identity/tenants_tests.rb +21 -0
- data/tests/rackspace/requests/identity/token_tests.rb +63 -0
- data/tests/rackspace/requests/identity/user_tests.rb +107 -0
- data/tests/rackspace/requests/load_balancers/access_list_tests.rb +56 -0
- data/tests/rackspace/requests/load_balancers/algorithm_tests.rb +19 -0
- data/tests/rackspace/requests/load_balancers/connection_logging_tests.rb +25 -0
- data/tests/rackspace/requests/load_balancers/connection_throttling_tests.rb +37 -0
- data/tests/rackspace/requests/load_balancers/error_page_tests.rb +31 -0
- data/tests/rackspace/requests/load_balancers/helper.rb +216 -0
- data/tests/rackspace/requests/load_balancers/load_balancer_tests.rb +75 -0
- data/tests/rackspace/requests/load_balancers/load_balancer_usage_tests.rb +19 -0
- data/tests/rackspace/requests/load_balancers/monitor_tests.rb +46 -0
- data/tests/rackspace/requests/load_balancers/node_tests.rb +86 -0
- data/tests/rackspace/requests/load_balancers/protocol_tests.rb +21 -0
- data/tests/rackspace/requests/load_balancers/session_persistence_tests.rb +33 -0
- data/tests/rackspace/requests/load_balancers/ssl_termination_tests.rb +38 -0
- data/tests/rackspace/requests/load_balancers/usage_tests.rb +17 -0
- data/tests/rackspace/requests/load_balancers/virtual_ip_tests.rb +40 -0
- data/tests/rackspace/requests/storage/account_tests.rb +17 -0
- data/tests/rackspace/requests/storage/container_tests.rb +64 -0
- data/tests/rackspace/requests/storage/large_object_tests.rb +47 -0
- data/tests/rackspace/requests/storage/object_tests.rb +117 -0
- data/tests/rackspace/url_encoding_tests.rb +3 -0
- data/tests/serverlove/requests/compute/image_tests.rb +57 -0
- data/tests/serverlove/requests/compute/server_tests.rb +85 -0
- data/tests/serverlove/util/compute/password_generator_tests.rb +19 -0
- data/tests/storage/helper.rb +22 -0
- data/tests/storage/models/directories_tests.rb +17 -0
- data/tests/storage/models/directory_test.rb +29 -0
- data/tests/storage/models/file_tests.rb +41 -0
- data/tests/storage/models/files_tests.rb +26 -0
- data/tests/storm_on_demand/requests/compute/server_tests.rb +64 -0
- data/tests/vcloud/data/api_+_admin_+_network_+_2 +110 -0
- data/tests/vcloud/data/api_+_network_+_1 +44 -0
- data/tests/vcloud/data/api_+_org_+_ +5 -0
- data/tests/vcloud/data/api_+_org_+_1 +17 -0
- data/tests/vcloud/data/api_+_sessions +8 -0
- data/tests/vcloud/data/api_+_v1.0_+_admin_+_network_+_2 +110 -0
- data/tests/vcloud/data/api_+_v1.0_+_login +5 -0
- data/tests/vcloud/data/api_+_v1.0_+_network_+_1 +44 -0
- data/tests/vcloud/data/api_+_v1.0_+_network_+_2 +31 -0
- data/tests/vcloud/data/api_+_v1.0_+_org_+_1 +17 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vapp-1 +369 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-1 +139 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-2 +155 -0
- data/tests/vcloud/data/api_+_v1.0_+_vdc_+_1 +61 -0
- data/tests/vcloud/data/api_+_vApp_+_vapp-1 +369 -0
- data/tests/vcloud/data/api_+_vApp_+_vm-2 +155 -0
- data/tests/vcloud/data/api_+_vdc_+_1 +61 -0
- data/tests/vcloud/models/compute/conn_helper.rb +20 -0
- data/tests/vcloud/models/compute/helper.rb +25 -0
- data/tests/vcloud/models/compute/network_tests.rb +67 -0
- data/tests/vcloud/models/compute/networks_tests.rb +61 -0
- data/tests/vcloud/models/compute/organization_tests.rb +20 -0
- data/tests/vcloud/models/compute/organizations_tests.rb +16 -0
- data/tests/vcloud/models/compute/server_tests.rb +142 -0
- data/tests/vcloud/models/compute/servers_tests.rb +23 -0
- data/tests/vcloud/models/compute/vapp_tests.rb +32 -0
- data/tests/vcloud/models/compute/vapps_tests.rb +19 -0
- data/tests/vcloud/models/compute/vdc_tests.rb +48 -0
- data/tests/vcloud/models/compute/vdcs_tests.rb +24 -0
- data/tests/vcloud/requests/compute/disk_configure_tests.rb +114 -0
- data/tests/voxel/requests/compute/image_tests.rb +52 -0
- data/tests/voxel/requests/compute/server_tests.rb +123 -0
- data/tests/vsphere/compute_tests.rb +55 -0
- data/tests/vsphere/models/compute/server_tests.rb +44 -0
- data/tests/vsphere/models/compute/servers_tests.rb +15 -0
- data/tests/vsphere/requests/compute/current_time_tests.rb +12 -0
- data/tests/vsphere/requests/compute/list_virtual_machines_tests.rb +38 -0
- data/tests/vsphere/requests/compute/vm_clone_tests.rb +32 -0
- data/tests/vsphere/requests/compute/vm_config_vnc_tests.rb +19 -0
- data/tests/vsphere/requests/compute/vm_destroy_tests.rb +17 -0
- data/tests/vsphere/requests/compute/vm_migrate_tests.rb +16 -0
- data/tests/vsphere/requests/compute/vm_power_off_tests.rb +26 -0
- data/tests/vsphere/requests/compute/vm_power_on_tests.rb +17 -0
- data/tests/vsphere/requests/compute/vm_reboot_tests.rb +26 -0
- data/tests/vsphere/requests/compute/vm_reconfig_cpus_tests.rb +19 -0
- data/tests/vsphere/requests/compute/vm_reconfig_hardware_tests.rb +19 -0
- data/tests/vsphere/requests/compute/vm_reconfig_memory_tests.rb +19 -0
- data/tests/watchr.rb +22 -0
- data/tests/xenserver/README +21 -0
- data/tests/xenserver/compute_tests.rb +52 -0
- data/tests/xenserver/helper.rb +36 -0
- data/tests/xenserver/models/compute/host_tests.rb +68 -0
- data/tests/xenserver/models/compute/hosts_tests.rb +22 -0
- data/tests/xenserver/models/compute/network_tests.rb +67 -0
- data/tests/xenserver/models/compute/networks_tests.rb +22 -0
- data/tests/xenserver/models/compute/pbd_tests.rb +44 -0
- data/tests/xenserver/models/compute/pbds_tests.rb +22 -0
- data/tests/xenserver/models/compute/pif_tests.rb +58 -0
- data/tests/xenserver/models/compute/pifs_tests.rb +22 -0
- data/tests/xenserver/models/compute/pool_tests.rb +50 -0
- data/tests/xenserver/models/compute/pools_tests.rb +30 -0
- data/tests/xenserver/models/compute/server_tests.rb +167 -0
- data/tests/xenserver/models/compute/servers_tests.rb +88 -0
- data/tests/xenserver/models/compute/storage_repositories_tests.rb +30 -0
- data/tests/xenserver/models/compute/storage_repository_tests.rb +63 -0
- data/tests/xenserver/models/compute/vbd_tests.rb +115 -0
- data/tests/xenserver/models/compute/vbds_tests.rb +22 -0
- data/tests/xenserver/models/compute/vif_tests.rb +53 -0
- data/tests/xenserver/models/compute/vifs_tests.rb +22 -0
- data/tests/xenserver/requests/compute/clone_server_tests.rb +32 -0
- data/tests/xenserver/requests/compute/create_server_tests.rb +129 -0
- data/tests/xenserver/requests/compute/create_vdi_tests.rb +80 -0
- data/tests/xenserver/requests/compute/create_vif_tests.rb +88 -0
- data/tests/xenserver/requests/compute/destroy_vdi_tests.rb +25 -0
- data/tests/xenserver/requests/compute/get_record_tests.rb +15 -0
- data/tests/xenserver/requests/compute/set_attribute_tests.rb +66 -0
- data/tests/xenserver/xenserver_tests.rb +34 -0
- data/tests/zerigo/requests/dns/dns_tests.rb +373 -0
- metadata +4180 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
/*
|
2
|
+
* Modernizr v1.6
|
3
|
+
* http://www.modernizr.com
|
4
|
+
*
|
5
|
+
* Developed by:
|
6
|
+
* - Faruk Ates http://farukat.es/
|
7
|
+
* - Paul Irish http://paulirish.com/
|
8
|
+
*
|
9
|
+
* Copyright (c) 2009-2010
|
10
|
+
* Dual-licensed under the BSD or MIT licenses.
|
11
|
+
* http://www.modernizr.com/license/
|
12
|
+
*/
|
13
|
+
window.Modernizr=function(i,e,u){function s(a,b){return(""+a).indexOf(b)!==-1}function D(a,b){for(var c in a)if(j[a[c]]!==u&&(!b||b(a[c],E)))return true}function n(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1);c=(a+" "+F.join(c+" ")+c).split(" ");return!!D(c,b)}function S(){f.input=function(a){for(var b=0,c=a.length;b<c;b++)L[a[b]]=!!(a[b]in h);return L}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));f.inputtypes=function(a){for(var b=0,c,k=a.length;b<
|
14
|
+
k;b++){h.setAttribute("type",a[b]);if(c=h.type!=="text"){h.value=M;if(/^range$/.test(h.type)&&h.style.WebkitAppearance!==u){l.appendChild(h);c=e.defaultView;c=c.getComputedStyle&&c.getComputedStyle(h,null).WebkitAppearance!=="textfield"&&h.offsetHeight!==0;l.removeChild(h)}else/^(search|tel)$/.test(h.type)||(c=/^(url|email)$/.test(h.type)?h.checkValidity&&h.checkValidity()===false:h.value!=M)}N[a[b]]=!!c}return N}("search tel url email datetime date month week time datetime-local number range color".split(" "))}
|
15
|
+
var f={},l=e.documentElement,E=e.createElement("modernizr"),j=E.style,h=e.createElement("input"),M=":)",O=Object.prototype.toString,q=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),F="Webkit Moz O ms Khtml".split(" "),v={svg:"http://www.w3.org/2000/svg"},d={},N={},L={},P=[],w,Q=function(a){var b=document.createElement("style"),c=e.createElement("div");b.textContent=a+"{#modernizr{height:3px}}";(e.head||e.getElementsByTagName("head")[0]).appendChild(b);c.id="modernizr";l.appendChild(c);a=c.offsetHeight===
|
16
|
+
3;b.parentNode.removeChild(b);c.parentNode.removeChild(c);return!!a},o=function(){var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(b,c){c=c||document.createElement(a[b]||"div");b="on"+b;var k=b in c;if(!k){c.setAttribute||(c=document.createElement("div"));if(c.setAttribute&&c.removeAttribute){c.setAttribute(b,"");k=typeof c[b]=="function";if(typeof c[b]!="undefined")c[b]=u;c.removeAttribute(b)}}return k}}(),G={}.hasOwnProperty,R;R=
|
17
|
+
typeof G!=="undefined"&&typeof G.call!=="undefined"?function(a,b){return G.call(a,b)}:function(a,b){return b in a&&typeof a.constructor.prototype[b]==="undefined"};d.flexbox=function(){var a=e.createElement("div"),b=e.createElement("div");(function(k,g,r,x){g+=":";k.style.cssText=(g+q.join(r+";"+g)).slice(0,-g.length)+(x||"")})(a,"display","box","width:42px;padding:0;");b.style.cssText=q.join("box-flex:1;")+"width:10px;";a.appendChild(b);l.appendChild(a);var c=b.offsetWidth===42;a.removeChild(b);
|
18
|
+
l.removeChild(a);return c};d.canvas=function(){var a=e.createElement("canvas");return!!(a.getContext&&a.getContext("2d"))};d.canvastext=function(){return!!(f.canvas&&typeof e.createElement("canvas").getContext("2d").fillText=="function")};d.webgl=function(){var a=e.createElement("canvas");try{if(a.getContext("webgl"))return true}catch(b){}try{if(a.getContext("experimental-webgl"))return true}catch(c){}return false};d.touch=function(){return"ontouchstart"in i||Q("@media ("+q.join("touch-enabled),(")+
|
19
|
+
"modernizr)")};d.geolocation=function(){return!!navigator.geolocation};d.postmessage=function(){return!!i.postMessage};d.websqldatabase=function(){return!!i.openDatabase};d.indexedDB=function(){for(var a=-1,b=F.length;++a<b;){var c=F[a].toLowerCase();if(i[c+"_indexedDB"]||i[c+"IndexedDB"])return true}return false};d.hashchange=function(){return o("hashchange",i)&&(document.documentMode===u||document.documentMode>7)};d.history=function(){return!!(i.history&&history.pushState)};d.draganddrop=function(){return o("drag")&&
|
20
|
+
o("dragstart")&&o("dragenter")&&o("dragover")&&o("dragleave")&&o("dragend")&&o("drop")};d.websockets=function(){return"WebSocket"in i};d.rgba=function(){j.cssText="background-color:rgba(150,255,150,.5)";return s(j.backgroundColor,"rgba")};d.hsla=function(){j.cssText="background-color:hsla(120,40%,100%,.5)";return s(j.backgroundColor,"rgba")||s(j.backgroundColor,"hsla")};d.multiplebgs=function(){j.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(j.background)};d.backgroundsize=
|
21
|
+
function(){return n("backgroundSize")};d.borderimage=function(){return n("borderImage")};d.borderradius=function(){return n("borderRadius","",function(a){return s(a,"orderRadius")})};d.boxshadow=function(){return n("boxShadow")};d.textshadow=function(){return e.createElement("div").style.textShadow===""};d.opacity=function(){var a=q.join("opacity:.5;")+"";j.cssText=a;return s(j.opacity,"0.5")};d.cssanimations=function(){return n("animationName")};d.csscolumns=function(){return n("columnCount")};d.cssgradients=
|
22
|
+
function(){var a=("background-image:"+q.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+q.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);j.cssText=a;return s(j.backgroundImage,"gradient")};d.cssreflections=function(){return n("boxReflect")};d.csstransforms=function(){return!!D(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};d.csstransforms3d=function(){var a=!!D(["perspectiveProperty","WebkitPerspective",
|
23
|
+
"MozPerspective","OPerspective","msPerspective"]);if(a)a=Q("@media ("+q.join("transform-3d),(")+"modernizr)");return a};d.csstransitions=function(){return n("transitionProperty")};d.fontface=function(){var a,b=e.head||e.getElementsByTagName("head")[0]||l,c=e.createElement("style"),k=e.implementation||{hasFeature:function(){return false}};c.type="text/css";b.insertBefore(c,b.firstChild);a=c.sheet||c.styleSheet;b=k.hasFeature("CSS2","")?function(g){if(!(a&&g))return false;var r=false;try{a.insertRule(g,
|
24
|
+
0);r=!/unknown/i.test(a.cssRules[0].cssText);a.deleteRule(a.cssRules.length-1)}catch(x){}return r}:function(g){if(!(a&&g))return false;a.cssText=g;return a.cssText.length!==0&&!/unknown/i.test(a.cssText)&&a.cssText.replace(/\r+|\n+/g,"").indexOf(g.split(" ")[0])===0};f._fontfaceready=function(g){g(f.fontface)};return b('@font-face { font-family: "font"; src: "font.ttf"; }')};d.video=function(){var a=e.createElement("video"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('video/ogg; codecs="theora"');
|
25
|
+
b.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"')||a.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');b.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}return b};d.audio=function(){var a=e.createElement("audio"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('audio/ogg; codecs="vorbis"');b.mp3=a.canPlayType("audio/mpeg;");b.wav=a.canPlayType('audio/wav; codecs="1"');b.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}return b};d.localstorage=function(){try{return"localStorage"in
|
26
|
+
i&&i.localStorage!==null}catch(a){return false}};d.sessionstorage=function(){try{return"sessionStorage"in i&&i.sessionStorage!==null}catch(a){return false}};d.webWorkers=function(){return!!i.Worker};d.applicationcache=function(){return!!i.applicationCache};d.svg=function(){return!!e.createElementNS&&!!e.createElementNS(v.svg,"svg").createSVGRect};d.inlinesvg=function(){var a=document.createElement("div");a.innerHTML="<svg/>";return(a.firstChild&&a.firstChild.namespaceURI)==v.svg};d.smil=function(){return!!e.createElementNS&&
|
27
|
+
/SVG/.test(O.call(e.createElementNS(v.svg,"animate")))};d.svgclippaths=function(){return!!e.createElementNS&&/SVG/.test(O.call(e.createElementNS(v.svg,"clipPath")))};for(var H in d)if(R(d,H)){w=H.toLowerCase();f[w]=d[H]();P.push((f[w]?"":"no-")+w)}f.input||S();f.crosswindowmessaging=f.postmessage;f.historymanagement=f.history;f.addTest=function(a,b){a=a.toLowerCase();if(!f[a]){b=!!b();l.className+=" "+(b?"":"no-")+a;f[a]=b;return f}};j.cssText="";E=h=null;i.attachEvent&&function(){var a=e.createElement("div");
|
28
|
+
a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function c(p){for(var m=-1;++m<r;)p.createElement(g[m])}function k(p,m){for(var I=p.length,t=-1,y,J=[];++t<I;){y=p[t];m=y.media||m;J.push(k(y.imports,m));J.push(y.cssText)}return J.join("")}var g="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"),r=g.length,x=RegExp("<(/*)(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)",
|
29
|
+
"gi"),T=RegExp("\\b(abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video)\\b(?!.*[;}])","gi"),z=b.createDocumentFragment(),A=b.documentElement,K=A.firstChild,B=b.createElement("style"),C=b.createElement("body");B.media="all";c(b);c(z);a.attachEvent("onbeforeprint",function(){for(var p=-1;++p<r;)for(var m=b.getElementsByTagName(g[p]),I=m.length,t=-1;++t<I;)if(m[t].className.indexOf("iepp_")<0)m[t].className+=" iepp_"+
|
30
|
+
g[p];K.insertBefore(B,K.firstChild);B.styleSheet.cssText=k(b.styleSheets,"all").replace(T,".iepp_$1");z.appendChild(b.body);A.appendChild(C);C.innerHTML=z.firstChild.innerHTML.replace(x,"<$1bdo")});a.attachEvent("onafterprint",function(){C.innerHTML="";A.removeChild(C);K.removeChild(B);A.appendChild(z.firstChild)})}(this,document);f._enableHTML5=true;f._version="1.6";l.className=l.className.replace(/\bno-js\b/,"")+" js";l.className+=" "+P.join(" ");return f}(this,this.document);
|
@@ -0,0 +1,34 @@
|
|
1
|
+
|
2
|
+
(function($){
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
})(this.jQuery);
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
window.log = function(){
|
20
|
+
log.history = log.history || [];
|
21
|
+
log.history.push(arguments);
|
22
|
+
if(this.console){
|
23
|
+
console.log( Array.prototype.slice.call(arguments) );
|
24
|
+
}
|
25
|
+
};
|
26
|
+
(function(doc){
|
27
|
+
var write = doc.write;
|
28
|
+
doc.write = function(q){
|
29
|
+
log('document.write(): ',arguments);
|
30
|
+
if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);
|
31
|
+
};
|
32
|
+
})(document);
|
33
|
+
|
34
|
+
|
@@ -0,0 +1,59 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
// call PROFILE.show() to show the profileViewer
|
4
|
+
|
5
|
+
var PROFILE = {
|
6
|
+
|
7
|
+
init : function(bool) {
|
8
|
+
|
9
|
+
// define what objects, constructors and functions you want to profile
|
10
|
+
// documentation here: http://developer.yahoo.com/yui/profiler/
|
11
|
+
|
12
|
+
YAHOO.tool.Profiler.registerObject("jQuery", jQuery, true);
|
13
|
+
|
14
|
+
// the following would profile all methods within constructor's prototype
|
15
|
+
// YAHOO.tool.Profiler.registerConstructor("Person");
|
16
|
+
|
17
|
+
// the following would profile the global function sayHi
|
18
|
+
// YAHOO.tool.Profiler.registerFunction("sayHi", window);
|
19
|
+
|
20
|
+
// if true is passed into init(), F9 will bring up the profiler
|
21
|
+
if (bool){
|
22
|
+
$(document).keyup(function(e){
|
23
|
+
if (e.keyCode === 120){
|
24
|
+
PROFILE.show();
|
25
|
+
$(document).unbind('keyup',arguments.callee);
|
26
|
+
}
|
27
|
+
})
|
28
|
+
}
|
29
|
+
},
|
30
|
+
|
31
|
+
//When the showProfile button is clicked, use YUI Loader to get all required
|
32
|
+
//dependencies and then show the profile:
|
33
|
+
show : function() {
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
var s = document.createElement('link');
|
38
|
+
s.setAttribute('rel','stylesheet');
|
39
|
+
s.setAttribute('type','text/css');
|
40
|
+
s.setAttribute('href','js/profiling/yahoo-profiling.css');
|
41
|
+
document.body.appendChild(s);
|
42
|
+
|
43
|
+
YAHOO.util.Dom.addClass(document.body, 'yui-skin-sam');
|
44
|
+
|
45
|
+
//instantiate ProfilerViewer with desired options:
|
46
|
+
var pv = new YAHOO.widget.ProfilerViewer("", {
|
47
|
+
visible: true, //expand the viewer mmediately after instantiation
|
48
|
+
showChart: true,
|
49
|
+
// base:"../../build/",
|
50
|
+
swfUrl: "js/profiling/charts.swf"
|
51
|
+
});
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
};
|
56
|
+
|
57
|
+
// check some global debug variable to see if we should be profiling..
|
58
|
+
if (true) { PROFILE.init(true) }
|
59
|
+
|
@@ -0,0 +1,7 @@
|
|
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
|
+
.yui-skin-sam .yui-pv{background-color:#4a4a4a;font:arial;position:relative;width:99%;z-index:1000;margin-bottom:1em;overflow:hidden;}.yui-skin-sam .yui-pv .hd{background:url(http://yui.yahooapis.com/2.7.0/build/profilerviewer/assets/skins/sam/header_background.png) repeat-x;min-height:30px;overflow:hidden;zoom:1;padding:2px 0;}.yui-skin-sam .yui-pv .hd h4{padding:8px 10px;margin:0;font:bold 14px arial;color:#fff;}.yui-skin-sam .yui-pv .hd a{background:#3f6bc3;font:bold 11px arial;color:#fff;padding:4px;margin:3px 10px 0 0;border:1px solid #3f567d;cursor:pointer;display:block;float:right;}.yui-skin-sam .yui-pv .hd span{display:none;}.yui-skin-sam .yui-pv .hd span.yui-pv-busy{height:18px;width:18px;background:url(http://yui.yahooapis.com/2.7.0/build/profilerviewer/assets/skins/sam/wait.gif) no-repeat;overflow:hidden;display:block;float:right;margin:4px 10px 0 0;}.yui-skin-sam .yui-pv .hd:after,.yui-pv .bd:after,.yui-skin-sam .yui-pv-chartlegend dl:after{content:'.';visibility:hidden;clear:left;height:0;display:block;}.yui-skin-sam .yui-pv .bd{position:relative;zoom:1;overflow-x:auto;overflow-y:hidden;}.yui-skin-sam .yui-pv .yui-pv-table{padding:0 10px;margin:5px 0 10px 0;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-bd td{color:#eeee5c;font:12px arial;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd{background:#929292;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even{background:#58637a;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-desc{background:#384970;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-desc{background:#6F6E6E;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th{background-image:none;background:#2E2D2D;}.yui-skin-sam .yui-pv th.yui-dt-asc .yui-dt-liner{background:transparent url(http://yui.yahooapis.com/2.7.0/build/profilerviewer/assets/skins/sam/asc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv th.yui-dt-desc .yui-dt-liner{background:transparent url(http://yui.yahooapis.com/2.7.0/build/profilerviewer/assets/skins/sam/desc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th a{color:#fff;font:bold 12px arial;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-desc{background:#333;}.yui-skin-sam .yui-pv-chartcontainer{padding:0 10px;}.yui-skin-sam .yui-pv-chart{height:250px;clear:right;margin:5px 0 0 0;color:#fff;}.yui-skin-sam .yui-pv-chartlegend div{float:right;margin:0 0 0 10px;_width:250px;}.yui-skin-sam .yui-pv-chartlegend dl{border:1px solid #999;padding:.2em 0 .2em .5em;zoom:1;margin:5px 0;}.yui-skin-sam .yui-pv-chartlegend dt{float:left;display:block;height:.7em;width:.7em;padding:0;}.yui-skin-sam .yui-pv-chartlegend dd{float:left;display:block;color:#fff;margin:0 1em 0 .5em;padding:0;font:11px arial;}.yui-skin-sam .yui-pv-minimized{height:35px;}.yui-skin-sam .yui-pv-minimized .bd{top:-3000px;}.yui-skin-sam .yui-pv-minimized .hd a.yui-pv-refresh{display:none;}
|
@@ -0,0 +1,1028 @@
|
|
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
|
+
/**
|
8
|
+
* The YAHOO object is the single global object used by YUI Library. It
|
9
|
+
* contains utility function for setting up namespaces, inheritance, and
|
10
|
+
* logging. YAHOO.util, YAHOO.widget, and YAHOO.example are namespaces
|
11
|
+
* created automatically for and used by the library.
|
12
|
+
* @module yahoo
|
13
|
+
* @title YAHOO Global
|
14
|
+
*/
|
15
|
+
|
16
|
+
/**
|
17
|
+
* YAHOO_config is not included as part of the library. Instead it is an
|
18
|
+
* object that can be defined by the implementer immediately before
|
19
|
+
* including the YUI library. The properties included in this object
|
20
|
+
* will be used to configure global properties needed as soon as the
|
21
|
+
* library begins to load.
|
22
|
+
* @class YAHOO_config
|
23
|
+
* @static
|
24
|
+
*/
|
25
|
+
|
26
|
+
/**
|
27
|
+
* A reference to a function that will be executed every time a YAHOO module
|
28
|
+
* is loaded. As parameter, this function will receive the version
|
29
|
+
* information for the module. See <a href="YAHOO.env.html#getVersion">
|
30
|
+
* YAHOO.env.getVersion</a> for the description of the version data structure.
|
31
|
+
* @property listener
|
32
|
+
* @type Function
|
33
|
+
* @static
|
34
|
+
* @default undefined
|
35
|
+
*/
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Set to true if the library will be dynamically loaded after window.onload.
|
39
|
+
* Defaults to false
|
40
|
+
* @property injecting
|
41
|
+
* @type boolean
|
42
|
+
* @static
|
43
|
+
* @default undefined
|
44
|
+
*/
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Instructs the yuiloader component to dynamically load yui components and
|
48
|
+
* their dependencies. See the yuiloader documentation for more information
|
49
|
+
* about dynamic loading
|
50
|
+
* @property load
|
51
|
+
* @static
|
52
|
+
* @default undefined
|
53
|
+
* @see yuiloader
|
54
|
+
*/
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Forces the use of the supplied locale where applicable in the library
|
58
|
+
* @property locale
|
59
|
+
* @type string
|
60
|
+
* @static
|
61
|
+
* @default undefined
|
62
|
+
*/
|
63
|
+
|
64
|
+
if (typeof YAHOO == "undefined" || !YAHOO) {
|
65
|
+
/**
|
66
|
+
* The YAHOO global namespace object. If YAHOO is already defined, the
|
67
|
+
* existing YAHOO object will not be overwritten so that defined
|
68
|
+
* namespaces are preserved.
|
69
|
+
* @class YAHOO
|
70
|
+
* @static
|
71
|
+
*/
|
72
|
+
var YAHOO = {};
|
73
|
+
}
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Returns the namespace specified and creates it if it doesn't exist
|
77
|
+
* <pre>
|
78
|
+
* YAHOO.namespace("property.package");
|
79
|
+
* YAHOO.namespace("YAHOO.property.package");
|
80
|
+
* </pre>
|
81
|
+
* Either of the above would create YAHOO.property, then
|
82
|
+
* YAHOO.property.package
|
83
|
+
*
|
84
|
+
* Be careful when naming packages. Reserved words may work in some browsers
|
85
|
+
* and not others. For instance, the following will fail in Safari:
|
86
|
+
* <pre>
|
87
|
+
* YAHOO.namespace("really.long.nested.namespace");
|
88
|
+
* </pre>
|
89
|
+
* This fails because "long" is a future reserved word in ECMAScript
|
90
|
+
*
|
91
|
+
* For implementation code that uses YUI, do not create your components
|
92
|
+
* in the namespaces created by the library. defined by YUI -- create
|
93
|
+
* your own (YAHOO.util, YAHOO.widget, YAHOO.lang, YAHOO.env)
|
94
|
+
*
|
95
|
+
* @method namespace
|
96
|
+
* @static
|
97
|
+
* @param {String*} arguments 1-n namespaces to create
|
98
|
+
* @return {Object} A reference to the last namespace object created
|
99
|
+
*/
|
100
|
+
YAHOO.namespace = function() {
|
101
|
+
var a=arguments, o=null, i, j, d;
|
102
|
+
for (i=0; i<a.length; i=i+1) {
|
103
|
+
d=(""+a[i]).split(".");
|
104
|
+
o=YAHOO;
|
105
|
+
|
106
|
+
// YAHOO is implied, so it is ignored if it is included
|
107
|
+
for (j=(d[0] == "YAHOO") ? 1 : 0; j<d.length; j=j+1) {
|
108
|
+
o[d[j]]=o[d[j]] || {};
|
109
|
+
o=o[d[j]];
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
return o;
|
114
|
+
};
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Uses YAHOO.widget.Logger to output a log message, if the widget is
|
118
|
+
* available.
|
119
|
+
*
|
120
|
+
* @method log
|
121
|
+
* @static
|
122
|
+
* @param {String} msg The message to log.
|
123
|
+
* @param {String} cat The log category for the message. Default
|
124
|
+
* categories are "info", "warn", "error", time".
|
125
|
+
* Custom categories can be used as well. (opt)
|
126
|
+
* @param {String} src The source of the the message (opt)
|
127
|
+
* @return {Boolean} True if the log operation was successful.
|
128
|
+
*/
|
129
|
+
YAHOO.log = function(msg, cat, src) {
|
130
|
+
var l=YAHOO.widget.Logger;
|
131
|
+
if(l && l.log) {
|
132
|
+
return l.log(msg, cat, src);
|
133
|
+
} else {
|
134
|
+
return false;
|
135
|
+
}
|
136
|
+
};
|
137
|
+
|
138
|
+
/**
|
139
|
+
* Registers a module with the YAHOO object
|
140
|
+
* @method register
|
141
|
+
* @static
|
142
|
+
* @param {String} name the name of the module (event, slider, etc)
|
143
|
+
* @param {Function} mainClass a reference to class in the module. This
|
144
|
+
* class will be tagged with the version info
|
145
|
+
* so that it will be possible to identify the
|
146
|
+
* version that is in use when multiple versions
|
147
|
+
* have loaded
|
148
|
+
* @param {Object} data metadata object for the module. Currently it
|
149
|
+
* is expected to contain a "version" property
|
150
|
+
* and a "build" property at minimum.
|
151
|
+
*/
|
152
|
+
YAHOO.register = function(name, mainClass, data) {
|
153
|
+
var mods = YAHOO.env.modules, m, v, b, ls, i;
|
154
|
+
|
155
|
+
if (!mods[name]) {
|
156
|
+
mods[name] = {
|
157
|
+
versions:[],
|
158
|
+
builds:[]
|
159
|
+
};
|
160
|
+
}
|
161
|
+
|
162
|
+
m = mods[name];
|
163
|
+
v = data.version;
|
164
|
+
b = data.build;
|
165
|
+
ls = YAHOO.env.listeners;
|
166
|
+
|
167
|
+
m.name = name;
|
168
|
+
m.version = v;
|
169
|
+
m.build = b;
|
170
|
+
m.versions.push(v);
|
171
|
+
m.builds.push(b);
|
172
|
+
m.mainClass = mainClass;
|
173
|
+
|
174
|
+
// fire the module load listeners
|
175
|
+
for (i=0;i<ls.length;i=i+1) {
|
176
|
+
ls[i](m);
|
177
|
+
}
|
178
|
+
// label the main class
|
179
|
+
if (mainClass) {
|
180
|
+
mainClass.VERSION = v;
|
181
|
+
mainClass.BUILD = b;
|
182
|
+
} else {
|
183
|
+
YAHOO.log("mainClass is undefined for module " + name, "warn");
|
184
|
+
}
|
185
|
+
};
|
186
|
+
|
187
|
+
/**
|
188
|
+
* YAHOO.env is used to keep track of what is known about the YUI library and
|
189
|
+
* the browsing environment
|
190
|
+
* @class YAHOO.env
|
191
|
+
* @static
|
192
|
+
*/
|
193
|
+
YAHOO.env = YAHOO.env || {
|
194
|
+
|
195
|
+
/**
|
196
|
+
* Keeps the version info for all YUI modules that have reported themselves
|
197
|
+
* @property modules
|
198
|
+
* @type Object[]
|
199
|
+
*/
|
200
|
+
modules: [],
|
201
|
+
|
202
|
+
/**
|
203
|
+
* List of functions that should be executed every time a YUI module
|
204
|
+
* reports itself.
|
205
|
+
* @property listeners
|
206
|
+
* @type Function[]
|
207
|
+
*/
|
208
|
+
listeners: []
|
209
|
+
};
|
210
|
+
|
211
|
+
/**
|
212
|
+
* Returns the version data for the specified module:
|
213
|
+
* <dl>
|
214
|
+
* <dt>name:</dt> <dd>The name of the module</dd>
|
215
|
+
* <dt>version:</dt> <dd>The version in use</dd>
|
216
|
+
* <dt>build:</dt> <dd>The build number in use</dd>
|
217
|
+
* <dt>versions:</dt> <dd>All versions that were registered</dd>
|
218
|
+
* <dt>builds:</dt> <dd>All builds that were registered.</dd>
|
219
|
+
* <dt>mainClass:</dt> <dd>An object that was was stamped with the
|
220
|
+
* current version and build. If
|
221
|
+
* mainClass.VERSION != version or mainClass.BUILD != build,
|
222
|
+
* multiple versions of pieces of the library have been
|
223
|
+
* loaded, potentially causing issues.</dd>
|
224
|
+
* </dl>
|
225
|
+
*
|
226
|
+
* @method getVersion
|
227
|
+
* @static
|
228
|
+
* @param {String} name the name of the module (event, slider, etc)
|
229
|
+
* @return {Object} The version info
|
230
|
+
*/
|
231
|
+
YAHOO.env.getVersion = function(name) {
|
232
|
+
return YAHOO.env.modules[name] || null;
|
233
|
+
};
|
234
|
+
|
235
|
+
/**
|
236
|
+
* Do not fork for a browser if it can be avoided. Use feature detection when
|
237
|
+
* you can. Use the user agent as a last resort. YAHOO.env.ua stores a version
|
238
|
+
* number for the browser engine, 0 otherwise. This value may or may not map
|
239
|
+
* to the version number of the browser using the engine. The value is
|
240
|
+
* presented as a float so that it can easily be used for boolean evaluation
|
241
|
+
* as well as for looking for a particular range of versions. Because of this,
|
242
|
+
* some of the granularity of the version info may be lost (e.g., Gecko 1.8.0.9
|
243
|
+
* reports 1.8).
|
244
|
+
* @class YAHOO.env.ua
|
245
|
+
* @static
|
246
|
+
*/
|
247
|
+
YAHOO.env.ua = function() {
|
248
|
+
var o={
|
249
|
+
|
250
|
+
/**
|
251
|
+
* Internet Explorer version number or 0. Example: 6
|
252
|
+
* @property ie
|
253
|
+
* @type float
|
254
|
+
*/
|
255
|
+
ie:0,
|
256
|
+
|
257
|
+
/**
|
258
|
+
* Opera version number or 0. Example: 9.2
|
259
|
+
* @property opera
|
260
|
+
* @type float
|
261
|
+
*/
|
262
|
+
opera:0,
|
263
|
+
|
264
|
+
/**
|
265
|
+
* Gecko engine revision number. Will evaluate to 1 if Gecko
|
266
|
+
* is detected but the revision could not be found. Other browsers
|
267
|
+
* will be 0. Example: 1.8
|
268
|
+
* <pre>
|
269
|
+
* Firefox 1.0.0.4: 1.7.8 <-- Reports 1.7
|
270
|
+
* Firefox 1.5.0.9: 1.8.0.9 <-- Reports 1.8
|
271
|
+
* Firefox 2.0.0.3: 1.8.1.3 <-- Reports 1.8
|
272
|
+
* Firefox 3 alpha: 1.9a4 <-- Reports 1.9
|
273
|
+
* </pre>
|
274
|
+
* @property gecko
|
275
|
+
* @type float
|
276
|
+
*/
|
277
|
+
gecko:0,
|
278
|
+
|
279
|
+
/**
|
280
|
+
* AppleWebKit version. KHTML browsers that are not WebKit browsers
|
281
|
+
* will evaluate to 1, other browsers 0. Example: 418.9.1
|
282
|
+
* <pre>
|
283
|
+
* Safari 1.3.2 (312.6): 312.8.1 <-- Reports 312.8 -- currently the
|
284
|
+
* latest available for Mac OSX 10.3.
|
285
|
+
* Safari 2.0.2: 416 <-- hasOwnProperty introduced
|
286
|
+
* Safari 2.0.4: 418 <-- preventDefault fixed
|
287
|
+
* Safari 2.0.4 (419.3): 418.9.1 <-- One version of Safari may run
|
288
|
+
* different versions of webkit
|
289
|
+
* Safari 2.0.4 (419.3): 419 <-- Tiger installations that have been
|
290
|
+
* updated, but not updated
|
291
|
+
* to the latest patch.
|
292
|
+
* Webkit 212 nightly: 522+ <-- Safari 3.0 precursor (with native SVG
|
293
|
+
* and many major issues fixed).
|
294
|
+
* 3.x yahoo.com, flickr:422 <-- Safari 3.x hacks the user agent
|
295
|
+
* string when hitting yahoo.com and
|
296
|
+
* flickr.com.
|
297
|
+
* Safari 3.0.4 (523.12):523.12 <-- First Tiger release - automatic update
|
298
|
+
* from 2.x via the 10.4.11 OS patch
|
299
|
+
* Webkit nightly 1/2008:525+ <-- Supports DOMContentLoaded event.
|
300
|
+
* yahoo.com user agent hack removed.
|
301
|
+
*
|
302
|
+
* </pre>
|
303
|
+
* http://developer.apple.com/internet/safari/uamatrix.html
|
304
|
+
* @property webkit
|
305
|
+
* @type float
|
306
|
+
*/
|
307
|
+
webkit: 0,
|
308
|
+
|
309
|
+
/**
|
310
|
+
* The mobile property will be set to a string containing any relevant
|
311
|
+
* user agent information when a modern mobile browser is detected.
|
312
|
+
* Currently limited to Safari on the iPhone/iPod Touch, Nokia N-series
|
313
|
+
* devices with the WebKit-based browser, and Opera Mini.
|
314
|
+
* @property mobile
|
315
|
+
* @type string
|
316
|
+
*/
|
317
|
+
mobile: null,
|
318
|
+
|
319
|
+
/**
|
320
|
+
* Adobe AIR version number or 0. Only populated if webkit is detected.
|
321
|
+
* Example: 1.0
|
322
|
+
* @property air
|
323
|
+
* @type float
|
324
|
+
*/
|
325
|
+
air: 0,
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Google Caja version number or 0.
|
329
|
+
* @property caja
|
330
|
+
* @type float
|
331
|
+
*/
|
332
|
+
caja: 0
|
333
|
+
|
334
|
+
},
|
335
|
+
|
336
|
+
ua = navigator.userAgent,
|
337
|
+
|
338
|
+
m;
|
339
|
+
|
340
|
+
// Modern KHTML browsers should qualify as Safari X-Grade
|
341
|
+
if ((/KHTML/).test(ua)) {
|
342
|
+
o.webkit=1;
|
343
|
+
}
|
344
|
+
// Modern WebKit browsers are at least X-Grade
|
345
|
+
m=ua.match(/AppleWebKit\/([^\s]*)/);
|
346
|
+
if (m&&m[1]) {
|
347
|
+
o.webkit=parseFloat(m[1]);
|
348
|
+
|
349
|
+
// Mobile browser check
|
350
|
+
if (/ Mobile\//.test(ua)) {
|
351
|
+
o.mobile = "Apple"; // iPhone or iPod Touch
|
352
|
+
} else {
|
353
|
+
m=ua.match(/NokiaN[^\/]*/);
|
354
|
+
if (m) {
|
355
|
+
o.mobile = m[0]; // Nokia N-series, ex: NokiaN95
|
356
|
+
}
|
357
|
+
}
|
358
|
+
|
359
|
+
m=ua.match(/AdobeAIR\/([^\s]*)/);
|
360
|
+
if (m) {
|
361
|
+
o.air = m[0]; // Adobe AIR 1.0 or better
|
362
|
+
}
|
363
|
+
|
364
|
+
}
|
365
|
+
|
366
|
+
if (!o.webkit) { // not webkit
|
367
|
+
// @todo check Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.4509/1316; fi; U; ssr)
|
368
|
+
m=ua.match(/Opera[\s\/]([^\s]*)/);
|
369
|
+
if (m&&m[1]) {
|
370
|
+
o.opera=parseFloat(m[1]);
|
371
|
+
m=ua.match(/Opera Mini[^;]*/);
|
372
|
+
if (m) {
|
373
|
+
o.mobile = m[0]; // ex: Opera Mini/2.0.4509/1316
|
374
|
+
}
|
375
|
+
} else { // not opera or webkit
|
376
|
+
m=ua.match(/MSIE\s([^;]*)/);
|
377
|
+
if (m&&m[1]) {
|
378
|
+
o.ie=parseFloat(m[1]);
|
379
|
+
} else { // not opera, webkit, or ie
|
380
|
+
m=ua.match(/Gecko\/([^\s]*)/);
|
381
|
+
if (m) {
|
382
|
+
o.gecko=1; // Gecko detected, look for revision
|
383
|
+
m=ua.match(/rv:([^\s\)]*)/);
|
384
|
+
if (m&&m[1]) {
|
385
|
+
o.gecko=parseFloat(m[1]);
|
386
|
+
}
|
387
|
+
}
|
388
|
+
}
|
389
|
+
}
|
390
|
+
}
|
391
|
+
|
392
|
+
m=ua.match(/Caja\/([^\s]*)/);
|
393
|
+
if (m&&m[1]) {
|
394
|
+
o.caja=parseFloat(m[1]);
|
395
|
+
}
|
396
|
+
|
397
|
+
return o;
|
398
|
+
}();
|
399
|
+
|
400
|
+
/*
|
401
|
+
* Initializes the global by creating the default namespaces and applying
|
402
|
+
* any new configuration information that is detected. This is the setup
|
403
|
+
* for env.
|
404
|
+
* @method init
|
405
|
+
* @static
|
406
|
+
* @private
|
407
|
+
*/
|
408
|
+
(function() {
|
409
|
+
YAHOO.namespace("util", "widget", "example");
|
410
|
+
/*global YAHOO_config*/
|
411
|
+
if ("undefined" !== typeof YAHOO_config) {
|
412
|
+
var l=YAHOO_config.listener,ls=YAHOO.env.listeners,unique=true,i;
|
413
|
+
if (l) {
|
414
|
+
// if YAHOO is loaded multiple times we need to check to see if
|
415
|
+
// this is a new config object. If it is, add the new component
|
416
|
+
// load listener to the stack
|
417
|
+
for (i=0;i<ls.length;i=i+1) {
|
418
|
+
if (ls[i]==l) {
|
419
|
+
unique=false;
|
420
|
+
break;
|
421
|
+
}
|
422
|
+
}
|
423
|
+
if (unique) {
|
424
|
+
ls.push(l);
|
425
|
+
}
|
426
|
+
}
|
427
|
+
}
|
428
|
+
})();
|
429
|
+
/**
|
430
|
+
* Provides the language utilites and extensions used by the library
|
431
|
+
* @class YAHOO.lang
|
432
|
+
*/
|
433
|
+
YAHOO.lang = YAHOO.lang || {};
|
434
|
+
|
435
|
+
(function() {
|
436
|
+
|
437
|
+
|
438
|
+
var L = YAHOO.lang,
|
439
|
+
|
440
|
+
ARRAY_TOSTRING = '[object Array]',
|
441
|
+
FUNCTION_TOSTRING = '[object Function]',
|
442
|
+
OP = Object.prototype,
|
443
|
+
|
444
|
+
// ADD = ["toString", "valueOf", "hasOwnProperty"],
|
445
|
+
ADD = ["toString", "valueOf"],
|
446
|
+
|
447
|
+
OB = {
|
448
|
+
|
449
|
+
/**
|
450
|
+
* Determines wheather or not the provided object is an array.
|
451
|
+
* @method isArray
|
452
|
+
* @param {any} o The object being testing
|
453
|
+
* @return {boolean} the result
|
454
|
+
*/
|
455
|
+
isArray: function(o) {
|
456
|
+
return OP.toString.apply(o) === ARRAY_TOSTRING;
|
457
|
+
},
|
458
|
+
|
459
|
+
/**
|
460
|
+
* Determines whether or not the provided object is a boolean
|
461
|
+
* @method isBoolean
|
462
|
+
* @param {any} o The object being testing
|
463
|
+
* @return {boolean} the result
|
464
|
+
*/
|
465
|
+
isBoolean: function(o) {
|
466
|
+
return typeof o === 'boolean';
|
467
|
+
},
|
468
|
+
|
469
|
+
/**
|
470
|
+
* Determines whether or not the provided object is a function.
|
471
|
+
* Note: Internet Explorer thinks certain functions are objects:
|
472
|
+
*
|
473
|
+
* var obj = document.createElement("object");
|
474
|
+
* YAHOO.lang.isFunction(obj.getAttribute) // reports false in IE
|
475
|
+
*
|
476
|
+
* var input = document.createElement("input"); // append to body
|
477
|
+
* YAHOO.lang.isFunction(input.focus) // reports false in IE
|
478
|
+
*
|
479
|
+
* You will have to implement additional tests if these functions
|
480
|
+
* matter to you.
|
481
|
+
*
|
482
|
+
* @method isFunction
|
483
|
+
* @param {any} o The object being testing
|
484
|
+
* @return {boolean} the result
|
485
|
+
*/
|
486
|
+
isFunction: function(o) {
|
487
|
+
return OP.toString.apply(o) === FUNCTION_TOSTRING;
|
488
|
+
},
|
489
|
+
|
490
|
+
/**
|
491
|
+
* Determines whether or not the provided object is null
|
492
|
+
* @method isNull
|
493
|
+
* @param {any} o The object being testing
|
494
|
+
* @return {boolean} the result
|
495
|
+
*/
|
496
|
+
isNull: function(o) {
|
497
|
+
return o === null;
|
498
|
+
},
|
499
|
+
|
500
|
+
/**
|
501
|
+
* Determines whether or not the provided object is a legal number
|
502
|
+
* @method isNumber
|
503
|
+
* @param {any} o The object being testing
|
504
|
+
* @return {boolean} the result
|
505
|
+
*/
|
506
|
+
isNumber: function(o) {
|
507
|
+
return typeof o === 'number' && isFinite(o);
|
508
|
+
},
|
509
|
+
|
510
|
+
/**
|
511
|
+
* Determines whether or not the provided object is of type object
|
512
|
+
* or function
|
513
|
+
* @method isObject
|
514
|
+
* @param {any} o The object being testing
|
515
|
+
* @return {boolean} the result
|
516
|
+
*/
|
517
|
+
isObject: function(o) {
|
518
|
+
return (o && (typeof o === 'object' || L.isFunction(o))) || false;
|
519
|
+
},
|
520
|
+
|
521
|
+
/**
|
522
|
+
* Determines whether or not the provided object is a string
|
523
|
+
* @method isString
|
524
|
+
* @param {any} o The object being testing
|
525
|
+
* @return {boolean} the result
|
526
|
+
*/
|
527
|
+
isString: function(o) {
|
528
|
+
return typeof o === 'string';
|
529
|
+
},
|
530
|
+
|
531
|
+
/**
|
532
|
+
* Determines whether or not the provided object is undefined
|
533
|
+
* @method isUndefined
|
534
|
+
* @param {any} o The object being testing
|
535
|
+
* @return {boolean} the result
|
536
|
+
*/
|
537
|
+
isUndefined: function(o) {
|
538
|
+
return typeof o === 'undefined';
|
539
|
+
},
|
540
|
+
|
541
|
+
|
542
|
+
/**
|
543
|
+
* IE will not enumerate native functions in a derived object even if the
|
544
|
+
* function was overridden. This is a workaround for specific functions
|
545
|
+
* we care about on the Object prototype.
|
546
|
+
* @property _IEEnumFix
|
547
|
+
* @param {Function} r the object to receive the augmentation
|
548
|
+
* @param {Function} s the object that supplies the properties to augment
|
549
|
+
* @static
|
550
|
+
* @private
|
551
|
+
*/
|
552
|
+
_IEEnumFix: (YAHOO.env.ua.ie) ? function(r, s) {
|
553
|
+
var i, fname, f;
|
554
|
+
for (i=0;i<ADD.length;i=i+1) {
|
555
|
+
|
556
|
+
fname = ADD[i];
|
557
|
+
f = s[fname];
|
558
|
+
|
559
|
+
if (L.isFunction(f) && f!=OP[fname]) {
|
560
|
+
r[fname]=f;
|
561
|
+
}
|
562
|
+
}
|
563
|
+
} : function(){},
|
564
|
+
|
565
|
+
/**
|
566
|
+
* Utility to set up the prototype, constructor and superclass properties to
|
567
|
+
* support an inheritance strategy that can chain constructors and methods.
|
568
|
+
* Static members will not be inherited.
|
569
|
+
*
|
570
|
+
* @method extend
|
571
|
+
* @static
|
572
|
+
* @param {Function} subc the object to modify
|
573
|
+
* @param {Function} superc the object to inherit
|
574
|
+
* @param {Object} overrides additional properties/methods to add to the
|
575
|
+
* subclass prototype. These will override the
|
576
|
+
* matching items obtained from the superclass
|
577
|
+
* if present.
|
578
|
+
*/
|
579
|
+
extend: function(subc, superc, overrides) {
|
580
|
+
if (!superc||!subc) {
|
581
|
+
throw new Error("extend failed, please check that " +
|
582
|
+
"all dependencies are included.");
|
583
|
+
}
|
584
|
+
var F = function() {}, i;
|
585
|
+
F.prototype=superc.prototype;
|
586
|
+
subc.prototype=new F();
|
587
|
+
subc.prototype.constructor=subc;
|
588
|
+
subc.superclass=superc.prototype;
|
589
|
+
if (superc.prototype.constructor == OP.constructor) {
|
590
|
+
superc.prototype.constructor=superc;
|
591
|
+
}
|
592
|
+
|
593
|
+
if (overrides) {
|
594
|
+
for (i in overrides) {
|
595
|
+
if (L.hasOwnProperty(overrides, i)) {
|
596
|
+
subc.prototype[i]=overrides[i];
|
597
|
+
}
|
598
|
+
}
|
599
|
+
|
600
|
+
L._IEEnumFix(subc.prototype, overrides);
|
601
|
+
}
|
602
|
+
},
|
603
|
+
|
604
|
+
/**
|
605
|
+
* Applies all properties in the supplier to the receiver if the
|
606
|
+
* receiver does not have these properties yet. Optionally, one or
|
607
|
+
* more methods/properties can be specified (as additional
|
608
|
+
* parameters). This option will overwrite the property if receiver
|
609
|
+
* has it already. If true is passed as the third parameter, all
|
610
|
+
* properties will be applied and _will_ overwrite properties in
|
611
|
+
* the receiver.
|
612
|
+
*
|
613
|
+
* @method augmentObject
|
614
|
+
* @static
|
615
|
+
* @since 2.3.0
|
616
|
+
* @param {Function} r the object to receive the augmentation
|
617
|
+
* @param {Function} s the object that supplies the properties to augment
|
618
|
+
* @param {String*|boolean} arguments zero or more properties methods
|
619
|
+
* to augment the receiver with. If none specified, everything
|
620
|
+
* in the supplier will be used unless it would
|
621
|
+
* overwrite an existing property in the receiver. If true
|
622
|
+
* is specified as the third parameter, all properties will
|
623
|
+
* be applied and will overwrite an existing property in
|
624
|
+
* the receiver
|
625
|
+
*/
|
626
|
+
augmentObject: function(r, s) {
|
627
|
+
if (!s||!r) {
|
628
|
+
throw new Error("Absorb failed, verify dependencies.");
|
629
|
+
}
|
630
|
+
var a=arguments, i, p, overrideList=a[2];
|
631
|
+
if (overrideList && overrideList!==true) { // only absorb the specified properties
|
632
|
+
for (i=2; i<a.length; i=i+1) {
|
633
|
+
r[a[i]] = s[a[i]];
|
634
|
+
}
|
635
|
+
} else { // take everything, overwriting only if the third parameter is true
|
636
|
+
for (p in s) {
|
637
|
+
if (overrideList || !(p in r)) {
|
638
|
+
r[p] = s[p];
|
639
|
+
}
|
640
|
+
}
|
641
|
+
|
642
|
+
L._IEEnumFix(r, s);
|
643
|
+
}
|
644
|
+
},
|
645
|
+
|
646
|
+
/**
|
647
|
+
* Same as YAHOO.lang.augmentObject, except it only applies prototype properties
|
648
|
+
* @see YAHOO.lang.augmentObject
|
649
|
+
* @method augmentProto
|
650
|
+
* @static
|
651
|
+
* @param {Function} r the object to receive the augmentation
|
652
|
+
* @param {Function} s the object that supplies the properties to augment
|
653
|
+
* @param {String*|boolean} arguments zero or more properties methods
|
654
|
+
* to augment the receiver with. If none specified, everything
|
655
|
+
* in the supplier will be used unless it would overwrite an existing
|
656
|
+
* property in the receiver. if true is specified as the third
|
657
|
+
* parameter, all properties will be applied and will overwrite an
|
658
|
+
* existing property in the receiver
|
659
|
+
*/
|
660
|
+
augmentProto: function(r, s) {
|
661
|
+
if (!s||!r) {
|
662
|
+
throw new Error("Augment failed, verify dependencies.");
|
663
|
+
}
|
664
|
+
//var a=[].concat(arguments);
|
665
|
+
var a=[r.prototype,s.prototype], i;
|
666
|
+
for (i=2;i<arguments.length;i=i+1) {
|
667
|
+
a.push(arguments[i]);
|
668
|
+
}
|
669
|
+
L.augmentObject.apply(this, a);
|
670
|
+
},
|
671
|
+
|
672
|
+
|
673
|
+
/**
|
674
|
+
* Returns a simple string representation of the object or array.
|
675
|
+
* Other types of objects will be returned unprocessed. Arrays
|
676
|
+
* are expected to be indexed. Use object notation for
|
677
|
+
* associative arrays.
|
678
|
+
* @method dump
|
679
|
+
* @since 2.3.0
|
680
|
+
* @param o {Object} The object to dump
|
681
|
+
* @param d {int} How deep to recurse child objects, default 3
|
682
|
+
* @return {String} the dump result
|
683
|
+
*/
|
684
|
+
dump: function(o, d) {
|
685
|
+
var i,len,s=[],OBJ="{...}",FUN="f(){...}",
|
686
|
+
COMMA=', ', ARROW=' => ';
|
687
|
+
|
688
|
+
// Cast non-objects to string
|
689
|
+
// Skip dates because the std toString is what we want
|
690
|
+
// Skip HTMLElement-like objects because trying to dump
|
691
|
+
// an element will cause an unhandled exception in FF 2.x
|
692
|
+
if (!L.isObject(o)) {
|
693
|
+
return o + "";
|
694
|
+
} else if (o instanceof Date || ("nodeType" in o && "tagName" in o)) {
|
695
|
+
return o;
|
696
|
+
} else if (L.isFunction(o)) {
|
697
|
+
return FUN;
|
698
|
+
}
|
699
|
+
|
700
|
+
// dig into child objects the depth specifed. Default 3
|
701
|
+
d = (L.isNumber(d)) ? d : 3;
|
702
|
+
|
703
|
+
// arrays [1, 2, 3]
|
704
|
+
if (L.isArray(o)) {
|
705
|
+
s.push("[");
|
706
|
+
for (i=0,len=o.length;i<len;i=i+1) {
|
707
|
+
if (L.isObject(o[i])) {
|
708
|
+
s.push((d > 0) ? L.dump(o[i], d-1) : OBJ);
|
709
|
+
} else {
|
710
|
+
s.push(o[i]);
|
711
|
+
}
|
712
|
+
s.push(COMMA);
|
713
|
+
}
|
714
|
+
if (s.length > 1) {
|
715
|
+
s.pop();
|
716
|
+
}
|
717
|
+
s.push("]");
|
718
|
+
// objects {k1 => v1, k2 => v2}
|
719
|
+
} else {
|
720
|
+
s.push("{");
|
721
|
+
for (i in o) {
|
722
|
+
if (L.hasOwnProperty(o, i)) {
|
723
|
+
s.push(i + ARROW);
|
724
|
+
if (L.isObject(o[i])) {
|
725
|
+
s.push((d > 0) ? L.dump(o[i], d-1) : OBJ);
|
726
|
+
} else {
|
727
|
+
s.push(o[i]);
|
728
|
+
}
|
729
|
+
s.push(COMMA);
|
730
|
+
}
|
731
|
+
}
|
732
|
+
if (s.length > 1) {
|
733
|
+
s.pop();
|
734
|
+
}
|
735
|
+
s.push("}");
|
736
|
+
}
|
737
|
+
|
738
|
+
return s.join("");
|
739
|
+
},
|
740
|
+
|
741
|
+
/**
|
742
|
+
* Does variable substitution on a string. It scans through the string
|
743
|
+
* looking for expressions enclosed in { } braces. If an expression
|
744
|
+
* is found, it is used a key on the object. If there is a space in
|
745
|
+
* the key, the first word is used for the key and the rest is provided
|
746
|
+
* to an optional function to be used to programatically determine the
|
747
|
+
* value (the extra information might be used for this decision). If
|
748
|
+
* the value for the key in the object, or what is returned from the
|
749
|
+
* function has a string value, number value, or object value, it is
|
750
|
+
* substituted for the bracket expression and it repeats. If this
|
751
|
+
* value is an object, it uses the Object's toString() if this has
|
752
|
+
* been overridden, otherwise it does a shallow dump of the key/value
|
753
|
+
* pairs.
|
754
|
+
* @method substitute
|
755
|
+
* @since 2.3.0
|
756
|
+
* @param s {String} The string that will be modified.
|
757
|
+
* @param o {Object} An object containing the replacement values
|
758
|
+
* @param f {Function} An optional function that can be used to
|
759
|
+
* process each match. It receives the key,
|
760
|
+
* value, and any extra metadata included with
|
761
|
+
* the key inside of the braces.
|
762
|
+
* @return {String} the substituted string
|
763
|
+
*/
|
764
|
+
substitute: function (s, o, f) {
|
765
|
+
var i, j, k, key, v, meta, saved=[], token,
|
766
|
+
DUMP='dump', SPACE=' ', LBRACE='{', RBRACE='}',
|
767
|
+
dump;
|
768
|
+
|
769
|
+
|
770
|
+
for (;;) {
|
771
|
+
i = s.lastIndexOf(LBRACE);
|
772
|
+
if (i < 0) {
|
773
|
+
break;
|
774
|
+
}
|
775
|
+
j = s.indexOf(RBRACE, i);
|
776
|
+
if (i + 1 >= j) {
|
777
|
+
break;
|
778
|
+
}
|
779
|
+
|
780
|
+
//Extract key and meta info
|
781
|
+
token = s.substring(i + 1, j);
|
782
|
+
key = token;
|
783
|
+
meta = null;
|
784
|
+
k = key.indexOf(SPACE);
|
785
|
+
if (k > -1) {
|
786
|
+
meta = key.substring(k + 1);
|
787
|
+
key = key.substring(0, k);
|
788
|
+
}
|
789
|
+
|
790
|
+
// lookup the value
|
791
|
+
v = o[key];
|
792
|
+
|
793
|
+
// if a substitution function was provided, execute it
|
794
|
+
if (f) {
|
795
|
+
v = f(key, v, meta);
|
796
|
+
}
|
797
|
+
|
798
|
+
if (L.isObject(v)) {
|
799
|
+
if (L.isArray(v)) {
|
800
|
+
v = L.dump(v, parseInt(meta, 10));
|
801
|
+
} else {
|
802
|
+
meta = meta || "";
|
803
|
+
|
804
|
+
// look for the keyword 'dump', if found force obj dump
|
805
|
+
dump = meta.indexOf(DUMP);
|
806
|
+
if (dump > -1) {
|
807
|
+
meta = meta.substring(4);
|
808
|
+
}
|
809
|
+
|
810
|
+
// use the toString if it is not the Object toString
|
811
|
+
// and the 'dump' meta info was not found
|
812
|
+
if (v.toString===OP.toString || dump>-1) {
|
813
|
+
v = L.dump(v, parseInt(meta, 10));
|
814
|
+
} else {
|
815
|
+
v = v.toString();
|
816
|
+
}
|
817
|
+
}
|
818
|
+
} else if (!L.isString(v) && !L.isNumber(v)) {
|
819
|
+
// This {block} has no replace string. Save it for later.
|
820
|
+
v = "~-" + saved.length + "-~";
|
821
|
+
saved[saved.length] = token;
|
822
|
+
|
823
|
+
// break;
|
824
|
+
}
|
825
|
+
|
826
|
+
s = s.substring(0, i) + v + s.substring(j + 1);
|
827
|
+
|
828
|
+
|
829
|
+
}
|
830
|
+
|
831
|
+
// restore saved {block}s
|
832
|
+
for (i=saved.length-1; i>=0; i=i-1) {
|
833
|
+
s = s.replace(new RegExp("~-" + i + "-~"), "{" + saved[i] + "}", "g");
|
834
|
+
}
|
835
|
+
|
836
|
+
return s;
|
837
|
+
},
|
838
|
+
|
839
|
+
|
840
|
+
/**
|
841
|
+
* Returns a string without any leading or trailing whitespace. If
|
842
|
+
* the input is not a string, the input will be returned untouched.
|
843
|
+
* @method trim
|
844
|
+
* @since 2.3.0
|
845
|
+
* @param s {string} the string to trim
|
846
|
+
* @return {string} the trimmed string
|
847
|
+
*/
|
848
|
+
trim: function(s){
|
849
|
+
try {
|
850
|
+
return s.replace(/^\s+|\s+$/g, "");
|
851
|
+
} catch(e) {
|
852
|
+
return s;
|
853
|
+
}
|
854
|
+
},
|
855
|
+
|
856
|
+
/**
|
857
|
+
* Returns a new object containing all of the properties of
|
858
|
+
* all the supplied objects. The properties from later objects
|
859
|
+
* will overwrite those in earlier objects.
|
860
|
+
* @method merge
|
861
|
+
* @since 2.3.0
|
862
|
+
* @param arguments {Object*} the objects to merge
|
863
|
+
* @return the new merged object
|
864
|
+
*/
|
865
|
+
merge: function() {
|
866
|
+
var o={}, a=arguments, l=a.length, i;
|
867
|
+
for (i=0; i<l; i=i+1) {
|
868
|
+
L.augmentObject(o, a[i], true);
|
869
|
+
}
|
870
|
+
return o;
|
871
|
+
},
|
872
|
+
|
873
|
+
/**
|
874
|
+
* Executes the supplied function in the context of the supplied
|
875
|
+
* object 'when' milliseconds later. Executes the function a
|
876
|
+
* single time unless periodic is set to true.
|
877
|
+
* @method later
|
878
|
+
* @since 2.4.0
|
879
|
+
* @param when {int} the number of milliseconds to wait until the fn
|
880
|
+
* is executed
|
881
|
+
* @param o the context object
|
882
|
+
* @param fn {Function|String} the function to execute or the name of
|
883
|
+
* the method in the 'o' object to execute
|
884
|
+
* @param data [Array] data that is provided to the function. This accepts
|
885
|
+
* either a single item or an array. If an array is provided, the
|
886
|
+
* function is executed with one parameter for each array item. If
|
887
|
+
* you need to pass a single array parameter, it needs to be wrapped in
|
888
|
+
* an array [myarray]
|
889
|
+
* @param periodic {boolean} if true, executes continuously at supplied
|
890
|
+
* interval until canceled
|
891
|
+
* @return a timer object. Call the cancel() method on this object to
|
892
|
+
* stop the timer.
|
893
|
+
*/
|
894
|
+
later: function(when, o, fn, data, periodic) {
|
895
|
+
when = when || 0;
|
896
|
+
o = o || {};
|
897
|
+
var m=fn, d=data, f, r;
|
898
|
+
|
899
|
+
if (L.isString(fn)) {
|
900
|
+
m = o[fn];
|
901
|
+
}
|
902
|
+
|
903
|
+
if (!m) {
|
904
|
+
throw new TypeError("method undefined");
|
905
|
+
}
|
906
|
+
|
907
|
+
if (!L.isArray(d)) {
|
908
|
+
d = [data];
|
909
|
+
}
|
910
|
+
|
911
|
+
f = function() {
|
912
|
+
m.apply(o, d);
|
913
|
+
};
|
914
|
+
|
915
|
+
r = (periodic) ? setInterval(f, when) : setTimeout(f, when);
|
916
|
+
|
917
|
+
return {
|
918
|
+
interval: periodic,
|
919
|
+
cancel: function() {
|
920
|
+
if (this.interval) {
|
921
|
+
clearInterval(r);
|
922
|
+
} else {
|
923
|
+
clearTimeout(r);
|
924
|
+
}
|
925
|
+
}
|
926
|
+
};
|
927
|
+
},
|
928
|
+
|
929
|
+
/**
|
930
|
+
* A convenience method for detecting a legitimate non-null value.
|
931
|
+
* Returns false for null/undefined/NaN, true for other values,
|
932
|
+
* including 0/false/''
|
933
|
+
* @method isValue
|
934
|
+
* @since 2.3.0
|
935
|
+
* @param o {any} the item to test
|
936
|
+
* @return {boolean} true if it is not null/undefined/NaN || false
|
937
|
+
*/
|
938
|
+
isValue: function(o) {
|
939
|
+
// return (o || o === false || o === 0 || o === ''); // Infinity fails
|
940
|
+
return (L.isObject(o) || L.isString(o) || L.isNumber(o) || L.isBoolean(o));
|
941
|
+
}
|
942
|
+
|
943
|
+
};
|
944
|
+
|
945
|
+
/**
|
946
|
+
* Determines whether or not the property was added
|
947
|
+
* to the object instance. Returns false if the property is not present
|
948
|
+
* in the object, or was inherited from the prototype.
|
949
|
+
* This abstraction is provided to enable hasOwnProperty for Safari 1.3.x.
|
950
|
+
* There is a discrepancy between YAHOO.lang.hasOwnProperty and
|
951
|
+
* Object.prototype.hasOwnProperty when the property is a primitive added to
|
952
|
+
* both the instance AND prototype with the same value:
|
953
|
+
* <pre>
|
954
|
+
* var A = function() {};
|
955
|
+
* A.prototype.foo = 'foo';
|
956
|
+
* var a = new A();
|
957
|
+
* a.foo = 'foo';
|
958
|
+
* alert(a.hasOwnProperty('foo')); // true
|
959
|
+
* alert(YAHOO.lang.hasOwnProperty(a, 'foo')); // false when using fallback
|
960
|
+
* </pre>
|
961
|
+
* @method hasOwnProperty
|
962
|
+
* @param {any} o The object being testing
|
963
|
+
* @param prop {string} the name of the property to test
|
964
|
+
* @return {boolean} the result
|
965
|
+
*/
|
966
|
+
L.hasOwnProperty = (OP.hasOwnProperty) ?
|
967
|
+
function(o, prop) {
|
968
|
+
return o && o.hasOwnProperty(prop);
|
969
|
+
} : function(o, prop) {
|
970
|
+
return !L.isUndefined(o[prop]) &&
|
971
|
+
o.constructor.prototype[prop] !== o[prop];
|
972
|
+
};
|
973
|
+
|
974
|
+
// new lang wins
|
975
|
+
OB.augmentObject(L, OB, true);
|
976
|
+
|
977
|
+
/*
|
978
|
+
* An alias for <a href="YAHOO.lang.html">YAHOO.lang</a>
|
979
|
+
* @class YAHOO.util.Lang
|
980
|
+
*/
|
981
|
+
YAHOO.util.Lang = L;
|
982
|
+
|
983
|
+
/**
|
984
|
+
* Same as YAHOO.lang.augmentObject, except it only applies prototype
|
985
|
+
* properties. This is an alias for augmentProto.
|
986
|
+
* @see YAHOO.lang.augmentObject
|
987
|
+
* @method augment
|
988
|
+
* @static
|
989
|
+
* @param {Function} r the object to receive the augmentation
|
990
|
+
* @param {Function} s the object that supplies the properties to augment
|
991
|
+
* @param {String*|boolean} arguments zero or more properties methods to
|
992
|
+
* augment the receiver with. If none specified, everything
|
993
|
+
* in the supplier will be used unless it would
|
994
|
+
* overwrite an existing property in the receiver. if true
|
995
|
+
* is specified as the third parameter, all properties will
|
996
|
+
* be applied and will overwrite an existing property in
|
997
|
+
* the receiver
|
998
|
+
*/
|
999
|
+
L.augment = L.augmentProto;
|
1000
|
+
|
1001
|
+
/**
|
1002
|
+
* An alias for <a href="YAHOO.lang.html#augment">YAHOO.lang.augment</a>
|
1003
|
+
* @for YAHOO
|
1004
|
+
* @method augment
|
1005
|
+
* @static
|
1006
|
+
* @param {Function} r the object to receive the augmentation
|
1007
|
+
* @param {Function} s the object that supplies the properties to augment
|
1008
|
+
* @param {String*} arguments zero or more properties methods to
|
1009
|
+
* augment the receiver with. If none specified, everything
|
1010
|
+
* in the supplier will be used unless it would
|
1011
|
+
* overwrite an existing property in the receiver
|
1012
|
+
*/
|
1013
|
+
YAHOO.augment = L.augmentProto;
|
1014
|
+
|
1015
|
+
/**
|
1016
|
+
* An alias for <a href="YAHOO.lang.html#extend">YAHOO.lang.extend</a>
|
1017
|
+
* @method extend
|
1018
|
+
* @static
|
1019
|
+
* @param {Function} subc the object to modify
|
1020
|
+
* @param {Function} superc the object to inherit
|
1021
|
+
* @param {Object} overrides additional properties/methods to add to the
|
1022
|
+
* subclass prototype. These will override the
|
1023
|
+
* matching items obtained from the superclass if present.
|
1024
|
+
*/
|
1025
|
+
YAHOO.extend = L.extend;
|
1026
|
+
|
1027
|
+
})();
|
1028
|
+
YAHOO.register("yahoo", YAHOO, {version: "2.7.0", build: "1796"});
|