fog-maestrodev 1.19.0.20140212012611 → 1.20.0.20140305101305
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +2 -0
- data/.travis.yml +10 -0
- data/CONTRIBUTORS.md +694 -0
- data/Gemfile.1.8.7 +1 -1
- data/LICENSE.md +17 -17
- data/Rakefile +1 -1
- data/benchs/each_provider.sh +6 -0
- data/benchs/each_service.sh +6 -0
- data/benchs/load_times.rb +6 -0
- data/changelog.txt +312 -0
- data/fog.gemspec +3 -5
- data/lib/fog.rb +1 -0
- data/lib/fog/atmos.rb +1 -11
- data/lib/fog/atmos/core.rb +11 -0
- data/lib/fog/atmos/requests/storage/get_namespace.rb +1 -1
- data/lib/fog/atmos/requests/storage/head_namespace.rb +1 -1
- data/lib/fog/atmos/storage.rb +1 -1
- data/lib/fog/aws.rb +22 -323
- data/lib/fog/aws/auto_scaling.rb +1 -1
- data/lib/fog/aws/beanstalk.rb +1 -1
- data/lib/fog/aws/cdn.rb +1 -1
- data/lib/fog/aws/cloud_formation.rb +1 -1
- data/lib/fog/aws/cloud_watch.rb +1 -1
- data/lib/fog/aws/compute.rb +12 -1
- data/lib/fog/aws/core.rb +329 -0
- data/lib/fog/aws/data_pipeline.rb +1 -1
- data/lib/fog/aws/dns.rb +1 -1
- data/lib/fog/aws/dynamodb.rb +1 -1
- data/lib/fog/aws/elasticache.rb +10 -3
- data/lib/fog/aws/elb.rb +1 -1
- data/lib/fog/aws/emr.rb +1 -2
- data/lib/fog/aws/glacier.rb +1 -1
- data/lib/fog/aws/iam.rb +1 -1
- data/lib/fog/aws/models/compute/dhcp_option.rb +2 -2
- data/lib/fog/aws/models/compute/flavor.rb +2 -0
- data/lib/fog/aws/models/compute/flavors.rb +363 -49
- data/lib/fog/aws/models/compute/network_acl.rb +170 -0
- data/lib/fog/aws/models/compute/network_acls.rb +138 -0
- data/lib/fog/aws/models/compute/server.rb +2 -2
- data/lib/fog/aws/models/compute/servers.rb +7 -2
- data/lib/fog/aws/models/compute/subnet.rb +2 -2
- data/lib/fog/aws/models/elasticache/cluster.rb +6 -0
- data/lib/fog/aws/models/elasticache/subnet_group.rb +35 -0
- data/lib/fog/aws/models/elasticache/subnet_groups.rb +27 -0
- data/lib/fog/aws/models/rds/snapshot.rb +1 -0
- data/lib/fog/aws/models/storage/file.rb +1 -1
- data/lib/fog/aws/parsers/compute/create_network_acl.rb +28 -0
- data/lib/fog/aws/parsers/compute/create_subnet.rb +2 -3
- data/lib/fog/aws/parsers/compute/describe_network_acls.rb +42 -0
- data/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +29 -3
- data/lib/fog/aws/parsers/compute/network_acl_parser.rb +105 -0
- data/lib/fog/aws/parsers/compute/network_interface_parser.rb +16 -0
- data/lib/fog/aws/parsers/compute/replace_network_acl_association.rb +20 -0
- data/lib/fog/aws/parsers/compute/run_instances.rb +1 -1
- data/lib/fog/aws/parsers/elasticache/cache_cluster_parser.rb +2 -2
- data/lib/fog/aws/parsers/elasticache/create_cache_subnet_group.rb +38 -0
- data/lib/fog/aws/parsers/elasticache/describe_cache_subnet_groups.rb +38 -0
- data/lib/fog/aws/parsers/elasticache/subnet_group_parser.rb +38 -0
- data/lib/fog/aws/parsers/iam/upload_server_certificate.rb +1 -1
- data/lib/fog/aws/parsers/rds/db_parser.rb +6 -0
- data/lib/fog/aws/parsers/rds/snapshot_parser.rb +1 -0
- data/lib/fog/aws/rds.rb +1 -1
- data/lib/fog/aws/redshift.rb +1 -1
- data/lib/fog/aws/requests/compute/create_network_acl.rb +105 -0
- data/lib/fog/aws/requests/compute/create_network_acl_entry.rb +80 -0
- data/lib/fog/aws/requests/compute/create_subnet.rb +14 -4
- data/lib/fog/aws/requests/compute/create_vpc.rb +7 -1
- data/lib/fog/aws/requests/compute/delete_network_acl.rb +52 -0
- data/lib/fog/aws/requests/compute/delete_network_acl_entry.rb +55 -0
- data/lib/fog/aws/requests/compute/delete_vpc.rb +4 -0
- data/lib/fog/aws/requests/compute/describe_network_acls.rb +104 -0
- data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +4 -0
- data/lib/fog/aws/requests/compute/disassociate_address.rb +4 -3
- data/lib/fog/aws/requests/compute/replace_network_acl_association.rb +66 -0
- data/lib/fog/aws/requests/compute/replace_network_acl_entry.rb +81 -0
- data/lib/fog/aws/requests/compute/replace_route.rb +84 -0
- data/lib/fog/aws/requests/compute/request_spot_instances.rb +8 -0
- data/lib/fog/aws/requests/compute/run_instances.rb +23 -3
- data/lib/fog/aws/requests/data_pipeline/put_pipeline_definition.rb +29 -21
- data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +18 -11
- data/lib/fog/aws/requests/elasticache/create_cache_subnet_group.rb +66 -0
- data/lib/fog/aws/requests/elasticache/delete_cache_subnet_group.rb +40 -0
- data/lib/fog/aws/requests/elasticache/describe_cache_subnet_groups.rb +63 -0
- data/lib/fog/aws/requests/elb/create_load_balancer.rb +3 -2
- data/lib/fog/aws/requests/iam/delete_server_certificate.rb +3 -1
- data/lib/fog/aws/requests/rds/create_db_instance.rb +2 -0
- data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +1 -0
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +1 -1
- data/lib/fog/aws/requests/rds/create_db_subnet_group.rb +2 -0
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +1 -0
- data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +18 -0
- data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +23 -0
- data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +24 -0
- data/lib/fog/aws/requests/storage/put_object.rb +18 -54
- data/lib/fog/aws/requests/storage/shared_mock_methods.rb +87 -0
- data/lib/fog/aws/requests/storage/upload_part.rb +18 -0
- data/lib/fog/aws/ses.rb +1 -1
- data/lib/fog/aws/simpledb.rb +1 -1
- data/lib/fog/aws/sns.rb +1 -2
- data/lib/fog/aws/sqs.rb +5 -4
- data/lib/fog/aws/storage.rb +15 -5
- data/lib/fog/aws/sts.rb +1 -1
- data/lib/fog/bare_metal_cloud.rb +1 -11
- data/lib/fog/bare_metal_cloud/compute.rb +1 -1
- data/lib/fog/bare_metal_cloud/core.rb +11 -0
- data/lib/fog/bin.rb +1 -0
- data/lib/fog/bin/rage4.rb +31 -0
- data/lib/fog/bluebox.rb +3 -13
- data/lib/fog/bluebox/blb.rb +2 -2
- data/lib/fog/bluebox/compute.rb +1 -1
- data/lib/fog/bluebox/core.rb +13 -0
- data/lib/fog/bluebox/dns.rb +2 -2
- data/lib/fog/bluebox/models/compute/server.rb +1 -1
- data/lib/fog/brightbox.rb +1 -10
- data/lib/fog/brightbox/compute.rb +20 -1
- data/lib/fog/brightbox/core.rb +10 -0
- data/lib/fog/brightbox/models/compute/cloud_ip.rb +5 -0
- data/lib/fog/brightbox/models/compute/database_server.rb +91 -0
- data/lib/fog/brightbox/models/compute/database_servers.rb +28 -0
- data/lib/fog/brightbox/models/compute/database_snapshot.rb +52 -0
- data/lib/fog/brightbox/models/compute/database_snapshots.rb +24 -0
- data/lib/fog/brightbox/models/compute/database_type.rb +19 -0
- data/lib/fog/brightbox/models/compute/database_types.rb +26 -0
- data/lib/fog/brightbox/requests/compute/create_database_server.rb +25 -0
- data/lib/fog/brightbox/requests/compute/delete_database_server.rb +26 -0
- data/lib/fog/brightbox/requests/compute/delete_database_snapshot.rb +26 -0
- data/lib/fog/brightbox/requests/compute/get_database_server.rb +19 -0
- data/lib/fog/brightbox/requests/compute/get_database_snapshot.rb +19 -0
- data/lib/fog/brightbox/requests/compute/get_database_type.rb +21 -0
- data/lib/fog/brightbox/requests/compute/list_database_servers.rb +17 -0
- data/lib/fog/brightbox/requests/compute/list_database_snapshots.rb +17 -0
- data/lib/fog/brightbox/requests/compute/list_database_types.rb +19 -0
- data/lib/fog/brightbox/requests/compute/reset_password_database_server.rb +19 -0
- data/lib/fog/brightbox/requests/compute/snapshot_database_server.rb +19 -0
- data/lib/fog/brightbox/requests/compute/update_database_server.rb +25 -0
- data/lib/fog/brightbox/requests/compute/update_database_snapshot.rb +26 -0
- data/lib/fog/clodo.rb +1 -34
- data/lib/fog/clodo/compute.rb +2 -0
- data/lib/fog/clodo/core.rb +34 -0
- data/lib/fog/clodo/models/compute/server.rb +2 -2
- data/lib/fog/cloudsigma.rb +1 -9
- data/lib/fog/cloudsigma/compute.rb +2 -2
- data/lib/fog/cloudsigma/core.rb +9 -0
- data/lib/fog/cloudstack.rb +1 -40
- data/lib/fog/cloudstack/compute.rb +1 -1
- data/lib/fog/cloudstack/core.rb +40 -0
- data/lib/fog/cloudstack/models/compute/server.rb +3 -0
- data/lib/fog/compute/models/server.rb +33 -7
- data/lib/fog/core/collection.rb +1 -3
- data/lib/fog/core/errors.rb +2 -0
- data/lib/fog/core/hmac.rb +3 -16
- data/lib/fog/core/logger.rb +3 -3
- data/lib/fog/core/provider.rb +1 -2
- data/lib/fog/digitalocean.rb +1 -9
- data/lib/fog/digitalocean/compute.rb +1 -1
- data/lib/fog/digitalocean/core.rb +9 -0
- data/lib/fog/digitalocean/models/compute/server.rb +3 -2
- data/lib/fog/digitalocean/models/compute/servers.rb +23 -4
- data/lib/fog/digitalocean/requests/compute/create_server.rb +2 -1
- data/lib/fog/digitalocean/requests/compute/destroy_server.rb +3 -1
- data/lib/fog/dnsimple.rb +1 -11
- data/lib/fog/dnsimple/core.rb +11 -0
- data/lib/fog/dnsimple/dns.rb +5 -2
- data/lib/fog/dnsimple/models/dns/record.rb +3 -3
- data/lib/fog/dnsimple/requests/dns/create_domain.rb +26 -22
- data/lib/fog/dnsimple/requests/dns/create_record.rb +21 -24
- data/lib/fog/dnsimple/requests/dns/delete_domain.rb +7 -6
- data/lib/fog/dnsimple/requests/dns/delete_record.rb +7 -5
- data/lib/fog/dnsimple/requests/dns/get_domain.rb +12 -18
- data/lib/fog/dnsimple/requests/dns/get_record.rb +11 -17
- data/lib/fog/dnsimple/requests/dns/list_domains.rb +7 -15
- data/lib/fog/dnsimple/requests/dns/list_records.rb +10 -15
- data/lib/fog/dnsimple/requests/dns/update_record.rb +14 -19
- data/lib/fog/dnsmadeeasy.rb +1 -11
- data/lib/fog/dnsmadeeasy/core.rb +11 -0
- data/lib/fog/dnsmadeeasy/dns.rb +1 -1
- data/lib/fog/dreamhost.rb +1 -11
- data/lib/fog/dreamhost/core.rb +11 -0
- data/lib/fog/dreamhost/dns.rb +1 -1
- data/lib/fog/dynect.rb +1 -26
- data/lib/fog/dynect/core.rb +26 -0
- data/lib/fog/dynect/dns.rb +1 -1
- data/lib/fog/dynect/requests/dns/put_record.rb +5 -4
- data/lib/fog/dynect/requests/dns/put_zone.rb +5 -4
- data/lib/fog/ecloud.rb +1 -31
- data/lib/fog/ecloud/compute.rb +1 -0
- data/lib/fog/ecloud/core.rb +31 -0
- data/lib/fog/glesys.rb +1 -11
- data/lib/fog/glesys/compute.rb +6 -4
- data/lib/fog/glesys/core.rb +11 -0
- data/lib/fog/glesys/models/compute/server.rb +2 -2
- data/lib/fog/go_grid.rb +1 -11
- data/lib/fog/go_grid/compute.rb +1 -1
- data/lib/fog/go_grid/core.rb +11 -0
- data/lib/fog/go_grid/models/compute/server.rb +2 -2
- data/lib/fog/google.rb +2 -24
- data/lib/fog/google/README.md +8 -5
- data/lib/fog/google/compute.rb +10 -3
- data/lib/fog/google/core.rb +24 -0
- data/lib/fog/google/models/compute/flavors.rb +1 -1
- data/lib/fog/google/models/compute/images.rb +2 -0
- data/lib/fog/google/models/compute/servers.rb +1 -1
- data/lib/fog/google/models/compute/zones.rb +1 -1
- data/lib/fog/google/requests/compute/attach_disk.rb +29 -0
- data/lib/fog/google/requests/compute/delete_address.rb +31 -0
- data/lib/fog/google/requests/compute/delete_snapshot.rb +35 -0
- data/lib/fog/google/requests/compute/detach_disk.rb +29 -0
- data/lib/fog/google/requests/compute/get_address.rb +31 -0
- data/lib/fog/google/requests/compute/insert_address.rb +30 -0
- data/lib/fog/google/requests/compute/insert_firewall.rb +6 -9
- data/lib/fog/google/requests/compute/list_addresses.rb +28 -0
- data/lib/fog/google/requests/compute/set_metadata.rb +4 -5
- data/lib/fog/google/requests/compute/set_tags.rb +33 -0
- data/lib/fog/google/requests/storage/get_bucket_acl.rb +2 -2
- data/lib/fog/google/requests/storage/put_bucket_acl.rb +39 -48
- data/lib/fog/google/requests/storage/put_object_acl.rb +55 -0
- data/lib/fog/google/storage.rb +2 -1
- data/lib/fog/hp.rb +9 -352
- data/lib/fog/hp/block_storage.rb +1 -1
- data/lib/fog/hp/block_storage_v2.rb +1 -1
- data/lib/fog/hp/cdn.rb +1 -1
- data/lib/fog/hp/compute.rb +1 -1
- data/lib/fog/hp/compute_v2.rb +1 -1
- data/lib/fog/hp/core.rb +352 -0
- data/lib/fog/hp/dns.rb +1 -1
- data/lib/fog/hp/lb.rb +1 -1
- data/lib/fog/hp/models/compute/server.rb +2 -2
- data/lib/fog/hp/models/compute_v2/server.rb +2 -2
- data/lib/fog/hp/models/storage/directory.rb +12 -6
- data/lib/fog/hp/network.rb +1 -1
- data/lib/fog/hp/storage.rb +1 -1
- data/lib/fog/ibm.rb +2 -176
- data/lib/fog/ibm/compute.rb +1 -1
- data/lib/fog/ibm/core.rb +176 -0
- data/lib/fog/ibm/storage.rb +1 -1
- data/lib/fog/internet_archive.rb +1 -292
- data/lib/fog/internet_archive/core.rb +292 -0
- data/lib/fog/internet_archive/models/storage/file.rb +1 -1
- data/lib/fog/internet_archive/storage.rb +1 -1
- data/lib/fog/joyent.rb +2 -10
- data/lib/fog/joyent/compute.rb +1 -1
- data/lib/fog/joyent/core.rb +10 -0
- data/lib/fog/joyent/errors.rb +1 -0
- data/lib/fog/libvirt.rb +1 -11
- data/lib/fog/libvirt/compute.rb +1 -1
- data/lib/fog/libvirt/core.rb +11 -0
- data/lib/fog/libvirt/models/compute/README.md +1 -1
- data/lib/fog/libvirt/models/compute/server.rb +6 -6
- data/lib/fog/libvirt/models/compute/templates/volume.xml.erb +12 -0
- data/lib/fog/libvirt/models/compute/volume.rb +1 -0
- data/lib/fog/linode.rb +2 -10
- data/lib/fog/linode/compute.rb +1 -1
- data/lib/fog/linode/core.rb +10 -0
- data/lib/fog/linode/dns.rb +1 -1
- data/lib/fog/local.rb +1 -11
- data/lib/fog/local/core.rb +11 -0
- data/lib/fog/local/storage.rb +1 -1
- data/lib/fog/ninefold.rb +1 -12
- data/lib/fog/ninefold/compute.rb +1 -1
- data/lib/fog/ninefold/core.rb +12 -0
- data/lib/fog/openstack.rb +8 -249
- data/lib/fog/openstack/compute.rb +3 -1
- data/lib/fog/openstack/core.rb +249 -0
- data/lib/fog/openstack/docs/compute.md +681 -0
- data/lib/fog/openstack/docs/getting_started.md +81 -0
- data/lib/fog/openstack/docs/storage.md +441 -0
- data/lib/fog/openstack/identity.rb +1 -1
- data/lib/fog/openstack/image.rb +1 -1
- data/lib/fog/openstack/metering.rb +1 -1
- data/lib/fog/openstack/models/compute/server.rb +13 -5
- data/lib/fog/openstack/models/compute/servers.rb +13 -0
- data/lib/fog/openstack/models/network/network.rb +9 -11
- data/lib/fog/openstack/models/network/security_group.rb +32 -0
- data/lib/fog/openstack/models/network/security_group_rule.rb +33 -0
- data/lib/fog/openstack/models/network/security_group_rules.rb +33 -0
- data/lib/fog/openstack/models/network/security_groups.rb +34 -0
- data/lib/fog/openstack/models/storage/directories.rb +1 -0
- data/lib/fog/openstack/network.rb +19 -1
- data/lib/fog/openstack/orchestration.rb +1 -1
- data/lib/fog/openstack/requests/compute/add_security_group.rb +24 -0
- data/lib/fog/openstack/requests/compute/create_flavor.rb +1 -1
- data/lib/fog/openstack/requests/compute/create_server.rb +3 -3
- data/lib/fog/openstack/requests/compute/remove_security_group.rb +24 -0
- data/lib/fog/openstack/requests/image/update_image_members.rb +2 -2
- data/lib/fog/openstack/requests/network/create_security_group.rb +94 -0
- data/lib/fog/openstack/requests/network/create_security_group_rule.rb +79 -0
- data/lib/fog/openstack/requests/network/delete_security_group.rb +32 -0
- data/lib/fog/openstack/requests/network/delete_security_group_rule.rb +36 -0
- data/lib/fog/openstack/requests/network/get_security_group.rb +52 -0
- data/lib/fog/openstack/requests/network/get_security_group_rule.rb +47 -0
- data/lib/fog/openstack/requests/network/list_networks.rb +0 -1
- data/lib/fog/openstack/requests/network/list_security_group_rules.rb +52 -0
- data/lib/fog/openstack/requests/network/list_security_groups.rb +57 -0
- data/lib/fog/openstack/storage.rb +2 -2
- data/lib/fog/openstack/volume.rb +1 -1
- data/lib/fog/openvz.rb +1 -9
- data/lib/fog/openvz/compute.rb +1 -1
- data/lib/fog/openvz/core.rb +9 -0
- data/lib/fog/ovirt.rb +1 -17
- data/lib/fog/ovirt/compute.rb +2 -0
- data/lib/fog/ovirt/core.rb +17 -0
- data/lib/fog/rackspace.rb +12 -145
- data/lib/fog/rackspace/auto_scale.rb +1 -1
- data/lib/fog/rackspace/block_storage.rb +5 -1
- data/lib/fog/rackspace/cdn.rb +22 -16
- data/lib/fog/rackspace/compute.rb +1 -1
- data/lib/fog/rackspace/compute_v2.rb +6 -2
- data/lib/fog/rackspace/core.rb +145 -0
- data/lib/fog/rackspace/databases.rb +5 -1
- data/lib/fog/rackspace/dns.rb +1 -1
- data/lib/fog/rackspace/docs/compute_v2.md +2 -10
- data/lib/fog/rackspace/errors.rb +1 -1
- data/lib/fog/rackspace/examples/storage/upload_file.rb +1 -1
- data/lib/fog/rackspace/identity.rb +26 -16
- data/lib/fog/rackspace/load_balancers.rb +7 -1
- data/lib/fog/rackspace/mock_data.rb +17 -0
- data/lib/fog/rackspace/models/compute/server.rb +2 -2
- data/lib/fog/rackspace/models/compute_v2/key_pair.rb +1 -1
- data/lib/fog/rackspace/models/compute_v2/server.rb +42 -5
- data/lib/fog/rackspace/models/monitoring/entities.rb +1 -1
- data/lib/fog/rackspace/models/queues/claim.rb +9 -1
- data/lib/fog/rackspace/models/storage/directory.rb +5 -2
- data/lib/fog/rackspace/models/storage/file.rb +14 -0
- data/lib/fog/rackspace/monitoring.rb +11 -2
- data/lib/fog/rackspace/queues.rb +318 -34
- data/lib/fog/rackspace/requests/compute_v2/create_keypair.rb +16 -5
- data/lib/fog/rackspace/requests/compute_v2/create_server.rb +7 -1
- data/lib/fog/rackspace/requests/compute_v2/delete_keypair.rb +1 -1
- data/lib/fog/rackspace/requests/identity/create_token.rb +192 -0
- data/lib/fog/rackspace/requests/identity/list_tenants.rb +23 -0
- data/lib/fog/rackspace/requests/monitoring/get_agent.rb +45 -0
- data/lib/fog/rackspace/requests/monitoring/get_cpus_info.rb +63 -0
- data/lib/fog/rackspace/requests/monitoring/get_disks_info.rb +56 -0
- data/lib/fog/rackspace/requests/monitoring/get_filesystems_info.rb +64 -0
- data/lib/fog/rackspace/requests/monitoring/get_logged_in_user_info.rb +58 -0
- data/lib/fog/rackspace/requests/monitoring/get_memory_info.rb +59 -0
- data/lib/fog/rackspace/requests/monitoring/get_network_interfaces_info.rb +91 -0
- data/lib/fog/rackspace/requests/monitoring/get_processes_info.rb +72 -0
- data/lib/fog/rackspace/requests/monitoring/get_system_info.rb +53 -0
- data/lib/fog/rackspace/requests/monitoring/list_agents.rb +62 -0
- data/lib/fog/rackspace/requests/queues/create_claim.rb +37 -0
- data/lib/fog/rackspace/requests/queues/create_message.rb +23 -0
- data/lib/fog/rackspace/requests/queues/create_queue.rb +15 -1
- data/lib/fog/rackspace/requests/queues/delete_claim.rb +18 -0
- data/lib/fog/rackspace/requests/queues/delete_message.rb +34 -0
- data/lib/fog/rackspace/requests/queues/delete_queue.rb +12 -0
- data/lib/fog/rackspace/requests/queues/get_claim.rb +15 -0
- data/lib/fog/rackspace/requests/queues/get_message.rb +17 -0
- data/lib/fog/rackspace/requests/queues/get_queue.rb +14 -1
- data/lib/fog/rackspace/requests/queues/get_queue_stats.rb +36 -0
- data/lib/fog/rackspace/requests/queues/list_messages.rb +33 -0
- data/lib/fog/rackspace/requests/queues/list_queues.rb +35 -1
- data/lib/fog/rackspace/requests/queues/update_claim.rb +17 -0
- data/lib/fog/rackspace/requests/storage/delete_container.rb +15 -0
- data/lib/fog/rackspace/requests/storage/delete_multiple_objects.rb +57 -0
- data/lib/fog/rackspace/requests/storage/delete_object.rb +14 -0
- data/lib/fog/rackspace/requests/storage/delete_static_large_object.rb +33 -0
- data/lib/fog/rackspace/requests/storage/extract_archive.rb +39 -0
- data/lib/fog/rackspace/requests/storage/get_container.rb +25 -0
- data/lib/fog/rackspace/requests/storage/get_containers.rb +17 -0
- data/lib/fog/rackspace/requests/storage/get_object.rb +26 -0
- data/lib/fog/rackspace/requests/storage/get_object_http_url.rb +9 -2
- data/lib/fog/rackspace/requests/storage/get_object_https_url.rb +8 -1
- data/lib/fog/rackspace/requests/storage/head_container.rb +12 -0
- data/lib/fog/rackspace/requests/storage/head_containers.rb +19 -0
- data/lib/fog/rackspace/requests/storage/head_object.rb +26 -0
- data/lib/fog/rackspace/requests/storage/post_set_meta_temp_url_key.rb +10 -0
- data/lib/fog/rackspace/requests/storage/put_container.rb +16 -0
- data/lib/fog/rackspace/requests/storage/put_dynamic_obj_manifest.rb +23 -0
- data/lib/fog/rackspace/requests/storage/put_object.rb +39 -0
- data/lib/fog/rackspace/requests/storage/put_object_manifest.rb +9 -1
- data/lib/fog/rackspace/requests/storage/put_static_obj_manifest.rb +48 -0
- data/lib/fog/rackspace/storage.rb +320 -67
- data/lib/fog/rage4.rb +2 -0
- data/lib/fog/rage4/core.rb +11 -0
- data/lib/fog/rage4/dns.rb +74 -0
- data/lib/fog/rage4/models/dns/record.rb +77 -0
- data/lib/fog/rage4/models/dns/records.rb +42 -0
- data/lib/fog/rage4/models/dns/zone.rb +46 -0
- data/lib/fog/rage4/models/dns/zones.rb +34 -0
- data/lib/fog/rage4/requests/dns/create_domain.rb +33 -0
- data/lib/fog/rage4/requests/dns/create_domain_vanity.rb +34 -0
- data/lib/fog/rage4/requests/dns/create_record.rb +65 -0
- data/lib/fog/rage4/requests/dns/create_reverse_domain_4.rb +32 -0
- data/lib/fog/rage4/requests/dns/delete_domain.rb +28 -0
- data/lib/fog/rage4/requests/dns/delete_record.rb +28 -0
- data/lib/fog/rage4/requests/dns/get_domain.rb +30 -0
- data/lib/fog/rage4/requests/dns/get_domain_by_name.rb +30 -0
- data/lib/fog/rage4/requests/dns/list_domains.rb +41 -0
- data/lib/fog/rage4/requests/dns/list_geo_regions.rb +27 -0
- data/lib/fog/rage4/requests/dns/list_record_types.rb +26 -0
- data/lib/fog/rage4/requests/dns/list_records.rb +31 -0
- data/lib/fog/rage4/requests/dns/set_record_failover.rb +29 -0
- data/lib/fog/rage4/requests/dns/show_current_usage.rb +25 -0
- data/lib/fog/rage4/requests/dns/show_global_usage.rb +25 -0
- data/lib/fog/rage4/requests/dns/update_domain.rb +43 -0
- data/lib/fog/rage4/requests/dns/update_record.rb +64 -0
- data/lib/fog/riakcs.rb +2 -122
- data/lib/fog/riakcs/core.rb +122 -0
- data/lib/fog/riakcs/provisioning.rb +1 -1
- data/lib/fog/riakcs/usage.rb +1 -1
- data/lib/fog/serverlove.rb +1 -10
- data/lib/fog/serverlove/compute.rb +2 -0
- data/lib/fog/serverlove/core.rb +10 -0
- data/lib/fog/storm_on_demand.rb +9 -20
- data/lib/fog/storm_on_demand/account.rb +1 -1
- data/lib/fog/storm_on_demand/billing.rb +1 -1
- data/lib/fog/storm_on_demand/compute.rb +1 -1
- data/lib/fog/storm_on_demand/core.rb +20 -0
- data/lib/fog/storm_on_demand/dns.rb +1 -1
- data/lib/fog/storm_on_demand/monitoring.rb +1 -1
- data/lib/fog/storm_on_demand/network.rb +1 -1
- data/lib/fog/storm_on_demand/shared.rb +0 -1
- data/lib/fog/storm_on_demand/storage.rb +1 -1
- data/lib/fog/storm_on_demand/support.rb +1 -1
- data/lib/fog/storm_on_demand/vpn.rb +1 -1
- data/lib/fog/vcloud.rb +1 -11
- data/lib/fog/vcloud/compute.rb +1 -1
- data/lib/fog/vcloud/core.rb +11 -0
- data/lib/fog/vcloud_director.rb +1 -67
- data/lib/fog/vcloud_director/compute.rb +1 -1
- data/lib/fog/vcloud_director/core.rb +67 -0
- data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +1 -1
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vmfusion.rb +1 -11
- data/lib/fog/vmfusion/compute.rb +1 -1
- data/lib/fog/vmfusion/core.rb +11 -0
- data/lib/fog/vmfusion/models/compute/server.rb +5 -5
- data/lib/fog/voxel.rb +1 -16
- data/lib/fog/voxel/compute.rb +1 -1
- data/lib/fog/voxel/core.rb +16 -0
- data/lib/fog/vsphere.rb +1 -17
- data/lib/fog/vsphere/compute.rb +1 -0
- data/lib/fog/vsphere/core.rb +17 -0
- data/lib/fog/xenserver.rb +1 -83
- data/lib/fog/xenserver/compute.rb +1 -1
- data/lib/fog/xenserver/core.rb +83 -0
- data/lib/fog/xenserver/models/compute/storage_manager.rb +1 -1
- data/lib/fog/zerigo.rb +1 -11
- data/lib/fog/zerigo/core.rb +11 -0
- data/lib/fog/zerigo/dns.rb +1 -1
- data/lib/tasks/changelog_task.rb +2 -0
- data/tests/aws/models/compute/network_acl_tests.rb +109 -0
- data/tests/aws/models/compute/network_acls_tests.rb +7 -0
- data/tests/aws/models/elasticache/subnet_groups_tests.rb +44 -0
- data/tests/aws/requests/compute/network_acl_tests.rb +86 -0
- data/tests/aws/requests/compute/route_tests.rb +64 -3
- data/tests/aws/requests/compute/subnet_tests.rb +18 -11
- data/tests/aws/requests/elasticache/helper.rb +19 -0
- data/tests/aws/requests/elasticache/subnet_group_tests.rb +52 -0
- data/tests/aws/requests/iam/server_certificate_tests.rb +3 -0
- data/tests/aws/requests/rds/subnet_groups_tests.rb +1 -1
- data/tests/aws/requests/storage/multipart_upload_tests.rb +3 -14
- data/tests/brightbox/compute/schema.rb +118 -2
- data/tests/brightbox/helper.rb +1 -0
- data/tests/brightbox/models/compute/cloud_ip_tests.rb +32 -0
- data/tests/brightbox/models/compute/database_server_tests.rb +66 -0
- data/tests/brightbox/models/compute/database_snapshot_tests.rb +26 -0
- data/tests/brightbox/models/compute/database_type_tests.rb +27 -0
- data/tests/brightbox/requests/compute/database_server_tests.rb +54 -0
- data/tests/brightbox/requests/compute/database_snapsnot_tests.rb +47 -0
- data/tests/brightbox/requests/compute/database_type_tests.rb +17 -0
- data/tests/compute/models/server_tests.rb +20 -2
- data/tests/digitalocean/helper.rb +9 -4
- data/tests/digitalocean/models/compute/server_tests.rb +1 -0
- data/tests/digitalocean/models/compute/servers_tests.rb +19 -4
- data/tests/digitalocean/requests/compute/create_server_tests.rb +13 -6
- data/tests/digitalocean/requests/compute/list_servers_tests.rb +2 -1
- data/tests/dns/helper.rb +3 -0
- data/tests/dns/models/record_tests.rb +1 -1
- data/tests/dns/models/records_tests.rb +1 -1
- data/tests/dns/models/zone_tests.rb +1 -1
- data/tests/dns/models/zones_tests.rb +1 -1
- data/tests/helper.rb +7 -1
- data/tests/helpers/compute/server_helper.rb +1 -0
- data/tests/helpers/compute/servers_helper.rb +1 -0
- data/tests/openstack/models/network/security_group_rule_tests.rb +27 -0
- data/tests/openstack/models/network/security_group_rules_tests.rb +25 -0
- data/tests/openstack/models/network/security_group_tests.rb +17 -0
- data/tests/openstack/models/network/security_groups_tests.rb +16 -0
- data/tests/openstack/requests/compute/helper.rb +5 -0
- data/tests/openstack/requests/compute/server_tests.rb +11 -0
- data/tests/openstack/requests/network/security_group_rule_tests.rb +58 -0
- data/tests/openstack/requests/network/security_group_tests.rb +43 -0
- data/tests/rackspace/identity_tests.rb +0 -4
- data/tests/rackspace/models/compute_v2/server_tests.rb +36 -8
- data/tests/rackspace/models/queues/claim_tests.rb +1 -3
- data/tests/rackspace/models/queues/claims_tests.rb +1 -3
- data/tests/rackspace/models/queues/message_tests.rb +1 -3
- data/tests/rackspace/models/queues/messages_tests.rb +1 -3
- data/tests/rackspace/models/queues/queue_tests.rb +1 -3
- data/tests/rackspace/models/queues/queues_tests.rb +1 -3
- data/tests/rackspace/models/storage/account_tests.rb +0 -2
- data/tests/rackspace/models/storage/directories_tests.rb +0 -3
- data/tests/rackspace/models/storage/directory_tests.rb +2 -5
- data/tests/rackspace/models/storage/file_tests.rb +49 -2
- data/tests/rackspace/models/storage/files_tests.rb +1 -4
- data/tests/rackspace/queues_tests.rb +0 -13
- data/tests/rackspace/requests/identity/token_tests.rb +1 -3
- data/tests/rackspace/requests/monitoring/agent_tests.rb +42 -0
- data/tests/rackspace/requests/queues/claim_tests.rb +1 -3
- data/tests/rackspace/requests/queues/messages_tests.rb +0 -6
- data/tests/rackspace/requests/queues/queues_tests.rb +0 -5
- data/tests/rackspace/requests/storage/account_tests.rb +0 -1
- data/tests/rackspace/requests/storage/container_tests.rb +7 -11
- data/tests/rackspace/requests/storage/large_object_tests.rb +33 -43
- data/tests/rackspace/requests/storage/object_tests.rb +2 -27
- data/tests/rackspace/storage_tests.rb +9 -15
- data/tests/rage4/requests/dns/dns_tests.rb +241 -0
- data/tests/vcloud/requests/compute/disk_configure_tests.rb +0 -8
- metadata +190 -33
- data/lib/fog/brightbox/requests/compute/destroy_user_collaboration.rb +0 -21
@@ -6,38 +6,306 @@ module Fog
|
|
6
6
|
class AWS
|
7
7
|
|
8
8
|
FLAVORS = [
|
9
|
-
{
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
{
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
{
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
{
|
40
|
-
|
9
|
+
{
|
10
|
+
:id => 't1.micro',
|
11
|
+
:name => 'Micro Instance',
|
12
|
+
:bits => 0,
|
13
|
+
:cores => 2,
|
14
|
+
:disk => 0,
|
15
|
+
:ram => 613,
|
16
|
+
:ebs_optimized_available => false,
|
17
|
+
:instance_store_volumes => 0
|
18
|
+
},
|
19
|
+
{
|
20
|
+
:id => 'm1.small',
|
21
|
+
:name => 'Small Instance',
|
22
|
+
:bits => 32,
|
23
|
+
:cores => 1,
|
24
|
+
:disk => 160,
|
25
|
+
:ram => 1740.8,
|
26
|
+
:ebs_optimized_available => false,
|
27
|
+
:instance_store_volumes => 1
|
28
|
+
},
|
29
|
+
{
|
30
|
+
:id => 'm1.medium',
|
31
|
+
:name => 'Medium Instance',
|
32
|
+
:bits => 32,
|
33
|
+
:cores => 2,
|
34
|
+
:disk => 400,
|
35
|
+
:ram => 3750,
|
36
|
+
:ebs_optimized_available => false,
|
37
|
+
:instance_store_volumes => 1
|
38
|
+
},
|
39
|
+
{
|
40
|
+
:id => 'm1.large',
|
41
|
+
:name => 'Large Instance',
|
42
|
+
:bits => 64,
|
43
|
+
:cores => 4,
|
44
|
+
:disk => 850,
|
45
|
+
:ram => 7680,
|
46
|
+
:ebs_optimized_available => true,
|
47
|
+
:instance_store_volumes => 2
|
48
|
+
},
|
49
|
+
{
|
50
|
+
:id => 'm1.xlarge',
|
51
|
+
:name => 'Extra Large Instance',
|
52
|
+
:bits => 64,
|
53
|
+
:cores => 8,
|
54
|
+
:disk => 1690,
|
55
|
+
:ram => 15360,
|
56
|
+
:ebs_optimized_available => true,
|
57
|
+
:instance_store_volumes => 4
|
58
|
+
},
|
59
|
+
{
|
60
|
+
:id => 'c1.medium',
|
61
|
+
:bits => 32,
|
62
|
+
:cores => 5,
|
63
|
+
:disk => 350,
|
64
|
+
:name => 'High-CPU Medium',
|
65
|
+
:ram => 1740.8,
|
66
|
+
:ebs_optimized_available => false,
|
67
|
+
:instance_store_volumes => 1
|
68
|
+
},
|
69
|
+
{
|
70
|
+
:id => 'c1.xlarge',
|
71
|
+
:name => 'High-CPU Extra Large',
|
72
|
+
:bits => 64,
|
73
|
+
:cores => 20,
|
74
|
+
:disk => 1690,
|
75
|
+
:ram => 7168,
|
76
|
+
:ebs_optimized_available => true,
|
77
|
+
:instance_store_volumes => 4
|
78
|
+
},
|
79
|
+
{
|
80
|
+
:id => 'c3.large',
|
81
|
+
:name => 'C3 Large',
|
82
|
+
:bits => 64,
|
83
|
+
:cores => 7,
|
84
|
+
:disk => 32,
|
85
|
+
:ram => 3750,
|
86
|
+
:ebs_optimized_available => false,
|
87
|
+
:instance_store_volumes => 2
|
88
|
+
},
|
89
|
+
{
|
90
|
+
:id => 'c3.xlarge',
|
91
|
+
:name => 'C3 Extra Large',
|
92
|
+
:bits => 64,
|
93
|
+
:cores => 14,
|
94
|
+
:disk => 80,
|
95
|
+
:ram => 7168,
|
96
|
+
:ebs_optimized_available => true,
|
97
|
+
:instance_store_volumes => 2
|
98
|
+
},
|
99
|
+
{
|
100
|
+
:id => 'c3.2xlarge',
|
101
|
+
:name => 'C3 Double Extra Large',
|
102
|
+
:bits => 64,
|
103
|
+
:cores => 28,
|
104
|
+
:disk => 160,
|
105
|
+
:ram => 15360,
|
106
|
+
:ebs_optimized_available => true,
|
107
|
+
:instance_store_volumes => 2
|
108
|
+
},
|
109
|
+
{
|
110
|
+
:id => 'c3.4xlarge',
|
111
|
+
:name => 'C3 Quadruple Extra Large',
|
112
|
+
:bits => 64,
|
113
|
+
:cores => 55,
|
114
|
+
:disk => 320,
|
115
|
+
:ram => 30720,
|
116
|
+
:ebs_optimized_available => true,
|
117
|
+
:instance_store_volumes => 2
|
118
|
+
},
|
119
|
+
{
|
120
|
+
:id => 'c3.8xlarge',
|
121
|
+
:name => 'C3 Eight Extra Large',
|
122
|
+
:bits => 64,
|
123
|
+
:cores => 108,
|
124
|
+
:disk => 640,
|
125
|
+
:ram => 61440,
|
126
|
+
:ebs_optimized_available => false,
|
127
|
+
:instance_store_volumes => 2
|
128
|
+
},
|
129
|
+
{
|
130
|
+
:id => 'g2.2xlarge',
|
131
|
+
:name => 'GPU Double Extra Large',
|
132
|
+
:bits => 64,
|
133
|
+
:cores => 26,
|
134
|
+
:disk => 60,
|
135
|
+
:ram => 15360,
|
136
|
+
:ebs_optimized_available => true,
|
137
|
+
:instance_store_volumes => 0
|
138
|
+
},
|
139
|
+
{
|
140
|
+
:id => 'hs1.8xlarge',
|
141
|
+
:name => 'High Storage Eight Extra Large',
|
142
|
+
:bits => 64,
|
143
|
+
:cores => 35,
|
144
|
+
:disk => 50331648,
|
145
|
+
:ram => 119808,
|
146
|
+
:ebs_optimized_available => false,
|
147
|
+
:instance_store_volumes => 24
|
148
|
+
},
|
149
|
+
{
|
150
|
+
:id => 'm2.xlarge',
|
151
|
+
:name => 'High-Memory Extra Large',
|
152
|
+
:bits => 64,
|
153
|
+
:cores => 6.5,
|
154
|
+
:disk => 420,
|
155
|
+
:ram => 17510.4,
|
156
|
+
:ebs_optimized_available => false,
|
157
|
+
:instance_store_volumes => 1
|
158
|
+
},
|
159
|
+
{
|
160
|
+
:id => 'm2.2xlarge',
|
161
|
+
:name => 'High Memory Double Extra Large',
|
162
|
+
:bits => 64,
|
163
|
+
:cores => 13,
|
164
|
+
:disk => 850,
|
165
|
+
:ram => 35020.8,
|
166
|
+
:ebs_optimized_available => true,
|
167
|
+
:instance_store_volumes => 1
|
168
|
+
},
|
169
|
+
{
|
170
|
+
:id => 'm2.4xlarge',
|
171
|
+
:name => 'High Memory Quadruple Extra Large',
|
172
|
+
:bits => 64,
|
173
|
+
:cores => 26,
|
174
|
+
:disk => 1690,
|
175
|
+
:ram => 70041.6,
|
176
|
+
:ebs_optimized_available => true,
|
177
|
+
:instance_store_volumes => 2
|
178
|
+
},
|
179
|
+
{
|
180
|
+
:id => 'cr1.8xlarge',
|
181
|
+
:name => 'High Memory Eight Extra Large',
|
182
|
+
:bits => 64,
|
183
|
+
:cores => 88,
|
184
|
+
:disk => 240,
|
185
|
+
:ram => 249856,
|
186
|
+
:ebs_optimized_available => false,
|
187
|
+
:instance_store_volumes => 2
|
188
|
+
},
|
189
|
+
{
|
190
|
+
:id => 'm3.medium',
|
191
|
+
:name => 'M3 Medium',
|
192
|
+
:bits => 64,
|
193
|
+
:cores => 3,
|
194
|
+
:disk => 4,
|
195
|
+
:ram => 3840,
|
196
|
+
:ebs_optimized_available => false,
|
197
|
+
:instance_store_volumes => 0
|
198
|
+
},
|
199
|
+
{
|
200
|
+
:id => 'm3.large',
|
201
|
+
:name => 'M3 Large',
|
202
|
+
:bits => 64,
|
203
|
+
:cores => 6.5,
|
204
|
+
:disk => 32,
|
205
|
+
:ram => 7168,
|
206
|
+
:ebs_optimized_available => false,
|
207
|
+
:instance_store_volumes => 1
|
208
|
+
},
|
209
|
+
{
|
210
|
+
:id => 'm3.xlarge',
|
211
|
+
:name => 'M3 Extra Large',
|
212
|
+
:bits => 64,
|
213
|
+
:cores => 13,
|
214
|
+
:disk => 80,
|
215
|
+
:ram => 15360,
|
216
|
+
:ebs_optimized_available => true,
|
217
|
+
:instance_store_volumes => 2
|
218
|
+
},
|
219
|
+
{
|
220
|
+
:id => 'm3.2xlarge',
|
221
|
+
:name => 'M3 Double Extra Large',
|
222
|
+
:bits => 64,
|
223
|
+
:cores => 26,
|
224
|
+
:disk => 160,
|
225
|
+
:ram => 30720,
|
226
|
+
:ebs_optimized_available => true,
|
227
|
+
:instance_store_volumes => 2
|
228
|
+
},
|
229
|
+
{
|
230
|
+
:id => "hi1.4xlarge",
|
231
|
+
:name => "High I/O Quadruple Extra Large Instance",
|
232
|
+
:bits => 64,
|
233
|
+
:cores => 35,
|
234
|
+
:disk => 2048,
|
235
|
+
:ram => 61952,
|
236
|
+
:ebs_optimized_available => false,
|
237
|
+
:instance_store_volumes => 2
|
238
|
+
},
|
239
|
+
{
|
240
|
+
:id => 'cc1.4xlarge',
|
241
|
+
:name => 'Cluster Compute Quadruple Extra Large',
|
242
|
+
:bits => 64,
|
243
|
+
:cores => 33.5,
|
244
|
+
:disk => 1690,
|
245
|
+
:ram => 23552,
|
246
|
+
:ebs_optimized_available => false,
|
247
|
+
:instance_store_volumes => 0
|
248
|
+
},
|
249
|
+
{
|
250
|
+
:id => 'cc2.8xlarge',
|
251
|
+
:name => 'Cluster Compute Eight Extra Large',
|
252
|
+
:bits => 64,
|
253
|
+
:cores => 88,
|
254
|
+
:disk => 3370,
|
255
|
+
:ram => 61952,
|
256
|
+
:ebs_optimized_available => false,
|
257
|
+
:instance_store_volumes => 4
|
258
|
+
},
|
259
|
+
{
|
260
|
+
:id => 'cg1.4xlarge',
|
261
|
+
:name => 'Cluster GPU Quadruple Extra Large',
|
262
|
+
:bits => 64,
|
263
|
+
:cores => 33.5,
|
264
|
+
:disk => 1690,
|
265
|
+
:ram => 22528,
|
266
|
+
:ebs_optimized_available => false,
|
267
|
+
:instance_store_volumes => 2
|
268
|
+
},
|
269
|
+
{
|
270
|
+
:id => 'i2.xlarge',
|
271
|
+
:name => 'I2 Extra Large',
|
272
|
+
:bits => 64,
|
273
|
+
:cores => 14,
|
274
|
+
:disk => 800,
|
275
|
+
:ram => 31232,
|
276
|
+
:ebs_optimized_available => true,
|
277
|
+
:instance_store_volumes => 1
|
278
|
+
},
|
279
|
+
{
|
280
|
+
:id => 'i2.2xlarge',
|
281
|
+
:name => 'I2 Double Extra Large',
|
282
|
+
:bits => 64,
|
283
|
+
:cores => 27,
|
284
|
+
:disk => 1600,
|
285
|
+
:ram => 62464,
|
286
|
+
:ebs_optimized_available => true,
|
287
|
+
:instance_store_volumes => 2
|
288
|
+
},
|
289
|
+
{
|
290
|
+
:id => 'i2.4xlarge',
|
291
|
+
:name => 'I2 Quadruple Extra Large',
|
292
|
+
:bits => 64,
|
293
|
+
:cores => 53,
|
294
|
+
:disk => 3200,
|
295
|
+
:ram => 124928,
|
296
|
+
:ebs_optimized_available => true,
|
297
|
+
:instance_store_volumes => 4
|
298
|
+
},
|
299
|
+
{
|
300
|
+
:id => 'i2.8xlarge',
|
301
|
+
:name => 'I2 Eight Extra Large',
|
302
|
+
:bits => 64,
|
303
|
+
:cores => 104,
|
304
|
+
:disk => 6400,
|
305
|
+
:ram => 249856,
|
306
|
+
:ebs_optimized_available => false,
|
307
|
+
:instance_store_volumes => 8
|
308
|
+
}
|
41
309
|
]
|
42
310
|
|
43
311
|
class Flavors < Fog::Collection
|
@@ -50,7 +318,7 @@ module Fog
|
|
50
318
|
#
|
51
319
|
# ==== Returns
|
52
320
|
#
|
53
|
-
# Returns an array of all available
|
321
|
+
# Returns an array of all available instances and their general information
|
54
322
|
#
|
55
323
|
#>> AWS.flavors.all
|
56
324
|
# <Fog::AWS::Compute::Flavors
|
@@ -61,7 +329,9 @@ module Fog
|
|
61
329
|
# cores=2,
|
62
330
|
# disk=0,
|
63
331
|
# name="Micro Instance",
|
64
|
-
# ram=613
|
332
|
+
# ram=613,
|
333
|
+
# ebs_optimized_available=false,
|
334
|
+
# instance_store_volumes=0
|
65
335
|
# >,
|
66
336
|
# <Fog::AWS::Compute::Flavor
|
67
337
|
# id="m1.small",
|
@@ -69,7 +339,9 @@ module Fog
|
|
69
339
|
# cores=1,
|
70
340
|
# disk=160,
|
71
341
|
# name="Small Instance",
|
72
|
-
# ram=1740.8
|
342
|
+
# ram=1740.8,
|
343
|
+
# ebs_optimized_available=false,
|
344
|
+
# instance_store_volumes=1
|
73
345
|
# >,
|
74
346
|
# <Fog::AWS::Compute::Flavor
|
75
347
|
# id="m1.medium",
|
@@ -77,7 +349,9 @@ module Fog
|
|
77
349
|
# cores=2,
|
78
350
|
# disk=400,
|
79
351
|
# name="Medium Instance",
|
80
|
-
# ram=3750
|
352
|
+
# ram=3750,
|
353
|
+
# ebs_optimized_available=false,
|
354
|
+
# instance_store_volumes=1
|
81
355
|
# >,
|
82
356
|
# <Fog::AWS::Compute::Flavor
|
83
357
|
# id="m1.large",
|
@@ -85,7 +359,9 @@ module Fog
|
|
85
359
|
# cores=4,
|
86
360
|
# disk=850,
|
87
361
|
# name="Large Instance",
|
88
|
-
# ram=7680
|
362
|
+
# ram=7680,
|
363
|
+
# ebs_optimized_available=true
|
364
|
+
# instance_store_volumes=2
|
89
365
|
# >,
|
90
366
|
# <Fog::AWS::Compute::Flavor
|
91
367
|
# id="m1.xlarge",
|
@@ -93,7 +369,10 @@ module Fog
|
|
93
369
|
# cores=8,
|
94
370
|
# disk=1690,
|
95
371
|
# name="Extra Large Instance",
|
96
|
-
# ram=15360
|
372
|
+
# ram=15360,
|
373
|
+
# ebs_optimized_available=true,
|
374
|
+
# instance_store_volumes=4
|
375
|
+
#
|
97
376
|
# >,
|
98
377
|
# <Fog::AWS::Compute::Flavor
|
99
378
|
# id="c1.medium",
|
@@ -101,7 +380,9 @@ module Fog
|
|
101
380
|
# cores=5,
|
102
381
|
# disk=350,
|
103
382
|
# name="High-CPU Medium",
|
104
|
-
# ram=1740.8
|
383
|
+
# ram=1740.8,
|
384
|
+
# ebs_optimized_available=false,
|
385
|
+
# instance_store_volumes=1
|
105
386
|
# >,
|
106
387
|
# <Fog::AWS::Compute::Flavor
|
107
388
|
# id="c1.xlarge",
|
@@ -109,7 +390,9 @@ module Fog
|
|
109
390
|
# cores=20,
|
110
391
|
# disk=1690,
|
111
392
|
# name="High-CPU Extra Large",
|
112
|
-
# ram=7168
|
393
|
+
# ram=7168,
|
394
|
+
# ebs_optimized_available=true,
|
395
|
+
# instance_store_volumes=4
|
113
396
|
# >,
|
114
397
|
# <Fog::AWS::Compute::Flavor
|
115
398
|
# id="m2.xlarge",
|
@@ -117,7 +400,9 @@ module Fog
|
|
117
400
|
# cores=6.5,
|
118
401
|
# disk=420,
|
119
402
|
# name="High-Memory Extra Large",
|
120
|
-
# ram=17510.4
|
403
|
+
# ram=17510.4,
|
404
|
+
# ebs_optimized_available=false,
|
405
|
+
# instance_store_volumes=1
|
121
406
|
# >,
|
122
407
|
# <Fog::AWS::Compute::Flavor
|
123
408
|
# id="m2.2xlarge",
|
@@ -125,7 +410,9 @@ module Fog
|
|
125
410
|
# cores=13,
|
126
411
|
# disk=850,
|
127
412
|
# name="High Memory Double Extra Large",
|
128
|
-
# ram=35020.8
|
413
|
+
# ram=35020.8,
|
414
|
+
# ebs_optimized_available=true,
|
415
|
+
# instance_store_volumes=1
|
129
416
|
# >,
|
130
417
|
# <Fog::AWS::Compute::Flavor
|
131
418
|
# id="m2.4xlarge",
|
@@ -133,7 +420,9 @@ module Fog
|
|
133
420
|
# cores=26,
|
134
421
|
# disk=1690,
|
135
422
|
# name="High Memory Quadruple Extra Large",
|
136
|
-
# ram=70041.6
|
423
|
+
# ram=70041.6,
|
424
|
+
# ebs_optimized_available=true,
|
425
|
+
# instance_store_volumes=2
|
137
426
|
# >,
|
138
427
|
# <Fog::AWS::Compute::Flavor
|
139
428
|
# id="cc1.4xlarge",
|
@@ -141,7 +430,9 @@ module Fog
|
|
141
430
|
# cores=33.5,
|
142
431
|
# disk=1690,
|
143
432
|
# name="Cluster Compute Quadruple Extra Large",
|
144
|
-
# ram=23552
|
433
|
+
# ram=23552,
|
434
|
+
# ebs_optimized_available=false,
|
435
|
+
# instance_store_volumes=0
|
145
436
|
# >,
|
146
437
|
# <Fog::Compute::AWS::Flavor
|
147
438
|
# id="m3.xlarge",
|
@@ -149,7 +440,9 @@ module Fog
|
|
149
440
|
# cores=13,
|
150
441
|
# disk=0,
|
151
442
|
# name="M3 Extra Large",
|
152
|
-
# ram=15360
|
443
|
+
# ram=15360,
|
444
|
+
# ebs_optimized_available=true,
|
445
|
+
# instance_store_volumes=2
|
153
446
|
# >,
|
154
447
|
# <Fog::Compute::AWS::Flavor
|
155
448
|
# id="m3.2xlarge",
|
@@ -157,7 +450,9 @@ module Fog
|
|
157
450
|
# cores=26,
|
158
451
|
# disk=0,
|
159
452
|
# name="M3 Double Extra Large",
|
160
|
-
# ram=30720
|
453
|
+
# ram=30720,
|
454
|
+
# ebs_optimized_available=true,
|
455
|
+
# instance_store_volumes=2
|
161
456
|
# >,
|
162
457
|
# <Fog::AWS::Compute::Flavor
|
163
458
|
# id="cc2.8xlarge",
|
@@ -165,7 +460,9 @@ module Fog
|
|
165
460
|
# cores=88,
|
166
461
|
# disk=3370,
|
167
462
|
# name="Cluster Compute Eight Extra Large",
|
168
|
-
# ram=61952
|
463
|
+
# ram=61952,
|
464
|
+
# ebs_optimized_available=false,
|
465
|
+
# instance_store_volumes=4
|
169
466
|
# >,
|
170
467
|
# <Fog::AWS::Compute::Flavor
|
171
468
|
# id="cg1.4xlarge",
|
@@ -173,7 +470,9 @@ module Fog
|
|
173
470
|
# cores=33.5,
|
174
471
|
# disk=1690,
|
175
472
|
# name="Cluster GPU Quadruple Extra Large",
|
176
|
-
# ram=22528
|
473
|
+
# ram=22528,
|
474
|
+
# ebs_optimized_available=false,
|
475
|
+
# instance_store_volumes=2
|
177
476
|
# >
|
178
477
|
# ]
|
179
478
|
# >
|
@@ -187,7 +486,20 @@ module Fog
|
|
187
486
|
# Used to retrieve a flavor
|
188
487
|
# flavor_id is required to get the associated flavor information.
|
189
488
|
# flavors available currently:
|
190
|
-
#
|
489
|
+
#
|
490
|
+
# t1.micro
|
491
|
+
# m1.small, m1.medium, m1.large, m1.xlarge
|
492
|
+
# c1.medium, c1.xlarge
|
493
|
+
# c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge
|
494
|
+
# g2.2xlarge
|
495
|
+
# hs1.8xlarge
|
496
|
+
# m2.xlarge, m2.2xlarge, m2.4xlarge
|
497
|
+
# m3.xlarge, m3.2xlarge
|
498
|
+
# cr1.8xlarge
|
499
|
+
# cc1.4xlarge
|
500
|
+
# cc2.8xlarge
|
501
|
+
# cg1.4xlarge
|
502
|
+
# i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge
|
191
503
|
#
|
192
504
|
# You can run the following command to get the details:
|
193
505
|
# AWS.flavors.get("t1.micro")
|
@@ -202,6 +514,8 @@ module Fog
|
|
202
514
|
# disk=0,
|
203
515
|
# name="Micro Instance",
|
204
516
|
# ram=613
|
517
|
+
# ebs_optimized_available=false
|
518
|
+
# instance_store_volumes=0
|
205
519
|
#>
|
206
520
|
#
|
207
521
|
|