fog 0.11.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +17 -2
- data/changelog.txt +434 -0
- data/docs/about/getting_started.markdown +2 -2
- data/docs/about/press.markdown +4 -0
- data/docs/compute/index.markdown +1 -1
- data/docs/dns/index.markdown +1 -1
- data/docs/storage/index.markdown +17 -17
- data/fog.gemspec +5 -4
- data/lib/fog.rb +1 -1
- data/lib/fog/aws.rb +198 -0
- data/lib/fog/aws/auto_scaling.rb +9 -5
- data/lib/fog/aws/cdn.rb +120 -0
- data/lib/fog/aws/cloud_formation.rb +8 -4
- data/lib/fog/aws/cloud_watch.rb +9 -5
- data/lib/fog/aws/compute.rb +314 -0
- data/lib/fog/aws/dns.rb +119 -0
- data/lib/fog/aws/elasticache.rb +127 -0
- data/lib/fog/aws/elb.rb +11 -4
- data/lib/fog/aws/iam.rb +9 -5
- data/lib/fog/{compute/models/aws → aws/models/compute}/address.rb +0 -0
- data/lib/fog/aws/models/compute/addresses.rb +100 -0
- data/lib/fog/{compute/models/aws → aws/models/compute}/flavor.rb +0 -0
- data/lib/fog/aws/models/compute/flavors.rb +167 -0
- data/lib/fog/{compute/models/aws → aws/models/compute}/image.rb +0 -0
- data/lib/fog/aws/models/compute/images.rb +62 -0
- data/lib/fog/{compute/models/aws → aws/models/compute}/key_pair.rb +0 -0
- data/lib/fog/aws/models/compute/key_pairs.rb +88 -0
- data/lib/fog/aws/models/compute/security_group.rb +205 -0
- data/lib/fog/aws/models/compute/security_groups.rb +95 -0
- data/lib/fog/{compute/models/aws → aws/models/compute}/server.rb +0 -0
- data/lib/fog/aws/models/compute/servers.rb +158 -0
- data/lib/fog/{compute/models/aws → aws/models/compute}/snapshot.rb +0 -0
- data/lib/fog/aws/models/compute/snapshots.rb +52 -0
- data/lib/fog/{compute/models/aws → aws/models/compute}/spot_request.rb +0 -0
- data/lib/fog/aws/models/compute/spot_requests.rb +48 -0
- data/lib/fog/{compute/models/aws → aws/models/compute}/tag.rb +0 -0
- data/lib/fog/aws/models/compute/tags.rb +34 -0
- data/lib/fog/aws/models/compute/volume.rb +112 -0
- data/lib/fog/aws/models/compute/volumes.rb +121 -0
- data/lib/fog/{dns/models/aws → aws/models/dns}/record.rb +0 -0
- data/lib/fog/aws/models/dns/records.rb +49 -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/rds/security_group.rb +11 -0
- data/lib/fog/aws/models/storage/directories.rb +43 -0
- data/lib/fog/aws/models/storage/directory.rb +98 -0
- data/lib/fog/aws/models/storage/file.rb +141 -0
- data/lib/fog/aws/models/storage/files.rb +117 -0
- data/lib/fog/{cdn/parsers/aws → aws/parsers/cdn}/distribution.rb +0 -0
- data/lib/fog/{cdn/parsers/aws → aws/parsers/cdn}/get_distribution_list.rb +0 -0
- data/lib/fog/{cdn/parsers/aws → aws/parsers/cdn}/get_invalidation_list.rb +0 -0
- data/lib/fog/{cdn/parsers/aws → aws/parsers/cdn}/get_streaming_distribution_list.rb +0 -0
- data/lib/fog/{cdn/parsers/aws → aws/parsers/cdn}/post_invalidation.rb +0 -0
- data/lib/fog/{cdn/parsers/aws → aws/parsers/cdn}/streaming_distribution.rb +0 -0
- data/lib/fog/aws/parsers/cloud_watch/get_metric_statistics.rb +3 -3
- data/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +5 -5
- data/lib/fog/aws/parsers/cloud_watch/put_metric_data.rb +2 -2
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/allocate_address.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/attach_volume.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/basic.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/cancel_spot_instance_requests.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/create_image.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/create_key_pair.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/create_snapshot.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/create_volume.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/deregister_image.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_addresses.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_availability_zones.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_images.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_instances.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_key_pairs.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_placement_groups.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_regions.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_reserved_instances.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_reserved_instances_offerings.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_security_groups.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_snapshots.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_spot_price_history.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_tags.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/describe_volumes.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/detach_volume.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/get_console_output.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/get_password_data.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/import_key_pair.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/monitor_unmonitor_instances.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/purchase_reserved_instances_offering.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/register_image.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/run_instances.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/spot_datafeed_subscription.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/spot_instance_requests.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/start_stop_instances.rb +0 -0
- data/lib/fog/{compute/parsers/aws → aws/parsers/compute}/terminate_instances.rb +0 -0
- data/lib/fog/{dns/parsers/aws → aws/parsers/dns}/change_resource_record_sets.rb +0 -0
- data/lib/fog/{dns/parsers/aws → aws/parsers/dns}/create_hosted_zone.rb +0 -0
- data/lib/fog/{dns/parsers/aws → aws/parsers/dns}/delete_hosted_zone.rb +0 -0
- data/lib/fog/{dns/parsers/aws → aws/parsers/dns}/get_change.rb +0 -0
- data/lib/fog/{dns/parsers/aws → aws/parsers/dns}/get_hosted_zone.rb +0 -0
- data/lib/fog/{dns/parsers/aws → aws/parsers/dns}/list_hosted_zones.rb +0 -0
- data/lib/fog/{dns/parsers/aws → aws/parsers/dns}/list_resource_record_sets.rb +0 -0
- data/lib/fog/aws/parsers/elasticache/authorize_cache_security_group_ingress.rb +26 -0
- data/lib/fog/aws/parsers/elasticache/base.rb +34 -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 +38 -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/{storage/parsers/aws → aws/parsers/storage}/access_control_list.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/complete_multipart_upload.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/copy_object.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_bucket.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_bucket_location.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_bucket_logging.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_bucket_object_versions.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_bucket_versioning.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_bucket_website.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_request_payment.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/get_service.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/initiate_multipart_upload.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/list_multipart_uploads.rb +0 -0
- data/lib/fog/{storage/parsers/aws → aws/parsers/storage}/list_parts.rb +0 -0
- data/lib/fog/aws/rds.rb +8 -4
- data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +1 -1
- data/lib/fog/{cdn/requests/aws → aws/requests/cdn}/delete_distribution.rb +0 -0
- data/lib/fog/{cdn/requests/aws → aws/requests/cdn}/delete_streaming_distribution.rb +0 -0
- data/lib/fog/aws/requests/cdn/get_distribution.rb +57 -0
- data/lib/fog/aws/requests/cdn/get_distribution_list.rb +59 -0
- data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +42 -0
- data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +50 -0
- data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +59 -0
- data/lib/fog/aws/requests/cdn/post_distribution.rb +91 -0
- data/lib/fog/aws/requests/cdn/post_invalidation.rb +51 -0
- data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +78 -0
- data/lib/fog/aws/requests/cdn/put_distribution_config.rb +94 -0
- data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +83 -0
- data/lib/fog/aws/requests/cloud_watch/get_metric_statistics.rb +2 -2
- data/lib/fog/aws/requests/cloud_watch/list_metrics.rb +1 -1
- data/lib/fog/aws/requests/cloud_watch/put_metric_data.rb +5 -5
- data/lib/fog/aws/requests/compute/allocate_address.rb +53 -0
- data/lib/fog/aws/requests/compute/associate_address.rb +67 -0
- data/lib/fog/aws/requests/compute/attach_volume.rb +87 -0
- data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +102 -0
- data/lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb +34 -0
- data/lib/fog/aws/requests/compute/create_image.rb +65 -0
- data/lib/fog/aws/requests/compute/create_key_pair.rb +56 -0
- data/lib/fog/aws/requests/compute/create_placement_group.rb +34 -0
- data/lib/fog/aws/requests/compute/create_security_group.rb +58 -0
- data/lib/fog/aws/requests/compute/create_snapshot.rb +73 -0
- data/lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb +41 -0
- data/lib/fog/aws/requests/compute/create_tags.rb +84 -0
- data/lib/fog/aws/requests/compute/create_volume.rb +87 -0
- data/lib/fog/aws/requests/compute/delete_key_pair.rb +47 -0
- data/lib/fog/aws/requests/compute/delete_placement_group.rb +32 -0
- data/lib/fog/aws/requests/compute/delete_security_group.rb +49 -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_tags.rb +87 -0
- data/lib/fog/aws/requests/compute/delete_volume.rb +56 -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 +88 -0
- data/lib/fog/aws/requests/compute/describe_images.rb +133 -0
- data/lib/fog/aws/requests/compute/describe_instances.rb +213 -0
- data/lib/fog/aws/requests/compute/describe_key_pairs.rb +68 -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 +64 -0
- data/lib/fog/aws/requests/compute/describe_security_groups.rb +97 -0
- data/lib/fog/aws/requests/compute/describe_snapshots.rb +120 -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 +47 -0
- data/lib/fog/aws/requests/compute/describe_spot_price_history.rb +37 -0
- data/lib/fog/aws/requests/compute/describe_tags.rb +107 -0
- data/lib/fog/aws/requests/compute/describe_volumes.rb +117 -0
- data/lib/fog/aws/requests/compute/detach_volume.rb +60 -0
- data/lib/fog/aws/requests/compute/disassociate_address.rb +56 -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 +42 -0
- data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +44 -0
- data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +37 -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 +134 -0
- data/lib/fog/aws/requests/compute/release_address.rb +47 -0
- data/lib/fog/aws/requests/compute/request_spot_instances.rb +83 -0
- data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +92 -0
- data/lib/fog/aws/requests/compute/run_instances.rb +177 -0
- data/lib/fog/aws/requests/compute/start_instances.rb +32 -0
- data/lib/fog/aws/requests/compute/stop_instances.rb +33 -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 +82 -0
- data/lib/fog/aws/requests/dns/create_hosted_zone.rb +59 -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 +42 -0
- data/lib/fog/aws/requests/dns/list_hosted_zones.rb +54 -0
- data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +60 -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 +62 -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 +32 -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 +39 -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 +46 -0
- data/lib/fog/aws/requests/elasticache/modify_cache_cluster.rb +70 -0
- data/lib/fog/aws/requests/elasticache/modify_cache_parameter_group.rb +45 -0
- data/lib/fog/aws/requests/elasticache/reboot_cache_cluster.rb +44 -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/iam/list_server_certificates.rb +3 -1
- data/lib/fog/aws/requests/iam/upload_server_certificate.rb +2 -2
- data/lib/fog/aws/requests/simpledb/get_attributes.rb +2 -2
- data/lib/fog/aws/requests/simpledb/select.rb +1 -1
- data/lib/fog/aws/requests/sqs/change_message_visibility.rb +30 -0
- data/lib/fog/aws/requests/sqs/create_queue.rb +35 -1
- data/lib/fog/aws/requests/sqs/delete_message.rb +29 -0
- data/lib/fog/aws/requests/sqs/delete_queue.rb +24 -1
- data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +22 -1
- data/lib/fog/aws/requests/sqs/list_queues.rb +15 -1
- data/lib/fog/aws/requests/sqs/receive_message.rb +55 -1
- data/lib/fog/aws/requests/sqs/send_message.rb +39 -1
- data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +19 -1
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/abort_multipart_upload.rb +0 -0
- data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +52 -0
- data/lib/fog/aws/requests/storage/copy_object.rb +76 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/delete_bucket.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/delete_bucket_policy.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/delete_bucket_website.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/delete_object.rb +0 -0
- data/lib/fog/aws/requests/storage/get_bucket.rb +114 -0
- data/lib/fog/aws/requests/storage/get_bucket_acl.rb +66 -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 +75 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/get_bucket_policy.rb +0 -0
- data/lib/fog/aws/requests/storage/get_bucket_versioning.rb +40 -0
- data/lib/fog/aws/requests/storage/get_bucket_website.rb +42 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/get_object.rb +0 -0
- data/lib/fog/aws/requests/storage/get_object_acl.rb +77 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/get_object_http_url.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/get_object_https_url.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/get_object_torrent.rb +0 -0
- data/lib/fog/aws/requests/storage/get_object_url.rb +37 -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/hash_to_acl.rb +44 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/head_object.rb +0 -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/{storage/requests/aws → aws/requests/storage}/post_object_hidden_fields.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_bucket.rb +0 -0
- data/lib/fog/aws/requests/storage/put_bucket_acl.rb +73 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_bucket_logging.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_bucket_policy.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_bucket_versioning.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_bucket_website.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_object.rb +0 -0
- data/lib/fog/aws/requests/storage/put_object_acl.rb +82 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_object_url.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/put_request_payment.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/sync_clock.rb +0 -0
- data/lib/fog/{storage/requests/aws → aws/requests/storage}/upload_part.rb +0 -0
- data/lib/fog/aws/ses.rb +8 -4
- data/lib/fog/aws/simpledb.rb +8 -4
- data/lib/fog/aws/sns.rb +8 -4
- data/lib/fog/aws/sqs.rb +38 -4
- data/lib/fog/aws/storage.rb +378 -0
- data/lib/fog/bin.rb +6 -2
- data/lib/fog/bin/aws.rb +8 -4
- data/lib/fog/bin/bluebox.rb +2 -2
- data/lib/fog/bin/brightbox.rb +1 -1
- data/lib/fog/bin/dnsimple.rb +1 -1
- data/lib/fog/bin/dnsmadeeasy.rb +1 -1
- data/lib/fog/bin/ecloud.rb +1 -1
- data/lib/fog/bin/glesys.rb +31 -0
- data/lib/fog/bin/go_grid.rb +1 -1
- data/lib/fog/bin/google.rb +1 -1
- data/lib/fog/bin/libvirt.rb +60 -0
- data/lib/fog/bin/linode.rb +2 -2
- data/lib/fog/bin/local.rb +1 -1
- data/lib/fog/bin/new_servers.rb +1 -1
- data/lib/fog/bin/ninefold.rb +2 -2
- data/lib/fog/bin/openstack.rb +31 -0
- data/lib/fog/bin/rackspace.rb +6 -4
- data/lib/fog/bin/slicehost.rb +2 -2
- data/lib/fog/bin/stormondemand.rb +1 -1
- data/lib/fog/bin/virtual_box.rb +1 -1
- data/lib/fog/bin/vmfusion.rb +60 -0
- data/lib/fog/bin/voxel.rb +1 -1
- data/lib/fog/bin/vsphere.rb +30 -0
- data/lib/fog/bin/zerigo.rb +1 -1
- data/lib/fog/bluebox.rb +12 -0
- data/lib/fog/bluebox/compute.rb +101 -0
- data/lib/fog/bluebox/dns.rb +104 -0
- data/lib/fog/{compute/models/bluebox → bluebox/models/compute}/flavor.rb +0 -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/server.rb +132 -0
- data/lib/fog/bluebox/models/compute/servers.rb +36 -0
- data/lib/fog/{dns/models/bluebox → bluebox/models/dns}/record.rb +0 -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/{dns/parsers/bluebox → bluebox/parsers/dns}/create_record.rb +0 -0
- data/lib/fog/{dns/parsers/bluebox → bluebox/parsers/dns}/create_zone.rb +0 -0
- data/lib/fog/{dns/parsers/bluebox → bluebox/parsers/dns}/get_record.rb +0 -0
- data/lib/fog/{dns/parsers/bluebox → bluebox/parsers/dns}/get_records.rb +0 -0
- data/lib/fog/{dns/parsers/bluebox → bluebox/parsers/dns}/get_zone.rb +0 -0
- data/lib/fog/{dns/parsers/bluebox → bluebox/parsers/dns}/get_zones.rb +0 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/create_block.rb +0 -0
- data/lib/fog/bluebox/requests/compute/create_template.rb +27 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/destroy_block.rb +0 -0
- data/lib/fog/bluebox/requests/compute/destroy_template.rb +26 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/get_block.rb +0 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/get_blocks.rb +0 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/get_product.rb +0 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/get_products.rb +0 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/get_template.rb +0 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/get_templates.rb +0 -0
- data/lib/fog/{compute/requests/bluebox → bluebox/requests/compute}/reboot_block.rb +0 -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/{dns/requests/bluebox → bluebox/requests/dns}/delete_record.rb +0 -0
- data/lib/fog/{dns/requests/bluebox → bluebox/requests/dns}/delete_zone.rb +0 -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/{dns/requests/bluebox → bluebox/requests/dns}/update_record.rb +0 -0
- data/lib/fog/{dns/requests/bluebox → bluebox/requests/dns}/update_zone.rb +0 -0
- data/lib/fog/brightbox.rb +10 -0
- data/lib/fog/brightbox/compute.rb +180 -0
- data/lib/fog/brightbox/models/compute/account.rb +63 -0
- data/lib/fog/brightbox/models/compute/cloud_ip.rb +49 -0
- data/lib/fog/brightbox/models/compute/cloud_ips.rb +34 -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 +63 -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 +121 -0
- data/lib/fog/brightbox/models/compute/server_group.rb +57 -0
- data/lib/fog/brightbox/models/compute/server_groups.rb +29 -0
- data/lib/fog/brightbox/models/compute/servers.rb +29 -0
- data/lib/fog/brightbox/models/compute/user.rb +43 -0
- data/lib/fog/brightbox/models/compute/users.rb +29 -0
- data/lib/fog/brightbox/models/compute/zone.rb +22 -0
- data/lib/fog/brightbox/models/compute/zones.rb +29 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/activate_console_server.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/add_listeners_load_balancer.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/add_nodes_load_balancer.rb +0 -0
- data/lib/fog/brightbox/requests/compute/add_servers_server_group.rb +28 -0
- data/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb +14 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/create_api_client.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/create_cloud_ip.rb +0 -0
- data/lib/fog/brightbox/requests/compute/create_firewall_policy.rb +13 -0
- data/lib/fog/brightbox/requests/compute/create_firewall_rule.rb +13 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/create_image.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/create_load_balancer.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/create_server.rb +0 -0
- data/lib/fog/brightbox/requests/compute/create_server_group.rb +13 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/destroy_api_client.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/destroy_cloud_ip.rb +0 -0
- data/lib/fog/brightbox/requests/compute/destroy_firewall_policy.rb +14 -0
- data/lib/fog/brightbox/requests/compute/destroy_firewall_rule.rb +14 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/destroy_image.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/destroy_load_balancer.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/destroy_server.rb +0 -0
- data/lib/fog/brightbox/requests/compute/destroy_server_group.rb +14 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_account.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_api_client.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_cloud_ip.rb +0 -0
- data/lib/fog/brightbox/requests/compute/get_firewall_policy.rb +14 -0
- data/lib/fog/brightbox/requests/compute/get_firewall_rule.rb +14 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_image.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_interface.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_load_balancer.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_server.rb +0 -0
- data/lib/fog/brightbox/requests/compute/get_server_group.rb +14 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_server_type.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_user.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/get_zone.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_api_clients.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_cloud_ips.rb +0 -0
- data/lib/fog/brightbox/requests/compute/list_firewall_policies.rb +13 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_images.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_load_balancers.rb +0 -0
- data/lib/fog/brightbox/requests/compute/list_server_groups.rb +13 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_server_types.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_servers.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_users.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/list_zones.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/map_cloud_ip.rb +0 -0
- data/lib/fog/brightbox/requests/compute/move_servers_server_group.rb +29 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/remove_listeners_load_balancer.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/remove_nodes_load_balancer.rb +0 -0
- data/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb +27 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/reset_ftp_password_account.rb +0 -0
- data/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb +14 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/resize_server.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/shutdown_server.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/snapshot_server.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/start_server.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/stop_server.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/unmap_cloud_ip.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/update_account.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/update_api_client.rb +0 -0
- data/lib/fog/brightbox/requests/compute/update_cloud_ip.rb +15 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/update_image.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/update_load_balancer.rb +0 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/update_server.rb +0 -0
- data/lib/fog/brightbox/requests/compute/update_server_group.rb +15 -0
- data/lib/fog/{compute/requests/brightbox → brightbox/requests/compute}/update_user.rb +0 -0
- data/lib/fog/cdn.rb +2 -2
- data/lib/fog/compute.rb +29 -14
- data/lib/fog/core.rb +2 -0
- data/lib/fog/core/collection.rb +5 -0
- data/lib/fog/core/credentials.rb +6 -1
- data/lib/fog/core/current_machine.rb +38 -0
- data/lib/fog/core/deprecation.rb +2 -2
- data/lib/fog/core/errors.rb +12 -1
- data/lib/fog/core/logger.rb +38 -0
- data/lib/fog/core/provider.rb +14 -4
- data/lib/fog/core/service.rb +21 -0
- data/lib/fog/dns.rb +11 -8
- data/lib/fog/dnsimple.rb +11 -0
- data/lib/fog/dnsimple/dns.rb +97 -0
- data/lib/fog/{dns/models/dnsimple → dnsimple/models/dns}/record.rb +0 -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/{dns/requests/dnsimple → dnsimple/requests/dns}/create_domain.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/create_record.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/delete_domain.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/delete_record.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/get_domain.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/get_record.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/list_domains.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/list_records.rb +0 -0
- data/lib/fog/{dns/requests/dnsimple → dnsimple/requests/dns}/update_record.rb +0 -0
- data/lib/fog/dnsmadeeasy.rb +11 -0
- data/lib/fog/dnsmadeeasy/dns.rb +136 -0
- data/lib/fog/{dns/models/dnsmadeeasy → dnsmadeeasy/models/dns}/record.rb +0 -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/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/create_domain.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/create_record.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/create_secondary.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/delete_all_domains.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/delete_all_secondary.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/delete_domain.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/delete_record.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/delete_secondary.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/get_domain.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/get_record.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/get_secondary.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/list_domains.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/list_records.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/list_secondary.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/update_record.rb +0 -0
- data/lib/fog/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/update_secondary.rb +0 -0
- data/lib/fog/dynect.rb +26 -0
- data/lib/fog/dynect/dns.rb +110 -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 +55 -0
- data/lib/fog/dynect/requests/dns/delete_zone.rb +42 -0
- data/lib/fog/dynect/requests/dns/get_node_list.rb +54 -0
- data/lib/fog/dynect/requests/dns/get_record.rb +83 -0
- data/lib/fog/dynect/requests/dns/get_zone.rb +57 -0
- data/lib/fog/dynect/requests/dns/post_record.rb +72 -0
- data/lib/fog/dynect/requests/dns/post_session.rb +43 -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 +11 -0
- data/lib/fog/ecloud/compute.rb +1311 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/backup_internet_service.rb +0 -0
- data/lib/fog/ecloud/models/compute/backup_internet_services.rb +33 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/catalog.rb +0 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/catalog_item.rb +0 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/firewall_acl.rb +0 -0
- data/lib/fog/ecloud/models/compute/firewall_acls.rb +31 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/internet_service.rb +0 -0
- data/lib/fog/ecloud/models/compute/internet_services.rb +33 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/ip.rb +0 -0
- data/lib/fog/ecloud/models/compute/ips.rb +32 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/network.rb +0 -0
- data/lib/fog/ecloud/models/compute/networks.rb +33 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/node.rb +0 -0
- data/lib/fog/ecloud/models/compute/nodes.rb +31 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/public_ip.rb +0 -0
- data/lib/fog/ecloud/models/compute/public_ips.rb +36 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/server.rb +0 -0
- data/lib/fog/ecloud/models/compute/servers.rb +57 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/task.rb +0 -0
- data/lib/fog/ecloud/models/compute/tasks.rb +31 -0
- data/lib/fog/{compute/models/ecloud → ecloud/models/compute}/vdc.rb +0 -0
- data/lib/fog/ecloud/models/compute/vdcs.rb +40 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/add_backup_internet_service.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/add_internet_service.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/add_node.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/clone_vapp.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/configure_internet_service.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/configure_network.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/configure_network_ip.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/configure_node.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/configure_vapp.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/delete_internet_service.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/delete_node.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/delete_vapp.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_catalog.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_catalog_item.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_customization_options.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_firewall_acl.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_firewall_acls.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_internet_services.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_network.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_network_extensions.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_network_ip.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_network_ips.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_node.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_nodes.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_organization.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_public_ip.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_public_ips.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_task.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_task_list.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_vapp.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_vapp_template.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_vdc.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/get_versions.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/instantiate_vapp_template.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/login.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/power_off.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/power_on.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/power_reset.rb +0 -0
- data/lib/fog/{compute/requests/ecloud → ecloud/requests/compute}/power_shutdown.rb +0 -0
- data/lib/fog/glesys.rb +11 -0
- data/lib/fog/glesys/compute.rb +128 -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 +71 -0
- data/lib/fog/glesys/models/compute/servers.rb +34 -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/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 +117 -0
- data/lib/fog/{compute/models/go_grid → go_grid/models/compute}/image.rb +0 -0
- data/lib/fog/go_grid/models/compute/images.rb +33 -0
- data/lib/fog/{compute/models/go_grid → go_grid/models/compute}/password.rb +0 -0
- data/lib/fog/go_grid/models/compute/passwords.rb +36 -0
- data/lib/fog/{compute/models/go_grid → go_grid/models/compute}/server.rb +0 -0
- data/lib/fog/go_grid/models/compute/servers.rb +36 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/common_lookup_list.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_image_get.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_image_list.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_ip_list.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_loadbalancer_list.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_server_add.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_server_delete.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_server_get.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_server_list.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/grid_server_power.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/support_password_get.rb +0 -0
- data/lib/fog/{compute/requests/go_grid → go_grid/requests/compute}/support_password_list.rb +0 -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 +141 -0
- data/lib/fog/google/models/storage/files.rb +103 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/access_control_list.rb +0 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/copy_object.rb +0 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/get_bucket.rb +0 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/get_bucket_logging.rb +0 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/get_bucket_object_versions.rb +0 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/get_bucket_versioning.rb +0 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/get_request_payment.rb +0 -0
- data/lib/fog/{storage/parsers/google → google/parsers/storage}/get_service.rb +0 -0
- data/lib/fog/google/requests/storage/copy_object.rb +72 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/delete_bucket.rb +0 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/delete_object.rb +0 -0
- data/lib/fog/google/requests/storage/get_bucket.rb +111 -0
- data/lib/fog/google/requests/storage/get_bucket_acl.rb +63 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/get_object.rb +0 -0
- data/lib/fog/google/requests/storage/get_object_acl.rb +74 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/get_object_http_url.rb +0 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/get_object_https_url.rb +0 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/get_object_torrent.rb +0 -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/{storage/requests/google → google/requests/storage}/head_object.rb +0 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/put_bucket.rb +0 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/put_bucket_acl.rb +0 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/put_object.rb +0 -0
- data/lib/fog/{storage/requests/google → google/requests/storage}/put_object_url.rb +0 -0
- data/lib/fog/google/storage.rb +271 -0
- data/lib/fog/libvirt.rb +11 -0
- data/lib/fog/libvirt/compute.rb +104 -0
- data/lib/fog/libvirt/models/compute/README.md +76 -0
- data/lib/fog/libvirt/models/compute/interface.rb +48 -0
- data/lib/fog/libvirt/models/compute/interfaces.rb +62 -0
- data/lib/fog/libvirt/models/compute/network.rb +65 -0
- data/lib/fog/libvirt/models/compute/networks.rb +61 -0
- data/lib/fog/libvirt/models/compute/node.rb +45 -0
- data/lib/fog/libvirt/models/compute/nodes.rb +40 -0
- data/lib/fog/libvirt/models/compute/pool.rb +200 -0
- data/lib/fog/libvirt/models/compute/pools.rb +60 -0
- data/lib/fog/libvirt/models/compute/server.rb +532 -0
- data/lib/fog/libvirt/models/compute/servers.rb +78 -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 +57 -0
- data/lib/fog/libvirt/models/compute/templates/volume.xml.erb +14 -0
- data/lib/fog/libvirt/models/compute/uri.rb +142 -0
- data/lib/fog/libvirt/models/compute/util.rb +25 -0
- data/lib/fog/libvirt/models/compute/volume.rb +176 -0
- data/lib/fog/libvirt/models/compute/volumes.rb +87 -0
- data/lib/fog/linode.rb +10 -0
- data/lib/fog/linode/compute.rb +119 -0
- data/lib/fog/linode/dns.rb +94 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/data_center.rb +0 -0
- data/lib/fog/linode/models/compute/data_centers.rb +26 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/disk.rb +0 -0
- data/lib/fog/linode/models/compute/disks.rb +40 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/flavor.rb +0 -0
- data/lib/fog/linode/models/compute/flavors.rb +32 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/image.rb +0 -0
- data/lib/fog/linode/models/compute/images.rb +33 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/ip.rb +0 -0
- data/lib/fog/linode/models/compute/ips.rb +40 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/kernel.rb +0 -0
- data/lib/fog/linode/models/compute/kernels.rb +32 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/server.rb +0 -0
- data/lib/fog/linode/models/compute/servers.rb +32 -0
- data/lib/fog/{compute/models/linode → linode/models/compute}/stack_script.rb +0 -0
- data/lib/fog/linode/models/compute/stack_scripts.rb +32 -0
- data/lib/fog/{dns/models/linode → linode/models/dns}/record.rb +0 -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/{compute/requests/linode → linode/requests/compute}/avail_datacenters.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/avail_distributions.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/avail_kernels.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/avail_linodeplans.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/avail_stackscripts.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_boot.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_config_create.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_config_list.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_create.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_delete.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_disk_create.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_disk_createfromdistribution.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_disk_createfromstackscript.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_disk_delete.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_disk_list.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_ip_addprivate.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_ip_list.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_list.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_reboot.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_shutdown.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/linode_update.rb +0 -0
- data/lib/fog/{compute/requests/linode → linode/requests/compute}/stackscript_list.rb +0 -0
- data/lib/fog/linode/requests/dns/domain_create.rb +43 -0
- data/lib/fog/{dns/requests/linode → linode/requests/dns}/domain_delete.rb +0 -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/{dns/requests/linode → linode/requests/dns}/domain_resource_delete.rb +0 -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/{storage/models/local → local/models/storage}/file.rb +0 -0
- data/lib/fog/local/models/storage/files.rb +87 -0
- data/lib/fog/local/storage.rb +71 -0
- data/lib/fog/new_servers.rb +11 -0
- data/lib/fog/new_servers/compute.rb +98 -0
- data/lib/fog/{compute/requests/new_servers → new_servers/requests/compute}/add_server.rb +0 -0
- data/lib/fog/{compute/requests/new_servers → new_servers/requests/compute}/cancel_server.rb +0 -0
- data/lib/fog/{compute/requests/new_servers → new_servers/requests/compute}/get_server.rb +0 -0
- data/lib/fog/{compute/requests/new_servers → new_servers/requests/compute}/list_images.rb +0 -0
- data/lib/fog/{compute/requests/new_servers → new_servers/requests/compute}/list_plans.rb +0 -0
- data/lib/fog/{compute/requests/new_servers → new_servers/requests/compute}/list_servers.rb +0 -0
- data/lib/fog/{compute/requests/new_servers → new_servers/requests/compute}/reboot_server.rb +0 -0
- data/lib/fog/ninefold.rb +12 -0
- data/lib/fog/ninefold/compute.rb +143 -0
- data/lib/fog/{compute/models/ninefold → ninefold/models/compute}/address.rb +0 -0
- data/lib/fog/ninefold/models/compute/addresses.rb +31 -0
- data/lib/fog/{compute/models/ninefold → ninefold/models/compute}/flavor.rb +0 -0
- data/lib/fog/ninefold/models/compute/flavors.rb +30 -0
- data/lib/fog/{compute/models/ninefold → ninefold/models/compute}/image.rb +0 -0
- data/lib/fog/ninefold/models/compute/images.rb +30 -0
- data/lib/fog/{compute/models/ninefold → ninefold/models/compute}/ip_forwarding_rule.rb +0 -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/models/storage/directories.rb +48 -0
- data/lib/fog/{storage/models/ninefold → ninefold/models/storage}/directory.rb +0 -0
- data/lib/fog/{storage/models/ninefold → ninefold/models/storage}/file.rb +0 -0
- data/lib/fog/ninefold/models/storage/files.rb +72 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/associate_ip_address.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/change_service_for_virtual_machine.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/create_ip_forwarding_rule.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/delete_ip_forwarding_rule.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/deploy_virtual_machine.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/destroy_virtual_machine.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/disable_static_nat.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/disassociate_ip_address.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/enable_static_nat.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_accounts.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_async_jobs.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_capabilities.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_disk_offerings.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_events.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_hypervisors.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_ip_forwarding_rules.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_network_offerings.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_networks.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_public_ip_addresses.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_resource_limits.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_service_offerings.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_templates.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_virtual_machines.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/list_zones.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/query_async_job_result.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/reboot_virtual_machine.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/reset_password_for_virtual_machine.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/start_virtual_machine.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/stop_virtual_machine.rb +0 -0
- data/lib/fog/{compute/requests/ninefold → ninefold/requests/compute}/update_virtual_machine.rb +0 -0
- data/lib/fog/{storage/requests/ninefold → ninefold/requests/storage}/delete_namespace.rb +0 -0
- data/lib/fog/{storage/requests/ninefold → ninefold/requests/storage}/get_namespace.rb +0 -0
- data/lib/fog/{storage/requests/ninefold → ninefold/requests/storage}/post_namespace.rb +0 -0
- data/lib/fog/{storage/requests/ninefold → ninefold/requests/storage}/put_namespace.rb +0 -0
- data/lib/fog/ninefold/storage.rb +152 -0
- data/lib/fog/openstack.rb +112 -0
- data/lib/fog/openstack/compute.rb +195 -0
- data/lib/fog/openstack/models/compute/flavor.rb +20 -0
- data/lib/fog/openstack/models/compute/flavors.rb +28 -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/meta.rb +29 -0
- data/lib/fog/openstack/models/compute/metadata.rb +69 -0
- data/lib/fog/openstack/models/compute/server.rb +192 -0
- data/lib/fog/openstack/models/compute/servers.rb +36 -0
- data/lib/fog/openstack/models/meta_parent.rb +33 -0
- data/lib/fog/openstack/requests/compute/change_password_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/confirm_resized_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/create_image.rb +49 -0
- data/lib/fog/openstack/requests/compute/create_server.rb +72 -0
- data/lib/fog/openstack/requests/compute/delete_image.rb +40 -0
- data/lib/fog/openstack/requests/compute/delete_meta.rb +28 -0
- data/lib/fog/openstack/requests/compute/delete_server.rb +38 -0
- data/lib/fog/openstack/requests/compute/get_flavor_details.rb +43 -0
- data/lib/fog/openstack/requests/compute/get_image_details.rb +33 -0
- data/lib/fog/openstack/requests/compute/get_meta.rb +29 -0
- data/lib/fog/openstack/requests/compute/get_server_details.rb +32 -0
- data/lib/fog/openstack/requests/compute/list_addresses.rb +32 -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_images.rb +33 -0
- data/lib/fog/openstack/requests/compute/list_images_detail.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_servers.rb +33 -0
- data/lib/fog/openstack/requests/compute/list_servers_detail.rb +39 -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/resize_server.rb +24 -0
- data/lib/fog/openstack/requests/compute/revert_resized_server.rb +30 -0
- data/lib/fog/openstack/requests/compute/server_action.rb +18 -0
- data/lib/fog/openstack/requests/compute/set_metadata.rb +45 -0
- data/lib/fog/openstack/requests/compute/update_meta.rb +45 -0
- data/lib/fog/openstack/requests/compute/update_metadata.rb +46 -0
- data/lib/fog/openstack/requests/compute/update_server.rb +35 -0
- data/lib/fog/providers.rb +25 -28
- data/lib/fog/rackspace.rb +81 -0
- data/lib/fog/rackspace/cdn.rb +101 -0
- data/lib/fog/rackspace/compute.rb +158 -0
- data/lib/fog/rackspace/dns.rb +132 -0
- data/lib/fog/rackspace/load_balancers.rb +14 -38
- data/lib/fog/{compute/models/rackspace → rackspace/models/compute}/flavor.rb +0 -0
- data/lib/fog/rackspace/models/compute/flavors.rb +28 -0
- data/lib/fog/{compute/models/rackspace → rackspace/models/compute}/image.rb +0 -0
- data/lib/fog/rackspace/models/compute/images.rb +33 -0
- data/lib/fog/{compute/models/rackspace → rackspace/models/compute}/server.rb +0 -0
- data/lib/fog/rackspace/models/compute/servers.rb +36 -0
- data/lib/fog/rackspace/models/dns/callback.rb +28 -0
- data/lib/fog/rackspace/models/dns/record.rb +78 -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/storage/directories.rb +43 -0
- data/lib/fog/rackspace/models/storage/directory.rb +76 -0
- data/lib/fog/{storage/models/rackspace → rackspace/models/storage}/file.rb +0 -0
- data/lib/fog/rackspace/models/storage/files.rb +94 -0
- data/lib/fog/{cdn/requests/rackspace → rackspace/requests/cdn}/get_containers.rb +0 -0
- data/lib/fog/{cdn/requests/rackspace → rackspace/requests/cdn}/head_container.rb +0 -0
- data/lib/fog/{cdn/requests/rackspace → rackspace/requests/cdn}/post_container.rb +0 -0
- data/lib/fog/{cdn/requests/rackspace → rackspace/requests/cdn}/put_container.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/confirm_resized_server.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/create_image.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/create_server.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/delete_image.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/delete_server.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/get_flavor_details.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/get_image_details.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/get_server_details.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_addresses.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_flavors.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_flavors_detail.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_images.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_images_detail.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_private_addresses.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_public_addresses.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_servers.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/list_servers_detail.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/reboot_server.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/resize_server.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/revert_resized_server.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/server_action.rb +0 -0
- data/lib/fog/{compute/requests/rackspace → rackspace/requests/compute}/update_server.rb +0 -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/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/{storage/requests/rackspace → rackspace/requests/storage}/get_containers.rb +0 -0
- data/lib/fog/rackspace/requests/storage/get_object.rb +24 -0
- data/lib/fog/rackspace/requests/storage/head_container.rb +28 -0
- data/lib/fog/{storage/requests/rackspace → rackspace/requests/storage}/head_containers.rb +0 -0
- data/lib/fog/rackspace/requests/storage/head_object.rb +23 -0
- data/lib/fog/rackspace/requests/storage/put_container.rb +22 -0
- data/lib/fog/rackspace/requests/storage/put_object.rb +29 -0
- data/lib/fog/rackspace/requests/storage/put_object_manifest.rb +25 -0
- data/lib/fog/rackspace/storage.rb +131 -0
- data/lib/fog/slicehost.rb +12 -0
- data/lib/fog/slicehost/compute.rb +104 -0
- data/lib/fog/slicehost/dns.rb +100 -0
- data/lib/fog/{compute/models/slicehost → slicehost/models/compute}/flavor.rb +0 -0
- data/lib/fog/slicehost/models/compute/flavors.rb +28 -0
- data/lib/fog/{compute/models/slicehost → slicehost/models/compute}/image.rb +0 -0
- data/lib/fog/slicehost/models/compute/images.rb +27 -0
- data/lib/fog/{compute/models/slicehost → slicehost/models/compute}/server.rb +0 -0
- data/lib/fog/slicehost/models/compute/servers.rb +38 -0
- data/lib/fog/{dns/models/slicehost → slicehost/models/dns}/record.rb +0 -0
- data/lib/fog/slicehost/models/dns/records.rb +36 -0
- data/lib/fog/slicehost/models/dns/zone.rb +69 -0
- data/lib/fog/slicehost/models/dns/zones.rb +28 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/create_slice.rb +0 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/get_backups.rb +0 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/get_flavor.rb +0 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/get_flavors.rb +0 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/get_image.rb +0 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/get_images.rb +0 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/get_slice.rb +0 -0
- data/lib/fog/{compute/parsers/slicehost → slicehost/parsers/compute}/get_slices.rb +0 -0
- data/lib/fog/{dns/parsers/slicehost → slicehost/parsers/dns}/create_record.rb +0 -0
- data/lib/fog/{dns/parsers/slicehost → slicehost/parsers/dns}/create_zone.rb +0 -0
- data/lib/fog/{dns/parsers/slicehost → slicehost/parsers/dns}/get_record.rb +0 -0
- data/lib/fog/{dns/parsers/slicehost → slicehost/parsers/dns}/get_records.rb +0 -0
- data/lib/fog/{dns/parsers/slicehost → slicehost/parsers/dns}/get_zone.rb +0 -0
- data/lib/fog/{dns/parsers/slicehost → slicehost/parsers/dns}/get_zones.rb +0 -0
- data/lib/fog/slicehost/requests/compute/create_slice.rb +41 -0
- data/lib/fog/{compute/requests/slicehost → slicehost/requests/compute}/delete_slice.rb +0 -0
- data/lib/fog/slicehost/requests/compute/get_backups.rb +29 -0
- data/lib/fog/slicehost/requests/compute/get_flavor.rb +32 -0
- data/lib/fog/slicehost/requests/compute/get_flavors.rb +29 -0
- data/lib/fog/slicehost/requests/compute/get_image.rb +30 -0
- data/lib/fog/slicehost/requests/compute/get_images.rb +27 -0
- data/lib/fog/slicehost/requests/compute/get_slice.rb +38 -0
- data/lib/fog/slicehost/requests/compute/get_slices.rb +35 -0
- data/lib/fog/{compute/requests/slicehost → slicehost/requests/compute}/reboot_slice.rb +0 -0
- data/lib/fog/slicehost/requests/dns/create_record.rb +52 -0
- data/lib/fog/slicehost/requests/dns/create_zone.rb +46 -0
- data/lib/fog/{dns/requests/slicehost → slicehost/requests/dns}/delete_record.rb +0 -0
- data/lib/fog/{dns/requests/slicehost → slicehost/requests/dns}/delete_zone.rb +0 -0
- data/lib/fog/slicehost/requests/dns/get_record.rb +32 -0
- data/lib/fog/slicehost/requests/dns/get_records.rb +33 -0
- data/lib/fog/slicehost/requests/dns/get_zone.rb +32 -0
- data/lib/fog/slicehost/requests/dns/get_zones.rb +30 -0
- data/lib/fog/storage.rb +5 -5
- data/lib/fog/storm_on_demand.rb +12 -0
- data/lib/fog/storm_on_demand/compute.rb +137 -0
- data/lib/fog/{compute/models/storm_on_demand → storm_on_demand/models/compute}/balancer.rb +0 -0
- data/lib/fog/storm_on_demand/models/compute/balancers.rb +21 -0
- data/lib/fog/{compute/models/storm_on_demand → storm_on_demand/models/compute}/config.rb +0 -0
- data/lib/fog/storm_on_demand/models/compute/configs.rb +22 -0
- data/lib/fog/{compute/models/storm_on_demand → storm_on_demand/models/compute}/image.rb +0 -0
- data/lib/fog/storm_on_demand/models/compute/images.rb +21 -0
- data/lib/fog/{compute/models/storm_on_demand → storm_on_demand/models/compute}/private_ip.rb +0 -0
- data/lib/fog/storm_on_demand/models/compute/private_ips.rb +31 -0
- data/lib/fog/{compute/models/storm_on_demand → storm_on_demand/models/compute}/server.rb +0 -0
- data/lib/fog/storm_on_demand/models/compute/servers.rb +26 -0
- data/lib/fog/{compute/models/storm_on_demand → storm_on_demand/models/compute}/stat.rb +0 -0
- data/lib/fog/storm_on_demand/models/compute/stats.rb +22 -0
- data/lib/fog/{compute/models/storm_on_demand → storm_on_demand/models/compute}/template.rb +0 -0
- data/lib/fog/storm_on_demand/models/compute/templates.rb +21 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/add_balancer_node.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/clone_server.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/create_server.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/delete_server.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/get_server.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/get_stats.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/list_balancers.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/list_configs.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/list_images.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/list_private_ips.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/list_servers.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/list_templates.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/reboot_server.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/remove_balancer_node.rb +0 -0
- data/lib/fog/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/resize_server.rb +0 -0
- data/lib/fog/terremark.rb +1 -1
- data/lib/fog/terremark/vcloud.rb +8 -9
- data/lib/fog/vcloud.rb +11 -0
- data/lib/fog/vcloud/compute.rb +311 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/catalog.rb +0 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/catalog_item.rb +0 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/catalog_items.rb +0 -0
- data/lib/fog/vcloud/models/compute/catalogs.rb +41 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/ip.rb +0 -0
- data/lib/fog/vcloud/models/compute/ips.rb +33 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/network.rb +0 -0
- data/lib/fog/vcloud/models/compute/networks.rb +34 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/server.rb +0 -0
- data/lib/fog/vcloud/models/compute/servers.rb +58 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/task.rb +0 -0
- data/lib/fog/vcloud/models/compute/tasks.rb +32 -0
- data/lib/fog/{compute/models/vcloud → vcloud/models/compute}/vdc.rb +0 -0
- data/lib/fog/vcloud/models/compute/vdcs.rb +40 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/clone_vapp.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_network.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_network_ip.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_node.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_vapp.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_vm.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_vm_disks.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_vm_memory.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/configure_vm_name_description.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/delete_node.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/delete_vapp.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_catalog.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_catalog_item.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_customization_options.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_network.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_network_extensions.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_network_ip.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_network_ips.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_organization.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_task.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_task_list.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_vapp.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_vapp_template.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_vdc.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_vm_disks.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/get_vm_memory.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/instantiate_vapp_template.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/login.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/power_off.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/power_on.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/power_reset.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/power_shutdown.rb +0 -0
- data/lib/fog/{compute/requests/vcloud → vcloud/requests/compute}/undeploy.rb +0 -0
- data/lib/fog/virtual_box.rb +11 -0
- data/lib/fog/virtual_box/compute.rb +49 -0
- data/lib/fog/virtual_box/models/compute/medium.rb +87 -0
- data/lib/fog/{compute/models/virtual_box → virtual_box/models/compute}/medium_format.rb +0 -0
- data/lib/fog/virtual_box/models/compute/mediums.rb +32 -0
- data/lib/fog/{compute/models/virtual_box → virtual_box/models/compute}/nat_engine.rb +0 -0
- data/lib/fog/{compute/models/virtual_box → virtual_box/models/compute}/nat_redirect.rb +0 -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/{compute/models/virtual_box → virtual_box/models/compute}/server.rb +0 -0
- data/lib/fog/virtual_box/models/compute/servers.rb +41 -0
- data/lib/fog/{compute/models/virtual_box → virtual_box/models/compute}/storage_controller.rb +0 -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 +223 -0
- data/lib/fog/vmfusion/models/compute/servers.rb +37 -0
- data/lib/fog/voxel.rb +16 -0
- data/lib/fog/voxel/compute.rb +125 -0
- data/lib/fog/{compute/models/voxel → voxel/models/compute}/image.rb +0 -0
- data/lib/fog/voxel/models/compute/images.rb +30 -0
- data/lib/fog/{compute/models/voxel → voxel/models/compute}/server.rb +0 -0
- data/lib/fog/voxel/models/compute/servers.rb +32 -0
- data/lib/fog/{compute/parsers/voxel → voxel/parsers/compute}/basic.rb +0 -0
- data/lib/fog/{compute/parsers/voxel → voxel/parsers/compute}/devices_list.rb +0 -0
- data/lib/fog/{compute/parsers/voxel → voxel/parsers/compute}/images_list.rb +0 -0
- data/lib/fog/{compute/parsers/voxel → voxel/parsers/compute}/voxcloud_create.rb +0 -0
- data/lib/fog/{compute/parsers/voxel → voxel/parsers/compute}/voxcloud_delete.rb +0 -0
- data/lib/fog/{compute/parsers/voxel → voxel/parsers/compute}/voxcloud_status.rb +0 -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 +158 -0
- data/lib/fog/vsphere/models/compute/server.rb +63 -0
- data/lib/fog/vsphere/models/compute/servers.rb +37 -0
- data/lib/fog/vsphere/requests/compute/current_time.rb +22 -0
- data/lib/fog/vsphere/requests/compute/find_vm_by_ref.rb +41 -0
- data/lib/fog/vsphere/requests/compute/list_virtual_machines.rb +163 -0
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +97 -0
- data/lib/fog/vsphere/requests/compute/vm_destroy.rb +34 -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/zerigo.rb +11 -0
- data/lib/fog/zerigo/dns.rb +109 -0
- data/lib/fog/{dns/models/zerigo → zerigo/models/dns}/record.rb +0 -0
- data/lib/fog/zerigo/models/dns/records.rb +41 -0
- data/lib/fog/zerigo/models/dns/zone.rb +88 -0
- data/lib/fog/zerigo/models/dns/zones.rb +30 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/count_hosts.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/count_zones.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/create_host.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/create_zone.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/find_hosts.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/get_host.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/get_zone.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/get_zone_stats.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/list_hosts.rb +0 -0
- data/lib/fog/{dns/parsers/zerigo → zerigo/parsers/dns}/list_zones.rb +0 -0
- data/lib/fog/zerigo/requests/dns/count_hosts.rb +28 -0
- data/lib/fog/zerigo/requests/dns/count_zones.rb +28 -0
- data/lib/fog/zerigo/requests/dns/create_host.rb +62 -0
- data/lib/fog/zerigo/requests/dns/create_zone.rb +89 -0
- data/lib/fog/{dns/requests/zerigo → zerigo/requests/dns}/delete_host.rb +0 -0
- data/lib/fog/{dns/requests/zerigo → zerigo/requests/dns}/delete_zone.rb +0 -0
- data/lib/fog/zerigo/requests/dns/find_hosts.rb +55 -0
- data/lib/fog/zerigo/requests/dns/get_host.rb +39 -0
- data/lib/fog/zerigo/requests/dns/get_zone.rb +49 -0
- data/lib/fog/zerigo/requests/dns/get_zone_stats.rb +36 -0
- data/lib/fog/zerigo/requests/dns/list_hosts.rb +40 -0
- data/lib/fog/zerigo/requests/dns/list_zones.rb +45 -0
- data/lib/fog/{dns/requests/zerigo → zerigo/requests/dns}/update_host.rb +0 -0
- data/lib/fog/{dns/requests/zerigo → zerigo/requests/dns}/update_zone.rb +0 -0
- data/spec/core/current_machine_spec.rb +22 -0
- data/tests/aws/models/auto_scaling/activities_tests.rb +1 -1
- data/tests/aws/models/auto_scaling/configuration_test.rb +1 -1
- data/tests/aws/models/auto_scaling/configurations_tests.rb +1 -1
- data/tests/aws/models/auto_scaling/instances_tests.rb +1 -1
- data/tests/aws/models/cloud_watch/metric_statistics_tests.rb +4 -4
- data/tests/aws/models/cloud_watch/metrics_tests.rb +2 -2
- data/tests/{compute/models/aws → aws/models/compute}/address_tests.rb +0 -0
- data/tests/{compute/models/aws → aws/models/compute}/addresses_tests.rb +0 -0
- data/tests/{compute/models/aws → aws/models/compute}/key_pair_tests.rb +0 -0
- data/tests/{compute/models/aws → aws/models/compute}/key_pairs_tests.rb +0 -0
- data/tests/aws/models/compute/security_group_tests.rb +32 -0
- data/tests/{compute/models/aws/security_groups.rb → aws/models/compute/security_groups_tests.rb} +0 -0
- data/tests/aws/models/compute/server_tests.rb +63 -0
- data/tests/{compute/models/aws → aws/models/compute}/snapshot_tests.rb +0 -0
- data/tests/{compute/models/aws → aws/models/compute}/snapshots_tests.rb +0 -0
- data/tests/{compute/models/aws → aws/models/compute}/volume_tests.rb +0 -0
- data/tests/{compute/models/aws → aws/models/compute}/volumes_tests.rb +0 -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 +15 -13
- data/tests/aws/models/rds/parameter_group_tests.rb +1 -1
- data/tests/aws/models/rds/parameter_groups_tests.rb +1 -1
- data/tests/aws/models/rds/security_group_tests.rb +1 -1
- data/tests/aws/models/rds/security_groups_tests.rb +1 -1
- data/tests/aws/models/rds/server_tests.rb +5 -5
- data/tests/aws/models/rds/servers_tests.rb +1 -1
- data/tests/aws/models/rds/snapshot_tests.rb +2 -2
- data/tests/aws/models/rds/snapshots_tests.rb +2 -2
- data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +19 -19
- data/tests/aws/requests/auto_scaling/model_tests.rb +11 -11
- data/tests/aws/requests/cloud_formation/stack_tests.rb +7 -7
- data/tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb +1 -1
- data/tests/aws/requests/cloud_watch/list_metrics_test.rb +4 -4
- data/tests/aws/requests/cloud_watch/put_metric_data_tests.rb +4 -4
- data/tests/{compute/requests/aws → aws/requests/compute}/address_tests.rb +0 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/availability_zone_tests.rb +0 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/helper.rb +0 -0
- data/tests/aws/requests/compute/image_tests.rb +76 -0
- data/tests/aws/requests/compute/instance_tests.rb +234 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/key_pair_tests.rb +0 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/placement_group_tests.rb +0 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/region_tests.rb +0 -0
- data/tests/aws/requests/compute/security_group_tests.rb +142 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/snapshot_tests.rb +0 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/spot_datafeed_subscription_tests.rb +0 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/spot_instance_tests.rb +0 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/spot_price_history_tests.rb +0 -0
- data/tests/aws/requests/compute/tag_tests.rb +37 -0
- data/tests/{compute/requests/aws → aws/requests/compute}/volume_tests.rb +0 -0
- data/tests/{dns/requests/aws → aws/requests/dns}/dns_tests.rb +0 -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/listener_tests.rb +9 -9
- data/tests/aws/requests/elb/load_balancer_tests.rb +11 -11
- data/tests/aws/requests/elb/policy_tests.rb +8 -8
- data/tests/aws/requests/iam/access_key_tests.rb +6 -6
- data/tests/aws/requests/iam/group_policy_tests.rb +5 -5
- data/tests/aws/requests/iam/group_tests.rb +3 -3
- data/tests/aws/requests/iam/login_profile_tests.rb +9 -9
- data/tests/aws/requests/iam/server_certificate_tests.rb +19 -11
- data/tests/aws/requests/iam/user_policy_tests.rb +5 -5
- data/tests/aws/requests/iam/user_tests.rb +7 -7
- data/tests/aws/requests/rds/instance_tests.rb +19 -19
- data/tests/aws/requests/rds/parameter_group_tests.rb +12 -12
- data/tests/aws/requests/rds/parameter_request_tests.rb +5 -5
- data/tests/aws/requests/ses/verified_email_address_tests.rb +3 -3
- data/tests/aws/requests/simpledb/attributes_tests.rb +18 -18
- data/tests/aws/requests/simpledb/domain_tests.rb +7 -7
- data/tests/aws/requests/sns/subscription_tests.rb +12 -12
- data/tests/aws/requests/sns/topic_tests.rb +5 -5
- data/tests/aws/requests/sqs/message_tests.rb +6 -12
- data/tests/aws/requests/sqs/queue_tests.rb +5 -10
- data/tests/aws/requests/storage/bucket_tests.rb +204 -0
- data/tests/{storage/requests/aws → aws/requests/storage}/multipart_upload_tests.rb +0 -0
- data/tests/aws/requests/storage/object_tests.rb +117 -0
- data/tests/{compute/requests/bluebox → bluebox/requests/compute}/block_tests.rb +0 -0
- data/tests/{compute/requests/bluebox → bluebox/requests/compute}/helper.rb +0 -0
- data/tests/{compute/requests/bluebox → bluebox/requests/compute}/product_tests.rb +0 -0
- data/tests/{compute/requests/bluebox → bluebox/requests/compute}/template_tests.rb +0 -0
- data/tests/{dns/requests/bluebox → bluebox/requests/dns}/dns_tests.rb +0 -0
- data/tests/brightbox/requests/compute/account_tests.rb +32 -0
- data/tests/brightbox/requests/compute/api_client_tests.rb +53 -0
- data/tests/{compute/requests/brightbox → brightbox/requests/compute}/cloud_ip_tests.rb +0 -0
- data/tests/brightbox/requests/compute/helper.rb +537 -0
- data/tests/{compute/requests/brightbox → brightbox/requests/compute}/image_tests.rb +0 -0
- data/tests/brightbox/requests/compute/interface_tests.rb +30 -0
- data/tests/brightbox/requests/compute/load_balancer_tests.rb +75 -0
- data/tests/brightbox/requests/compute/server_group_tests.rb +89 -0
- data/tests/brightbox/requests/compute/server_tests.rb +75 -0
- data/tests/{compute/requests/brightbox → brightbox/requests/compute}/server_type_tests.rb +0 -0
- data/tests/brightbox/requests/compute/user_tests.rb +41 -0
- data/tests/{compute/requests/brightbox → brightbox/requests/compute}/zone_tests.rb +0 -0
- data/tests/compute/helper.rb +3 -0
- data/tests/compute/models/flavors_tests.rb +1 -1
- data/tests/core/credential_tests.rb +20 -1
- data/tests/dns/helper.rb +6 -0
- data/tests/{dns/requests/dnsimple → dnsimple/requests/dns}/dns_tests.rb +0 -0
- data/tests/{dns/requests/dnsmadeeasy → dnsmadeeasy/requests/dns}/dns_tests.rb +0 -0
- data/tests/dynect/requests/dns/dns_tests.rb +193 -0
- data/tests/glesys/requests/compute/helper.rb +213 -0
- data/tests/glesys/requests/compute/ip_tests.rb +67 -0
- data/tests/glesys/requests/compute/server_tests.rb +87 -0
- data/tests/glesys/requests/compute/template_tests.rb +12 -0
- data/tests/{compute/requests/go_grid → go_grid/requests/compute}/image_tests.rb +0 -0
- data/tests/{storage/requests/google → google/requests/storage}/bucket_tests.rb +0 -0
- data/tests/{storage/requests/google → google/requests/storage}/object_tests.rb +0 -0
- data/tests/helper.rb +2 -2
- data/tests/helpers/collection_helper.rb +5 -0
- data/tests/helpers/compute/server_helper.rb +1 -0
- data/tests/helpers/formats_helper.rb +16 -8
- data/tests/helpers/formats_helper_tests.rb +8 -0
- data/tests/helpers/mock_helper.rb +13 -3
- data/tests/{compute/requests/linode → linode/requests/compute}/datacenter_tests.rb +0 -0
- data/tests/{compute/requests/linode → linode/requests/compute}/distribution_tests.rb +0 -0
- data/tests/{compute/requests/linode → linode/requests/compute}/helper.rb +0 -0
- data/tests/{compute/requests/linode → linode/requests/compute}/kernel_tests.rb +0 -0
- data/tests/{compute/requests/linode → linode/requests/compute}/linode_tests.rb +0 -0
- data/tests/linode/requests/compute/linodeplans_tests.rb +40 -0
- data/tests/{compute/requests/linode → linode/requests/compute}/stackscripts_tests.rb +0 -0
- data/tests/{dns/requests/linode → linode/requests/dns}/dns_tests.rb +0 -0
- data/tests/{storage/models/ninefold → ninefold/models/storage}/file_update_tests.rb +0 -0
- data/tests/{storage/models/ninefold → ninefold/models/storage}/nested_directories_tests.rb +0 -0
- data/tests/{compute/requests/ninefold → ninefold/requests/compute}/address_tests.rb +0 -0
- data/tests/{compute/requests/ninefold → ninefold/requests/compute}/async_job_tests.rb +0 -0
- data/tests/ninefold/requests/compute/helper.rb +317 -0
- data/tests/{compute/requests/ninefold → ninefold/requests/compute}/list_tests.rb +0 -0
- data/tests/{compute/requests/ninefold → ninefold/requests/compute}/nat_tests.rb +0 -0
- data/tests/{compute/requests/ninefold → ninefold/requests/compute}/network_tests.rb +0 -0
- data/tests/{compute/requests/ninefold → ninefold/requests/compute}/template_tests.rb +0 -0
- data/tests/{compute/requests/ninefold → ninefold/requests/compute}/virtual_machine_tests.rb +0 -0
- data/tests/openstack/requests/compute/flavor_tests.rb +35 -0
- data/tests/openstack/requests/compute/helper.rb +17 -0
- data/tests/openstack/requests/compute/image_tests.rb +59 -0
- data/tests/openstack/requests/compute/server_tests.rb +142 -0
- data/tests/{compute/requests/rackspace → rackspace/requests/compute}/address_tests.rb +0 -0
- data/tests/{compute/requests/rackspace → rackspace/requests/compute}/flavor_tests.rb +0 -0
- data/tests/{compute/requests/rackspace → rackspace/requests/compute}/helper.rb +0 -0
- data/tests/{compute/requests/rackspace → rackspace/requests/compute}/image_tests.rb +0 -0
- data/tests/{compute/requests/rackspace → rackspace/requests/compute}/resize_tests.rb +0 -0
- data/tests/{compute/requests/rackspace → rackspace/requests/compute}/server_tests.rb +0 -0
- data/tests/rackspace/requests/dns/dns_tests.rb +119 -0
- data/tests/rackspace/requests/dns/helper.rb +140 -0
- data/tests/rackspace/requests/dns/records_tests.rb +81 -0
- data/tests/rackspace/requests/{access_list_tests.rb → load_balancers/access_list_tests.rb} +0 -0
- data/tests/rackspace/requests/{algorithm_tests.rb → load_balancers/algorithm_tests.rb} +0 -0
- data/tests/rackspace/requests/{connection_logging_tests.rb → load_balancers/connection_logging_tests.rb} +0 -0
- data/tests/rackspace/requests/{connection_throttling_tests.rb → load_balancers/connection_throttling_tests.rb} +0 -0
- data/tests/rackspace/requests/load_balancers/helper.rb +123 -0
- data/tests/rackspace/requests/load_balancers/load_balancer_tests.rb +63 -0
- data/tests/rackspace/requests/{load_balancer_usage_tests.rb → load_balancers/load_balancer_usage_tests.rb} +0 -0
- data/tests/rackspace/requests/{monitor_tests.rb → load_balancers/monitor_tests.rb} +0 -0
- data/tests/rackspace/requests/{node_tests.rb → load_balancers/node_tests.rb} +0 -0
- data/tests/rackspace/requests/{protocol_tests.rb → load_balancers/protocol_tests.rb} +0 -0
- data/tests/rackspace/requests/{session_persistence_tests.rb → load_balancers/session_persistence_tests.rb} +0 -0
- data/tests/rackspace/requests/{usage_tests.rb → load_balancers/usage_tests.rb} +0 -0
- data/tests/rackspace/requests/load_balancers/virtual_ip_tests.rb +40 -0
- data/tests/{storage/requests/rackspace → rackspace/requests/storage}/container_tests.rb +0 -0
- data/tests/{storage/requests/rackspace → rackspace/requests/storage}/large_object_tests.rb +0 -0
- data/tests/{storage/requests/rackspace → rackspace/requests/storage}/object_tests.rb +0 -0
- data/tests/rackspace/url_encoding_tests.rb +3 -0
- data/tests/{compute/requests/slicehost → slicehost/requests/compute}/backup_tests.rb +0 -0
- data/tests/{compute/requests/slicehost → slicehost/requests/compute}/flavor_tests.rb +0 -0
- data/tests/{compute/requests/slicehost → slicehost/requests/compute}/image_tests.rb +0 -0
- data/tests/{compute/requests/slicehost → slicehost/requests/compute}/slice_tests.rb +0 -0
- data/tests/{dns/requests/slicehost → slicehost/requests/dns}/dns_tests.rb +0 -0
- data/tests/storage/models/directory_test.rb +2 -2
- data/tests/{compute/requests/storm_on_demand → storm_on_demand/requests/compute}/server_tests.rb +0 -0
- data/tests/{compute/models/vcloud → vcloud/models/compute}/helper.rb +0 -0
- data/tests/{compute/models/vcloud → vcloud/models/compute}/servers_tests.rb +0 -0
- data/tests/{compute/requests/vcloud → vcloud/requests/compute}/disk_configure_tests.rb +0 -0
- data/tests/{compute/requests/voxel → voxel/requests/compute}/image_tests.rb +0 -0
- data/tests/{compute/requests/voxel → voxel/requests/compute}/server_tests.rb +0 -0
- data/tests/vsphere/compute_tests.rb +47 -0
- data/tests/vsphere/models/compute/server_tests.rb +45 -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/find_vm_by_ref_tests.rb +26 -0
- data/tests/vsphere/requests/compute/list_virtual_machines_tests.rb +46 -0
- data/tests/vsphere/requests/compute/vm_clone_tests.rb +24 -0
- data/tests/vsphere/requests/compute/vm_destroy_tests.rb +17 -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/watchr.rb +22 -0
- data/tests/{dns/requests/zerigo → zerigo/requests/dns}/dns_tests.rb +0 -0
- metadata +1314 -1055
- data/lib/fog/cdn/aws.rb +0 -118
- data/lib/fog/cdn/rackspace.rb +0 -96
- data/lib/fog/cdn/requests/aws/get_distribution.rb +0 -57
- data/lib/fog/cdn/requests/aws/get_distribution_list.rb +0 -59
- data/lib/fog/cdn/requests/aws/get_invalidation_list.rb +0 -42
- data/lib/fog/cdn/requests/aws/get_streaming_distribution.rb +0 -50
- data/lib/fog/cdn/requests/aws/get_streaming_distribution_list.rb +0 -59
- data/lib/fog/cdn/requests/aws/post_distribution.rb +0 -91
- data/lib/fog/cdn/requests/aws/post_invalidation.rb +0 -51
- data/lib/fog/cdn/requests/aws/post_streaming_distribution.rb +0 -78
- data/lib/fog/cdn/requests/aws/put_distribution_config.rb +0 -94
- data/lib/fog/cdn/requests/aws/put_streaming_distribution_config.rb +0 -83
- data/lib/fog/compute/aws.rb +0 -308
- data/lib/fog/compute/bluebox.rb +0 -94
- data/lib/fog/compute/brightbox.rb +0 -157
- data/lib/fog/compute/ecloud.rb +0 -1310
- data/lib/fog/compute/go_grid.rb +0 -112
- data/lib/fog/compute/linode.rb +0 -116
- data/lib/fog/compute/models/aws/addresses.rb +0 -100
- data/lib/fog/compute/models/aws/flavors.rb +0 -167
- data/lib/fog/compute/models/aws/images.rb +0 -62
- data/lib/fog/compute/models/aws/key_pairs.rb +0 -88
- data/lib/fog/compute/models/aws/security_group.rb +0 -205
- data/lib/fog/compute/models/aws/security_groups.rb +0 -95
- data/lib/fog/compute/models/aws/servers.rb +0 -158
- data/lib/fog/compute/models/aws/snapshots.rb +0 -52
- data/lib/fog/compute/models/aws/spot_requests.rb +0 -48
- data/lib/fog/compute/models/aws/tags.rb +0 -34
- data/lib/fog/compute/models/aws/volume.rb +0 -107
- data/lib/fog/compute/models/aws/volumes.rb +0 -121
- data/lib/fog/compute/models/bluebox/flavors.rb +0 -28
- data/lib/fog/compute/models/bluebox/image.rb +0 -19
- data/lib/fog/compute/models/bluebox/images.rb +0 -28
- data/lib/fog/compute/models/bluebox/server.rb +0 -131
- data/lib/fog/compute/models/bluebox/servers.rb +0 -36
- data/lib/fog/compute/models/brightbox/account.rb +0 -51
- data/lib/fog/compute/models/brightbox/cloud_ip.rb +0 -47
- data/lib/fog/compute/models/brightbox/cloud_ips.rb +0 -34
- data/lib/fog/compute/models/brightbox/flavor.rb +0 -33
- data/lib/fog/compute/models/brightbox/flavors.rb +0 -28
- data/lib/fog/compute/models/brightbox/image.rb +0 -57
- data/lib/fog/compute/models/brightbox/images.rb +0 -28
- data/lib/fog/compute/models/brightbox/load_balancer.rb +0 -50
- data/lib/fog/compute/models/brightbox/load_balancers.rb +0 -28
- data/lib/fog/compute/models/brightbox/server.rb +0 -114
- data/lib/fog/compute/models/brightbox/servers.rb +0 -29
- data/lib/fog/compute/models/brightbox/user.rb +0 -39
- data/lib/fog/compute/models/brightbox/users.rb +0 -29
- data/lib/fog/compute/models/brightbox/zone.rb +0 -21
- data/lib/fog/compute/models/brightbox/zones.rb +0 -29
- data/lib/fog/compute/models/ecloud/backup_internet_services.rb +0 -33
- data/lib/fog/compute/models/ecloud/firewall_acls.rb +0 -31
- data/lib/fog/compute/models/ecloud/internet_services.rb +0 -33
- data/lib/fog/compute/models/ecloud/ips.rb +0 -32
- data/lib/fog/compute/models/ecloud/networks.rb +0 -33
- data/lib/fog/compute/models/ecloud/nodes.rb +0 -31
- data/lib/fog/compute/models/ecloud/public_ips.rb +0 -36
- data/lib/fog/compute/models/ecloud/servers.rb +0 -57
- data/lib/fog/compute/models/ecloud/tasks.rb +0 -31
- data/lib/fog/compute/models/ecloud/vdcs.rb +0 -40
- data/lib/fog/compute/models/go_grid/images.rb +0 -33
- data/lib/fog/compute/models/go_grid/passwords.rb +0 -36
- data/lib/fog/compute/models/go_grid/servers.rb +0 -36
- data/lib/fog/compute/models/linode/data_centers.rb +0 -26
- data/lib/fog/compute/models/linode/disks.rb +0 -40
- data/lib/fog/compute/models/linode/flavors.rb +0 -32
- data/lib/fog/compute/models/linode/images.rb +0 -33
- data/lib/fog/compute/models/linode/ips.rb +0 -40
- data/lib/fog/compute/models/linode/kernels.rb +0 -32
- data/lib/fog/compute/models/linode/servers.rb +0 -32
- data/lib/fog/compute/models/linode/stack_scripts.rb +0 -32
- data/lib/fog/compute/models/ninefold/addresses.rb +0 -31
- data/lib/fog/compute/models/ninefold/flavors.rb +0 -30
- data/lib/fog/compute/models/ninefold/images.rb +0 -30
- data/lib/fog/compute/models/ninefold/ip_forwarding_rules.rb +0 -31
- data/lib/fog/compute/models/ninefold/server.rb +0 -184
- data/lib/fog/compute/models/ninefold/servers.rb +0 -31
- data/lib/fog/compute/models/rackspace/flavors.rb +0 -28
- data/lib/fog/compute/models/rackspace/images.rb +0 -33
- data/lib/fog/compute/models/rackspace/servers.rb +0 -36
- data/lib/fog/compute/models/slicehost/flavors.rb +0 -28
- data/lib/fog/compute/models/slicehost/images.rb +0 -27
- data/lib/fog/compute/models/slicehost/servers.rb +0 -38
- data/lib/fog/compute/models/storm_on_demand/balancers.rb +0 -21
- data/lib/fog/compute/models/storm_on_demand/configs.rb +0 -22
- data/lib/fog/compute/models/storm_on_demand/images.rb +0 -21
- data/lib/fog/compute/models/storm_on_demand/private_ips.rb +0 -31
- data/lib/fog/compute/models/storm_on_demand/servers.rb +0 -26
- data/lib/fog/compute/models/storm_on_demand/stats.rb +0 -22
- data/lib/fog/compute/models/storm_on_demand/templates.rb +0 -21
- data/lib/fog/compute/models/vcloud/catalogs.rb +0 -39
- data/lib/fog/compute/models/vcloud/ips.rb +0 -33
- data/lib/fog/compute/models/vcloud/networks.rb +0 -34
- data/lib/fog/compute/models/vcloud/servers.rb +0 -58
- data/lib/fog/compute/models/vcloud/tasks.rb +0 -32
- data/lib/fog/compute/models/vcloud/vdcs.rb +0 -40
- data/lib/fog/compute/models/virtual_box/medium.rb +0 -87
- data/lib/fog/compute/models/virtual_box/mediums.rb +0 -32
- data/lib/fog/compute/models/virtual_box/nat_redirects.rb +0 -41
- data/lib/fog/compute/models/virtual_box/network_adapter.rb +0 -82
- data/lib/fog/compute/models/virtual_box/network_adapters.rb +0 -42
- data/lib/fog/compute/models/virtual_box/servers.rb +0 -41
- data/lib/fog/compute/models/virtual_box/storage_controllers.rb +0 -38
- data/lib/fog/compute/models/voxel/images.rb +0 -30
- data/lib/fog/compute/models/voxel/servers.rb +0 -32
- data/lib/fog/compute/new_servers.rb +0 -93
- data/lib/fog/compute/ninefold.rb +0 -139
- data/lib/fog/compute/rackspace.rb +0 -153
- data/lib/fog/compute/requests/aws/allocate_address.rb +0 -53
- data/lib/fog/compute/requests/aws/associate_address.rb +0 -65
- data/lib/fog/compute/requests/aws/attach_volume.rb +0 -87
- data/lib/fog/compute/requests/aws/authorize_security_group_ingress.rb +0 -108
- data/lib/fog/compute/requests/aws/cancel_spot_instance_requests.rb +0 -34
- data/lib/fog/compute/requests/aws/create_image.rb +0 -65
- data/lib/fog/compute/requests/aws/create_key_pair.rb +0 -56
- data/lib/fog/compute/requests/aws/create_placement_group.rb +0 -34
- data/lib/fog/compute/requests/aws/create_security_group.rb +0 -57
- data/lib/fog/compute/requests/aws/create_snapshot.rb +0 -73
- data/lib/fog/compute/requests/aws/create_spot_datafeed_subscription.rb +0 -41
- data/lib/fog/compute/requests/aws/create_tags.rb +0 -84
- data/lib/fog/compute/requests/aws/create_volume.rb +0 -87
- data/lib/fog/compute/requests/aws/delete_key_pair.rb +0 -47
- data/lib/fog/compute/requests/aws/delete_placement_group.rb +0 -32
- data/lib/fog/compute/requests/aws/delete_security_group.rb +0 -49
- data/lib/fog/compute/requests/aws/delete_snapshot.rb +0 -50
- data/lib/fog/compute/requests/aws/delete_spot_datafeed_subscription.rb +0 -28
- data/lib/fog/compute/requests/aws/delete_tags.rb +0 -87
- data/lib/fog/compute/requests/aws/delete_volume.rb +0 -56
- data/lib/fog/compute/requests/aws/deregister_image.rb +0 -53
- data/lib/fog/compute/requests/aws/describe_addresses.rb +0 -66
- data/lib/fog/compute/requests/aws/describe_availability_zones.rb +0 -88
- data/lib/fog/compute/requests/aws/describe_images.rb +0 -133
- data/lib/fog/compute/requests/aws/describe_instances.rb +0 -204
- data/lib/fog/compute/requests/aws/describe_key_pairs.rb +0 -68
- data/lib/fog/compute/requests/aws/describe_placement_groups.rb +0 -35
- data/lib/fog/compute/requests/aws/describe_regions.rb +0 -68
- data/lib/fog/compute/requests/aws/describe_reserved_instances.rb +0 -60
- data/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +0 -64
- data/lib/fog/compute/requests/aws/describe_security_groups.rb +0 -97
- data/lib/fog/compute/requests/aws/describe_snapshots.rb +0 -120
- data/lib/fog/compute/requests/aws/describe_spot_datafeed_subscription.rb +0 -35
- data/lib/fog/compute/requests/aws/describe_spot_instance_requests.rb +0 -47
- data/lib/fog/compute/requests/aws/describe_spot_price_history.rb +0 -37
- data/lib/fog/compute/requests/aws/describe_tags.rb +0 -36
- data/lib/fog/compute/requests/aws/describe_volumes.rb +0 -117
- data/lib/fog/compute/requests/aws/detach_volume.rb +0 -60
- data/lib/fog/compute/requests/aws/disassociate_address.rb +0 -56
- data/lib/fog/compute/requests/aws/get_console_output.rb +0 -54
- data/lib/fog/compute/requests/aws/get_password_data.rb +0 -56
- data/lib/fog/compute/requests/aws/import_key_pair.rb +0 -56
- data/lib/fog/compute/requests/aws/modify_image_attribute.rb +0 -39
- data/lib/fog/compute/requests/aws/modify_instance_attribute.rb +0 -37
- data/lib/fog/compute/requests/aws/modify_snapshot_attribute.rb +0 -36
- data/lib/fog/compute/requests/aws/monitor_instances.rb +0 -54
- data/lib/fog/compute/requests/aws/purchase_reserved_instances_offering.rb +0 -63
- data/lib/fog/compute/requests/aws/reboot_instances.rb +0 -54
- data/lib/fog/compute/requests/aws/register_image.rb +0 -134
- data/lib/fog/compute/requests/aws/release_address.rb +0 -47
- data/lib/fog/compute/requests/aws/request_spot_instances.rb +0 -83
- data/lib/fog/compute/requests/aws/revoke_security_group_ingress.rb +0 -94
- data/lib/fog/compute/requests/aws/run_instances.rb +0 -177
- data/lib/fog/compute/requests/aws/start_instances.rb +0 -32
- data/lib/fog/compute/requests/aws/stop_instances.rb +0 -33
- data/lib/fog/compute/requests/aws/terminate_instances.rb +0 -96
- data/lib/fog/compute/requests/aws/unmonitor_instances.rb +0 -55
- data/lib/fog/compute/requests/slicehost/create_slice.rb +0 -41
- data/lib/fog/compute/requests/slicehost/get_backups.rb +0 -29
- data/lib/fog/compute/requests/slicehost/get_flavor.rb +0 -32
- data/lib/fog/compute/requests/slicehost/get_flavors.rb +0 -29
- data/lib/fog/compute/requests/slicehost/get_image.rb +0 -30
- data/lib/fog/compute/requests/slicehost/get_images.rb +0 -27
- data/lib/fog/compute/requests/slicehost/get_slice.rb +0 -38
- data/lib/fog/compute/requests/slicehost/get_slices.rb +0 -35
- data/lib/fog/compute/requests/voxel/devices_list.rb +0 -24
- data/lib/fog/compute/requests/voxel/devices_power.rb +0 -22
- data/lib/fog/compute/requests/voxel/images_list.rb +0 -31
- data/lib/fog/compute/requests/voxel/voxcloud_create.rb +0 -22
- data/lib/fog/compute/requests/voxel/voxcloud_delete.rb +0 -20
- data/lib/fog/compute/requests/voxel/voxcloud_status.rb +0 -24
- data/lib/fog/compute/slicehost.rb +0 -99
- data/lib/fog/compute/storm_on_demand.rb +0 -132
- data/lib/fog/compute/vcloud.rb +0 -310
- data/lib/fog/compute/virtual_box.rb +0 -46
- data/lib/fog/compute/voxel.rb +0 -121
- data/lib/fog/dns/aws.rb +0 -116
- data/lib/fog/dns/bluebox.rb +0 -100
- data/lib/fog/dns/dnsimple.rb +0 -92
- data/lib/fog/dns/dnsmadeeasy.rb +0 -134
- data/lib/fog/dns/dynect.rb +0 -80
- data/lib/fog/dns/linode.rb +0 -89
- data/lib/fog/dns/models/aws/records.rb +0 -49
- data/lib/fog/dns/models/aws/zone.rb +0 -53
- data/lib/fog/dns/models/aws/zones.rb +0 -33
- data/lib/fog/dns/models/bluebox/records.rb +0 -36
- data/lib/fog/dns/models/bluebox/zone.rb +0 -64
- data/lib/fog/dns/models/bluebox/zones.rb +0 -28
- data/lib/fog/dns/models/dnsimple/records.rb +0 -38
- data/lib/fog/dns/models/dnsimple/zone.rb +0 -50
- data/lib/fog/dns/models/dnsimple/zones.rb +0 -29
- data/lib/fog/dns/models/dnsmadeeasy/records.rb +0 -36
- data/lib/fog/dns/models/dnsmadeeasy/zone.rb +0 -42
- data/lib/fog/dns/models/dnsmadeeasy/zones.rb +0 -30
- data/lib/fog/dns/models/dynect/record.rb +0 -67
- data/lib/fog/dns/models/dynect/records.rb +0 -53
- data/lib/fog/dns/models/dynect/zone.rb +0 -60
- data/lib/fog/dns/models/dynect/zones.rb +0 -29
- data/lib/fog/dns/models/linode/records.rb +0 -37
- data/lib/fog/dns/models/linode/zone.rb +0 -84
- data/lib/fog/dns/models/linode/zones.rb +0 -29
- data/lib/fog/dns/models/slicehost/records.rb +0 -36
- data/lib/fog/dns/models/slicehost/zone.rb +0 -69
- data/lib/fog/dns/models/slicehost/zones.rb +0 -28
- data/lib/fog/dns/models/zerigo/records.rb +0 -41
- data/lib/fog/dns/models/zerigo/zone.rb +0 -88
- data/lib/fog/dns/models/zerigo/zones.rb +0 -30
- data/lib/fog/dns/requests/aws/change_resource_record_sets.rb +0 -82
- data/lib/fog/dns/requests/aws/create_hosted_zone.rb +0 -59
- data/lib/fog/dns/requests/aws/delete_hosted_zone.rb +0 -39
- data/lib/fog/dns/requests/aws/get_change.rb +0 -38
- data/lib/fog/dns/requests/aws/get_hosted_zone.rb +0 -42
- data/lib/fog/dns/requests/aws/list_hosted_zones.rb +0 -54
- data/lib/fog/dns/requests/aws/list_resource_record_sets.rb +0 -60
- data/lib/fog/dns/requests/bluebox/create_record.rb +0 -48
- data/lib/fog/dns/requests/bluebox/create_zone.rb +0 -52
- data/lib/fog/dns/requests/bluebox/get_record.rb +0 -40
- data/lib/fog/dns/requests/bluebox/get_records.rb +0 -41
- data/lib/fog/dns/requests/bluebox/get_zone.rb +0 -44
- data/lib/fog/dns/requests/bluebox/get_zones.rb +0 -43
- data/lib/fog/dns/requests/dynect/delete_record.rb +0 -24
- data/lib/fog/dns/requests/dynect/delete_zone.rb +0 -21
- data/lib/fog/dns/requests/dynect/get_node_list.rb +0 -23
- data/lib/fog/dns/requests/dynect/get_record.rb +0 -25
- data/lib/fog/dns/requests/dynect/get_zone.rb +0 -22
- data/lib/fog/dns/requests/dynect/post_record.rb +0 -27
- data/lib/fog/dns/requests/dynect/post_session.rb +0 -36
- data/lib/fog/dns/requests/dynect/post_zone.rb +0 -32
- data/lib/fog/dns/requests/dynect/put_zone.rb +0 -26
- data/lib/fog/dns/requests/linode/domain_create.rb +0 -43
- data/lib/fog/dns/requests/linode/domain_list.rb +0 -42
- data/lib/fog/dns/requests/linode/domain_resource_create.rb +0 -44
- data/lib/fog/dns/requests/linode/domain_resource_list.rb +0 -43
- data/lib/fog/dns/requests/linode/domain_resource_update.rb +0 -46
- data/lib/fog/dns/requests/linode/domain_update.rb +0 -40
- data/lib/fog/dns/requests/slicehost/create_record.rb +0 -52
- data/lib/fog/dns/requests/slicehost/create_zone.rb +0 -46
- data/lib/fog/dns/requests/slicehost/get_record.rb +0 -32
- data/lib/fog/dns/requests/slicehost/get_records.rb +0 -33
- data/lib/fog/dns/requests/slicehost/get_zone.rb +0 -32
- data/lib/fog/dns/requests/slicehost/get_zones.rb +0 -30
- data/lib/fog/dns/requests/zerigo/count_hosts.rb +0 -28
- data/lib/fog/dns/requests/zerigo/count_zones.rb +0 -28
- data/lib/fog/dns/requests/zerigo/create_host.rb +0 -62
- data/lib/fog/dns/requests/zerigo/create_zone.rb +0 -89
- data/lib/fog/dns/requests/zerigo/find_hosts.rb +0 -55
- data/lib/fog/dns/requests/zerigo/get_host.rb +0 -39
- data/lib/fog/dns/requests/zerigo/get_zone.rb +0 -49
- data/lib/fog/dns/requests/zerigo/get_zone_stats.rb +0 -36
- data/lib/fog/dns/requests/zerigo/list_hosts.rb +0 -40
- data/lib/fog/dns/requests/zerigo/list_zones.rb +0 -45
- data/lib/fog/dns/slicehost.rb +0 -95
- data/lib/fog/dns/zerigo.rb +0 -104
- data/lib/fog/providers/aws.rb +0 -197
- data/lib/fog/providers/bluebox.rb +0 -12
- data/lib/fog/providers/brightbox.rb +0 -9
- data/lib/fog/providers/dnsimple.rb +0 -11
- data/lib/fog/providers/dnsmadeeasy.rb +0 -11
- data/lib/fog/providers/dynect.rb +0 -14
- data/lib/fog/providers/ecloud.rb +0 -11
- data/lib/fog/providers/go_grid.rb +0 -11
- data/lib/fog/providers/google.rb +0 -23
- data/lib/fog/providers/linode.rb +0 -10
- data/lib/fog/providers/local.rb +0 -11
- data/lib/fog/providers/new_servers.rb +0 -11
- data/lib/fog/providers/ninefold.rb +0 -12
- data/lib/fog/providers/rackspace.rb +0 -37
- data/lib/fog/providers/slicehost.rb +0 -12
- data/lib/fog/providers/storm_on_demand.rb +0 -12
- data/lib/fog/providers/vcloud.rb +0 -11
- data/lib/fog/providers/virtual_box.rb +0 -11
- data/lib/fog/providers/voxel.rb +0 -16
- data/lib/fog/providers/zerigo.rb +0 -11
- data/lib/fog/storage/aws.rb +0 -376
- data/lib/fog/storage/google.rb +0 -269
- data/lib/fog/storage/local.rb +0 -68
- data/lib/fog/storage/models/aws/directories.rb +0 -43
- data/lib/fog/storage/models/aws/directory.rb +0 -98
- data/lib/fog/storage/models/aws/file.rb +0 -141
- data/lib/fog/storage/models/aws/files.rb +0 -117
- data/lib/fog/storage/models/google/directories.rb +0 -43
- data/lib/fog/storage/models/google/directory.rb +0 -78
- data/lib/fog/storage/models/google/file.rb +0 -141
- data/lib/fog/storage/models/google/files.rb +0 -103
- data/lib/fog/storage/models/local/directories.rb +0 -33
- data/lib/fog/storage/models/local/directory.rb +0 -57
- data/lib/fog/storage/models/local/files.rb +0 -87
- data/lib/fog/storage/models/ninefold/directories.rb +0 -48
- data/lib/fog/storage/models/ninefold/files.rb +0 -72
- data/lib/fog/storage/models/rackspace/directories.rb +0 -43
- data/lib/fog/storage/models/rackspace/directory.rb +0 -76
- data/lib/fog/storage/models/rackspace/files.rb +0 -94
- data/lib/fog/storage/ninefold.rb +0 -149
- data/lib/fog/storage/rackspace.rb +0 -126
- data/lib/fog/storage/requests/aws/complete_multipart_upload.rb +0 -52
- data/lib/fog/storage/requests/aws/copy_object.rb +0 -76
- data/lib/fog/storage/requests/aws/get_bucket.rb +0 -114
- data/lib/fog/storage/requests/aws/get_bucket_acl.rb +0 -66
- data/lib/fog/storage/requests/aws/get_bucket_location.rb +0 -52
- data/lib/fog/storage/requests/aws/get_bucket_logging.rb +0 -50
- data/lib/fog/storage/requests/aws/get_bucket_object_versions.rb +0 -75
- data/lib/fog/storage/requests/aws/get_bucket_versioning.rb +0 -40
- data/lib/fog/storage/requests/aws/get_bucket_website.rb +0 -42
- data/lib/fog/storage/requests/aws/get_object_acl.rb +0 -77
- data/lib/fog/storage/requests/aws/get_object_url.rb +0 -37
- data/lib/fog/storage/requests/aws/get_request_payment.rb +0 -52
- data/lib/fog/storage/requests/aws/get_service.rb +0 -57
- data/lib/fog/storage/requests/aws/initiate_multipart_upload.rb +0 -47
- data/lib/fog/storage/requests/aws/list_multipart_uploads.rb +0 -60
- data/lib/fog/storage/requests/aws/list_parts.rb +0 -59
- data/lib/fog/storage/requests/aws/put_bucket_acl.rb +0 -76
- data/lib/fog/storage/requests/aws/put_object_acl.rb +0 -85
- data/lib/fog/storage/requests/google/copy_object.rb +0 -72
- data/lib/fog/storage/requests/google/get_bucket.rb +0 -111
- data/lib/fog/storage/requests/google/get_bucket_acl.rb +0 -63
- data/lib/fog/storage/requests/google/get_object_acl.rb +0 -74
- data/lib/fog/storage/requests/google/get_object_url.rb +0 -37
- data/lib/fog/storage/requests/google/get_service.rb +0 -53
- data/lib/fog/storage/requests/rackspace/delete_container.rb +0 -22
- data/lib/fog/storage/requests/rackspace/delete_object.rb +0 -23
- data/lib/fog/storage/requests/rackspace/get_container.rb +0 -44
- data/lib/fog/storage/requests/rackspace/get_object.rb +0 -24
- data/lib/fog/storage/requests/rackspace/head_container.rb +0 -28
- data/lib/fog/storage/requests/rackspace/head_object.rb +0 -23
- data/lib/fog/storage/requests/rackspace/put_container.rb +0 -22
- data/lib/fog/storage/requests/rackspace/put_object.rb +0 -29
- data/lib/fog/storage/requests/rackspace/put_object_manifest.rb +0 -25
- data/tests/compute/models/aws/security_group_tests.rb +0 -17
- data/tests/compute/models/aws/server_tests.rb +0 -61
- data/tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb +0 -49
- data/tests/compute/requests/aws/image_tests.rb +0 -68
- data/tests/compute/requests/aws/instance_tests.rb +0 -233
- data/tests/compute/requests/aws/security_group_tests.rb +0 -141
- data/tests/compute/requests/aws/tag_tests.rb +0 -49
- data/tests/compute/requests/brightbox/account_tests.rb +0 -40
- data/tests/compute/requests/brightbox/api_client_tests.rb +0 -49
- data/tests/compute/requests/brightbox/helper.rb +0 -434
- data/tests/compute/requests/brightbox/interface_tests.rb +0 -30
- data/tests/compute/requests/brightbox/load_balancer_tests.rb +0 -74
- data/tests/compute/requests/brightbox/server_tests.rb +0 -75
- data/tests/compute/requests/brightbox/user_tests.rb +0 -41
- data/tests/compute/requests/linode/linodeplans_tests.rb +0 -39
- data/tests/compute/requests/ninefold/helper.rb +0 -320
- data/tests/dns/requests/dynect/dns_tests.rb +0 -132
- data/tests/rackspace/requests/helper.rb +0 -112
- data/tests/rackspace/requests/load_balancer_tests.rb +0 -63
- data/tests/rackspace/requests/virtual_ip_tests.rb +0 -40
- data/tests/storage/requests/aws/bucket_tests.rb +0 -167
- data/tests/storage/requests/aws/object_tests.rb +0 -81
@@ -1,7 +1,7 @@
|
|
1
1
|
Shindo.tests('AWS::IAM | access key requests', ['aws']) do
|
2
2
|
|
3
3
|
unless Fog.mocking?
|
4
|
-
AWS[:iam].create_user('fog_access_key_tests')
|
4
|
+
Fog::AWS[:iam].create_user('fog_access_key_tests')
|
5
5
|
end
|
6
6
|
|
7
7
|
tests('success') do
|
@@ -18,7 +18,7 @@ Shindo.tests('AWS::IAM | access key requests', ['aws']) do
|
|
18
18
|
|
19
19
|
tests("#create_access_key('UserName' => 'fog_access_key_tests')").formats(@access_key_format) do
|
20
20
|
pending if Fog.mocking?
|
21
|
-
data = AWS[:iam].create_access_key('UserName' => 'fog_access_key_tests').body
|
21
|
+
data = Fog::AWS[:iam].create_access_key('UserName' => 'fog_access_key_tests').body
|
22
22
|
@access_key_id = data['AccessKey']['AccessKeyId']
|
23
23
|
data
|
24
24
|
end
|
@@ -34,17 +34,17 @@ Shindo.tests('AWS::IAM | access key requests', ['aws']) do
|
|
34
34
|
|
35
35
|
tests("#list_access_keys('Username' => 'fog_access_key_tests')").formats(@access_keys_format) do
|
36
36
|
pending if Fog.mocking?
|
37
|
-
AWS[:iam].list_access_keys('UserName' => 'fog_access_key_tests').body
|
37
|
+
Fog::AWS[:iam].list_access_keys('UserName' => 'fog_access_key_tests').body
|
38
38
|
end
|
39
39
|
|
40
40
|
tests("#update_access_key('#{@access_key_id}', 'Inactive', 'UserName' => 'fog_access_key_tests')").formats(AWS::IAM::Formats::BASIC) do
|
41
41
|
pending if Fog.mocking?
|
42
|
-
AWS[:iam].update_access_key(@access_key_id, 'Inactive', 'UserName' => 'fog_access_key_tests').body
|
42
|
+
Fog::AWS[:iam].update_access_key(@access_key_id, 'Inactive', 'UserName' => 'fog_access_key_tests').body
|
43
43
|
end
|
44
44
|
|
45
45
|
tests("#delete_access_key('#{@access_key_id}', 'UserName' => 'fog_access_key_tests)").formats(AWS::IAM::Formats::BASIC) do
|
46
46
|
pending if Fog.mocking?
|
47
|
-
AWS[:iam].delete_access_key(@access_key_id, 'UserName' => 'fog_access_key_tests').body
|
47
|
+
Fog::AWS[:iam].delete_access_key(@access_key_id, 'UserName' => 'fog_access_key_tests').body
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|
@@ -54,7 +54,7 @@ Shindo.tests('AWS::IAM | access key requests', ['aws']) do
|
|
54
54
|
end
|
55
55
|
|
56
56
|
unless Fog.mocking?
|
57
|
-
AWS[:iam].delete_user('fog_access_key_tests')
|
57
|
+
Fog::AWS[:iam].delete_user('fog_access_key_tests')
|
58
58
|
end
|
59
59
|
|
60
60
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Shindo.tests('AWS::IAM | group policy requests', ['aws']) do
|
2
2
|
|
3
3
|
unless Fog.mocking?
|
4
|
-
AWS[:iam].create_group('fog_group_policy_tests')
|
4
|
+
Fog::AWS[:iam].create_group('fog_group_policy_tests')
|
5
5
|
end
|
6
6
|
|
7
7
|
tests('success') do
|
@@ -10,7 +10,7 @@ Shindo.tests('AWS::IAM | group policy requests', ['aws']) do
|
|
10
10
|
|
11
11
|
tests("#put_group_policy('fog_group_policy_tests', 'fog_policy', #{@policy.inspect})").formats(AWS::IAM::Formats::BASIC) do
|
12
12
|
pending if Fog.mocking?
|
13
|
-
AWS[:iam].put_group_policy('fog_group_policy_tests', 'fog_policy', @policy).body
|
13
|
+
Fog::AWS[:iam].put_group_policy('fog_group_policy_tests', 'fog_policy', @policy).body
|
14
14
|
end
|
15
15
|
|
16
16
|
@group_policies_format = {
|
@@ -21,12 +21,12 @@ Shindo.tests('AWS::IAM | group policy requests', ['aws']) do
|
|
21
21
|
|
22
22
|
tests("list_group_policies('fog_group_policy_tests')").formats(@group_policies_format) do
|
23
23
|
pending if Fog.mocking?
|
24
|
-
AWS[:iam].list_group_policies('fog_group_policy_tests').body
|
24
|
+
Fog::AWS[:iam].list_group_policies('fog_group_policy_tests').body
|
25
25
|
end
|
26
26
|
|
27
27
|
tests("#delete_group_policy('fog_group_policy_tests', 'fog_policy')").formats(AWS::IAM::Formats::BASIC) do
|
28
28
|
pending if Fog.mocking?
|
29
|
-
AWS[:iam].delete_group_policy('fog_group_policy_tests', 'fog_policy').body
|
29
|
+
Fog::AWS[:iam].delete_group_policy('fog_group_policy_tests', 'fog_policy').body
|
30
30
|
end
|
31
31
|
|
32
32
|
end
|
@@ -36,7 +36,7 @@ Shindo.tests('AWS::IAM | group policy requests', ['aws']) do
|
|
36
36
|
end
|
37
37
|
|
38
38
|
unless Fog.mocking?
|
39
|
-
AWS[:iam].delete_group('fog_group_policy_tests')
|
39
|
+
Fog::AWS[:iam].delete_group('fog_group_policy_tests')
|
40
40
|
end
|
41
41
|
|
42
42
|
end
|
@@ -14,7 +14,7 @@ Shindo.tests('AWS::IAM | group requests', ['aws']) do
|
|
14
14
|
|
15
15
|
tests("#create_group('fog_group')").formats(@group_format) do
|
16
16
|
pending if Fog.mocking?
|
17
|
-
AWS[:iam].create_group('fog_group').body
|
17
|
+
Fog::AWS[:iam].create_group('fog_group').body
|
18
18
|
end
|
19
19
|
|
20
20
|
@groups_format = {
|
@@ -30,12 +30,12 @@ Shindo.tests('AWS::IAM | group requests', ['aws']) do
|
|
30
30
|
|
31
31
|
tests("#list_groups").formats(@groups_format) do
|
32
32
|
pending if Fog.mocking?
|
33
|
-
AWS[:iam].list_groups.body
|
33
|
+
Fog::AWS[:iam].list_groups.body
|
34
34
|
end
|
35
35
|
|
36
36
|
tests("#delete_group('fog_group')").formats(AWS::IAM::Formats::BASIC) do
|
37
37
|
pending if Fog.mocking?
|
38
|
-
AWS[:iam].delete_group('fog_group').body
|
38
|
+
Fog::AWS[:iam].delete_group('fog_group').body
|
39
39
|
end
|
40
40
|
|
41
41
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
2
2
|
|
3
3
|
unless Fog.mocking?
|
4
|
-
AWS[:iam].create_user('fog_user')
|
4
|
+
Fog::AWS[:iam].create_user('fog_user')
|
5
5
|
end
|
6
6
|
|
7
7
|
|
@@ -17,12 +17,12 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
|
17
17
|
|
18
18
|
tests("#create_login_profile('fog_user')").formats(@login_profile_format) do
|
19
19
|
pending if Fog.mocking?
|
20
|
-
AWS[:iam].create_login_profile('fog_user', 'somepassword').body
|
20
|
+
Fog::AWS[:iam].create_login_profile('fog_user', 'somepassword').body
|
21
21
|
end
|
22
22
|
|
23
23
|
tests("#get_login_profile('fog_user')").formats(@login_profile_format) do
|
24
24
|
pending if Fog.mocking?
|
25
|
-
result = AWS[:iam].get_login_profile('fog_user').body
|
25
|
+
result = Fog::AWS[:iam].get_login_profile('fog_user').body
|
26
26
|
returns('fog_user') {result['LoginProfile']['UserName']}
|
27
27
|
result
|
28
28
|
end
|
@@ -30,7 +30,7 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
|
30
30
|
tests("#update_login_profile('fog_user')").formats(AWS::IAM::Formats::BASIC) do
|
31
31
|
pending if Fog.mocking?
|
32
32
|
begin
|
33
|
-
AWS[:iam].update_login_profile('fog_user', 'otherpassword').body
|
33
|
+
Fog::AWS[:iam].update_login_profile('fog_user', 'otherpassword').body
|
34
34
|
rescue Excon::Errors::Conflict #profile cannot be updated or deleted until it has finished creating; api provides no way of telling whether creation process complete
|
35
35
|
sleep 5
|
36
36
|
retry
|
@@ -39,12 +39,12 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
|
39
39
|
|
40
40
|
tests("#delete_login_profile('fog_user')").formats(AWS::IAM::Formats::BASIC) do
|
41
41
|
pending if Fog.mocking?
|
42
|
-
AWS[:iam].delete_login_profile('fog_user').body
|
42
|
+
Fog::AWS[:iam].delete_login_profile('fog_user').body
|
43
43
|
end
|
44
44
|
|
45
45
|
tests("#get_login_profile('fog_user')") do
|
46
46
|
pending if Fog.mocking?
|
47
|
-
raises(Excon::Errors::NotFound) {AWS[:iam].get_login_profile('fog_user')}
|
47
|
+
raises(Excon::Errors::NotFound) {Fog::AWS[:iam].get_login_profile('fog_user')}
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|
@@ -52,13 +52,13 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
|
52
52
|
tests('failure') do
|
53
53
|
tests('get login profile for non existing user') do
|
54
54
|
pending if Fog.mocking?
|
55
|
-
raises(Fog::AWS::IAM::NotFound) { AWS[:iam].get_login_profile('idontexist')}
|
56
|
-
raises(Fog::AWS::IAM::NotFound) { AWS[:iam].delete_login_profile('fog_user')}
|
55
|
+
raises(Fog::AWS::IAM::NotFound) { Fog::AWS[:iam].get_login_profile('idontexist')}
|
56
|
+
raises(Fog::AWS::IAM::NotFound) { Fog::AWS[:iam].delete_login_profile('fog_user')}
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
60
|
|
61
61
|
unless Fog.mocking?
|
62
|
-
AWS[:iam].delete_user('fog_user')
|
62
|
+
Fog::AWS[:iam].delete_user('fog_user')
|
63
63
|
end
|
64
64
|
end
|
@@ -19,44 +19,52 @@ Shindo.tests('AWS::IAM | server certificate requests', ['aws']) do
|
|
19
19
|
private_key_mismatch = AWS::IAM::SERVER_CERT_PRIVATE_KEY_MISMATCHED
|
20
20
|
|
21
21
|
tests('empty public key').raises(Fog::AWS::IAM::ValidationError) do
|
22
|
-
AWS
|
22
|
+
Fog::AWS::IAM.new.upload_server_certificate('', private_key, @key_name)
|
23
23
|
end
|
24
24
|
|
25
25
|
tests('empty private key').raises(Fog::AWS::IAM::ValidationError) do
|
26
|
-
AWS
|
26
|
+
Fog::AWS::IAM.new.upload_server_certificate(public_key, '', @key_name)
|
27
27
|
end
|
28
28
|
|
29
29
|
tests('invalid public key').raises(Fog::AWS::IAM::MalformedCertificate) do
|
30
|
-
AWS
|
30
|
+
Fog::AWS::IAM.new.upload_server_certificate('abcde', private_key, @key_name)
|
31
31
|
end
|
32
32
|
|
33
33
|
tests('invalid private key').raises(Fog::AWS::IAM::MalformedCertificate) do
|
34
|
-
AWS
|
34
|
+
Fog::AWS::IAM.new.upload_server_certificate(public_key, 'abcde', @key_name)
|
35
35
|
end
|
36
36
|
|
37
37
|
tests('mismatched private key').raises(Fog::AWS::IAM::KeyPairMismatch) do
|
38
|
-
AWS
|
38
|
+
Fog::AWS::IAM.new.upload_server_certificate(public_key, private_key_mismatch, @key_name)
|
39
39
|
end
|
40
40
|
|
41
41
|
tests('format').formats(@upload_format) do
|
42
|
-
AWS
|
42
|
+
Fog::AWS::IAM.new.upload_server_certificate(public_key, private_key, @key_name).body
|
43
43
|
end
|
44
44
|
|
45
45
|
tests('duplicate name').raises(Fog::AWS::IAM::EntityAlreadyExists) do
|
46
|
-
AWS
|
46
|
+
Fog::AWS::IAM.new.upload_server_certificate(public_key, private_key, @key_name)
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
50
|
tests('#get_server_certificate').formats(@upload_format) do
|
51
51
|
tests('raises NotFound').raises(Fog::AWS::IAM::NotFound) do
|
52
|
-
AWS
|
52
|
+
Fog::AWS::IAM.new.get_server_certificate("#{@key_name}fake")
|
53
53
|
end
|
54
|
-
AWS
|
54
|
+
Fog::AWS::IAM.new.get_server_certificate(@key_name).body
|
55
55
|
end
|
56
56
|
|
57
57
|
@list_format = { 'Certificates' => [@certificate_format] }
|
58
58
|
tests('#list_server_certificates').formats(@list_format) do
|
59
|
-
result = AWS
|
59
|
+
result = Fog::AWS::IAM.new.list_server_certificates.body
|
60
|
+
tests('includes key name') do
|
61
|
+
returns(true) { result['Certificates'].any?{|c| c['ServerCertificateName'] == @key_name} }
|
62
|
+
end
|
63
|
+
result
|
64
|
+
end
|
65
|
+
|
66
|
+
tests("#list_server_certificates('path-prefix' => '/'").formats(@list_format) do
|
67
|
+
result = Fog::AWS::IAM.new.list_server_certificates('PathPrefix' => '/').body
|
60
68
|
tests('includes key name') do
|
61
69
|
returns(true) { result['Certificates'].any?{|c| c['ServerCertificateName'] == @key_name} }
|
62
70
|
end
|
@@ -64,6 +72,6 @@ Shindo.tests('AWS::IAM | server certificate requests', ['aws']) do
|
|
64
72
|
end
|
65
73
|
|
66
74
|
tests('#delete_server_certificate').formats(AWS::IAM::Formats::BASIC) do
|
67
|
-
AWS
|
75
|
+
Fog::AWS::IAM.new.delete_server_certificate(@key_name).body
|
68
76
|
end
|
69
77
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Shindo.tests('AWS::IAM | user policy requests', ['aws']) do
|
2
2
|
|
3
3
|
unless Fog.mocking?
|
4
|
-
AWS[:iam].create_user('fog_user_policy_tests')
|
4
|
+
Fog::AWS[:iam].create_user('fog_user_policy_tests')
|
5
5
|
end
|
6
6
|
|
7
7
|
tests('success') do
|
@@ -10,7 +10,7 @@ Shindo.tests('AWS::IAM | user policy requests', ['aws']) do
|
|
10
10
|
|
11
11
|
tests("#put_user_policy('fog_user_policy_tests', 'fog_policy', #{@policy.inspect})").formats(AWS::IAM::Formats::BASIC) do
|
12
12
|
pending if Fog.mocking?
|
13
|
-
AWS[:iam].put_user_policy('fog_user_policy_tests', 'fog_policy', @policy).body
|
13
|
+
Fog::AWS[:iam].put_user_policy('fog_user_policy_tests', 'fog_policy', @policy).body
|
14
14
|
end
|
15
15
|
|
16
16
|
@user_policies_format = {
|
@@ -21,12 +21,12 @@ Shindo.tests('AWS::IAM | user policy requests', ['aws']) do
|
|
21
21
|
|
22
22
|
tests("list_user_policies('fog_user_policy_tests')").formats(@user_policies_format) do
|
23
23
|
pending if Fog.mocking?
|
24
|
-
AWS[:iam].list_user_policies('fog_user_policy_tests').body
|
24
|
+
Fog::AWS[:iam].list_user_policies('fog_user_policy_tests').body
|
25
25
|
end
|
26
26
|
|
27
27
|
tests("#delete_user_policy('fog_user_policy_tests', 'fog_policy')").formats(AWS::IAM::Formats::BASIC) do
|
28
28
|
pending if Fog.mocking?
|
29
|
-
AWS[:iam].delete_user_policy('fog_user_policy_tests', 'fog_policy').body
|
29
|
+
Fog::AWS[:iam].delete_user_policy('fog_user_policy_tests', 'fog_policy').body
|
30
30
|
end
|
31
31
|
|
32
32
|
end
|
@@ -36,7 +36,7 @@ Shindo.tests('AWS::IAM | user policy requests', ['aws']) do
|
|
36
36
|
end
|
37
37
|
|
38
38
|
unless Fog.mocking?
|
39
|
-
AWS[:iam].delete_user('fog_user_policy_tests')
|
39
|
+
Fog::AWS[:iam].delete_user('fog_user_policy_tests')
|
40
40
|
end
|
41
41
|
|
42
42
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
2
2
|
|
3
3
|
unless Fog.mocking?
|
4
|
-
AWS[:iam].create_group('fog_user_tests')
|
4
|
+
Fog::AWS[:iam].create_group('fog_user_tests')
|
5
5
|
end
|
6
6
|
|
7
7
|
tests('success') do
|
@@ -18,7 +18,7 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
|
18
18
|
|
19
19
|
tests("#create_user('fog_user')").formats(@user_format) do
|
20
20
|
pending if Fog.mocking?
|
21
|
-
AWS[:iam].create_user('fog_user').body
|
21
|
+
Fog::AWS[:iam].create_user('fog_user').body
|
22
22
|
end
|
23
23
|
|
24
24
|
@users_format = {
|
@@ -34,22 +34,22 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
|
34
34
|
|
35
35
|
tests("#list_users").formats(@users_format) do
|
36
36
|
pending if Fog.mocking?
|
37
|
-
AWS[:iam].list_users.body
|
37
|
+
Fog::AWS[:iam].list_users.body
|
38
38
|
end
|
39
39
|
|
40
40
|
tests("#add_user_to_group('fog_user_tests', 'fog_user')").formats(AWS::IAM::Formats::BASIC) do
|
41
41
|
pending if Fog.mocking?
|
42
|
-
AWS[:iam].add_user_to_group('fog_user_tests', 'fog_user').body
|
42
|
+
Fog::AWS[:iam].add_user_to_group('fog_user_tests', 'fog_user').body
|
43
43
|
end
|
44
44
|
|
45
45
|
tests("#remove_user_from_group('fog_user_tests', 'fog_user')").formats(AWS::IAM::Formats::BASIC) do
|
46
46
|
pending if Fog.mocking?
|
47
|
-
AWS[:iam].remove_user_from_group('fog_user_tests', 'fog_user').body
|
47
|
+
Fog::AWS[:iam].remove_user_from_group('fog_user_tests', 'fog_user').body
|
48
48
|
end
|
49
49
|
|
50
50
|
tests("#delete_user('fog_user')").formats(AWS::IAM::Formats::BASIC) do
|
51
51
|
pending if Fog.mocking?
|
52
|
-
AWS[:iam].delete_user('fog_user').body
|
52
|
+
Fog::AWS[:iam].delete_user('fog_user').body
|
53
53
|
end
|
54
54
|
|
55
55
|
end
|
@@ -59,7 +59,7 @@ Shindo.tests('AWS::IAM | user requests', ['aws']) do
|
|
59
59
|
end
|
60
60
|
|
61
61
|
unless Fog.mocking?
|
62
|
-
AWS[:iam].delete_group('fog_user_tests')
|
62
|
+
Fog::AWS[:iam].delete_group('fog_user_tests')
|
63
63
|
end
|
64
64
|
|
65
65
|
end
|
@@ -13,7 +13,7 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
|
|
13
13
|
pending if Fog.mocking?
|
14
14
|
|
15
15
|
tests("#create_db_instance").formats(AWS::RDS::Formats::CREATE_DB_INSTANCE) do
|
16
|
-
result = AWS[:rds].create_db_instance(@db_instance_id, 'AllocatedStorage' => 5,
|
16
|
+
result = Fog::AWS[:rds].create_db_instance(@db_instance_id, 'AllocatedStorage' => 5,
|
17
17
|
'DBInstanceClass' => 'db.m1.small',
|
18
18
|
'Engine' => 'mysql',
|
19
19
|
'EngineVersion' => '5.1.50',
|
@@ -27,15 +27,15 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
|
|
27
27
|
end
|
28
28
|
|
29
29
|
tests("#describe_db_instances").formats(AWS::RDS::Formats::DESCRIBE_DB_INSTANCES) do
|
30
|
-
AWS[:rds].describe_db_instances.body
|
30
|
+
Fog::AWS[:rds].describe_db_instances.body
|
31
31
|
end
|
32
32
|
|
33
|
-
server = AWS[:rds].servers.get(@db_instance_id)
|
33
|
+
server = Fog::AWS[:rds].servers.get(@db_instance_id)
|
34
34
|
server.wait_for {ready?}
|
35
35
|
|
36
36
|
new_storage = 6
|
37
37
|
tests("#modify_db_instance with immediate apply").formats(AWS::RDS::Formats::MODIFY_DB_INSTANCE) do
|
38
|
-
body = AWS[:rds].modify_db_instance(@db_instance_id, true, 'AllocatedStorage'=> new_storage).body
|
38
|
+
body = Fog::AWS[:rds].modify_db_instance(@db_instance_id, true, 'AllocatedStorage'=> new_storage).body
|
39
39
|
tests 'pending storage' do
|
40
40
|
instance = body['ModifyDBInstanceResult']['DBInstance']
|
41
41
|
returns(new_storage){instance['PendingModifiedValues']['AllocatedStorage']}
|
@@ -52,7 +52,7 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
|
|
52
52
|
|
53
53
|
tests("reboot db instance") do
|
54
54
|
tests("#reboot").formats(AWS::RDS::Formats::REBOOT_DB_INSTANCE) do
|
55
|
-
AWS[:rds].reboot_db_instance(@db_instance_id).body
|
55
|
+
Fog::AWS[:rds].reboot_db_instance(@db_instance_id).body
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
@@ -60,22 +60,22 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
|
|
60
60
|
server.reload.wait_for { state == 'available'}
|
61
61
|
|
62
62
|
tests("#create_db_snapshot").formats(AWS::RDS::Formats::CREATE_DB_SNAPSHOT) do
|
63
|
-
body = AWS[:rds].create_db_snapshot(@db_instance_id, @db_snapshot_id).body
|
63
|
+
body = Fog::AWS[:rds].create_db_snapshot(@db_instance_id, @db_snapshot_id).body
|
64
64
|
returns('creating'){ body['CreateDBSnapshotResult']['DBSnapshot']['Status']}
|
65
65
|
body
|
66
66
|
end
|
67
67
|
|
68
68
|
tests("#describe_db_snapshots").formats(AWS::RDS::Formats::DESCRIBE_DB_SNAPSHOTS) do
|
69
|
-
body = AWS[:rds].describe_db_snapshots.body
|
69
|
+
body = Fog::AWS[:rds].describe_db_snapshots.body
|
70
70
|
end
|
71
71
|
|
72
72
|
server.reload.wait_for { state == 'available' }
|
73
73
|
|
74
74
|
tests( "#create read replica").formats(AWS::RDS::Formats::CREATE_READ_REPLICA) do
|
75
|
-
AWS[:rds].create_db_instance_read_replica(@db_replica_id, @db_instance_id).body
|
75
|
+
Fog::AWS[:rds].create_db_instance_read_replica(@db_replica_id, @db_instance_id).body
|
76
76
|
end
|
77
77
|
|
78
|
-
replica = AWS[:rds].servers.get(@db_replica_id)
|
78
|
+
replica = Fog::AWS[:rds].servers.get(@db_replica_id)
|
79
79
|
replica.wait_for {ready?}
|
80
80
|
|
81
81
|
tests("replica source") do
|
@@ -89,25 +89,25 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
|
|
89
89
|
|
90
90
|
tests("#delete_db_instance").formats(AWS::RDS::Formats::DELETE_DB_INSTANCE) do
|
91
91
|
#server.wait_for { state == 'available'}
|
92
|
-
AWS[:rds].delete_db_instance(@db_replica_id, nil, true)
|
93
|
-
body = AWS[:rds].delete_db_instance(@db_instance_id, @db_final_snapshot_id).body
|
92
|
+
Fog::AWS[:rds].delete_db_instance(@db_replica_id, nil, true)
|
93
|
+
body = Fog::AWS[:rds].delete_db_instance(@db_instance_id, @db_final_snapshot_id).body
|
94
94
|
|
95
95
|
tests "final snapshot" do
|
96
|
-
returns('creating'){AWS[:rds].describe_db_snapshots(:snapshot_id => @db_final_snapshot_id).body['DescribeDBSnapshotsResult']['DBSnapshots'].first['Status']}
|
96
|
+
returns('creating'){Fog::AWS[:rds].describe_db_snapshots(:snapshot_id => @db_final_snapshot_id).body['DescribeDBSnapshotsResult']['DBSnapshots'].first['Status']}
|
97
97
|
end
|
98
98
|
body
|
99
99
|
end
|
100
100
|
|
101
101
|
tests("#delete_db_snapshot").formats(AWS::RDS::Formats::DELETE_DB_SNAPSHOT) do
|
102
|
-
AWS[:rds].snapshots.get(@db_snapshot_id).wait_for { ready? }
|
103
|
-
AWS[:rds].delete_db_snapshot(@db_snapshot_id).body
|
102
|
+
Fog::AWS[:rds].snapshots.get(@db_snapshot_id).wait_for { ready? }
|
103
|
+
Fog::AWS[:rds].delete_db_snapshot(@db_snapshot_id).body
|
104
104
|
end
|
105
105
|
|
106
106
|
tests("snapshot.destroy") do
|
107
|
-
snapshot = AWS[:rds].snapshots.get(@db_final_snapshot_id)
|
107
|
+
snapshot = Fog::AWS[:rds].snapshots.get(@db_final_snapshot_id)
|
108
108
|
snapshot.wait_for { ready? }
|
109
109
|
snapshot.destroy
|
110
|
-
returns(nil) { AWS[:rds].snapshots.get(@db_final_snapshot_id) }
|
110
|
+
returns(nil) { Fog::AWS[:rds].snapshots.get(@db_final_snapshot_id) }
|
111
111
|
end
|
112
112
|
|
113
113
|
end
|
@@ -116,13 +116,13 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
|
|
116
116
|
pending if Fog.mocking?
|
117
117
|
|
118
118
|
tests "deleting nonexisting instance" do
|
119
|
-
raises(Fog::AWS::RDS::NotFound) {AWS[:rds].delete_db_instance('doesnexist', 'irrelevant')}
|
119
|
+
raises(Fog::AWS::RDS::NotFound) {Fog::AWS[:rds].delete_db_instance('doesnexist', 'irrelevant')}
|
120
120
|
end
|
121
121
|
tests "deleting non existing snapshot" do
|
122
|
-
raises(Fog::AWS::RDS::NotFound) {AWS[:rds].delete_db_snapshot('doesntexist')}
|
122
|
+
raises(Fog::AWS::RDS::NotFound) {Fog::AWS[:rds].delete_db_snapshot('doesntexist')}
|
123
123
|
end
|
124
124
|
tests "modifying non existing instance" do
|
125
|
-
raises(Fog::AWS::RDS::NotFound) { AWS[:rds].modify_db_instance 'doesntexit', true, 'AllocatedStorage'=> 10}
|
125
|
+
raises(Fog::AWS::RDS::NotFound) { Fog::AWS[:rds].modify_db_instance 'doesntexit', true, 'AllocatedStorage'=> 10}
|
126
126
|
end
|
127
127
|
end
|
128
128
|
end
|