fog 0.8.2 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +6 -6
- data/Rakefile +58 -21
- data/bin/fog +6 -0
- data/changelog.txt +107 -0
- data/docs/about/getting_started.markdown +4 -4
- data/docs/about/press.markdown +7 -0
- data/docs/about/structure.markdown +3 -3
- data/docs/compute/index.markdown +5 -5
- data/docs/dns/index.markdown +3 -3
- data/docs/index.markdown +3 -3
- data/docs/storage/index.markdown +10 -10
- data/examples/compute_tests.rb +71 -0
- data/examples/dns_tests.rb +4 -4
- data/examples/storage_tests.rb +1 -1
- data/fog.gemspec +4 -3
- data/lib/fog.rb +1 -1
- data/lib/fog/aws/cloud_formation.rb +1 -1
- data/lib/fog/aws/elb.rb +3 -3
- data/lib/fog/aws/iam.rb +1 -1
- data/lib/fog/aws/models/elb/load_balancer.rb +3 -2
- data/lib/fog/aws/models/rds/security_group.rb +0 -2
- data/lib/fog/aws/models/rds/server.rb +2 -2
- data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +5 -2
- data/lib/fog/aws/rds.rb +1 -1
- data/lib/fog/aws/requests/cloud_formation/create_stack.rb +1 -1
- data/lib/fog/aws/requests/elb/create_load_balancer.rb +5 -5
- data/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +4 -4
- data/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +1 -1
- data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +1 -1
- data/lib/fog/aws/requests/elb/describe_instance_health.rb +1 -1
- data/lib/fog/aws/requests/elb/describe_load_balancers.rb +16 -11
- data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +1 -1
- data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +1 -1
- data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +1 -1
- data/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +1 -1
- data/lib/fog/aws/requests/rds/create_db_instance.rb +1 -1
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +1 -1
- data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +3 -3
- data/lib/fog/aws/requests/ses/send_email.rb +2 -2
- data/lib/fog/aws/requests/ses/send_raw_email.rb +1 -1
- data/lib/fog/aws/requests/simpledb/delete_attributes.rb +14 -4
- data/lib/fog/aws/simpledb.rb +3 -3
- data/lib/fog/bin.rb +2 -0
- data/lib/fog/bin/aws.rb +8 -4
- data/lib/fog/bin/bluebox.rb +4 -2
- data/lib/fog/bin/brightbox.rb +2 -1
- data/lib/fog/bin/dnsimple.rb +7 -6
- data/lib/fog/bin/dnsmadeeasy.rb +31 -0
- data/lib/fog/bin/ecloud.rb +2 -1
- data/lib/fog/bin/go_grid.rb +2 -1
- data/lib/fog/bin/google.rb +2 -1
- data/lib/fog/bin/linode.rb +4 -2
- data/lib/fog/bin/local.rb +2 -1
- data/lib/fog/bin/new_servers.rb +2 -1
- data/lib/fog/bin/ninefold.rb +31 -0
- data/lib/fog/bin/rackspace.rb +6 -3
- data/lib/fog/bin/slicehost.rb +4 -2
- data/lib/fog/bin/stormondemand.rb +2 -1
- data/lib/fog/bin/virtual_box.rb +2 -1
- data/lib/fog/bin/voxel.rb +2 -1
- data/lib/fog/bin/zerigo.rb +2 -1
- data/lib/fog/cdn.rb +10 -6
- data/lib/fog/cdn/aws.rb +2 -17
- data/lib/fog/cdn/parsers/aws/distribution.rb +2 -2
- data/lib/fog/cdn/parsers/aws/get_distribution_list.rb +2 -2
- data/lib/fog/cdn/parsers/aws/post_invalidation.rb +2 -2
- data/lib/fog/cdn/rackspace.rb +2 -17
- data/lib/fog/cdn/requests/aws/delete_distribution.rb +2 -2
- data/lib/fog/cdn/requests/aws/get_distribution.rb +3 -3
- data/lib/fog/cdn/requests/aws/get_distribution_list.rb +3 -3
- data/lib/fog/cdn/requests/aws/post_distribution.rb +3 -3
- data/lib/fog/cdn/requests/aws/post_invalidation.rb +3 -3
- data/lib/fog/cdn/requests/aws/put_distribution_config.rb +3 -3
- data/lib/fog/cdn/requests/rackspace/get_containers.rb +2 -2
- data/lib/fog/cdn/requests/rackspace/head_container.rb +2 -2
- data/lib/fog/cdn/requests/rackspace/post_container.rb +2 -2
- data/lib/fog/cdn/requests/rackspace/put_container.rb +2 -2
- data/lib/fog/compute.rb +44 -26
- data/lib/fog/compute/aws.rb +5 -20
- data/lib/fog/compute/bluebox.rb +3 -18
- data/lib/fog/compute/brightbox.rb +3 -18
- data/lib/fog/compute/ecloud.rb +4 -5
- data/lib/fog/compute/go_grid.rb +3 -18
- data/lib/fog/compute/linode.rb +4 -19
- data/lib/fog/compute/models/aws/address.rb +2 -2
- data/lib/fog/compute/models/aws/addresses.rb +3 -3
- data/lib/fog/compute/models/aws/flavor.rb +2 -2
- data/lib/fog/compute/models/aws/flavors.rb +4 -4
- data/lib/fog/compute/models/aws/image.rb +2 -2
- data/lib/fog/compute/models/aws/images.rb +3 -3
- data/lib/fog/compute/models/aws/key_pair.rb +2 -3
- data/lib/fog/compute/models/aws/key_pairs.rb +3 -3
- data/lib/fog/compute/models/aws/security_group.rb +2 -2
- data/lib/fog/compute/models/aws/security_groups.rb +3 -3
- data/lib/fog/compute/models/aws/server.rb +18 -15
- data/lib/fog/compute/models/aws/servers.rb +3 -3
- data/lib/fog/compute/models/aws/snapshot.rb +2 -2
- data/lib/fog/compute/models/aws/snapshots.rb +3 -3
- data/lib/fog/compute/models/aws/tag.rb +2 -4
- data/lib/fog/compute/models/aws/tags.rb +3 -3
- data/lib/fog/compute/models/aws/volume.rb +2 -2
- data/lib/fog/compute/models/aws/volumes.rb +3 -3
- data/lib/fog/compute/models/bluebox/flavor.rb +2 -2
- data/lib/fog/compute/models/bluebox/flavors.rb +4 -4
- data/lib/fog/compute/models/bluebox/image.rb +2 -2
- data/lib/fog/compute/models/bluebox/images.rb +4 -4
- data/lib/fog/compute/models/bluebox/server.rb +6 -6
- data/lib/fog/compute/models/bluebox/servers.rb +4 -4
- data/lib/fog/compute/models/brightbox/account.rb +2 -2
- data/lib/fog/compute/models/brightbox/cloud_ip.rb +2 -2
- data/lib/fog/compute/models/brightbox/cloud_ips.rb +3 -3
- data/lib/fog/compute/models/brightbox/flavor.rb +2 -2
- data/lib/fog/compute/models/brightbox/flavors.rb +3 -3
- data/lib/fog/compute/models/brightbox/image.rb +3 -2
- data/lib/fog/compute/models/brightbox/images.rb +3 -3
- data/lib/fog/compute/models/brightbox/load_balancer.rb +2 -2
- data/lib/fog/compute/models/brightbox/load_balancers.rb +3 -3
- data/lib/fog/compute/models/brightbox/server.rb +2 -2
- data/lib/fog/compute/models/brightbox/servers.rb +3 -3
- data/lib/fog/compute/models/brightbox/user.rb +2 -2
- data/lib/fog/compute/models/brightbox/users.rb +3 -3
- data/lib/fog/compute/models/brightbox/zone.rb +2 -2
- data/lib/fog/compute/models/brightbox/zones.rb +3 -3
- data/lib/fog/compute/models/ecloud/backup_internet_service.rb +3 -3
- data/lib/fog/compute/models/ecloud/backup_internet_services.rb +3 -3
- data/lib/fog/compute/models/ecloud/catalog.rb +3 -3
- data/lib/fog/compute/models/ecloud/catalog_item.rb +2 -2
- data/lib/fog/compute/models/ecloud/firewall_acl.rb +2 -2
- data/lib/fog/compute/models/ecloud/firewall_acls.rb +3 -3
- data/lib/fog/compute/models/ecloud/internet_service.rb +3 -3
- data/lib/fog/compute/models/ecloud/internet_services.rb +3 -3
- data/lib/fog/compute/models/ecloud/ip.rb +2 -2
- data/lib/fog/compute/models/ecloud/ips.rb +3 -3
- data/lib/fog/compute/models/ecloud/network.rb +7 -4
- data/lib/fog/compute/models/ecloud/networks.rb +3 -3
- data/lib/fog/compute/models/ecloud/node.rb +2 -2
- data/lib/fog/compute/models/ecloud/nodes.rb +3 -3
- data/lib/fog/compute/models/ecloud/public_ip.rb +3 -3
- data/lib/fog/compute/models/ecloud/public_ips.rb +3 -3
- data/lib/fog/compute/models/ecloud/server.rb +2 -2
- data/lib/fog/compute/models/ecloud/servers.rb +3 -3
- data/lib/fog/compute/models/ecloud/task.rb +2 -2
- data/lib/fog/compute/models/ecloud/tasks.rb +3 -3
- data/lib/fog/compute/models/ecloud/vdc.rb +9 -9
- data/lib/fog/compute/models/ecloud/vdcs.rb +3 -3
- data/lib/fog/compute/models/go_grid/image.rb +2 -2
- data/lib/fog/compute/models/go_grid/images.rb +4 -4
- data/lib/fog/compute/models/go_grid/password.rb +2 -2
- data/lib/fog/compute/models/go_grid/passwords.rb +4 -4
- data/lib/fog/compute/models/go_grid/server.rb +14 -14
- data/lib/fog/compute/models/go_grid/servers.rb +5 -4
- data/lib/fog/compute/models/linode/data_center.rb +2 -2
- data/lib/fog/compute/models/linode/data_centers.rb +3 -3
- data/lib/fog/compute/models/linode/disk.rb +2 -2
- data/lib/fog/compute/models/linode/disks.rb +3 -3
- data/lib/fog/compute/models/linode/flavor.rb +2 -2
- data/lib/fog/compute/models/linode/flavors.rb +3 -3
- data/lib/fog/compute/models/linode/image.rb +2 -2
- data/lib/fog/compute/models/linode/images.rb +4 -4
- data/lib/fog/compute/models/linode/ip.rb +2 -2
- data/lib/fog/compute/models/linode/ips.rb +4 -4
- data/lib/fog/compute/models/linode/kernel.rb +2 -2
- data/lib/fog/compute/models/linode/kernels.rb +4 -4
- data/lib/fog/compute/models/linode/server.rb +4 -4
- data/lib/fog/compute/models/linode/servers.rb +4 -4
- data/lib/fog/compute/models/linode/stack_script.rb +2 -2
- data/lib/fog/compute/models/linode/stack_scripts.rb +4 -4
- data/lib/fog/compute/models/ninefold/address.rb +103 -0
- data/lib/fog/compute/models/ninefold/addresses.rb +31 -0
- data/lib/fog/compute/models/ninefold/flavor.rb +29 -0
- data/lib/fog/compute/models/ninefold/flavors.rb +30 -0
- data/lib/fog/compute/models/ninefold/image.rb +42 -0
- data/lib/fog/compute/models/ninefold/images.rb +30 -0
- data/lib/fog/compute/models/ninefold/ip_forwarding_rule.rb +79 -0
- data/lib/fog/compute/models/ninefold/ip_forwarding_rules.rb +31 -0
- data/lib/fog/compute/models/ninefold/server.rb +180 -0
- data/lib/fog/compute/models/ninefold/servers.rb +31 -0
- data/lib/fog/compute/models/rackspace/flavor.rb +2 -2
- data/lib/fog/compute/models/rackspace/flavors.rb +4 -4
- data/lib/fog/compute/models/rackspace/image.rb +2 -2
- data/lib/fog/compute/models/rackspace/images.rb +4 -4
- data/lib/fog/compute/models/rackspace/server.rb +6 -6
- data/lib/fog/compute/models/rackspace/servers.rb +4 -4
- data/lib/fog/compute/models/slicehost/flavor.rb +2 -2
- data/lib/fog/compute/models/slicehost/flavors.rb +3 -3
- data/lib/fog/compute/models/slicehost/image.rb +2 -2
- data/lib/fog/compute/models/slicehost/images.rb +3 -3
- data/lib/fog/compute/models/slicehost/server.rb +6 -6
- data/lib/fog/compute/models/slicehost/servers.rb +3 -3
- data/lib/fog/compute/models/storm_on_demand/balancer.rb +2 -2
- data/lib/fog/compute/models/storm_on_demand/balancers.rb +3 -3
- data/lib/fog/compute/models/storm_on_demand/config.rb +2 -2
- data/lib/fog/compute/models/storm_on_demand/configs.rb +3 -3
- data/lib/fog/compute/models/storm_on_demand/image.rb +2 -2
- data/lib/fog/compute/models/storm_on_demand/images.rb +3 -3
- data/lib/fog/compute/models/storm_on_demand/private_ip.rb +2 -2
- data/lib/fog/compute/models/storm_on_demand/private_ips.rb +3 -3
- data/lib/fog/compute/models/storm_on_demand/server.rb +2 -2
- data/lib/fog/compute/models/storm_on_demand/servers.rb +3 -3
- data/lib/fog/compute/models/storm_on_demand/stat.rb +2 -2
- data/lib/fog/compute/models/storm_on_demand/stats.rb +3 -3
- data/lib/fog/compute/models/storm_on_demand/template.rb +2 -2
- data/lib/fog/compute/models/storm_on_demand/templates.rb +3 -3
- data/lib/fog/compute/models/virtual_box/medium.rb +3 -3
- data/lib/fog/compute/models/virtual_box/medium_format.rb +2 -2
- data/lib/fog/compute/models/virtual_box/mediums.rb +3 -3
- data/lib/fog/compute/models/virtual_box/nat_engine.rb +3 -3
- data/lib/fog/compute/models/virtual_box/nat_redirect.rb +2 -2
- data/lib/fog/compute/models/virtual_box/nat_redirects.rb +3 -3
- data/lib/fog/compute/models/virtual_box/network_adapter.rb +3 -3
- data/lib/fog/compute/models/virtual_box/network_adapters.rb +3 -3
- data/lib/fog/compute/models/virtual_box/server.rb +8 -8
- data/lib/fog/compute/models/virtual_box/servers.rb +3 -3
- data/lib/fog/compute/models/virtual_box/storage_controller.rb +2 -2
- data/lib/fog/compute/models/virtual_box/storage_controllers.rb +3 -3
- data/lib/fog/compute/models/voxel/image.rb +2 -2
- data/lib/fog/compute/models/voxel/images.rb +3 -3
- data/lib/fog/compute/models/voxel/server.rb +2 -2
- data/lib/fog/compute/models/voxel/servers.rb +3 -3
- data/lib/fog/compute/new_servers.rb +3 -18
- data/lib/fog/compute/ninefold.rb +139 -0
- data/lib/fog/compute/parsers/aws/allocate_address.rb +2 -2
- data/lib/fog/compute/parsers/aws/attach_volume.rb +2 -2
- data/lib/fog/compute/parsers/aws/basic.rb +2 -2
- data/lib/fog/compute/parsers/aws/create_image.rb +2 -2
- data/lib/fog/compute/parsers/aws/create_key_pair.rb +2 -2
- data/lib/fog/compute/parsers/aws/create_snapshot.rb +2 -2
- data/lib/fog/compute/parsers/aws/create_volume.rb +2 -2
- data/lib/fog/compute/parsers/aws/deregister_image.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_addresses.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_availability_zones.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_images.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_instances.rb +20 -54
- data/lib/fog/compute/parsers/aws/describe_key_pairs.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_regions.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_reserved_instances.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_reserved_instances_offerings.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_security_groups.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_snapshots.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_tags.rb +2 -2
- data/lib/fog/compute/parsers/aws/describe_volumes.rb +2 -2
- data/lib/fog/compute/parsers/aws/detach_volume.rb +2 -2
- data/lib/fog/compute/parsers/aws/get_console_output.rb +2 -2
- data/lib/fog/compute/parsers/aws/get_password_data.rb +2 -2
- data/lib/fog/compute/parsers/aws/import_key_pair.rb +2 -2
- data/lib/fog/compute/parsers/aws/monitor_unmonitor_instances.rb +2 -2
- data/lib/fog/compute/parsers/aws/register_image.rb +2 -2
- data/lib/fog/compute/parsers/aws/run_instances.rb +2 -2
- data/lib/fog/compute/parsers/aws/start_stop_instances.rb +2 -2
- data/lib/fog/compute/parsers/aws/terminate_instances.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/create_slice.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/get_backups.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/get_flavor.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/get_flavors.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/get_image.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/get_images.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/get_slice.rb +2 -2
- data/lib/fog/compute/parsers/slicehost/get_slices.rb +2 -2
- data/lib/fog/compute/parsers/voxel/basic.rb +2 -2
- data/lib/fog/compute/parsers/voxel/devices_list.rb +2 -2
- data/lib/fog/compute/parsers/voxel/images_list.rb +2 -2
- data/lib/fog/compute/parsers/voxel/voxcloud_create.rb +2 -2
- data/lib/fog/compute/parsers/voxel/voxcloud_delete.rb +2 -2
- data/lib/fog/compute/parsers/voxel/voxcloud_status.rb +2 -2
- data/lib/fog/compute/rackspace.rb +21 -26
- data/lib/fog/compute/requests/aws/allocate_address.rb +3 -3
- data/lib/fog/compute/requests/aws/associate_address.rb +9 -5
- data/lib/fog/compute/requests/aws/attach_volume.rb +7 -7
- data/lib/fog/compute/requests/aws/authorize_security_group_ingress.rb +4 -4
- data/lib/fog/compute/requests/aws/create_image.rb +3 -3
- data/lib/fog/compute/requests/aws/create_key_pair.rb +4 -4
- data/lib/fog/compute/requests/aws/create_security_group.rb +4 -4
- data/lib/fog/compute/requests/aws/create_snapshot.rb +3 -3
- data/lib/fog/compute/requests/aws/create_tags.rb +6 -6
- data/lib/fog/compute/requests/aws/create_volume.rb +13 -6
- data/lib/fog/compute/requests/aws/delete_key_pair.rb +3 -3
- data/lib/fog/compute/requests/aws/delete_security_group.rb +4 -4
- data/lib/fog/compute/requests/aws/delete_snapshot.rb +4 -4
- data/lib/fog/compute/requests/aws/delete_tags.rb +4 -4
- data/lib/fog/compute/requests/aws/delete_volume.rb +5 -5
- data/lib/fog/compute/requests/aws/deregister_image.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_addresses.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_availability_zones.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_images.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_instances.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_key_pairs.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_regions.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_reserved_instances.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_security_groups.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_snapshots.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_tags.rb +4 -4
- data/lib/fog/compute/requests/aws/describe_volumes.rb +4 -4
- data/lib/fog/compute/requests/aws/detach_volume.rb +4 -4
- data/lib/fog/compute/requests/aws/disassociate_address.rb +4 -4
- data/lib/fog/compute/requests/aws/get_console_output.rb +5 -5
- data/lib/fog/compute/requests/aws/get_password_data.rb +4 -4
- data/lib/fog/compute/requests/aws/import_key_pair.rb +4 -4
- data/lib/fog/compute/requests/aws/modify_image_attributes.rb +6 -6
- data/lib/fog/compute/requests/aws/modify_snapshot_attribute.rb +5 -5
- data/lib/fog/compute/requests/aws/monitor_instances.rb +5 -5
- data/lib/fog/compute/requests/aws/reboot_instances.rb +5 -5
- data/lib/fog/compute/requests/aws/register_image.rb +4 -4
- data/lib/fog/compute/requests/aws/release_address.rb +4 -4
- data/lib/fog/compute/requests/aws/revoke_security_group_ingress.rb +4 -4
- data/lib/fog/compute/requests/aws/run_instances.rb +5 -5
- data/lib/fog/compute/requests/aws/start_instances.rb +4 -4
- data/lib/fog/compute/requests/aws/stop_instances.rb +4 -4
- data/lib/fog/compute/requests/aws/terminate_instances.rb +5 -5
- data/lib/fog/compute/requests/aws/unmonitor_instances.rb +5 -5
- data/lib/fog/compute/requests/bluebox/create_block.rb +2 -2
- data/lib/fog/compute/requests/bluebox/destroy_block.rb +2 -2
- data/lib/fog/compute/requests/bluebox/get_block.rb +2 -2
- data/lib/fog/compute/requests/bluebox/get_blocks.rb +2 -2
- data/lib/fog/compute/requests/bluebox/get_product.rb +2 -2
- data/lib/fog/compute/requests/bluebox/get_products.rb +2 -2
- data/lib/fog/compute/requests/bluebox/get_template.rb +2 -2
- data/lib/fog/compute/requests/bluebox/get_templates.rb +2 -2
- data/lib/fog/compute/requests/bluebox/reboot_block.rb +2 -2
- data/lib/fog/compute/requests/brightbox/activate_console_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/add_listeners_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/create_api_client.rb +2 -2
- data/lib/fog/compute/requests/brightbox/create_cloud_ip.rb +2 -2
- data/lib/fog/compute/requests/brightbox/create_image.rb +2 -2
- data/lib/fog/compute/requests/brightbox/create_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/create_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/destroy_api_client.rb +2 -2
- data/lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb +2 -2
- data/lib/fog/compute/requests/brightbox/destroy_image.rb +2 -2
- data/lib/fog/compute/requests/brightbox/destroy_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/destroy_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_account.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_api_client.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_cloud_ip.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_image.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_interface.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_server_type.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_user.rb +2 -2
- data/lib/fog/compute/requests/brightbox/get_zone.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_api_clients.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_cloud_ips.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_images.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_load_balancers.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_server_types.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_servers.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_users.rb +2 -2
- data/lib/fog/compute/requests/brightbox/list_zones.rb +2 -2
- data/lib/fog/compute/requests/brightbox/map_cloud_ip.rb +2 -2
- data/lib/fog/compute/requests/brightbox/remove_listeners_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb +2 -2
- data/lib/fog/compute/requests/brightbox/resize_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/shutdown_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/snapshot_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/start_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/stop_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb +2 -2
- data/lib/fog/compute/requests/brightbox/update_account.rb +2 -2
- data/lib/fog/compute/requests/brightbox/update_api_client.rb +2 -2
- data/lib/fog/compute/requests/brightbox/update_image.rb +2 -2
- data/lib/fog/compute/requests/brightbox/update_load_balancer.rb +2 -2
- data/lib/fog/compute/requests/brightbox/update_server.rb +2 -2
- data/lib/fog/compute/requests/brightbox/update_user.rb +2 -2
- data/lib/fog/compute/requests/ecloud/add_backup_internet_service.rb +2 -2
- data/lib/fog/compute/requests/ecloud/add_internet_service.rb +2 -2
- data/lib/fog/compute/requests/ecloud/add_node.rb +2 -2
- data/lib/fog/compute/requests/ecloud/clone_vapp.rb +2 -2
- data/lib/fog/compute/requests/ecloud/configure_internet_service.rb +2 -2
- data/lib/fog/compute/requests/ecloud/configure_network.rb +2 -2
- data/lib/fog/compute/requests/ecloud/configure_network_ip.rb +2 -2
- data/lib/fog/compute/requests/ecloud/configure_node.rb +2 -2
- data/lib/fog/compute/requests/ecloud/configure_vapp.rb +2 -2
- data/lib/fog/compute/requests/ecloud/delete_internet_service.rb +2 -2
- data/lib/fog/compute/requests/ecloud/delete_node.rb +2 -2
- data/lib/fog/compute/requests/ecloud/delete_vapp.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_catalog.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_catalog_item.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_customization_options.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_firewall_acl.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_firewall_acls.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_internet_services.rb +5 -5
- data/lib/fog/compute/requests/ecloud/get_network.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_network_extensions.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_network_ip.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_network_ips.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_node.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_nodes.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_organization.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_public_ip.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_public_ips.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_task.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_task_list.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_vapp.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_vapp_template.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_vdc.rb +2 -2
- data/lib/fog/compute/requests/ecloud/get_versions.rb +2 -2
- data/lib/fog/compute/requests/ecloud/instantiate_vapp_template.rb +2 -2
- data/lib/fog/compute/requests/ecloud/login.rb +2 -2
- data/lib/fog/compute/requests/ecloud/power_off.rb +2 -2
- data/lib/fog/compute/requests/ecloud/power_on.rb +2 -2
- data/lib/fog/compute/requests/ecloud/power_reset.rb +2 -2
- data/lib/fog/compute/requests/ecloud/power_shutdown.rb +2 -2
- data/lib/fog/compute/requests/go_grid/common_lookup_list.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_image_get.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_image_list.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_ip_list.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_loadbalancer_list.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_server_add.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_server_delete.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_server_get.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_server_list.rb +2 -2
- data/lib/fog/compute/requests/go_grid/grid_server_power.rb +2 -2
- data/lib/fog/compute/requests/go_grid/support_password_get.rb +2 -2
- data/lib/fog/compute/requests/go_grid/support_password_list.rb +2 -2
- data/lib/fog/compute/requests/linode/avail_datacenters.rb +4 -3
- data/lib/fog/compute/requests/linode/avail_distributions.rb +3 -2
- data/lib/fog/compute/requests/linode/avail_kernels.rb +3 -2
- data/lib/fog/compute/requests/linode/avail_linodeplans.rb +3 -2
- data/lib/fog/compute/requests/linode/avail_stackscripts.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_boot.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_config_create.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_config_list.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_create.rb +3 -2
- data/lib/fog/compute/requests/linode/linode_delete.rb +3 -2
- data/lib/fog/compute/requests/linode/linode_disk_create.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_disk_createfromdistribution.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_disk_createfromstackscript.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_disk_delete.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_disk_list.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_ip_addprivate.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_ip_list.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_list.rb +3 -2
- data/lib/fog/compute/requests/linode/linode_reboot.rb +3 -2
- data/lib/fog/compute/requests/linode/linode_shutdown.rb +4 -2
- data/lib/fog/compute/requests/linode/linode_update.rb +4 -2
- data/lib/fog/compute/requests/linode/stackscript_list.rb +3 -2
- data/lib/fog/compute/requests/new_servers/add_server.rb +2 -2
- data/lib/fog/compute/requests/new_servers/cancel_server.rb +2 -2
- data/lib/fog/compute/requests/new_servers/get_server.rb +2 -2
- data/lib/fog/compute/requests/new_servers/list_images.rb +2 -2
- data/lib/fog/compute/requests/new_servers/list_plans.rb +2 -2
- data/lib/fog/compute/requests/new_servers/list_servers.rb +2 -2
- data/lib/fog/compute/requests/new_servers/reboot_server.rb +2 -2
- data/lib/fog/compute/requests/ninefold/associate_ip_address.rb +14 -0
- data/lib/fog/compute/requests/ninefold/change_service_for_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/ninefold/create_ip_forwarding_rule.rb +14 -0
- data/lib/fog/compute/requests/ninefold/delete_ip_forwarding_rule.rb +14 -0
- data/lib/fog/compute/requests/ninefold/deploy_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/ninefold/destroy_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/ninefold/disable_static_nat.rb +14 -0
- data/lib/fog/compute/requests/ninefold/disassociate_ip_address.rb +14 -0
- data/lib/fog/compute/requests/ninefold/enable_static_nat.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_accounts.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_async_jobs.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_capabilities.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_disk_offerings.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_events.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_hypervisors.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_ip_forwarding_rules.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_network_offerings.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_networks.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_public_ip_addresses.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_resource_limits.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_service_offerings.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_templates.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_virtual_machines.rb +14 -0
- data/lib/fog/compute/requests/ninefold/list_zones.rb +14 -0
- data/lib/fog/compute/requests/ninefold/query_async_job_result.rb +14 -0
- data/lib/fog/compute/requests/ninefold/reboot_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/ninefold/reset_password_for_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/ninefold/start_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/ninefold/stop_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/ninefold/update_virtual_machine.rb +14 -0
- data/lib/fog/compute/requests/rackspace/confirm_resized_server.rb +2 -2
- data/lib/fog/compute/requests/rackspace/create_image.rb +2 -2
- data/lib/fog/compute/requests/rackspace/create_server.rb +3 -3
- data/lib/fog/compute/requests/rackspace/delete_image.rb +2 -2
- data/lib/fog/compute/requests/rackspace/delete_server.rb +3 -3
- data/lib/fog/compute/requests/rackspace/get_flavor_details.rb +3 -3
- data/lib/fog/compute/requests/rackspace/get_image_details.rb +2 -2
- data/lib/fog/compute/requests/rackspace/get_server_details.rb +3 -3
- data/lib/fog/compute/requests/rackspace/list_addresses.rb +3 -3
- data/lib/fog/compute/requests/rackspace/list_flavors.rb +2 -2
- data/lib/fog/compute/requests/rackspace/list_flavors_detail.rb +2 -2
- data/lib/fog/compute/requests/rackspace/list_images.rb +2 -2
- data/lib/fog/compute/requests/rackspace/list_images_detail.rb +2 -2
- data/lib/fog/compute/requests/rackspace/list_private_addresses.rb +3 -3
- data/lib/fog/compute/requests/rackspace/list_public_addresses.rb +3 -3
- data/lib/fog/compute/requests/rackspace/list_servers.rb +2 -2
- data/lib/fog/compute/requests/rackspace/list_servers_detail.rb +2 -2
- data/lib/fog/compute/requests/rackspace/reboot_server.rb +2 -2
- data/lib/fog/compute/requests/rackspace/resize_server.rb +2 -2
- data/lib/fog/compute/requests/rackspace/revert_resized_server.rb +2 -2
- data/lib/fog/compute/requests/rackspace/server_action.rb +2 -2
- data/lib/fog/compute/requests/rackspace/update_server.rb +3 -3
- data/lib/fog/compute/requests/slicehost/create_slice.rb +3 -3
- data/lib/fog/compute/requests/slicehost/delete_slice.rb +2 -2
- data/lib/fog/compute/requests/slicehost/get_backups.rb +3 -3
- data/lib/fog/compute/requests/slicehost/get_flavor.rb +3 -3
- data/lib/fog/compute/requests/slicehost/get_flavors.rb +3 -3
- data/lib/fog/compute/requests/slicehost/get_image.rb +3 -3
- data/lib/fog/compute/requests/slicehost/get_images.rb +3 -3
- data/lib/fog/compute/requests/slicehost/get_slice.rb +3 -3
- data/lib/fog/compute/requests/slicehost/get_slices.rb +3 -3
- data/lib/fog/compute/requests/slicehost/reboot_slice.rb +3 -3
- data/lib/fog/compute/requests/storm_on_demand/add_balancer_node.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/clone_server.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/create_server.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/delete_server.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/get_server.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/get_stats.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/list_balancers.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/list_configs.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/list_images.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/list_private_ips.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/list_servers.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/list_templates.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/reboot_server.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/remove_balancer_node.rb +2 -2
- data/lib/fog/compute/requests/storm_on_demand/resize_server.rb +2 -2
- data/lib/fog/compute/requests/voxel/devices_list.rb +3 -3
- data/lib/fog/compute/requests/voxel/devices_power.rb +3 -3
- data/lib/fog/compute/requests/voxel/images_list.rb +4 -4
- data/lib/fog/compute/requests/voxel/voxcloud_create.rb +3 -3
- data/lib/fog/compute/requests/voxel/voxcloud_delete.rb +3 -3
- data/lib/fog/compute/requests/voxel/voxcloud_status.rb +5 -10
- data/lib/fog/compute/slicehost.rb +3 -18
- data/lib/fog/compute/storm_on_demand.rb +5 -6
- data/lib/fog/compute/virtual_box.rb +2 -4
- data/lib/fog/compute/voxel.rb +5 -5
- data/lib/fog/core/collection.rb +3 -0
- data/lib/fog/core/errors.rb +2 -0
- data/lib/fog/core/mock.rb +16 -9
- data/lib/fog/core/scp.rb +3 -3
- data/lib/fog/core/service.rb +3 -0
- data/lib/fog/dns.rb +32 -14
- data/lib/fog/dns/aws.rb +2 -17
- data/lib/fog/dns/bluebox.rb +4 -18
- data/lib/fog/dns/dnsimple.rb +2 -17
- data/lib/fog/dns/dnsmadeeasy.rb +134 -0
- data/lib/fog/dns/linode.rb +4 -19
- data/lib/fog/dns/models/aws/record.rb +10 -7
- data/lib/fog/dns/models/aws/records.rb +3 -3
- data/lib/fog/dns/models/aws/zone.rb +3 -3
- data/lib/fog/dns/models/aws/zones.rb +3 -3
- data/lib/fog/dns/models/bluebox/record.rb +9 -6
- data/lib/fog/dns/models/bluebox/records.rb +3 -3
- data/lib/fog/dns/models/bluebox/zone.rb +3 -3
- data/lib/fog/dns/models/bluebox/zones.rb +3 -3
- data/lib/fog/dns/models/dnsimple/record.rb +9 -6
- data/lib/fog/dns/models/dnsimple/records.rb +3 -3
- data/lib/fog/dns/models/dnsimple/zone.rb +7 -7
- data/lib/fog/dns/models/dnsimple/zones.rb +3 -3
- data/lib/fog/dns/models/dnsmadeeasy/record.rb +79 -0
- data/lib/fog/dns/models/dnsmadeeasy/records.rb +36 -0
- data/lib/fog/dns/models/dnsmadeeasy/zone.rb +42 -0
- data/lib/fog/dns/models/dnsmadeeasy/zones.rb +30 -0
- data/lib/fog/dns/models/linode/record.rb +7 -4
- data/lib/fog/dns/models/linode/records.rb +3 -3
- data/lib/fog/dns/models/linode/zone.rb +3 -3
- data/lib/fog/dns/models/linode/zones.rb +3 -3
- data/lib/fog/dns/models/slicehost/record.rb +8 -5
- data/lib/fog/dns/models/slicehost/records.rb +3 -3
- data/lib/fog/dns/models/slicehost/zone.rb +3 -3
- data/lib/fog/dns/models/slicehost/zones.rb +3 -3
- data/lib/fog/dns/models/zerigo/record.rb +8 -5
- data/lib/fog/dns/models/zerigo/records.rb +3 -3
- data/lib/fog/dns/models/zerigo/zone.rb +3 -3
- data/lib/fog/dns/models/zerigo/zones.rb +3 -3
- data/lib/fog/dns/parsers/aws/change_resource_record_sets.rb +2 -2
- data/lib/fog/dns/parsers/aws/create_hosted_zone.rb +2 -2
- data/lib/fog/dns/parsers/aws/delete_hosted_zone.rb +2 -2
- data/lib/fog/dns/parsers/aws/get_change.rb +2 -2
- data/lib/fog/dns/parsers/aws/get_hosted_zone.rb +2 -2
- data/lib/fog/dns/parsers/aws/list_hosted_zones.rb +2 -2
- data/lib/fog/dns/parsers/aws/list_resource_record_sets.rb +2 -2
- data/lib/fog/dns/parsers/bluebox/create_record.rb +2 -2
- data/lib/fog/dns/parsers/bluebox/create_zone.rb +2 -2
- data/lib/fog/dns/parsers/bluebox/get_record.rb +2 -2
- data/lib/fog/dns/parsers/bluebox/get_records.rb +3 -2
- data/lib/fog/dns/parsers/bluebox/get_zone.rb +5 -2
- data/lib/fog/dns/parsers/bluebox/get_zones.rb +2 -2
- data/lib/fog/dns/parsers/slicehost/create_record.rb +2 -2
- data/lib/fog/dns/parsers/slicehost/create_zone.rb +2 -2
- data/lib/fog/dns/parsers/slicehost/get_record.rb +2 -2
- data/lib/fog/dns/parsers/slicehost/get_records.rb +2 -2
- data/lib/fog/dns/parsers/slicehost/get_zone.rb +2 -2
- data/lib/fog/dns/parsers/slicehost/get_zones.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/count_hosts.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/count_zones.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/create_host.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/create_zone.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/find_hosts.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/get_host.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/get_zone.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/get_zone_stats.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/list_hosts.rb +2 -2
- data/lib/fog/dns/parsers/zerigo/list_zones.rb +2 -2
- data/lib/fog/dns/requests/aws/change_resource_record_sets.rb +3 -3
- data/lib/fog/dns/requests/aws/create_hosted_zone.rb +3 -3
- data/lib/fog/dns/requests/aws/delete_hosted_zone.rb +3 -3
- data/lib/fog/dns/requests/aws/get_change.rb +3 -3
- data/lib/fog/dns/requests/aws/get_hosted_zone.rb +3 -3
- data/lib/fog/dns/requests/aws/list_hosted_zones.rb +3 -3
- data/lib/fog/dns/requests/aws/list_resource_record_sets.rb +3 -3
- data/lib/fog/dns/requests/bluebox/create_record.rb +3 -3
- data/lib/fog/dns/requests/bluebox/create_zone.rb +3 -3
- data/lib/fog/dns/requests/bluebox/delete_record.rb +2 -2
- data/lib/fog/dns/requests/bluebox/delete_zone.rb +2 -2
- data/lib/fog/dns/requests/bluebox/get_record.rb +3 -3
- data/lib/fog/dns/requests/bluebox/get_records.rb +3 -3
- data/lib/fog/dns/requests/bluebox/get_zone.rb +3 -3
- data/lib/fog/dns/requests/bluebox/get_zones.rb +3 -3
- data/lib/fog/dns/requests/bluebox/update_zone.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/create_domain.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/create_record.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/delete_domain.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/delete_record.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/get_domain.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/get_record.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/list_domains.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/list_records.rb +2 -2
- data/lib/fog/dns/requests/dnsimple/update_record.rb +2 -2
- data/lib/fog/dns/requests/dnsmadeeasy/create_domain.rb +29 -0
- data/lib/fog/dns/requests/dnsmadeeasy/create_record.rb +62 -0
- data/lib/fog/dns/requests/dnsmadeeasy/create_secondary.rb +36 -0
- data/lib/fog/dns/requests/dnsmadeeasy/delete_all_domains.rb +23 -0
- data/lib/fog/dns/requests/dnsmadeeasy/delete_all_secondary.rb +22 -0
- data/lib/fog/dns/requests/dnsmadeeasy/delete_domain.rb +25 -0
- data/lib/fog/dns/requests/dnsmadeeasy/delete_record.rb +26 -0
- data/lib/fog/dns/requests/dnsmadeeasy/delete_secondary.rb +25 -0
- data/lib/fog/dns/requests/dnsmadeeasy/get_domain.rb +29 -0
- data/lib/fog/dns/requests/dnsmadeeasy/get_record.rb +38 -0
- data/lib/fog/dns/requests/dnsmadeeasy/get_secondary.rb +29 -0
- data/lib/fog/dns/requests/dnsmadeeasy/list_domains.rb +24 -0
- data/lib/fog/dns/requests/dnsmadeeasy/list_records.rb +42 -0
- data/lib/fog/dns/requests/dnsmadeeasy/list_secondary.rb +24 -0
- data/lib/fog/dns/requests/dnsmadeeasy/update_record.rb +56 -0
- data/lib/fog/dns/requests/dnsmadeeasy/update_secondary.rb +36 -0
- data/lib/fog/dns/requests/linode/domain_create.rb +2 -2
- data/lib/fog/dns/requests/linode/domain_delete.rb +2 -2
- data/lib/fog/dns/requests/linode/domain_list.rb +2 -2
- data/lib/fog/dns/requests/linode/domain_resource_create.rb +2 -2
- data/lib/fog/dns/requests/linode/domain_resource_delete.rb +2 -2
- data/lib/fog/dns/requests/linode/domain_resource_list.rb +2 -2
- data/lib/fog/dns/requests/linode/domain_resource_update.rb +2 -2
- data/lib/fog/dns/requests/linode/domain_update.rb +2 -2
- data/lib/fog/dns/requests/slicehost/create_record.rb +3 -3
- data/lib/fog/dns/requests/slicehost/create_zone.rb +3 -3
- data/lib/fog/dns/requests/slicehost/delete_record.rb +2 -2
- data/lib/fog/dns/requests/slicehost/delete_zone.rb +2 -2
- data/lib/fog/dns/requests/slicehost/get_record.rb +3 -3
- data/lib/fog/dns/requests/slicehost/get_records.rb +3 -3
- data/lib/fog/dns/requests/slicehost/get_zone.rb +3 -3
- data/lib/fog/dns/requests/slicehost/get_zones.rb +3 -3
- data/lib/fog/dns/requests/zerigo/count_hosts.rb +3 -3
- data/lib/fog/dns/requests/zerigo/count_zones.rb +3 -3
- data/lib/fog/dns/requests/zerigo/create_host.rb +3 -3
- data/lib/fog/dns/requests/zerigo/create_zone.rb +3 -3
- data/lib/fog/dns/requests/zerigo/delete_host.rb +2 -2
- data/lib/fog/dns/requests/zerigo/delete_zone.rb +2 -2
- data/lib/fog/dns/requests/zerigo/find_hosts.rb +4 -4
- data/lib/fog/dns/requests/zerigo/get_host.rb +3 -3
- data/lib/fog/dns/requests/zerigo/get_zone.rb +3 -3
- data/lib/fog/dns/requests/zerigo/get_zone_stats.rb +3 -3
- data/lib/fog/dns/requests/zerigo/list_hosts.rb +3 -3
- data/lib/fog/dns/requests/zerigo/list_zones.rb +3 -3
- data/lib/fog/dns/requests/zerigo/update_host.rb +2 -2
- data/lib/fog/dns/requests/zerigo/update_zone.rb +2 -2
- data/lib/fog/dns/slicehost.rb +3 -18
- data/lib/fog/dns/zerigo.rb +3 -18
- data/lib/fog/providers.rb +2 -0
- data/lib/fog/providers/aws.rb +7 -2
- data/lib/fog/providers/dnsmadeeasy.rb +11 -0
- data/lib/fog/providers/ninefold.rb +11 -0
- data/lib/fog/providers/rackspace.rb +3 -1
- data/lib/fog/storage.rb +25 -10
- data/lib/fog/storage/aws.rb +38 -23
- data/lib/fog/storage/google.rb +2 -17
- data/lib/fog/storage/local.rb +2 -17
- data/lib/fog/storage/models/aws/directories.rb +3 -3
- data/lib/fog/storage/models/aws/directory.rb +3 -3
- data/lib/fog/storage/models/aws/file.rb +2 -2
- data/lib/fog/storage/models/aws/files.rb +12 -5
- data/lib/fog/storage/models/google/directories.rb +3 -3
- data/lib/fog/storage/models/google/directory.rb +3 -3
- data/lib/fog/storage/models/google/file.rb +2 -2
- data/lib/fog/storage/models/google/files.rb +3 -3
- data/lib/fog/storage/models/local/directories.rb +3 -3
- data/lib/fog/storage/models/local/directory.rb +3 -3
- data/lib/fog/storage/models/local/file.rb +2 -2
- data/lib/fog/storage/models/local/files.rb +3 -3
- data/lib/fog/storage/models/rackspace/directories.rb +9 -5
- data/lib/fog/storage/models/rackspace/directory.rb +5 -4
- data/lib/fog/storage/models/rackspace/file.rb +4 -6
- data/lib/fog/storage/models/rackspace/files.rb +9 -7
- data/lib/fog/storage/parsers/aws/access_control_list.rb +2 -2
- data/lib/fog/storage/parsers/aws/complete_multipart_upload.rb +2 -2
- data/lib/fog/storage/parsers/aws/copy_object.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_bucket.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_bucket_location.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_bucket_logging.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_bucket_object_versions.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_bucket_versioning.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_bucket_website.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_request_payment.rb +2 -2
- data/lib/fog/storage/parsers/aws/get_service.rb +2 -2
- data/lib/fog/storage/parsers/aws/initiate_multipart_upload.rb +2 -2
- data/lib/fog/storage/parsers/aws/list_multipart_uploads.rb +2 -2
- data/lib/fog/storage/parsers/aws/list_parts.rb +2 -2
- data/lib/fog/storage/parsers/google/access_control_list.rb +2 -2
- data/lib/fog/storage/parsers/google/copy_object.rb +2 -2
- data/lib/fog/storage/parsers/google/get_bucket.rb +2 -2
- data/lib/fog/storage/parsers/google/get_bucket_logging.rb +2 -2
- data/lib/fog/storage/parsers/google/get_bucket_object_versions.rb +2 -2
- data/lib/fog/storage/parsers/google/get_bucket_versioning.rb +2 -2
- data/lib/fog/storage/parsers/google/get_request_payment.rb +2 -2
- data/lib/fog/storage/parsers/google/get_service.rb +2 -2
- data/lib/fog/storage/rackspace.rb +4 -19
- data/lib/fog/storage/requests/aws/abort_multipart_upload.rb +2 -2
- data/lib/fog/storage/requests/aws/complete_multipart_upload.rb +3 -3
- data/lib/fog/storage/requests/aws/copy_object.rb +3 -3
- data/lib/fog/storage/requests/aws/delete_bucket.rb +2 -2
- data/lib/fog/storage/requests/aws/delete_bucket_policy.rb +32 -0
- data/lib/fog/storage/requests/aws/delete_bucket_website.rb +2 -2
- data/lib/fog/storage/requests/aws/delete_object.rb +6 -5
- data/lib/fog/storage/requests/aws/get_bucket.rb +3 -3
- data/lib/fog/storage/requests/aws/get_bucket_acl.rb +3 -3
- data/lib/fog/storage/requests/aws/get_bucket_location.rb +3 -3
- data/lib/fog/storage/requests/aws/get_bucket_logging.rb +3 -3
- data/lib/fog/storage/requests/aws/get_bucket_object_versions.rb +3 -3
- data/lib/fog/storage/requests/aws/get_bucket_policy.rb +37 -0
- data/lib/fog/storage/requests/aws/get_bucket_versioning.rb +3 -3
- data/lib/fog/storage/requests/aws/get_bucket_website.rb +3 -3
- data/lib/fog/storage/requests/aws/get_object.rb +34 -27
- data/lib/fog/storage/requests/aws/get_object_acl.rb +3 -3
- data/lib/fog/storage/requests/aws/get_object_torrent.rb +2 -2
- data/lib/fog/storage/requests/aws/get_object_url.rb +2 -2
- data/lib/fog/storage/requests/aws/get_request_payment.rb +3 -3
- data/lib/fog/storage/requests/aws/get_service.rb +3 -3
- data/lib/fog/storage/requests/aws/head_object.rb +2 -2
- data/lib/fog/storage/requests/aws/initiate_multipart_upload.rb +3 -3
- data/lib/fog/storage/requests/aws/list_multipart_uploads.rb +3 -3
- data/lib/fog/storage/requests/aws/list_parts.rb +3 -3
- data/lib/fog/storage/requests/aws/post_object_hidden_fields.rb +2 -2
- data/lib/fog/storage/requests/aws/put_bucket.rb +2 -2
- data/lib/fog/storage/requests/aws/put_bucket_acl.rb +2 -2
- data/lib/fog/storage/requests/aws/put_bucket_logging.rb +2 -2
- data/lib/fog/storage/requests/aws/put_bucket_policy.rb +30 -0
- data/lib/fog/storage/requests/aws/put_bucket_versioning.rb +2 -2
- data/lib/fog/storage/requests/aws/put_bucket_website.rb +2 -2
- data/lib/fog/storage/requests/aws/put_object.rb +2 -2
- data/lib/fog/storage/requests/aws/put_object_acl.rb +2 -2
- data/lib/fog/storage/requests/aws/put_object_url.rb +2 -2
- data/lib/fog/storage/requests/aws/put_request_payment.rb +2 -2
- data/lib/fog/storage/requests/aws/sync_clock.rb +2 -2
- data/lib/fog/storage/requests/aws/upload_part.rb +2 -2
- data/lib/fog/storage/requests/google/copy_object.rb +3 -3
- data/lib/fog/storage/requests/google/delete_bucket.rb +2 -2
- data/lib/fog/storage/requests/google/delete_object.rb +2 -2
- data/lib/fog/storage/requests/google/get_bucket.rb +3 -3
- data/lib/fog/storage/requests/google/get_bucket_acl.rb +1 -1
- data/lib/fog/storage/requests/google/get_object.rb +2 -2
- data/lib/fog/storage/requests/google/get_object_acl.rb +3 -3
- data/lib/fog/storage/requests/google/get_object_torrent.rb +2 -2
- data/lib/fog/storage/requests/google/get_object_url.rb +2 -2
- data/lib/fog/storage/requests/google/get_service.rb +3 -3
- data/lib/fog/storage/requests/google/head_object.rb +2 -2
- data/lib/fog/storage/requests/google/put_bucket.rb +2 -2
- data/lib/fog/storage/requests/google/put_bucket_acl.rb +2 -2
- data/lib/fog/storage/requests/google/put_object.rb +2 -2
- data/lib/fog/storage/requests/google/put_object_url.rb +2 -2
- data/lib/fog/storage/requests/rackspace/delete_container.rb +3 -4
- data/lib/fog/storage/requests/rackspace/delete_object.rb +3 -4
- data/lib/fog/storage/requests/rackspace/get_container.rb +3 -4
- data/lib/fog/storage/requests/rackspace/get_containers.rb +3 -4
- data/lib/fog/storage/requests/rackspace/get_object.rb +3 -4
- data/lib/fog/storage/requests/rackspace/head_container.rb +3 -4
- data/lib/fog/storage/requests/rackspace/head_containers.rb +3 -4
- data/lib/fog/storage/requests/rackspace/head_object.rb +3 -4
- data/lib/fog/storage/requests/rackspace/put_container.rb +3 -4
- data/lib/fog/storage/requests/rackspace/put_object.rb +3 -4
- data/spec/ecloud/bin_spec.rb +1 -1
- data/spec/ecloud/models/backup_internet_service_spec.rb +4 -4
- data/spec/ecloud/models/backup_internet_services_spec.rb +3 -3
- data/spec/ecloud/models/internet_service_spec.rb +4 -4
- data/spec/ecloud/models/internet_services_spec.rb +3 -3
- data/spec/ecloud/models/ip_spec.rb +4 -4
- data/spec/ecloud/models/ips_spec.rb +3 -3
- data/spec/ecloud/models/network_spec.rb +4 -4
- data/spec/ecloud/models/networks_spec.rb +3 -3
- data/spec/ecloud/models/node_spec.rb +4 -4
- data/spec/ecloud/models/nodes_spec.rb +3 -3
- data/spec/ecloud/models/public_ip_spec.rb +4 -4
- data/spec/ecloud/models/public_ips_spec.rb +3 -3
- data/spec/ecloud/models/server_spec.rb +3 -3
- data/spec/ecloud/models/vdc_spec.rb +4 -4
- data/spec/ecloud/models/vdcs_spec.rb +3 -3
- data/spec/ecloud/spec_helper.rb +10 -10
- data/spec/ecloud/vcloud_spec.rb +1 -1
- data/tests/aws/models/rds/helper.rb +5 -0
- data/tests/aws/models/rds/parameter_group_tests.rb +24 -0
- data/tests/aws/models/rds/parameter_groups_tests.rb +8 -0
- data/tests/aws/models/rds/security_group_tests.rb +50 -0
- data/tests/aws/models/rds/security_groups_tests.rb +6 -0
- data/tests/aws/models/rds/server_tests.rb +104 -0
- data/tests/aws/models/rds/servers_tests.rb +8 -0
- data/tests/aws/models/rds/snapshot_tests.rb +15 -0
- data/tests/aws/models/rds/snapshots_tests.rb +15 -0
- data/tests/aws/requests/cloud_formation/stack_tests.rb +1 -1
- data/tests/aws/requests/elb/helper.rb +8 -5
- data/tests/aws/requests/elb/model_tests.rb +2 -2
- data/tests/aws/requests/simpledb/attributes_tests.rb +16 -0
- data/tests/compute/helper.rb +9 -6
- data/tests/compute/models/aws/address_tests.rb +3 -3
- data/tests/compute/models/aws/addresses_tests.rb +2 -2
- data/tests/compute/models/aws/key_pair_tests.rb +5 -5
- data/tests/compute/models/aws/key_pairs_tests.rb +2 -2
- data/tests/compute/models/aws/security_group_tests.rb +3 -3
- data/tests/compute/models/aws/security_groups.rb +2 -2
- data/tests/compute/models/aws/server_tests.rb +2 -2
- data/tests/compute/models/aws/snapshot_tests.rb +3 -3
- data/tests/compute/models/aws/snapshots_tests.rb +4 -4
- data/tests/compute/models/aws/volume_tests.rb +3 -3
- data/tests/compute/models/aws/volumes_tests.rb +2 -2
- data/tests/compute/models/flavors_tests.rb +3 -3
- data/tests/compute/models/server_tests.rb +2 -2
- data/tests/compute/models/servers_tests.rb +2 -2
- data/tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb +2 -2
- data/tests/compute/requests/aws/address_tests.rb +22 -22
- data/tests/compute/requests/aws/availability_zone_tests.rb +3 -3
- data/tests/compute/requests/aws/image_tests.rb +3 -3
- data/tests/compute/requests/aws/instance_tests.rb +22 -22
- data/tests/compute/requests/aws/key_pair_tests.rb +11 -11
- data/tests/compute/requests/aws/region_tests.rb +3 -3
- data/tests/compute/requests/aws/security_group_tests.rb +23 -23
- data/tests/compute/requests/aws/snapshot_tests.rb +11 -11
- data/tests/compute/requests/aws/tag_tests.rb +7 -7
- data/tests/compute/requests/aws/volume_tests.rb +37 -21
- data/tests/compute/requests/bluebox/block_tests.rb +15 -15
- data/tests/compute/requests/bluebox/helper.rb +1 -1
- data/tests/compute/requests/bluebox/product_tests.rb +5 -5
- data/tests/compute/requests/bluebox/template_tests.rb +6 -6
- data/tests/compute/requests/brightbox/account_tests.rb +7 -7
- data/tests/compute/requests/brightbox/api_client_tests.rb +8 -8
- data/tests/compute/requests/brightbox/cloud_ip_tests.rb +11 -11
- data/tests/compute/requests/brightbox/helper.rb +17 -8
- data/tests/compute/requests/brightbox/image_tests.rb +9 -9
- data/tests/compute/requests/brightbox/interface_tests.rb +1 -1
- data/tests/compute/requests/brightbox/load_balancer_tests.rb +10 -10
- data/tests/compute/requests/brightbox/server_tests.rb +13 -13
- data/tests/compute/requests/brightbox/server_type_tests.rb +5 -5
- data/tests/compute/requests/brightbox/user_tests.rb +6 -6
- data/tests/compute/requests/brightbox/zone_tests.rb +5 -5
- data/tests/compute/requests/linode/datacenter_tests.rb +2 -2
- data/tests/compute/requests/linode/distribution_tests.rb +3 -3
- data/tests/compute/requests/linode/kernel_tests.rb +3 -3
- data/tests/compute/requests/linode/linode_tests.rb +18 -18
- data/tests/compute/requests/linode/linodeplans_tests.rb +3 -3
- data/tests/compute/requests/linode/stackscripts_tests.rb +4 -3
- data/tests/compute/requests/ninefold/address_tests.rb +42 -0
- data/tests/compute/requests/ninefold/async_job_tests.rb +33 -0
- data/tests/compute/requests/ninefold/helper.rb +320 -0
- data/tests/compute/requests/ninefold/list_tests.rb +56 -0
- data/tests/compute/requests/ninefold/nat_tests.rb +92 -0
- data/tests/compute/requests/ninefold/network_tests.rb +21 -0
- data/tests/compute/requests/ninefold/template_tests.rb +21 -0
- data/tests/compute/requests/ninefold/virtual_machine_tests.rb +69 -0
- data/tests/compute/requests/rackspace/address_tests.rb +11 -11
- data/tests/compute/requests/rackspace/flavor_tests.rb +6 -6
- data/tests/compute/requests/rackspace/image_tests.rb +12 -12
- data/tests/compute/requests/rackspace/resize_tests.rb +7 -7
- data/tests/compute/requests/rackspace/server_tests.rb +22 -22
- data/tests/compute/requests/slicehost/backup_tests.rb +2 -2
- data/tests/compute/requests/slicehost/flavor_tests.rb +4 -4
- data/tests/compute/requests/slicehost/image_tests.rb +4 -4
- data/tests/compute/requests/slicehost/slice_tests.rb +12 -12
- data/tests/compute/requests/storm_on_demand/server_tests.rb +7 -7
- data/tests/compute/requests/voxel/image_tests.rb +5 -5
- data/tests/compute/requests/voxel/server_tests.rb +12 -12
- data/tests/dns/helper.rb +11 -8
- data/tests/dns/models/record_tests.rb +8 -5
- data/tests/dns/models/records_tests.rb +8 -5
- data/tests/dns/models/zone_tests.rb +5 -2
- data/tests/dns/models/zones_tests.rb +5 -2
- data/tests/dns/requests/aws/dns_tests.rb +15 -15
- data/tests/dns/requests/bluebox/dns_tests.rb +16 -16
- data/tests/dns/requests/dnsimple/dns_tests.rb +10 -10
- data/tests/dns/requests/dnsmadeeasy/dns_tests.rb +150 -0
- data/tests/dns/requests/linode/dns_tests.rb +16 -16
- data/tests/dns/requests/slicehost/dns_tests.rb +16 -16
- data/tests/dns/requests/zerigo/dns_tests.rb +31 -32
- data/tests/helper.rb +1 -1
- data/tests/helpers/collection_helper.rb +1 -1
- data/tests/helpers/mock_helper.rb +4 -0
- data/tests/helpers/model_helper.rb +12 -0
- data/tests/storage/helper.rb +4 -4
- data/tests/storage/models/directories_tests.rb +2 -2
- data/tests/storage/models/directory_test.rb +2 -2
- data/tests/storage/models/file_tests.rb +2 -2
- data/tests/storage/models/files_tests.rb +2 -2
- data/tests/storage/requests/aws/bucket_tests.rb +18 -18
- data/tests/storage/requests/aws/multipart_upload_tests.rb +11 -11
- data/tests/storage/requests/aws/object_tests.rb +16 -16
- data/tests/storage/requests/google/bucket_tests.rb +10 -10
- data/tests/storage/requests/google/object_tests.rb +17 -17
- data/tests/storage/requests/rackspace/container_tests.rb +13 -13
- data/tests/storage/requests/rackspace/object_tests.rb +19 -19
- metadata +184 -64
- data/tests/aws/requests/rds/model_tests.rb +0 -98
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class AWS
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/aws/get_hosted_zone'
|
@@ -29,7 +29,7 @@ module Fog
|
|
29
29
|
|
30
30
|
request({
|
31
31
|
:expects => 200,
|
32
|
-
:parser => Fog::Parsers::AWS::
|
32
|
+
:parser => Fog::Parsers::DNS::AWS::GetHostedZone.new,
|
33
33
|
:method => 'GET',
|
34
34
|
:path => "hostedzone/#{zone_id}"
|
35
35
|
})
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class AWS
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/aws/list_hosted_zones'
|
@@ -40,7 +40,7 @@ module Fog
|
|
40
40
|
|
41
41
|
request({
|
42
42
|
:query => parameters,
|
43
|
-
:parser => Fog::Parsers::AWS::
|
43
|
+
:parser => Fog::Parsers::DNS::AWS::ListHostedZones.new,
|
44
44
|
:expects => 200,
|
45
45
|
:method => 'GET',
|
46
46
|
:path => "hostedzone"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class AWS
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/aws/list_resource_record_sets'
|
@@ -46,7 +46,7 @@ module Fog
|
|
46
46
|
|
47
47
|
request({
|
48
48
|
:query => parameters,
|
49
|
-
:parser => Fog::Parsers::AWS::
|
49
|
+
:parser => Fog::Parsers::DNS::AWS::ListResourceRecordSets.new,
|
50
50
|
:expects => 200,
|
51
51
|
:method => 'GET',
|
52
52
|
:path => "hostedzone/#{zone_id}/rrset"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class Bluebox
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/bluebox/create_record'
|
@@ -29,7 +29,7 @@ module Fog
|
|
29
29
|
:body => body,
|
30
30
|
:expects => 202,
|
31
31
|
:method => 'POST',
|
32
|
-
:parser => Fog::Parsers::Bluebox::
|
32
|
+
:parser => Fog::Parsers::DNS::Bluebox::CreateRecord.new,
|
33
33
|
:path => "/api/domains/#{zone_id}/records.xml"
|
34
34
|
)
|
35
35
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class Bluebox
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/bluebox/create_zone'
|
@@ -33,7 +33,7 @@ module Fog
|
|
33
33
|
:body => body,
|
34
34
|
:expects => 202,
|
35
35
|
:method => 'POST',
|
36
|
-
:parser => Fog::Parsers::Bluebox::
|
36
|
+
:parser => Fog::Parsers::DNS::Bluebox::CreateZone.new,
|
37
37
|
:path => "/api/domains.xml"
|
38
38
|
)
|
39
39
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class Bluebox
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/bluebox/get_record'
|
@@ -21,7 +21,7 @@ module Fog
|
|
21
21
|
request(
|
22
22
|
:expects => 200,
|
23
23
|
:method => 'GET',
|
24
|
-
:parser => Fog::Parsers::Bluebox::
|
24
|
+
:parser => Fog::Parsers::DNS::Bluebox::GetRecord.new,
|
25
25
|
:path => "/api/domains/#{zone_id}/records/#{record_id}.xml"
|
26
26
|
)
|
27
27
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class Bluebox
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/bluebox/get_records'
|
@@ -22,7 +22,7 @@ module Fog
|
|
22
22
|
request(
|
23
23
|
:expects => 200,
|
24
24
|
:method => 'GET',
|
25
|
-
:parser => Fog::Parsers::Bluebox::
|
25
|
+
:parser => Fog::Parsers::DNS::Bluebox::GetRecords.new,
|
26
26
|
:path => "/api/domains/#{zone_id}/records.xml"
|
27
27
|
)
|
28
28
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class Bluebox
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/bluebox/get_zone'
|
@@ -25,7 +25,7 @@ module Fog
|
|
25
25
|
request(
|
26
26
|
:expects => 200,
|
27
27
|
:method => 'GET',
|
28
|
-
:parser => Fog::Parsers::Bluebox::
|
28
|
+
:parser => Fog::Parsers::DNS::Bluebox::GetZone.new,
|
29
29
|
:path => "/api/domains/#{zone_id}.xml"
|
30
30
|
)
|
31
31
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Fog
|
2
|
-
module
|
3
|
-
class
|
2
|
+
module DNS
|
3
|
+
class Bluebox
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/dns/parsers/bluebox/get_zones'
|
@@ -24,7 +24,7 @@ module Fog
|
|
24
24
|
request(
|
25
25
|
:expects => 200,
|
26
26
|
:method => 'GET',
|
27
|
-
:parser => Fog::Parsers::Bluebox::
|
27
|
+
:parser => Fog::Parsers::DNS::Bluebox::GetZones.new,
|
28
28
|
:path => '/api/domains.xml'
|
29
29
|
)
|
30
30
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class DNSMadeEasy
|
4
|
+
class Real
|
5
|
+
|
6
|
+
# Creates a domain entry with the specified name. Returns errors if name is not valid or conflicts with another domain.
|
7
|
+
#
|
8
|
+
# ==== Parameters
|
9
|
+
# * domain<~String> - domain name
|
10
|
+
#
|
11
|
+
# ==== Returns
|
12
|
+
# * response<~Excon::Response>:
|
13
|
+
# * body<~Hash>:
|
14
|
+
# * name<~String> The domain name.
|
15
|
+
# * nameServer<~Array> List of strings, Name servers associated with this domain e.g. ["ns1.dnsmadeeasy.com", "ns2.dnsmadeeasy.com"]
|
16
|
+
# * gtdEnabled<~Boolean> true | false - Indicator of whether or not this domain uses the Global Traffic Director.
|
17
|
+
# * status<~Integer> - 201 - domain successfully created, 400 - domain name not valid, see errors in response content
|
18
|
+
def create_domain(domain)
|
19
|
+
request(
|
20
|
+
:expects => 201,
|
21
|
+
:method => 'PUT',
|
22
|
+
:path => "/V1.2/domains/#{domain}"
|
23
|
+
)
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class DNSMadeEasy
|
4
|
+
class Real
|
5
|
+
|
6
|
+
# Creates a record with the representation specified in the request content. Returns errors if record is not valid.
|
7
|
+
# Note that a record ID will be generated by the system with this request and any ID that is sent will be ignored. Records are not modifiable for domains that are locked to a template.
|
8
|
+
#
|
9
|
+
# ==== Parameters
|
10
|
+
# * domain<~String> Domain name.
|
11
|
+
# * name<~String> Record name.
|
12
|
+
# * type<~String> Record type. Values: A, AAAA, CNAME, HTTPRED, MX, NS, PTR, SRV, TXT
|
13
|
+
# * data<~String> Record data
|
14
|
+
# * options<~Hash> - optional
|
15
|
+
# * ttl<~Integer> Time to live. The amount of time a record will be cached before being refreshed. Default: 1800 (30 mins)
|
16
|
+
# * gtdLocation<~String> Global Traffic Director location. Values: DEFAULT, US_EAST, US_WEST, EUROPE
|
17
|
+
# * password<~String> For A records. Password used to authenticate for dynamic DNS.
|
18
|
+
# * description<~String> For HTTPRED records. A description of the HTTPRED record.
|
19
|
+
# * keywords<~String> For HTTPRED records. Keywords associated with the HTTPRED record.
|
20
|
+
# * title<~String> For HTTPRED records. The title of the HTTPRED record.
|
21
|
+
# * redirectType<~String> For HTTPRED records. Type of redirection performed. Values: Hidden Frame Masked, Standard - 302, Standard - 301
|
22
|
+
# * hardLink<~Boolean> For HTTPRED records.
|
23
|
+
#
|
24
|
+
# ==== Returns
|
25
|
+
# * response<~Excon::Response>:
|
26
|
+
# * body<~Hash>:
|
27
|
+
# * id<~Integer> Unique record identifier
|
28
|
+
# * name<~String>
|
29
|
+
# * type<~String>
|
30
|
+
# * data<~String>
|
31
|
+
# * ttl<~Integer>
|
32
|
+
# * gtdLocation<~String>
|
33
|
+
# * password<~String>
|
34
|
+
# * description<~String>
|
35
|
+
# * keywords<~String>
|
36
|
+
# * title<~String>
|
37
|
+
# * redirectType<~String>
|
38
|
+
# * hardLink<~Boolean>
|
39
|
+
# * 'status'<~Integer> - 201 - record successfully created, 400 - record not valid, see errors in response content, 404 - domain not found
|
40
|
+
def create_record(domain, name, type, data, options = {})
|
41
|
+
|
42
|
+
body = {
|
43
|
+
"name" => name,
|
44
|
+
"type" => type,
|
45
|
+
"data" => data,
|
46
|
+
"ttl" => 1800
|
47
|
+
}
|
48
|
+
|
49
|
+
body.merge!(options)
|
50
|
+
|
51
|
+
request(
|
52
|
+
:expects => 201,
|
53
|
+
:method => "POST",
|
54
|
+
:path => "/V1.2/domains/#{domain}/records",
|
55
|
+
:body => body.to_json
|
56
|
+
)
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class DNSMadeEasy
|
4
|
+
class Real
|
5
|
+
|
6
|
+
# Creates a secondary entry with the specified name. Returns errors if name is not valid or conflicts with another domain.
|
7
|
+
#
|
8
|
+
# ==== Parameters
|
9
|
+
# * secondary_name<~String> - secondary name
|
10
|
+
# * ip_addresses<~Array> - List of secondary ip addresses
|
11
|
+
#
|
12
|
+
# ==== Returns
|
13
|
+
# * response<~Excon::Response>:
|
14
|
+
# * body<~Hash>:
|
15
|
+
# * name<~String> Secondary name.
|
16
|
+
# * ip<~Array> List of strings, IP addresses for your master nameserver associated with this secondary entry. e.g. ["10.10.10.10", "10.10.10.11"]
|
17
|
+
# * gtdLocation<~String> Global Traffic Director location. Values: DEFAULT, US_EAST, US_WEST, EUROPE
|
18
|
+
# * status<~Integer> - 201 - secondary entry successfully created or modified, 400 - secondary entry name or IP addresses not valid, see errors in response content
|
19
|
+
def create_secondary(secondary_name, ip_addresses)
|
20
|
+
|
21
|
+
body = {
|
22
|
+
"ip" => [*ip_addresses]
|
23
|
+
}
|
24
|
+
|
25
|
+
request(
|
26
|
+
:expects => 201,
|
27
|
+
:method => 'PUT',
|
28
|
+
:path => "/V1.2/secondary/#{secondary_name}",
|
29
|
+
:body => body.to_json
|
30
|
+
)
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class DNSMadeEasy
|
4
|
+
class Real
|
5
|
+
|
6
|
+
# Deletes all domains for your account.
|
7
|
+
#
|
8
|
+
# ==== Returns
|
9
|
+
# * response<~Excon::Response>:
|
10
|
+
# * body<~Hash>:
|
11
|
+
# * status<~Integer> - 200 - OK
|
12
|
+
def delete_all_domains
|
13
|
+
request(
|
14
|
+
:expects => 200,
|
15
|
+
:method => 'DELETE',
|
16
|
+
:path => '/V1.2/domains'
|
17
|
+
)
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class DNSMadeEasy
|
4
|
+
class Real
|
5
|
+
|
6
|
+
# Deletes all secondary entries for your account.
|
7
|
+
#
|
8
|
+
# ==== Returns
|
9
|
+
# * response<~Excon::Response>:
|
10
|
+
# * status<~Integer> 200 - OK
|
11
|
+
def delete_all_secondary
|
12
|
+
request(
|
13
|
+
:expects => 200,
|
14
|
+
:method => 'DELETE',
|
15
|
+
:path => '/V1.2/secondary'
|
16
|
+
)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|