fog 0.7.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +1 -1
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/codeql.yml +67 -0
- data/.github/workflows/depsreview.yml +14 -0
- data/.github/workflows/ruby.yml +23 -0
- data/.github/workflows/stale.yml +14 -0
- data/.gitignore +19 -2
- data/.irbrc +82 -0
- data/.rubocop.yml +20 -0
- data/.rubocop_todo.yml +606 -0
- data/.travis.yml +41 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +10446 -0
- data/CONTRIBUTING.md +276 -0
- data/CONTRIBUTORS.md +898 -0
- data/Gemfile +8 -1
- data/LICENSE.md +20 -0
- data/README.md +187 -0
- data/RELEASE.md +40 -0
- data/Rakefile +130 -40
- data/benchs/each_provider.sh +6 -0
- data/benchs/each_service.sh +6 -0
- data/benchs/load_times.rb +37 -0
- data/benchs/parse_vs_push.rb +16 -9
- data/bin/fog +43 -6
- data/fog.gemspec +92 -32
- data/gemfiles/Gemfile-2.0 +11 -0
- data/gemfiles/Gemfile-edge +14 -0
- data/gemfiles/Gemfile-edge-2.0 +16 -0
- data/lib/fog/aws/service_mapper.rb +129 -0
- data/lib/fog/bare_metal_cloud/compute.rb +93 -0
- data/lib/fog/bare_metal_cloud/core.rb +10 -0
- data/lib/fog/bare_metal_cloud/requests/compute/add_server.rb +31 -0
- data/lib/fog/bare_metal_cloud/requests/compute/add_server_by_configuration.rb +31 -0
- data/lib/fog/bare_metal_cloud/requests/compute/cancel_server.rb +28 -0
- data/lib/fog/bare_metal_cloud/requests/compute/get_server.rb +39 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_configurations.rb +25 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_images.rb +25 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_plans.rb +28 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_servers.rb +34 -0
- data/lib/fog/bare_metal_cloud/requests/compute/reboot_server.rb +22 -0
- data/lib/fog/bare_metal_cloud.rb +1 -0
- data/lib/fog/bin/aws.rb +10 -66
- data/lib/fog/bin/bare_metal_cloud.rb +29 -0
- data/lib/fog/bin/brightbox.rb +5 -4
- data/lib/fog/bin/clodo.rb +29 -0
- data/lib/fog/bin/cloudsigma.rb +28 -0
- data/lib/fog/bin/cloudstack.rb +28 -0
- data/lib/fog/bin/dnsmadeeasy.rb +29 -0
- data/lib/fog/bin/dreamhost.rb +29 -0
- data/lib/fog/bin/fogdocker.rb +28 -0
- data/lib/fog/bin/glesys.rb +29 -0
- data/lib/fog/bin/go_grid.rb +3 -4
- data/lib/fog/bin/ibm.rb +32 -0
- data/lib/fog/bin/linode.rb +4 -4
- data/lib/fog/bin/opennebula.rb +60 -0
- data/lib/fog/bin/openstack.rb +71 -0
- data/lib/fog/bin/openvz.rb +29 -0
- data/lib/fog/bin/rackspace.rb +55 -6
- data/lib/fog/bin/rage4.rb +29 -0
- data/lib/fog/bin/softlayer.rb +53 -0
- data/lib/fog/bin/vcloud.rb +28 -0
- data/lib/fog/bin/vcloud_director.rb +28 -0
- data/lib/fog/bin.rb +36 -13
- data/lib/fog/clodo/compute.rb +147 -0
- data/lib/fog/clodo/core.rb +33 -0
- data/lib/fog/clodo/models/compute/image.rb +27 -0
- data/lib/fog/clodo/models/compute/images.rb +24 -0
- data/lib/fog/clodo/models/compute/server.rb +121 -0
- data/lib/fog/clodo/models/compute/servers.rb +32 -0
- data/lib/fog/clodo/requests/compute/add_ip_address.rb +47 -0
- data/lib/fog/clodo/requests/compute/create_server.rb +109 -0
- data/lib/fog/clodo/requests/compute/delete_ip_address.rb +45 -0
- data/lib/fog/clodo/requests/compute/delete_server.rb +40 -0
- data/lib/fog/clodo/requests/compute/get_image_details.rb +20 -0
- data/lib/fog/clodo/requests/compute/get_server_details.rb +45 -0
- data/lib/fog/clodo/requests/compute/list_images.rb +44 -0
- data/lib/fog/clodo/requests/compute/list_images_detail.rb +57 -0
- data/lib/fog/clodo/requests/compute/list_servers.rb +46 -0
- data/lib/fog/clodo/requests/compute/list_servers_detail.rb +47 -0
- data/lib/fog/clodo/requests/compute/move_ip_address.rb +33 -0
- data/lib/fog/clodo/requests/compute/reboot_server.rb +19 -0
- data/lib/fog/clodo/requests/compute/rebuild_server.rb +21 -0
- data/lib/fog/clodo/requests/compute/server_action.rb +24 -0
- data/lib/fog/clodo/requests/compute/start_server.rb +19 -0
- data/lib/fog/clodo/requests/compute/stop_server.rb +19 -0
- data/lib/fog/clodo.rb +1 -0
- data/lib/fog/cloudsigma/compute.rb +228 -0
- data/lib/fog/cloudsigma/connection.rb +192 -0
- data/lib/fog/cloudsigma/core.rb +10 -0
- data/lib/fog/cloudsigma/docs/getting_started.md +59 -0
- data/lib/fog/cloudsigma/error.rb +39 -0
- data/lib/fog/cloudsigma/mock_data.rb +49 -0
- data/lib/fog/cloudsigma/models/balance.rb +12 -0
- data/lib/fog/cloudsigma/models/current_usage.rb +19 -0
- data/lib/fog/cloudsigma/models/fwpolicies.rb +18 -0
- data/lib/fog/cloudsigma/models/fwpolicy.rb +19 -0
- data/lib/fog/cloudsigma/models/ip.rb +20 -0
- data/lib/fog/cloudsigma/models/ipconf.rb +12 -0
- data/lib/fog/cloudsigma/models/ips.rb +26 -0
- data/lib/fog/cloudsigma/models/lib_volume.rb +48 -0
- data/lib/fog/cloudsigma/models/lib_volumes.rb +26 -0
- data/lib/fog/cloudsigma/models/mountpoint.rb +25 -0
- data/lib/fog/cloudsigma/models/nic.rb +19 -0
- data/lib/fog/cloudsigma/models/obj_ref.rb +12 -0
- data/lib/fog/cloudsigma/models/price_calculation.rb +13 -0
- data/lib/fog/cloudsigma/models/price_record.rb +37 -0
- data/lib/fog/cloudsigma/models/pricing.rb +19 -0
- data/lib/fog/cloudsigma/models/profile.rb +48 -0
- data/lib/fog/cloudsigma/models/rule.rb +18 -0
- data/lib/fog/cloudsigma/models/server.rb +212 -0
- data/lib/fog/cloudsigma/models/servers.rb +26 -0
- data/lib/fog/cloudsigma/models/snapshot.rb +77 -0
- data/lib/fog/cloudsigma/models/snapshots.rb +26 -0
- data/lib/fog/cloudsigma/models/subscription.rb +52 -0
- data/lib/fog/cloudsigma/models/subscriptions.rb +41 -0
- data/lib/fog/cloudsigma/models/usage_record.rb +13 -0
- data/lib/fog/cloudsigma/models/vlan.rb +29 -0
- data/lib/fog/cloudsigma/models/vlans.rb +26 -0
- data/lib/fog/cloudsigma/models/volume.rb +84 -0
- data/lib/fog/cloudsigma/models/volumes.rb +26 -0
- data/lib/fog/cloudsigma/nested_model.rb +60 -0
- data/lib/fog/cloudsigma/requests/calculate_subscription_price.rb +16 -0
- data/lib/fog/cloudsigma/requests/clone_libvolume.rb +31 -0
- data/lib/fog/cloudsigma/requests/clone_server.rb +31 -0
- data/lib/fog/cloudsigma/requests/clone_snapshot.rb +31 -0
- data/lib/fog/cloudsigma/requests/clone_volume.rb +31 -0
- data/lib/fog/cloudsigma/requests/close_vnc.rb +29 -0
- data/lib/fog/cloudsigma/requests/create_server.rb +31 -0
- data/lib/fog/cloudsigma/requests/create_snapshot.rb +27 -0
- data/lib/fog/cloudsigma/requests/create_subscription.rb +38 -0
- data/lib/fog/cloudsigma/requests/create_volume.rb +29 -0
- data/lib/fog/cloudsigma/requests/delete_server.rb +17 -0
- data/lib/fog/cloudsigma/requests/delete_snapshot.rb +17 -0
- data/lib/fog/cloudsigma/requests/delete_volume.rb +17 -0
- data/lib/fog/cloudsigma/requests/extend_subscription.rb +20 -0
- data/lib/fog/cloudsigma/requests/get_balance.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_current_usage.rb +16 -0
- data/lib/fog/cloudsigma/requests/get_ip.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_lib_volume.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_pricing.rb +27 -0
- data/lib/fog/cloudsigma/requests/get_profile.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_server.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_snapshot.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_subscription.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_vlan.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_volume.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_fwpolicies.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_ips.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_lib_volumes.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_servers.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_snapshots.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_subscriptions.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_vlans.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_volumes.rb +17 -0
- data/lib/fog/cloudsigma/requests/open_vnc.rb +33 -0
- data/lib/fog/cloudsigma/requests/start_server.rb +31 -0
- data/lib/fog/cloudsigma/requests/stop_server.rb +32 -0
- data/lib/fog/cloudsigma/requests/update_profile.rb +17 -0
- data/lib/fog/cloudsigma/requests/update_server.rb +39 -0
- data/lib/fog/cloudsigma/requests/update_snapshot.rb +17 -0
- data/lib/fog/cloudsigma/requests/update_vlan.rb +19 -0
- data/lib/fog/cloudsigma/requests/update_volume.rb +17 -0
- data/lib/fog/cloudsigma.rb +1 -0
- data/lib/fog/core/deprecated/connection.rb +24 -0
- data/lib/fog/core/parser.rb +2 -99
- data/lib/fog/dnsmadeeasy/core.rb +10 -0
- data/lib/fog/dnsmadeeasy/dns.rb +130 -0
- data/lib/fog/dnsmadeeasy/models/dns/record.rb +77 -0
- data/lib/fog/dnsmadeeasy/models/dns/records.rb +32 -0
- data/lib/fog/dnsmadeeasy/models/dns/zone.rb +38 -0
- data/lib/fog/dnsmadeeasy/models/dns/zones.rb +26 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_domain.rb +27 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_record.rb +59 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_secondary.rb +33 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_all_domains.rb +21 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_all_secondary.rb +20 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_domain.rb +23 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_record.rb +24 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_secondary.rb +23 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_domain.rb +27 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_record.rb +36 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb +27 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_domains.rb +22 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_records.rb +40 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_secondary.rb +22 -0
- data/lib/fog/dnsmadeeasy/requests/dns/update_record.rb +54 -0
- data/lib/fog/dnsmadeeasy/requests/dns/update_secondary.rb +33 -0
- data/lib/fog/dnsmadeeasy.rb +1 -0
- data/lib/fog/dreamhost/CHANGELOG.md +8 -0
- data/lib/fog/dreamhost/core.rb +10 -0
- data/lib/fog/dreamhost/dns.rb +79 -0
- data/lib/fog/dreamhost/examples/dns/getting_started.md +105 -0
- data/lib/fog/dreamhost/models/dns/record.rb +31 -0
- data/lib/fog/dreamhost/models/dns/records.rb +34 -0
- data/lib/fog/dreamhost/models/dns/zone.rb +55 -0
- data/lib/fog/dreamhost/models/dns/zones.rb +37 -0
- data/lib/fog/dreamhost/requests/dns/create_record.rb +27 -0
- data/lib/fog/dreamhost/requests/dns/delete_record.rb +26 -0
- data/lib/fog/dreamhost/requests/dns/list_records.rb +20 -0
- data/lib/fog/dreamhost.rb +1 -0
- data/lib/fog/fogdocker/compute.rb +61 -0
- data/lib/fog/fogdocker/core.rb +9 -0
- data/lib/fog/fogdocker/errors.rb +9 -0
- data/lib/fog/fogdocker/models/compute/image.rb +37 -0
- data/lib/fog/fogdocker/models/compute/images.rb +24 -0
- data/lib/fog/fogdocker/models/compute/server.rb +154 -0
- data/lib/fog/fogdocker/models/compute/servers.rb +25 -0
- data/lib/fog/fogdocker/requests/compute/api_version.rb +16 -0
- data/lib/fog/fogdocker/requests/compute/container_action.rb +72 -0
- data/lib/fog/fogdocker/requests/compute/container_all.rb +37 -0
- data/lib/fog/fogdocker/requests/compute/container_commit.rb +22 -0
- data/lib/fog/fogdocker/requests/compute/container_create.rb +52 -0
- data/lib/fog/fogdocker/requests/compute/container_delete.rb +21 -0
- data/lib/fog/fogdocker/requests/compute/container_get.rb +50 -0
- data/lib/fog/fogdocker/requests/compute/image_all.rb +27 -0
- data/lib/fog/fogdocker/requests/compute/image_create.rb +17 -0
- data/lib/fog/fogdocker/requests/compute/image_delete.rb +20 -0
- data/lib/fog/fogdocker/requests/compute/image_get.rb +19 -0
- data/lib/fog/fogdocker/requests/compute/image_search.rb +29 -0
- data/lib/fog/fogdocker.rb +1 -0
- data/lib/fog/glesys/compute.rb +136 -0
- data/lib/fog/glesys/core.rb +10 -0
- data/lib/fog/glesys/models/compute/ip.rb +73 -0
- data/lib/fog/glesys/models/compute/ips.rb +117 -0
- data/lib/fog/glesys/models/compute/server.rb +150 -0
- data/lib/fog/glesys/models/compute/servers.rb +42 -0
- data/lib/fog/glesys/models/compute/ssh_key.rb +28 -0
- data/lib/fog/glesys/models/compute/ssh_keys.rb +21 -0
- data/lib/fog/glesys/models/compute/template.rb +17 -0
- data/lib/fog/glesys/models/compute/templates.rb +38 -0
- data/lib/fog/glesys/requests/compute/create.rb +11 -0
- data/lib/fog/glesys/requests/compute/destroy.rb +15 -0
- data/lib/fog/glesys/requests/compute/edit.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_add.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_details.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_list_free.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_list_own.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_release.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_remove.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_take.rb +11 -0
- data/lib/fog/glesys/requests/compute/list_servers.rb +15 -0
- data/lib/fog/glesys/requests/compute/reboot.rb +11 -0
- data/lib/fog/glesys/requests/compute/server_details.rb +11 -0
- data/lib/fog/glesys/requests/compute/server_status.rb +11 -0
- data/lib/fog/glesys/requests/compute/ssh_key_add.rb +11 -0
- data/lib/fog/glesys/requests/compute/ssh_key_list.rb +11 -0
- data/lib/fog/glesys/requests/compute/ssh_key_remove.rb +11 -0
- data/lib/fog/glesys/requests/compute/start.rb +11 -0
- data/lib/fog/glesys/requests/compute/stop.rb +11 -0
- data/lib/fog/glesys/requests/compute/template_list.rb +11 -0
- data/lib/fog/glesys.rb +1 -0
- data/lib/fog/go_grid/compute.rb +110 -0
- data/lib/fog/go_grid/core.rb +10 -0
- data/lib/fog/go_grid/models/compute/image.rb +55 -0
- data/lib/fog/go_grid/models/compute/images.rb +29 -0
- data/lib/fog/go_grid/models/compute/password.rb +45 -0
- data/lib/fog/go_grid/models/compute/passwords.rb +32 -0
- data/lib/fog/go_grid/models/compute/server.rb +94 -0
- data/lib/fog/go_grid/models/compute/servers.rb +32 -0
- data/lib/fog/go_grid/requests/compute/common_lookup_list.rb +26 -0
- data/lib/fog/go_grid/requests/compute/grid_image_get.rb +37 -0
- data/lib/fog/go_grid/requests/compute/grid_image_list.rb +40 -0
- data/lib/fog/go_grid/requests/compute/grid_ip_list.rb +28 -0
- data/lib/fog/go_grid/requests/compute/grid_loadbalancer_list.rb +26 -0
- data/lib/fog/go_grid/requests/compute/grid_server_add.rb +34 -0
- data/lib/fog/go_grid/requests/compute/grid_server_delete.rb +23 -0
- data/lib/fog/go_grid/requests/compute/grid_server_get.rb +23 -0
- data/lib/fog/go_grid/requests/compute/grid_server_list.rb +28 -0
- data/lib/fog/go_grid/requests/compute/grid_server_power.rb +24 -0
- data/lib/fog/go_grid/requests/compute/support_password_get.rb +26 -0
- data/lib/fog/go_grid/requests/compute/support_password_list.rb +28 -0
- data/lib/fog/go_grid.rb +1 -0
- data/lib/fog/ibm/compute.rb +230 -0
- data/lib/fog/ibm/core.rb +172 -0
- data/lib/fog/ibm/models/compute/address.rb +61 -0
- data/lib/fog/ibm/models/compute/addresses.rb +25 -0
- data/lib/fog/ibm/models/compute/image.rb +68 -0
- data/lib/fog/ibm/models/compute/images.rb +24 -0
- data/lib/fog/ibm/models/compute/instance-type.rb +14 -0
- data/lib/fog/ibm/models/compute/instance-types.rb +12 -0
- data/lib/fog/ibm/models/compute/key.rb +35 -0
- data/lib/fog/ibm/models/compute/keys.rb +32 -0
- data/lib/fog/ibm/models/compute/location.rb +15 -0
- data/lib/fog/ibm/models/compute/locations.rb +24 -0
- data/lib/fog/ibm/models/compute/server.rb +189 -0
- data/lib/fog/ibm/models/compute/servers.rb +24 -0
- data/lib/fog/ibm/models/compute/vlan.rb +13 -0
- data/lib/fog/ibm/models/compute/vlans.rb +25 -0
- data/lib/fog/ibm/models/storage/offering.rb +18 -0
- data/lib/fog/ibm/models/storage/offerings.rb +16 -0
- data/lib/fog/ibm/models/storage/volume.rb +96 -0
- data/lib/fog/ibm/models/storage/volumes.rb +24 -0
- data/lib/fog/ibm/requests/compute/clone_image.rb +44 -0
- data/lib/fog/ibm/requests/compute/create_address.rb +46 -0
- data/lib/fog/ibm/requests/compute/create_image.rb +52 -0
- data/lib/fog/ibm/requests/compute/create_instance.rb +81 -0
- data/lib/fog/ibm/requests/compute/create_key.rb +57 -0
- data/lib/fog/ibm/requests/compute/delete_address.rb +42 -0
- data/lib/fog/ibm/requests/compute/delete_image.rb +39 -0
- data/lib/fog/ibm/requests/compute/delete_instance.rb +48 -0
- data/lib/fog/ibm/requests/compute/delete_key.rb +37 -0
- data/lib/fog/ibm/requests/compute/get_image.rb +63 -0
- data/lib/fog/ibm/requests/compute/get_image_agreement.rb +62 -0
- data/lib/fog/ibm/requests/compute/get_image_manifest.rb +35 -0
- data/lib/fog/ibm/requests/compute/get_instance.rb +72 -0
- data/lib/fog/ibm/requests/compute/get_instance_logs.rb +23 -0
- data/lib/fog/ibm/requests/compute/get_key.rb +45 -0
- data/lib/fog/ibm/requests/compute/get_location.rb +51 -0
- data/lib/fog/ibm/requests/compute/get_request.rb +74 -0
- data/lib/fog/ibm/requests/compute/list_address_offerings.rb +54 -0
- data/lib/fog/ibm/requests/compute/list_addresses.rb +49 -0
- data/lib/fog/ibm/requests/compute/list_images.rb +54 -0
- data/lib/fog/ibm/requests/compute/list_instances.rb +53 -0
- data/lib/fog/ibm/requests/compute/list_keys.rb +53 -0
- data/lib/fog/ibm/requests/compute/list_locations.rb +33 -0
- data/lib/fog/ibm/requests/compute/list_vlans.rb +43 -0
- data/lib/fog/ibm/requests/compute/modify_instance.rb +68 -0
- data/lib/fog/ibm/requests/compute/modify_key.rb +48 -0
- data/lib/fog/ibm/requests/storage/create_volume.rb +63 -0
- data/lib/fog/ibm/requests/storage/delete_volume.rb +38 -0
- data/lib/fog/ibm/requests/storage/get_volume.rb +68 -0
- data/lib/fog/ibm/requests/storage/list_offerings.rb +72 -0
- data/lib/fog/ibm/requests/storage/list_volumes.rb +43 -0
- data/lib/fog/ibm/storage.rb +76 -0
- data/lib/fog/ibm.rb +2 -0
- data/lib/fog/linode/compute.rb +124 -0
- data/lib/fog/linode/core.rb +10 -0
- data/lib/fog/linode/dns.rb +87 -0
- data/lib/fog/linode/models/compute/data_center.rb +13 -0
- data/lib/fog/linode/models/compute/data_centers.rb +26 -0
- data/lib/fog/linode/models/compute/disk.rb +62 -0
- data/lib/fog/linode/models/compute/disks.rb +40 -0
- data/lib/fog/linode/models/compute/flavor.rb +23 -0
- data/lib/fog/linode/models/compute/flavors.rb +39 -0
- data/lib/fog/linode/models/compute/image.rb +16 -0
- data/lib/fog/linode/models/compute/images.rb +34 -0
- data/lib/fog/linode/models/compute/ip.rb +30 -0
- data/lib/fog/linode/models/compute/ips.rb +40 -0
- data/lib/fog/linode/models/compute/kernel.rb +15 -0
- data/lib/fog/linode/models/compute/kernels.rb +38 -0
- data/lib/fog/linode/models/compute/node_balancer_flavor.rb +13 -0
- data/lib/fog/linode/models/compute/node_balancer_flavors.rb +27 -0
- data/lib/fog/linode/models/compute/server.rb +101 -0
- data/lib/fog/linode/models/compute/servers.rb +32 -0
- data/lib/fog/linode/models/compute/stack_script.rb +13 -0
- data/lib/fog/linode/models/compute/stack_scripts.rb +32 -0
- data/lib/fog/linode/models/dns/record.rb +68 -0
- data/lib/fog/linode/models/dns/records.rb +33 -0
- data/lib/fog/linode/models/dns/zone.rb +79 -0
- data/lib/fog/linode/models/dns/zones.rb +25 -0
- data/lib/fog/linode/requests/compute/avail_datacenters.rb +44 -0
- data/lib/fog/linode/requests/compute/avail_distributions.rb +65 -0
- data/lib/fog/linode/requests/compute/avail_kernels.rb +62 -0
- data/lib/fog/linode/requests/compute/avail_linodeplans.rb +68 -0
- data/lib/fog/linode/requests/compute/avail_nodebalancers.rb +42 -0
- data/lib/fog/linode/requests/compute/avail_stackscripts.rb +56 -0
- data/lib/fog/linode/requests/compute/image_delete.rb +42 -0
- data/lib/fog/linode/requests/compute/image_list.rb +64 -0
- data/lib/fog/linode/requests/compute/linode_boot.rb +28 -0
- data/lib/fog/linode/requests/compute/linode_config_create.rb +34 -0
- data/lib/fog/linode/requests/compute/linode_config_delete.rb +32 -0
- data/lib/fog/linode/requests/compute/linode_config_list.rb +69 -0
- data/lib/fog/linode/requests/compute/linode_config_update.rb +33 -0
- data/lib/fog/linode/requests/compute/linode_create.rb +44 -0
- data/lib/fog/linode/requests/compute/linode_delete.rb +39 -0
- data/lib/fog/linode/requests/compute/linode_disk_create.rb +35 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromdistribution.rb +36 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromimage.rb +37 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromstackscript.rb +24 -0
- data/lib/fog/linode/requests/compute/linode_disk_delete.rb +33 -0
- data/lib/fog/linode/requests/compute/linode_disk_duplicate.rb +33 -0
- data/lib/fog/linode/requests/compute/linode_disk_imagize.rb +37 -0
- data/lib/fog/linode/requests/compute/linode_disk_list.rb +58 -0
- data/lib/fog/linode/requests/compute/linode_disk_resize.rb +36 -0
- data/lib/fog/linode/requests/compute/linode_disk_update.rb +34 -0
- data/lib/fog/linode/requests/compute/linode_ip_addprivate.rb +15 -0
- data/lib/fog/linode/requests/compute/linode_ip_list.rb +57 -0
- data/lib/fog/linode/requests/compute/linode_list.rb +81 -0
- data/lib/fog/linode/requests/compute/linode_reboot.rb +39 -0
- data/lib/fog/linode/requests/compute/linode_shutdown.rb +28 -0
- data/lib/fog/linode/requests/compute/linode_update.rb +28 -0
- data/lib/fog/linode/requests/compute/stackscript_list.rb +30 -0
- data/lib/fog/linode/requests/dns/domain_create.rb +41 -0
- data/lib/fog/linode/requests/dns/domain_delete.rb +25 -0
- data/lib/fog/linode/requests/dns/domain_list.rb +40 -0
- data/lib/fog/linode/requests/dns/domain_resource_create.rb +42 -0
- data/lib/fog/linode/requests/dns/domain_resource_delete.rb +26 -0
- data/lib/fog/linode/requests/dns/domain_resource_list.rb +41 -0
- data/lib/fog/linode/requests/dns/domain_resource_update.rb +43 -0
- data/lib/fog/linode/requests/dns/domain_update.rb +36 -0
- data/lib/fog/linode.rb +2 -0
- data/lib/fog/opennebula/README.md +113 -0
- data/lib/fog/opennebula/compute.rb +136 -0
- data/lib/fog/opennebula/core.rb +8 -0
- data/lib/fog/opennebula/models/compute/flavor.rb +175 -0
- data/lib/fog/opennebula/models/compute/flavors.rb +42 -0
- data/lib/fog/opennebula/models/compute/group.rb +22 -0
- data/lib/fog/opennebula/models/compute/groups.rb +34 -0
- data/lib/fog/opennebula/models/compute/interface.rb +33 -0
- data/lib/fog/opennebula/models/compute/interfaces.rb +12 -0
- data/lib/fog/opennebula/models/compute/network.rb +42 -0
- data/lib/fog/opennebula/models/compute/networks.rb +35 -0
- data/lib/fog/opennebula/models/compute/server.rb +100 -0
- data/lib/fog/opennebula/models/compute/servers.rb +30 -0
- data/lib/fog/opennebula/requests/compute/OpenNebulaVNC.rb +340 -0
- data/lib/fog/opennebula/requests/compute/get_vnc_console.rb +47 -0
- data/lib/fog/opennebula/requests/compute/image_pool.rb +26 -0
- data/lib/fog/opennebula/requests/compute/list_groups.rb +79 -0
- data/lib/fog/opennebula/requests/compute/list_networks.rb +72 -0
- data/lib/fog/opennebula/requests/compute/list_vms.rb +69 -0
- data/lib/fog/opennebula/requests/compute/template_pool.rb +136 -0
- data/lib/fog/opennebula/requests/compute/vm_allocate.rb +99 -0
- data/lib/fog/opennebula/requests/compute/vm_destroy.rb +31 -0
- data/lib/fog/opennebula/requests/compute/vm_disk_snapshot.rb +28 -0
- data/lib/fog/opennebula/requests/compute/vm_resume.rb +27 -0
- data/lib/fog/opennebula/requests/compute/vm_shutdown.rb +18 -0
- data/lib/fog/opennebula/requests/compute/vm_stop.rb +15 -0
- data/lib/fog/opennebula/requests/compute/vm_suspend.rb +31 -0
- data/lib/fog/opennebula.rb +1 -0
- data/lib/fog/openvz/README.md +188 -0
- data/lib/fog/openvz/compute.rb +168 -0
- data/lib/fog/openvz/core.rb +8 -0
- data/lib/fog/openvz/models/compute/server.rb +189 -0
- data/lib/fog/openvz/models/compute/servers.rb +24 -0
- data/lib/fog/openvz/requests/compute/compact_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/convert_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/create_server.rb +19 -0
- data/lib/fog/openvz/requests/compute/destroy_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/exec2_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/exec_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/get_server_details.rb +17 -0
- data/lib/fog/openvz/requests/compute/list_servers.rb +17 -0
- data/lib/fog/openvz/requests/compute/mount_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/quotainit_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/quotaoff_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/quotaon_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/restart_server.rb +20 -0
- data/lib/fog/openvz/requests/compute/resume_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/runscript_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/set_server.rb +22 -0
- data/lib/fog/openvz/requests/compute/snapshot_delete_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_list_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_mount_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_switch_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_umount_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/start_server.rb +20 -0
- data/lib/fog/openvz/requests/compute/status_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/stop_server.rb +20 -0
- data/lib/fog/openvz/requests/compute/suspend_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/umount_server.rb +17 -0
- data/lib/fog/openvz.rb +1 -0
- data/lib/fog/rage4/core.rb +10 -0
- data/lib/fog/rage4/dns.rb +72 -0
- data/lib/fog/rage4/models/dns/record.rb +73 -0
- data/lib/fog/rage4/models/dns/records.rb +38 -0
- data/lib/fog/rage4/models/dns/zone.rb +42 -0
- data/lib/fog/rage4/models/dns/zones.rb +30 -0
- data/lib/fog/rage4/requests/dns/bulk_update_records.rb +38 -0
- data/lib/fog/rage4/requests/dns/create_domain.rb +29 -0
- data/lib/fog/rage4/requests/dns/create_domain_vanity.rb +30 -0
- data/lib/fog/rage4/requests/dns/create_record.rb +59 -0
- data/lib/fog/rage4/requests/dns/create_reverse_domain_4.rb +28 -0
- data/lib/fog/rage4/requests/dns/delete_domain.rb +24 -0
- data/lib/fog/rage4/requests/dns/delete_record.rb +24 -0
- data/lib/fog/rage4/requests/dns/get_domain.rb +26 -0
- data/lib/fog/rage4/requests/dns/get_domain_by_name.rb +26 -0
- data/lib/fog/rage4/requests/dns/list_domains.rb +36 -0
- data/lib/fog/rage4/requests/dns/list_geo_regions.rb +25 -0
- data/lib/fog/rage4/requests/dns/list_record_types.rb +24 -0
- data/lib/fog/rage4/requests/dns/list_records.rb +28 -0
- data/lib/fog/rage4/requests/dns/set_record_failover.rb +25 -0
- data/lib/fog/rage4/requests/dns/show_current_usage.rb +21 -0
- data/lib/fog/rage4/requests/dns/show_global_usage.rb +21 -0
- data/lib/fog/rage4/requests/dns/update_domain.rb +39 -0
- data/lib/fog/rage4/requests/dns/update_record.rb +59 -0
- data/lib/fog/rage4.rb +1 -0
- data/lib/fog/vcloud/compute.rb +366 -0
- data/lib/fog/vcloud/core.rb +10 -0
- data/lib/fog/vcloud/examples/README.md +54 -0
- data/lib/fog/vcloud/examples/creating_a_connection.md +20 -0
- data/lib/fog/vcloud/examples/creating_a_vapp.md +17 -0
- data/lib/fog/vcloud/examples/get_network_information.md +10 -0
- data/lib/fog/vcloud/examples/get_vapp_information.md +10 -0
- data/lib/fog/vcloud/examples/more_on_vapps.md +23 -0
- data/lib/fog/vcloud/models/compute/catalog.rb +20 -0
- data/lib/fog/vcloud/models/compute/catalog_item.rb +36 -0
- data/lib/fog/vcloud/models/compute/catalog_items.rb +34 -0
- data/lib/fog/vcloud/models/compute/catalogs.rb +36 -0
- data/lib/fog/vcloud/models/compute/helpers/status.rb +37 -0
- data/lib/fog/vcloud/models/compute/ip.rb +40 -0
- data/lib/fog/vcloud/models/compute/ips.rb +31 -0
- data/lib/fog/vcloud/models/compute/network.rb +22 -0
- data/lib/fog/vcloud/models/compute/networks.rb +46 -0
- data/lib/fog/vcloud/models/compute/organization.rb +41 -0
- data/lib/fog/vcloud/models/compute/organizations.rb +29 -0
- data/lib/fog/vcloud/models/compute/server.rb +343 -0
- data/lib/fog/vcloud/models/compute/servers.rb +49 -0
- data/lib/fog/vcloud/models/compute/tag.rb +18 -0
- data/lib/fog/vcloud/models/compute/tags.rb +30 -0
- data/lib/fog/vcloud/models/compute/task.rb +19 -0
- data/lib/fog/vcloud/models/compute/tasks.rb +27 -0
- data/lib/fog/vcloud/models/compute/vapp.rb +53 -0
- data/lib/fog/vcloud/models/compute/vapps.rb +25 -0
- data/lib/fog/vcloud/models/compute/vdc.rb +39 -0
- data/lib/fog/vcloud/models/compute/vdcs.rb +33 -0
- data/lib/fog/vcloud/requests/compute/clone_vapp.rb +39 -0
- data/lib/fog/vcloud/requests/compute/configure_metadata.rb +34 -0
- data/lib/fog/vcloud/requests/compute/configure_network.rb +41 -0
- data/lib/fog/vcloud/requests/compute/configure_network_ip.rb +46 -0
- data/lib/fog/vcloud/requests/compute/configure_node.rb +36 -0
- data/lib/fog/vcloud/requests/compute/configure_org_network.rb +139 -0
- data/lib/fog/vcloud/requests/compute/configure_vapp.rb +111 -0
- data/lib/fog/vcloud/requests/compute/configure_vm.rb +106 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_cpus.rb +35 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_customization_script.rb +30 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_disks.rb +93 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_memory.rb +36 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_name_description.rb +26 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_network.rb +33 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_password.rb +36 -0
- data/lib/fog/vcloud/requests/compute/delete_metadata.rb +9 -0
- data/lib/fog/vcloud/requests/compute/delete_node.rb +9 -0
- data/lib/fog/vcloud/requests/compute/delete_vapp.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_catalog.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_catalog_item.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_customization_options.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_metadata.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_network.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_network_extensions.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_network_ip.rb +13 -0
- data/lib/fog/vcloud/requests/compute/get_network_ips.rb +13 -0
- data/lib/fog/vcloud/requests/compute/get_organization.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_server.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_task.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_task_list.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vapp.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vapp_template.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vdc.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vm_disks.rb +15 -0
- data/lib/fog/vcloud/requests/compute/get_vm_memory.rb +15 -0
- data/lib/fog/vcloud/requests/compute/instantiate_vapp_template.rb +87 -0
- data/lib/fog/vcloud/requests/compute/login.rb +23 -0
- data/lib/fog/vcloud/requests/compute/power_off.rb +9 -0
- data/lib/fog/vcloud/requests/compute/power_on.rb +9 -0
- data/lib/fog/vcloud/requests/compute/power_reset.rb +9 -0
- data/lib/fog/vcloud/requests/compute/power_shutdown.rb +9 -0
- data/lib/fog/vcloud/requests/compute/undeploy.rb +31 -0
- data/lib/fog/vcloud.rb +1 -0
- data/lib/fog/vcloud_director/README.md +959 -0
- data/lib/fog/vcloud_director/compute.rb +917 -0
- data/lib/fog/vcloud_director/core.rb +69 -0
- data/lib/fog/vcloud_director/generators/compute/compose_common.rb +122 -0
- data/lib/fog/vcloud_director/generators/compute/compose_vapp.rb +25 -0
- data/lib/fog/vcloud_director/generators/compute/create_snapshot.rb +25 -0
- data/lib/fog/vcloud_director/generators/compute/customization.rb +105 -0
- data/lib/fog/vcloud_director/generators/compute/disks.rb +186 -0
- data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +243 -0
- data/lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb +30 -0
- data/lib/fog/vcloud_director/generators/compute/metadata.rb +104 -0
- data/lib/fog/vcloud_director/generators/compute/network_config_section.rb +68 -0
- data/lib/fog/vcloud_director/generators/compute/org_vdc_network.rb +88 -0
- data/lib/fog/vcloud_director/generators/compute/recompose_vapp.rb +34 -0
- data/lib/fog/vcloud_director/generators/compute/vapp.rb +28 -0
- data/lib/fog/vcloud_director/generators/compute/vm.rb +32 -0
- data/lib/fog/vcloud_director/generators/compute/vm_network.rb +119 -0
- data/lib/fog/vcloud_director/models/compute/catalog.rb +22 -0
- data/lib/fog/vcloud_director/models/compute/catalog_item.rb +30 -0
- data/lib/fog/vcloud_director/models/compute/catalog_items.rb +33 -0
- data/lib/fog/vcloud_director/models/compute/catalogs.rb +30 -0
- data/lib/fog/vcloud_director/models/compute/custom_field.rb +18 -0
- data/lib/fog/vcloud_director/models/compute/custom_fields.rb +67 -0
- data/lib/fog/vcloud_director/models/compute/disk.rb +48 -0
- data/lib/fog/vcloud_director/models/compute/disks.rb +44 -0
- data/lib/fog/vcloud_director/models/compute/media.rb +26 -0
- data/lib/fog/vcloud_director/models/compute/medias.rb +75 -0
- data/lib/fog/vcloud_director/models/compute/network.rb +25 -0
- data/lib/fog/vcloud_director/models/compute/networks.rb +62 -0
- data/lib/fog/vcloud_director/models/compute/organization.rb +37 -0
- data/lib/fog/vcloud_director/models/compute/organizations.rb +28 -0
- data/lib/fog/vcloud_director/models/compute/tag.rb +31 -0
- data/lib/fog/vcloud_director/models/compute/tags.rb +41 -0
- data/lib/fog/vcloud_director/models/compute/task.rb +55 -0
- data/lib/fog/vcloud_director/models/compute/tasks.rb +36 -0
- data/lib/fog/vcloud_director/models/compute/template_vm.rb +52 -0
- data/lib/fog/vcloud_director/models/compute/template_vms.rb +41 -0
- data/lib/fog/vcloud_director/models/compute/vapp.rb +144 -0
- data/lib/fog/vcloud_director/models/compute/vapp_template.rb +26 -0
- data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +40 -0
- data/lib/fog/vcloud_director/models/compute/vapps.rb +40 -0
- data/lib/fog/vcloud_director/models/compute/vdc.rb +45 -0
- data/lib/fog/vcloud_director/models/compute/vdcs.rb +37 -0
- data/lib/fog/vcloud_director/models/compute/vm.rb +197 -0
- data/lib/fog/vcloud_director/models/compute/vm_customization.rb +40 -0
- data/lib/fog/vcloud_director/models/compute/vm_customizations.rb +29 -0
- data/lib/fog/vcloud_director/models/compute/vm_network.rb +27 -0
- data/lib/fog/vcloud_director/models/compute/vm_networks.rb +19 -0
- data/lib/fog/vcloud_director/models/compute/vms.rb +46 -0
- data/lib/fog/vcloud_director/parsers/compute/disks.rb +53 -0
- data/lib/fog/vcloud_director/parsers/compute/metadata.rb +61 -0
- data/lib/fog/vcloud_director/parsers/compute/network.rb +104 -0
- data/lib/fog/vcloud_director/parsers/compute/vm.rb +86 -0
- data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +55 -0
- data/lib/fog/vcloud_director/parsers/compute/vm_network.rb +107 -0
- data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +62 -0
- data/lib/fog/vcloud_director/parsers/compute/vms.rb +68 -0
- data/lib/fog/vcloud_director/parsers/compute/vms_by_metadata.rb +37 -0
- data/lib/fog/vcloud_director/query.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/delete_catalog_item.rb +22 -0
- data/lib/fog/vcloud_director/requests/compute/delete_catalog_item_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/delete_disk.rb +60 -0
- data/lib/fog/vcloud_director/requests/compute/delete_disk_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/delete_logout.rb +18 -0
- data/lib/fog/vcloud_director/requests/compute/delete_media.rb +122 -0
- data/lib/fog/vcloud_director/requests/compute/delete_media_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/delete_network.rb +62 -0
- data/lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb +30 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_metadata_item_metadata.rb +30 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_template.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_template_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_allocated_ip_addresses.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog.rb +63 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item.rb +48 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalogs_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_control_access_params_catalog.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_control_access_params_vapp.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_cpu_rasd_item.rb +65 -0
- data/lib/fog/vcloud_director/requests/compute/get_current_session.rb +83 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk.rb +123 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk_owner.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/get_disks_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb +90 -0
- data/lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb +109 -0
- data/lib/fog/vcloud_director/requests/compute/get_entity.rb +38 -0
- data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +736 -0
- data/lib/fog/vcloud_director/requests/compute/get_groups_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp.rb +69 -0
- data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_href.rb +21 -0
- data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_media.rb +111 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_drives_rasd_items_list.rb +92 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_owner.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/get_medias_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb +64 -0
- data/lib/fog/vcloud_director/requests/compute/get_metadata.rb +41 -0
- data/lib/fog/vcloud_director/requests/compute/get_network.rb +67 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_cards_items_list.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_complete.rb +78 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp.rb +61 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp.rb +68 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_operating_system_section.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/get_org_settings.rb +38 -0
- data/lib/fog/vcloud_director/requests/compute/get_org_vdc_gateways.rb +83 -0
- data/lib/fog/vcloud_director/requests/compute/get_organization.rb +100 -0
- data/lib/fog/vcloud_director/requests/compute/get_organization_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_organization_metadata_item_metadata.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/get_organizations.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/get_organizations_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp_template.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_request.rb +19 -0
- data/lib/fog/vcloud_director/requests/compute/get_runtime_info_section_type.rb +57 -0
- data/lib/fog/vcloud_director/requests/compute/get_serial_ports_items_list.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_shadow_vm.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_snapshot_section.rb +55 -0
- data/lib/fog/vcloud_director/requests/compute/get_startup_section.rb +64 -0
- data/lib/fog/vcloud_director/requests/compute/get_supported_systems_info.rb +239 -0
- data/lib/fog/vcloud_director/requests/compute/get_supported_versions.rb +1159 -0
- data/lib/fog/vcloud_director/requests/compute/get_task.rb +168 -0
- data/lib/fog/vcloud_director/requests/compute/get_task_list.rb +130 -0
- data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +74 -0
- data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +41 -0
- data/lib/fog/vcloud_director/requests/compute/get_thumbnail.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/get_users_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +172 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata.rb +84 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_ovf_descriptor.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb +58 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_customization_system_section.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata_item_metadata.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_ovf_descriptor.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_owner.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_templates_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapps_in_lease_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_vcloud.rb +76 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +174 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata_item_metadata.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class.rb +83 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdcs_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_virtual_hardware_section.rb +29 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm.rb +74 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_capabilities.rb +61 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_compliance_results.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_customization.rb +31 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb +51 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_network.rb +56 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_pending_question.rb +34 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms.rb +41 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms_by_metadata.rb +20 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms_disk_attached_to.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms_in_lease_from_query.rb +150 -0
- data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +173 -0
- data/lib/fog/vcloud_director/requests/compute/post_acquire_ticket.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_answer_vm_pending_question.rb +36 -0
- data/lib/fog/vcloud_director/requests/compute/post_attach_disk.rb +51 -0
- data/lib/fog/vcloud_director/requests/compute/post_cancel_task.rb +43 -0
- data/lib/fog/vcloud_director/requests/compute/post_capture_vapp.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/post_check_vm_compliance.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/post_clone_media.rb +102 -0
- data/lib/fog/vcloud_director/requests/compute/post_clone_vapp.rb +62 -0
- data/lib/fog/vcloud_director/requests/compute/post_clone_vapp_template.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_compose_vapp.rb +45 -0
- data/lib/fog/vcloud_director/requests/compute/post_configure_edge_gateway_services.rb +73 -0
- data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp_template.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_create_catalog_item.rb +56 -0
- data/lib/fog/vcloud_director/requests/compute/post_create_org_vdc_network.rb +171 -0
- data/lib/fog/vcloud_director/requests/compute/post_create_snapshot.rb +21 -0
- data/lib/fog/vcloud_director/requests/compute/post_deploy_vapp.rb +51 -0
- data/lib/fog/vcloud_director/requests/compute/post_detach_disk.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_disable_nested_hv.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_disable_vapp_template_download.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/post_discard_vapp_state.rb +30 -0
- data/lib/fog/vcloud_director/requests/compute/post_eject_cd_rom.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_enable_nested_hv.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_enable_vapp_template_download.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/post_enter_maintenance_mode.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/post_exit_maintenance_mode.rb +22 -0
- data/lib/fog/vcloud_director/requests/compute/post_insert_cd_rom.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_install_vmware_tools.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_instantiate_vapp_template.rb +196 -0
- data/lib/fog/vcloud_director/requests/compute/post_login_session.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_power_off_vapp.rb +36 -0
- data/lib/fog/vcloud_director/requests/compute/post_power_on_vapp.rb +71 -0
- data/lib/fog/vcloud_director/requests/compute/post_reboot_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb +21 -0
- data/lib/fog/vcloud_director/requests/compute/post_reconfigure_vm.rb +118 -0
- data/lib/fog/vcloud_director/requests/compute/post_remove_all_snapshots.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_reset_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_revert_snapshot.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_shutdown_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_suspend_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_undeploy_vapp.rb +66 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_catalog_item_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_disk_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_media_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_vapp_metadata.rb +86 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_vapp_template_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_upgrade_hw_version.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/post_upload_disk.rb +133 -0
- data/lib/fog/vcloud_director/requests/compute/post_upload_media.rb +120 -0
- data/lib/fog/vcloud_director/requests/compute/post_upload_vapp_template.rb +46 -0
- data/lib/fog/vcloud_director/requests/compute/put_catalog_item_metadata_item_metadata.rb +50 -0
- data/lib/fog/vcloud_director/requests/compute/put_config_network_section_vapp.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/put_cpu.rb +88 -0
- data/lib/fog/vcloud_director/requests/compute/put_disk_metadata_item_metadata.rb +46 -0
- data/lib/fog/vcloud_director/requests/compute/put_disks.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/put_guest_customization_section_vapp.rb +141 -0
- data/lib/fog/vcloud_director/requests/compute/put_media_metadata_item_metadata.rb +50 -0
- data/lib/fog/vcloud_director/requests/compute/put_memory.rb +89 -0
- data/lib/fog/vcloud_director/requests/compute/put_metadata_value.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/put_network.rb +162 -0
- data/lib/fog/vcloud_director/requests/compute/put_network_connection_system_section_vapp.rb +152 -0
- data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +46 -0
- data/lib/fog/vcloud_director/requests/compute/put_vapp_metadata_item_metadata.rb +85 -0
- data/lib/fog/vcloud_director/requests/compute/put_vapp_name_and_description.rb +36 -0
- data/lib/fog/vcloud_director/requests/compute/put_vapp_template_metadata_item_metadata.rb +50 -0
- data/lib/fog/vcloud_director/requests/compute/put_vm.rb +72 -0
- data/lib/fog/vcloud_director/requests/compute/put_vm_capabilities.rb +44 -0
- data/lib/fog/vcloud_director.rb +1 -0
- data/lib/fog/version.rb +3 -0
- data/lib/fog.rb +58 -13
- data/lib/tasks/changelog_task.rb +232 -0
- data/lib/tasks/github_release_task.rb +66 -0
- data/spec/fog/account_spec.rb +14 -0
- data/spec/fog/billing_spec.rb +14 -0
- data/spec/fog/bin/atmos_spec.rb +23 -0
- data/spec/fog/bin/aws_spec.rb +86 -0
- data/spec/fog/bin/baremetalcloud_spec.rb +23 -0
- data/spec/fog/bin/brightbox_spec.rb +30 -0
- data/spec/fog/bin/clodo_spec.rb +9 -0
- data/spec/fog/bin/cloudsigma_spec.rb +9 -0
- data/spec/fog/bin/dnsimple_spec.rb +9 -0
- data/spec/fog/bin/dnsmadeeasy_spec.rb +9 -0
- data/spec/fog/bin/dreamhost_spec.rb +9 -0
- data/spec/fog/bin/dynect_spec.rb +9 -0
- data/spec/fog/bin/ecloud_spec.rb +10 -0
- data/spec/fog/bin/fogdocker_spec.rb +10 -0
- data/spec/fog/bin/glesys_spec.rb +10 -0
- data/spec/fog/bin/gogrid_spec.rb +10 -0
- data/spec/fog/bin/google_spec.rb +10 -0
- data/spec/fog/bin/ibm_spec.rb +10 -0
- data/spec/fog/bin/linode_spec.rb +10 -0
- data/spec/fog/bin/local_spec.rb +10 -0
- data/spec/fog/bin/opennebula_spec.rb +10 -0
- data/spec/fog/bin/openstack_spec.rb +10 -0
- data/spec/fog/bin/openvz_spec.rb +10 -0
- data/spec/fog/bin/powerdns_spec.rb +9 -0
- data/spec/fog/bin/profitbricks_spec.rb +10 -0
- data/spec/fog/bin/rackspace_spec.rb +10 -0
- data/spec/fog/bin/rage4_spec.rb +10 -0
- data/spec/fog/bin/riakcs_spec.rb +10 -0
- data/spec/fog/bin/sakuracloud_spec.rb +10 -0
- data/spec/fog/bin/serverlove_spec.rb +10 -0
- data/spec/fog/bin/softlayer_spec.rb +10 -0
- data/spec/fog/bin/stormondemand_spec.rb +10 -0
- data/spec/fog/bin/vcloud_spec.rb +10 -0
- data/spec/fog/bin/vclouddirector_spec.rb +10 -0
- data/spec/fog/bin/vmfusion_spec.rb +10 -0
- data/spec/fog/bin/voxel_spec.rb +10 -0
- data/spec/fog/bin/vsphere_spec.rb +10 -0
- data/spec/fog/bin/xenserver_spec.rb +10 -0
- data/spec/fog/bin_spec.rb +149 -0
- data/spec/fog/cdn_spec.rb +14 -0
- data/spec/fog/identity_spec.rb +14 -0
- data/spec/fog/image_spec.rb +14 -0
- data/spec/fog/metering_spec.rb +14 -0
- data/spec/fog/monitoring_spec.rb +14 -0
- data/spec/fog/network_spec.rb +14 -0
- data/spec/fog/orchestration_spec.rb +14 -0
- data/spec/fog/storage_spec.rb +14 -0
- data/spec/fog/support_spec.rb +14 -0
- data/spec/fog/volume_spec.rb +14 -0
- data/spec/fog/vpn_spec.rb +14 -0
- data/spec/fog/xml/connection_spec.rb +33 -0
- data/spec/helpers/bin.rb +34 -0
- data/spec/spec_helper.rb +12 -9
- data/spec/vcloud_director/generators/compute/instantiate_vapp_template_params_spec.rb +68 -0
- data/spec/vcloud_director/requests/compute/instantiate_vapp_template_spec.rb +78 -0
- data/spec/vcloud_director/spec_helper.rb +11 -0
- data/tests/clodo/requests/compute/image_tests.rb +36 -0
- data/tests/clodo/requests/compute/server_tests.rb +152 -0
- data/tests/cloudsigma/models/server_tests.rb +72 -0
- data/tests/cloudsigma/models/servers_tests.rb +9 -0
- data/tests/cloudsigma/models/snapshot_tests.rb +25 -0
- data/tests/cloudsigma/models/snapshots_tests.rb +16 -0
- data/tests/cloudsigma/models/volume_tests.rb +21 -0
- data/tests/cloudsigma/models/volumes_tests.rb +9 -0
- data/tests/cloudsigma/requests/server_tests.rb +77 -0
- data/tests/cloudsigma/requests/snapshots_tests.rb +84 -0
- data/tests/cloudsigma/requests/volumes_tests.rb +56 -0
- data/tests/compute/helper.rb +64 -28
- data/tests/compute/models/flavors_tests.rb +5 -3
- data/tests/compute/models/server_tests.rb +24 -5
- data/tests/compute/models/servers_tests.rb +4 -3
- data/tests/core/attribute_tests.rb +39 -1
- data/tests/core/credential_tests.rb +93 -0
- data/tests/core/current_machine_tests.rb +32 -0
- data/tests/core/mocking_tests.rb +75 -0
- data/tests/core/parser_tests.rb +92 -0
- data/tests/core/service_tests.rb +26 -0
- data/tests/core/timeout_tests.rb +10 -0
- data/tests/core/uuid_tests.rb +10 -0
- data/tests/core/wait_for_tests.rb +13 -0
- data/tests/dns/helper.rb +28 -10
- data/tests/dns/models/record_tests.rb +29 -9
- data/tests/dns/models/records_tests.rb +12 -7
- data/tests/dns/models/zone_tests.rb +9 -4
- data/tests/dns/models/zones_tests.rb +9 -4
- data/tests/dnsmadeeasy/requests/dns/dns_tests.rb +138 -0
- data/tests/dreamhost/README.md +56 -0
- data/tests/dreamhost/dns_tests.rb +19 -0
- data/tests/dreamhost/helper.rb +19 -0
- data/tests/dreamhost/models/dns/record_tests.rb +72 -0
- data/tests/dreamhost/models/dns/records_tests.rb +28 -0
- data/tests/dreamhost/models/dns/zone_tests.rb +61 -0
- data/tests/dreamhost/models/dns/zones_tests.rb +28 -0
- data/tests/dreamhost/requests/dns/create_record_tests.rb +39 -0
- data/tests/dreamhost/requests/dns/delete_record_tests.rb +26 -0
- data/tests/dreamhost/requests/dns/list_records_tests.rb +31 -0
- data/tests/fogdocker/compute_tests.rb +17 -0
- data/tests/fogdocker/models/compute/image_tests.rb +31 -0
- data/tests/fogdocker/models/compute/images_tests.rb +9 -0
- data/tests/fogdocker/models/compute/server_tests.rb +57 -0
- data/tests/fogdocker/models/compute/servers_tests.rb +14 -0
- data/tests/fogdocker/requests/compute/api_version_tests.rb +10 -0
- data/tests/fogdocker/requests/compute/container_action_tests.rb +35 -0
- data/tests/fogdocker/requests/compute/container_commit_tests.rb +18 -0
- data/tests/fogdocker/requests/compute/container_create_tests.rb +21 -0
- data/tests/fogdocker/requests/compute/container_delete_tests.rb +16 -0
- data/tests/fogdocker/requests/compute/image_create_tests.rb +21 -0
- data/tests/fogdocker/requests/compute/image_delete_tests.rb +20 -0
- data/tests/fogdocker/requests/compute/image_search_tests.rb +11 -0
- data/tests/glesys/requests/compute/helper.rb +326 -0
- data/tests/glesys/requests/compute/ip_tests.rb +66 -0
- data/tests/glesys/requests/compute/server_tests.rb +142 -0
- data/tests/glesys/requests/compute/ssh_key_tests.rb +47 -0
- data/tests/glesys/requests/compute/template_tests.rb +12 -0
- data/tests/helper.rb +42 -6
- data/tests/helpers/collection_helper.rb +44 -4
- data/tests/helpers/compute/flavors_helper.rb +0 -2
- data/tests/helpers/compute/server_helper.rb +8 -2
- data/tests/helpers/compute/servers_helper.rb +1 -2
- data/tests/helpers/formats_helper.rb +71 -45
- data/tests/helpers/formats_helper_tests.rb +91 -24
- data/tests/helpers/mock_helper.rb +60 -14
- data/tests/helpers/model_helper.rb +11 -8
- data/tests/helpers/responds_to_helper.rb +2 -4
- data/tests/helpers/schema_validator_tests.rb +107 -0
- data/tests/helpers/succeeds_helper.rb +2 -5
- data/tests/ibm/models/compute/image_tests.rb +25 -0
- data/tests/ibm/models/compute/key_tests.rb +23 -0
- data/tests/ibm/models/compute/keys_tests.rb +35 -0
- data/tests/ibm/models/compute/locations_tests.rb +18 -0
- data/tests/ibm/models/compute/server_tests.rb +88 -0
- data/tests/ibm/models/compute/servers_tests.rb +37 -0
- data/tests/ibm/models/storage/volume_tests.rb +60 -0
- data/tests/ibm/requests/compute/address_tests.rb +44 -0
- data/tests/ibm/requests/compute/image_tests.rb +110 -0
- data/tests/ibm/requests/compute/instance_tests.rb +102 -0
- data/tests/ibm/requests/compute/key_tests.rb +50 -0
- data/tests/ibm/requests/compute/location_tests.rb +28 -0
- data/tests/ibm/requests/compute/vlan_tests.rb +21 -0
- data/tests/ibm/requests/storage/volume_tests.rb +100 -0
- data/tests/linode/requests/compute/datacenter_tests.rb +20 -0
- data/tests/linode/requests/compute/distribution_tests.rb +32 -0
- data/tests/linode/requests/compute/helper.rb +10 -0
- data/tests/linode/requests/compute/kernel_tests.rb +19 -0
- data/tests/linode/requests/compute/linode_tests.rb +216 -0
- data/tests/linode/requests/compute/linodeplans_tests.rb +44 -0
- data/tests/linode/requests/compute/nodebalancers_tests.rb +20 -0
- data/tests/linode/requests/compute/stackscripts_tests.rb +36 -0
- data/tests/linode/requests/dns/dns_tests.rb +250 -0
- data/tests/opennebula/compute_tests.rb +19 -0
- data/tests/opennebula/models/compute/flavor_tests.rb +40 -0
- data/tests/opennebula/models/compute/flavors_tests.rb +19 -0
- data/tests/opennebula/models/compute/group_tests.rb +30 -0
- data/tests/opennebula/models/compute/groups_tests.rb +19 -0
- data/tests/opennebula/models/compute/network_tests.rb +30 -0
- data/tests/opennebula/models/compute/networks_tests.rb +19 -0
- data/tests/opennebula/requests/compute/vm_allocate_tests.rb +80 -0
- data/tests/opennebula/requests/compute/vm_disk_snapshot_test.rb +49 -0
- data/tests/opennebula/requests/compute/vm_suspend_resume_tests.rb +55 -0
- data/tests/openvz/helper.rb +47 -0
- data/tests/openvz/models/compute/server_tests.rb +55 -0
- data/tests/openvz/models/compute/servers_tests.rb +35 -0
- data/tests/rage4/requests/dns/dns_tests.rb +282 -0
- data/tests/storage/helper.rb +5 -8
- data/tests/storage/models/directories_tests.rb +10 -6
- data/tests/storage/models/directory_test.rb +16 -12
- data/tests/storage/models/file_tests.rb +9 -9
- data/tests/storage/models/files_tests.rb +7 -7
- data/tests/vcloud/data/api_+_admin_+_network_+_2 +110 -0
- data/tests/vcloud/data/api_+_network_+_1 +44 -0
- data/tests/vcloud/data/api_+_org_+_ +5 -0
- data/tests/vcloud/data/api_+_org_+_1 +17 -0
- data/tests/vcloud/data/api_+_sessions +8 -0
- data/tests/vcloud/data/api_+_v1.0_+_admin_+_network_+_2 +110 -0
- data/tests/vcloud/data/api_+_v1.0_+_login +5 -0
- data/tests/vcloud/data/api_+_v1.0_+_network_+_1 +44 -0
- data/tests/vcloud/data/api_+_v1.0_+_network_+_2 +31 -0
- data/tests/vcloud/data/api_+_v1.0_+_org_+_1 +17 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vapp-1 +369 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-1 +139 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-2 +155 -0
- data/tests/vcloud/data/api_+_v1.0_+_vdc_+_1 +61 -0
- data/tests/vcloud/data/api_+_vApp_+_vapp-1 +369 -0
- data/tests/vcloud/data/api_+_vApp_+_vm-2 +155 -0
- data/tests/vcloud/data/api_+_vdc_+_1 +62 -0
- data/tests/vcloud/models/compute/helper.rb +22 -0
- data/tests/vcloud/models/compute/network_tests.rb +67 -0
- data/tests/vcloud/models/compute/networks_tests.rb +61 -0
- data/tests/vcloud/models/compute/organization_tests.rb +20 -0
- data/tests/vcloud/models/compute/organizations_tests.rb +16 -0
- data/tests/vcloud/models/compute/server_tests.rb +142 -0
- data/tests/vcloud/models/compute/servers_tests.rb +23 -0
- data/tests/vcloud/models/compute/vapp_tests.rb +32 -0
- data/tests/vcloud/models/compute/vapps_tests.rb +19 -0
- data/tests/vcloud/models/compute/vdc_tests.rb +48 -0
- data/tests/vcloud/models/compute/vdcs_tests.rb +24 -0
- data/tests/vcloud/requests/compute/disk_configure_tests.rb +111 -0
- data/tests/vcloud_director/ensure_list_tests.rb +84 -0
- data/tests/vcloud_director/fixtures/test.iso +1 -0
- data/tests/vcloud_director/fixtures/vapp.xml +532 -0
- data/tests/vcloud_director/fixtures/vm.xml +213 -0
- data/tests/vcloud_director/generators/compute/compose_vapp_tests.rb +108 -0
- data/tests/vcloud_director/models/compute/catalog_items_tests.rb +42 -0
- data/tests/vcloud_director/models/compute/catalogs_tests.rb +40 -0
- data/tests/vcloud_director/models/compute/helper.rb +60 -0
- data/tests/vcloud_director/models/compute/media_tests.rb +58 -0
- data/tests/vcloud_director/models/compute/network_tests.rb +108 -0
- data/tests/vcloud_director/models/compute/organizations_tests.rb +18 -0
- data/tests/vcloud_director/models/compute/tasks_tests.rb +56 -0
- data/tests/vcloud_director/models/compute/vapp_life_cycle_tests.rb +93 -0
- data/tests/vcloud_director/models/compute/vapp_template_tests.rb +29 -0
- data/tests/vcloud_director/models/compute/vapp_tests.rb +61 -0
- data/tests/vcloud_director/models/compute/vdcs_tests.rb +54 -0
- data/tests/vcloud_director/models/compute/vms_tests.rb +101 -0
- data/tests/vcloud_director/requests/compute/admin_tests.rb +16 -0
- data/tests/vcloud_director/requests/compute/catalog_tests.rb +42 -0
- data/tests/vcloud_director/requests/compute/disk_tests.rb +178 -0
- data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +217 -0
- data/tests/vcloud_director/requests/compute/groups_tests.rb +18 -0
- data/tests/vcloud_director/requests/compute/helper.rb +32 -0
- data/tests/vcloud_director/requests/compute/media_tests.rb +195 -0
- data/tests/vcloud_director/requests/compute/network_tests.rb +186 -0
- data/tests/vcloud_director/requests/compute/organization_tests.rb +37 -0
- data/tests/vcloud_director/requests/compute/ovf_descriptor_tests.rb +36 -0
- data/tests/vcloud_director/requests/compute/query_tests.rb +99 -0
- data/tests/vcloud_director/requests/compute/schema_helper.rb +663 -0
- data/tests/vcloud_director/requests/compute/session_tests.rb +14 -0
- data/tests/vcloud_director/requests/compute/supported_systems_tests.rb +11 -0
- data/tests/vcloud_director/requests/compute/task_tests.rb +35 -0
- data/tests/vcloud_director/requests/compute/users_tests.rb +18 -0
- data/tests/vcloud_director/requests/compute/vapp_tests.rb +123 -0
- data/tests/vcloud_director/requests/compute/vdc_storage_profile_tests.rb +27 -0
- data/tests/vcloud_director/requests/compute/vdc_tests.rb +36 -0
- data/tests/vcloud_director/requests/compute/versions_tests.rb +13 -0
- data/tests/vcloud_director/requests/compute/vm_tests.rb +185 -0
- data/tests/watchr.rb +22 -0
- metadata +1752 -1372
- data/README.rdoc +0 -163
- data/changelog.txt +0 -148
- data/examples/dns_tests.rb +0 -78
- data/examples/storage_tests.rb +0 -105
- data/lib/fog/aws/cloud_formation.rb +0 -124
- data/lib/fog/aws/elb.rb +0 -111
- data/lib/fog/aws/iam.rb +0 -122
- data/lib/fog/aws/parsers/cloud_formation/basic.rb +0 -12
- data/lib/fog/aws/parsers/cloud_formation/create_stack.rb +0 -19
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb +0 -31
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_resources.rb +0 -31
- data/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +0 -72
- data/lib/fog/aws/parsers/cloud_formation/get_template.rb +0 -19
- data/lib/fog/aws/parsers/cloud_formation/validate_template.rb +0 -52
- data/lib/fog/aws/parsers/elb/create_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/delete_load_balancer.rb +0 -24
- data/lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/describe_instance_health.rb +0 -30
- data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +0 -101
- data/lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/iam/basic.rb +0 -19
- data/lib/fog/aws/parsers/iam/create_access_key.rb +0 -26
- data/lib/fog/aws/parsers/iam/create_group.rb +0 -26
- data/lib/fog/aws/parsers/iam/create_user.rb +0 -26
- data/lib/fog/aws/parsers/iam/get_group.rb +0 -55
- data/lib/fog/aws/parsers/iam/get_user.rb +0 -27
- data/lib/fog/aws/parsers/iam/get_user_policy.rb +0 -27
- data/lib/fog/aws/parsers/iam/list_access_keys.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_groups.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_groups_for_user.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_policies.rb +0 -28
- data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_users.rb +0 -32
- data/lib/fog/aws/parsers/iam/login_profile.rb +0 -27
- data/lib/fog/aws/parsers/iam/update_group.rb +0 -26
- data/lib/fog/aws/parsers/iam/update_user.rb +0 -27
- data/lib/fog/aws/parsers/iam/upload_server_certificate.rb +0 -26
- data/lib/fog/aws/parsers/iam/upload_signing_certificate.rb +0 -26
- data/lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb +0 -38
- data/lib/fog/aws/parsers/rds/create_db_instance.rb +0 -34
- data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +0 -34
- data/lib/fog/aws/parsers/rds/create_db_parameter_group.rb +0 -35
- data/lib/fog/aws/parsers/rds/create_db_security_group.rb +0 -38
- data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +0 -35
- data/lib/fog/aws/parsers/rds/db_parser.rb +0 -123
- data/lib/fog/aws/parsers/rds/delete_db_instance.rb +0 -35
- data/lib/fog/aws/parsers/rds/delete_db_parameter_group.rb +0 -27
- data/lib/fog/aws/parsers/rds/delete_db_security_group.rb +0 -33
- data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +0 -34
- data/lib/fog/aws/parsers/rds/describe_db_instances.rb +0 -36
- data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +0 -38
- data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +0 -44
- data/lib/fog/aws/parsers/rds/describe_db_security_groups.rb +0 -39
- data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +0 -39
- data/lib/fog/aws/parsers/rds/modify_db_instance.rb +0 -34
- data/lib/fog/aws/parsers/rds/modify_db_parameter_group.rb +0 -28
- data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +0 -35
- data/lib/fog/aws/parsers/rds/restore_db_instance_from_db_snapshot.rb +0 -34
- data/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb +0 -35
- data/lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb +0 -39
- data/lib/fog/aws/parsers/rds/security_group_parser.rb +0 -39
- data/lib/fog/aws/parsers/rds/snapshot_parser.rb +0 -40
- data/lib/fog/aws/parsers/ses/delete_verified_email_address.rb +0 -24
- data/lib/fog/aws/parsers/ses/get_send_quota.rb +0 -26
- data/lib/fog/aws/parsers/ses/get_send_statistics.rb +0 -29
- data/lib/fog/aws/parsers/ses/list_verified_email_addresses.rb +0 -25
- data/lib/fog/aws/parsers/ses/send_email.rb +0 -26
- data/lib/fog/aws/parsers/ses/send_raw_email.rb +0 -26
- data/lib/fog/aws/parsers/ses/verify_email_address.rb +0 -24
- data/lib/fog/aws/parsers/simpledb/basic.rb +0 -31
- data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +0 -32
- data/lib/fog/aws/parsers/simpledb/get_attributes.rb +0 -36
- data/lib/fog/aws/parsers/simpledb/list_domains.rb +0 -30
- data/lib/fog/aws/parsers/simpledb/select.rb +0 -41
- data/lib/fog/aws/rds/models/parameter.rb +0 -21
- data/lib/fog/aws/rds/models/parameter_group.rb +0 -36
- data/lib/fog/aws/rds/models/parameter_groups.rb +0 -27
- data/lib/fog/aws/rds/models/parameters.rb +0 -37
- data/lib/fog/aws/rds/models/security_group.rb +0 -73
- data/lib/fog/aws/rds/models/security_groups.rb +0 -43
- data/lib/fog/aws/rds/models/server.rb +0 -105
- data/lib/fog/aws/rds/models/servers.rb +0 -27
- data/lib/fog/aws/rds/models/snapshot.rb +0 -49
- data/lib/fog/aws/rds/models/snapshots.rb +0 -45
- data/lib/fog/aws/rds.rb +0 -161
- data/lib/fog/aws/requests/cloud_formation/create_stack.rb +0 -71
- data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +0 -30
- data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +0 -44
- data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +0 -43
- data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +0 -42
- data/lib/fog/aws/requests/cloud_formation/get_template.rb +0 -32
- data/lib/fog/aws/requests/cloud_formation/validate_template.rb +0 -34
- data/lib/fog/aws/requests/elb/create_load_balancer.rb +0 -54
- data/lib/fog/aws/requests/elb/delete_load_balancer.rb +0 -33
- data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +0 -47
- data/lib/fog/aws/requests/elb/describe_instance_health.rb +0 -37
- data/lib/fog/aws/requests/elb/describe_load_balancers.rb +0 -51
- data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +0 -46
- data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +0 -46
- data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +0 -47
- data/lib/fog/aws/requests/iam/add_user_to_group.rb +0 -34
- data/lib/fog/aws/requests/iam/create_access_key.rb +0 -37
- data/lib/fog/aws/requests/iam/create_group.rb +0 -39
- data/lib/fog/aws/requests/iam/create_login_profile.rb +0 -36
- data/lib/fog/aws/requests/iam/create_user.rb +0 -39
- data/lib/fog/aws/requests/iam/delete_access_key.rb +0 -34
- data/lib/fog/aws/requests/iam/delete_group.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_group_policy.rb +0 -34
- data/lib/fog/aws/requests/iam/delete_login_profile.rb +0 -31
- data/lib/fog/aws/requests/iam/delete_server_certificate.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_signing_certificate.rb +0 -33
- data/lib/fog/aws/requests/iam/delete_user.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_user_policy.rb +0 -34
- data/lib/fog/aws/requests/iam/get_group.rb +0 -44
- data/lib/fog/aws/requests/iam/get_login_profile.rb +0 -35
- data/lib/fog/aws/requests/iam/get_user.rb +0 -36
- data/lib/fog/aws/requests/iam/get_user_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/list_access_keys.rb +0 -40
- data/lib/fog/aws/requests/iam/list_group_policies.rb +0 -39
- data/lib/fog/aws/requests/iam/list_groups.rb +0 -42
- data/lib/fog/aws/requests/iam/list_groups_for_user.rb +0 -43
- data/lib/fog/aws/requests/iam/list_signing_certificates.rb +0 -38
- data/lib/fog/aws/requests/iam/list_user_policies.rb +0 -39
- data/lib/fog/aws/requests/iam/list_users.rb +0 -42
- data/lib/fog/aws/requests/iam/put_group_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/put_user_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/remove_user_from_group.rb +0 -34
- data/lib/fog/aws/requests/iam/update_access_key.rb +0 -36
- data/lib/fog/aws/requests/iam/update_group.rb +0 -39
- data/lib/fog/aws/requests/iam/update_login_profile.rb +0 -33
- data/lib/fog/aws/requests/iam/update_signing_certificate.rb +0 -32
- data/lib/fog/aws/requests/iam/update_user.rb +0 -39
- data/lib/fog/aws/requests/iam/upload_server_certificate.rb +0 -45
- data/lib/fog/aws/requests/iam/upload_signing_certificate.rb +0 -38
- data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +0 -43
- data/lib/fog/aws/requests/rds/create_db_instance.rb +0 -56
- data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +0 -42
- data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +0 -41
- data/lib/fog/aws/requests/rds/create_db_security_group.rb +0 -37
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +0 -36
- data/lib/fog/aws/requests/rds/delete_db_instance.rb +0 -40
- data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +0 -36
- data/lib/fog/aws/requests/rds/delete_db_security_group.rb +0 -36
- data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +0 -36
- data/lib/fog/aws/requests/rds/describe_db_instances.rb +0 -42
- data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +0 -45
- data/lib/fog/aws/requests/rds/describe_db_parameters.rb +0 -46
- data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +0 -39
- data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +0 -42
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +0 -54
- data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +0 -55
- data/lib/fog/aws/requests/rds/reboot_db_instance.rb +0 -34
- data/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +0 -34
- data/lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb +0 -35
- data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +0 -44
- data/lib/fog/aws/requests/ses/delete_verified_email_address.rb +0 -28
- data/lib/fog/aws/requests/ses/get_send_quota.rb +0 -31
- data/lib/fog/aws/requests/ses/get_send_statistics.rb +0 -34
- data/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +0 -28
- data/lib/fog/aws/requests/ses/send_email.rb +0 -73
- data/lib/fog/aws/requests/ses/send_raw_email.rb +0 -41
- data/lib/fog/aws/requests/ses/verify_email_address.rb +0 -28
- data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +0 -64
- data/lib/fog/aws/requests/simpledb/create_domain.rb +0 -44
- data/lib/fog/aws/requests/simpledb/delete_attributes.rb +0 -63
- data/lib/fog/aws/requests/simpledb/delete_domain.rb +0 -45
- data/lib/fog/aws/requests/simpledb/domain_metadata.rb +0 -76
- data/lib/fog/aws/requests/simpledb/get_attributes.rb +0 -72
- data/lib/fog/aws/requests/simpledb/list_domains.rb +0 -59
- data/lib/fog/aws/requests/simpledb/put_attributes.rb +0 -78
- data/lib/fog/aws/requests/simpledb/select.rb +0 -35
- data/lib/fog/aws/ses.rb +0 -108
- data/lib/fog/aws/simpledb.rb +0 -188
- data/lib/fog/bin/bluebox.rb +0 -34
- data/lib/fog/bin/dnsimple.rb +0 -30
- data/lib/fog/bin/ecloud.rb +0 -30
- data/lib/fog/bin/google.rb +0 -30
- data/lib/fog/bin/local.rb +0 -30
- data/lib/fog/bin/new_servers.rb +0 -30
- data/lib/fog/bin/slicehost.rb +0 -34
- data/lib/fog/bin/terremark.rb +0 -31
- data/lib/fog/bin/virtual_box.rb +0 -52
- data/lib/fog/bin/voxel.rb +0 -30
- data/lib/fog/bin/zerigo.rb +0 -30
- data/lib/fog/cdn/aws.rb +0 -121
- data/lib/fog/cdn/parsers/aws/distribution.rb +0 -59
- data/lib/fog/cdn/parsers/aws/get_distribution_list.rb +0 -61
- data/lib/fog/cdn/parsers/aws/post_invalidation.rb +0 -28
- data/lib/fog/cdn/rackspace.rb +0 -97
- data/lib/fog/cdn/requests/aws/delete_distribution.rb +0 -28
- data/lib/fog/cdn/requests/aws/get_distribution.rb +0 -57
- data/lib/fog/cdn/requests/aws/get_distribution_list.rb +0 -59
- data/lib/fog/cdn/requests/aws/post_distribution.rb +0 -91
- data/lib/fog/cdn/requests/aws/post_invalidation.rb +0 -51
- data/lib/fog/cdn/requests/aws/put_distribution_config.rb +0 -94
- data/lib/fog/cdn/requests/rackspace/get_containers.rb +0 -31
- data/lib/fog/cdn/requests/rackspace/head_container.rb +0 -33
- data/lib/fog/cdn/requests/rackspace/post_container.rb +0 -30
- data/lib/fog/cdn/requests/rackspace/put_container.rb +0 -30
- data/lib/fog/cdn.rb +0 -19
- data/lib/fog/compute/aws.rb +0 -264
- data/lib/fog/compute/bluebox.rb +0 -103
- data/lib/fog/compute/brightbox.rb +0 -162
- data/lib/fog/compute/ecloud.rb +0 -1306
- data/lib/fog/compute/go_grid.rb +0 -121
- data/lib/fog/compute/linode.rb +0 -99
- data/lib/fog/compute/models/aws/address.rb +0 -69
- data/lib/fog/compute/models/aws/addresses.rb +0 -100
- data/lib/fog/compute/models/aws/flavor.rb +0 -21
- data/lib/fog/compute/models/aws/flavors.rb +0 -167
- data/lib/fog/compute/models/aws/image.rb +0 -43
- data/lib/fog/compute/models/aws/images.rb +0 -62
- data/lib/fog/compute/models/aws/key_pair.rb +0 -42
- data/lib/fog/compute/models/aws/key_pairs.rb +0 -88
- data/lib/fog/compute/models/aws/security_group.rb +0 -205
- data/lib/fog/compute/models/aws/security_groups.rb +0 -95
- data/lib/fog/compute/models/aws/server.rb +0 -245
- data/lib/fog/compute/models/aws/servers.rb +0 -158
- data/lib/fog/compute/models/aws/snapshot.rb +0 -56
- data/lib/fog/compute/models/aws/snapshots.rb +0 -52
- data/lib/fog/compute/models/aws/tag.rb +0 -36
- data/lib/fog/compute/models/aws/tags.rb +0 -34
- data/lib/fog/compute/models/aws/volume.rb +0 -107
- data/lib/fog/compute/models/aws/volumes.rb +0 -121
- data/lib/fog/compute/models/bluebox/flavor.rb +0 -45
- data/lib/fog/compute/models/bluebox/flavors.rb +0 -28
- data/lib/fog/compute/models/bluebox/image.rb +0 -19
- data/lib/fog/compute/models/bluebox/images.rb +0 -28
- data/lib/fog/compute/models/bluebox/server.rb +0 -138
- data/lib/fog/compute/models/bluebox/servers.rb +0 -36
- data/lib/fog/compute/models/brightbox/account.rb +0 -51
- data/lib/fog/compute/models/brightbox/cloud_ip.rb +0 -47
- data/lib/fog/compute/models/brightbox/cloud_ips.rb +0 -34
- data/lib/fog/compute/models/brightbox/flavor.rb +0 -33
- data/lib/fog/compute/models/brightbox/flavors.rb +0 -28
- data/lib/fog/compute/models/brightbox/image.rb +0 -56
- data/lib/fog/compute/models/brightbox/images.rb +0 -28
- data/lib/fog/compute/models/brightbox/load_balancer.rb +0 -50
- data/lib/fog/compute/models/brightbox/load_balancers.rb +0 -28
- data/lib/fog/compute/models/brightbox/server.rb +0 -108
- data/lib/fog/compute/models/brightbox/servers.rb +0 -29
- data/lib/fog/compute/models/brightbox/user.rb +0 -39
- data/lib/fog/compute/models/brightbox/users.rb +0 -29
- data/lib/fog/compute/models/brightbox/zone.rb +0 -21
- data/lib/fog/compute/models/brightbox/zones.rb +0 -29
- data/lib/fog/compute/models/ecloud/backup_internet_service.rb +0 -56
- data/lib/fog/compute/models/ecloud/backup_internet_services.rb +0 -33
- data/lib/fog/compute/models/ecloud/catalog.rb +0 -28
- data/lib/fog/compute/models/ecloud/catalog_item.rb +0 -29
- data/lib/fog/compute/models/ecloud/firewall_acl.rb +0 -24
- data/lib/fog/compute/models/ecloud/firewall_acls.rb +0 -31
- data/lib/fog/compute/models/ecloud/internet_service.rb +0 -117
- data/lib/fog/compute/models/ecloud/internet_services.rb +0 -33
- data/lib/fog/compute/models/ecloud/ip.rb +0 -49
- data/lib/fog/compute/models/ecloud/ips.rb +0 -32
- data/lib/fog/compute/models/ecloud/network.rb +0 -72
- data/lib/fog/compute/models/ecloud/networks.rb +0 -33
- data/lib/fog/compute/models/ecloud/node.rb +0 -43
- data/lib/fog/compute/models/ecloud/nodes.rb +0 -31
- data/lib/fog/compute/models/ecloud/public_ip.rb +0 -22
- data/lib/fog/compute/models/ecloud/public_ips.rb +0 -36
- data/lib/fog/compute/models/ecloud/server.rb +0 -209
- data/lib/fog/compute/models/ecloud/servers.rb +0 -55
- data/lib/fog/compute/models/ecloud/task.rb +0 -21
- data/lib/fog/compute/models/ecloud/tasks.rb +0 -31
- data/lib/fog/compute/models/ecloud/vdc.rb +0 -81
- data/lib/fog/compute/models/ecloud/vdcs.rb +0 -40
- data/lib/fog/compute/models/go_grid/image.rb +0 -60
- data/lib/fog/compute/models/go_grid/images.rb +0 -33
- data/lib/fog/compute/models/go_grid/password.rb +0 -50
- data/lib/fog/compute/models/go_grid/passwords.rb +0 -36
- data/lib/fog/compute/models/go_grid/server.rb +0 -117
- data/lib/fog/compute/models/go_grid/servers.rb +0 -35
- data/lib/fog/compute/models/rackspace/flavor.rb +0 -43
- data/lib/fog/compute/models/rackspace/flavors.rb +0 -28
- data/lib/fog/compute/models/rackspace/image.rb +0 -48
- data/lib/fog/compute/models/rackspace/images.rb +0 -33
- data/lib/fog/compute/models/rackspace/server.rb +0 -145
- data/lib/fog/compute/models/rackspace/servers.rb +0 -36
- data/lib/fog/compute/models/slicehost/flavor.rb +0 -45
- data/lib/fog/compute/models/slicehost/flavors.rb +0 -28
- data/lib/fog/compute/models/slicehost/image.rb +0 -17
- data/lib/fog/compute/models/slicehost/images.rb +0 -27
- data/lib/fog/compute/models/slicehost/server.rb +0 -128
- data/lib/fog/compute/models/slicehost/servers.rb +0 -38
- data/lib/fog/compute/models/virtual_box/medium.rb +0 -87
- data/lib/fog/compute/models/virtual_box/medium_format.rb +0 -34
- data/lib/fog/compute/models/virtual_box/mediums.rb +0 -32
- data/lib/fog/compute/models/virtual_box/nat_engine.rb +0 -65
- data/lib/fog/compute/models/virtual_box/nat_redirect.rb +0 -91
- data/lib/fog/compute/models/virtual_box/nat_redirects.rb +0 -41
- data/lib/fog/compute/models/virtual_box/network_adapter.rb +0 -82
- data/lib/fog/compute/models/virtual_box/network_adapters.rb +0 -42
- data/lib/fog/compute/models/virtual_box/server.rb +0 -241
- data/lib/fog/compute/models/virtual_box/servers.rb +0 -41
- data/lib/fog/compute/models/virtual_box/storage_controller.rb +0 -83
- data/lib/fog/compute/models/virtual_box/storage_controllers.rb +0 -38
- data/lib/fog/compute/models/voxel/image.rb +0 -12
- data/lib/fog/compute/models/voxel/images.rb +0 -30
- data/lib/fog/compute/models/voxel/server.rb +0 -77
- data/lib/fog/compute/models/voxel/servers.rb +0 -32
- data/lib/fog/compute/new_servers.rb +0 -102
- data/lib/fog/compute/parsers/aws/allocate_address.rb +0 -19
- data/lib/fog/compute/parsers/aws/attach_volume.rb +0 -22
- data/lib/fog/compute/parsers/aws/basic.rb +0 -25
- data/lib/fog/compute/parsers/aws/create_image.rb +0 -20
- data/lib/fog/compute/parsers/aws/create_key_pair.rb +0 -20
- data/lib/fog/compute/parsers/aws/create_snapshot.rb +0 -26
- data/lib/fog/compute/parsers/aws/create_volume.rb +0 -24
- data/lib/fog/compute/parsers/aws/deregister_image.rb +0 -20
- data/lib/fog/compute/parsers/aws/describe_addresses.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_availability_zones.rb +0 -32
- data/lib/fog/compute/parsers/aws/describe_images.rb +0 -72
- data/lib/fog/compute/parsers/aws/describe_instances.rb +0 -119
- data/lib/fog/compute/parsers/aws/describe_key_pairs.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_regions.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_reserved_instances.rb +0 -36
- data/lib/fog/compute/parsers/aws/describe_reserved_instances_offerings.rb +0 -34
- data/lib/fog/compute/parsers/aws/describe_security_groups.rb +0 -76
- data/lib/fog/compute/parsers/aws/describe_snapshots.rb +0 -54
- data/lib/fog/compute/parsers/aws/describe_tags.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_volumes.rb +0 -73
- data/lib/fog/compute/parsers/aws/detach_volume.rb +0 -22
- data/lib/fog/compute/parsers/aws/get_console_output.rb +0 -32
- data/lib/fog/compute/parsers/aws/import_key_pair.rb +0 -20
- data/lib/fog/compute/parsers/aws/monitor_unmonitor_instances.rb +0 -35
- data/lib/fog/compute/parsers/aws/register_image.rb +0 -20
- data/lib/fog/compute/parsers/aws/run_instances.rb +0 -89
- data/lib/fog/compute/parsers/aws/start_stop_instances.rb +0 -41
- data/lib/fog/compute/parsers/aws/terminate_instances.rb +0 -55
- data/lib/fog/compute/parsers/slicehost/create_slice.rb +0 -31
- data/lib/fog/compute/parsers/slicehost/get_backups.rb +0 -32
- data/lib/fog/compute/parsers/slicehost/get_flavor.rb +0 -26
- data/lib/fog/compute/parsers/slicehost/get_flavors.rb +0 -30
- data/lib/fog/compute/parsers/slicehost/get_image.rb +0 -26
- data/lib/fog/compute/parsers/slicehost/get_images.rb +0 -30
- data/lib/fog/compute/parsers/slicehost/get_slice.rb +0 -31
- data/lib/fog/compute/parsers/slicehost/get_slices.rb +0 -35
- data/lib/fog/compute/parsers/voxel/basic.rb +0 -31
- data/lib/fog/compute/parsers/voxel/devices_list.rb +0 -111
- data/lib/fog/compute/parsers/voxel/images_list.rb +0 -59
- data/lib/fog/compute/parsers/voxel/voxcloud_create.rb +0 -40
- data/lib/fog/compute/parsers/voxel/voxcloud_delete.rb +0 -31
- data/lib/fog/compute/parsers/voxel/voxcloud_status.rb +0 -42
- data/lib/fog/compute/rackspace.rb +0 -151
- data/lib/fog/compute/requests/aws/allocate_address.rb +0 -51
- data/lib/fog/compute/requests/aws/associate_address.rb +0 -59
- data/lib/fog/compute/requests/aws/attach_volume.rb +0 -81
- data/lib/fog/compute/requests/aws/authorize_security_group_ingress.rb +0 -106
- data/lib/fog/compute/requests/aws/create_image.rb +0 -64
- data/lib/fog/compute/requests/aws/create_key_pair.rb +0 -54
- data/lib/fog/compute/requests/aws/create_security_group.rb +0 -55
- data/lib/fog/compute/requests/aws/create_snapshot.rb +0 -71
- data/lib/fog/compute/requests/aws/create_tags.rb +0 -80
- data/lib/fog/compute/requests/aws/create_volume.rb +0 -74
- data/lib/fog/compute/requests/aws/delete_key_pair.rb +0 -45
- data/lib/fog/compute/requests/aws/delete_security_group.rb +0 -47
- data/lib/fog/compute/requests/aws/delete_snapshot.rb +0 -48
- data/lib/fog/compute/requests/aws/delete_tags.rb +0 -42
- data/lib/fog/compute/requests/aws/delete_volume.rb +0 -54
- data/lib/fog/compute/requests/aws/deregister_image.rb +0 -51
- data/lib/fog/compute/requests/aws/describe_addresses.rb +0 -64
- data/lib/fog/compute/requests/aws/describe_availability_zones.rb +0 -70
- data/lib/fog/compute/requests/aws/describe_images.rb +0 -112
- data/lib/fog/compute/requests/aws/describe_instances.rb +0 -201
- data/lib/fog/compute/requests/aws/describe_key_pairs.rb +0 -66
- data/lib/fog/compute/requests/aws/describe_regions.rb +0 -66
- data/lib/fog/compute/requests/aws/describe_reserved_instances.rb +0 -44
- data/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +0 -37
- data/lib/fog/compute/requests/aws/describe_security_groups.rb +0 -95
- data/lib/fog/compute/requests/aws/describe_snapshots.rb +0 -120
- data/lib/fog/compute/requests/aws/describe_tags.rb +0 -34
- data/lib/fog/compute/requests/aws/describe_volumes.rb +0 -118
- data/lib/fog/compute/requests/aws/detach_volume.rb +0 -58
- data/lib/fog/compute/requests/aws/disassociate_address.rb +0 -54
- data/lib/fog/compute/requests/aws/get_console_output.rb +0 -52
- data/lib/fog/compute/requests/aws/import_key_pair.rb +0 -54
- data/lib/fog/compute/requests/aws/modify_image_attributes.rb +0 -33
- data/lib/fog/compute/requests/aws/modify_snapshot_attribute.rb +0 -32
- data/lib/fog/compute/requests/aws/monitor_instances.rb +0 -52
- data/lib/fog/compute/requests/aws/reboot_instances.rb +0 -52
- data/lib/fog/compute/requests/aws/register_image.rb +0 -89
- data/lib/fog/compute/requests/aws/release_address.rb +0 -45
- data/lib/fog/compute/requests/aws/revoke_security_group_ingress.rb +0 -92
- data/lib/fog/compute/requests/aws/run_instances.rb +0 -167
- data/lib/fog/compute/requests/aws/start_instances.rb +0 -30
- data/lib/fog/compute/requests/aws/stop_instances.rb +0 -30
- data/lib/fog/compute/requests/aws/terminate_instances.rb +0 -94
- data/lib/fog/compute/requests/aws/unmonitor_instances.rb +0 -53
- data/lib/fog/compute/requests/bluebox/create_block.rb +0 -33
- data/lib/fog/compute/requests/bluebox/destroy_block.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_block.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_blocks.rb +0 -28
- data/lib/fog/compute/requests/bluebox/get_product.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_products.rb +0 -25
- data/lib/fog/compute/requests/bluebox/get_template.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_templates.rb +0 -26
- data/lib/fog/compute/requests/bluebox/reboot_block.rb +0 -27
- data/lib/fog/compute/requests/brightbox/activate_console_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/add_listeners_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/create_api_client.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_cloud_ip.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_image.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_load_balancer.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_server.rb +0 -19
- data/lib/fog/compute/requests/brightbox/destroy_api_client.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_image.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_account.rb +0 -19
- data/lib/fog/compute/requests/brightbox/get_api_client.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_image.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_interface.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_server_type.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_user.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_zone.rb +0 -20
- data/lib/fog/compute/requests/brightbox/list_api_clients.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_cloud_ips.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_images.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_load_balancers.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_server_types.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_servers.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_users.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_zones.rb +0 -19
- data/lib/fog/compute/requests/brightbox/map_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/remove_listeners_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb +0 -19
- data/lib/fog/compute/requests/brightbox/resize_server.rb +0 -19
- data/lib/fog/compute/requests/brightbox/shutdown_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/snapshot_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/start_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/stop_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/update_account.rb +0 -20
- data/lib/fog/compute/requests/brightbox/update_api_client.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_image.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_load_balancer.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_server.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_user.rb +0 -21
- data/lib/fog/compute/requests/ecloud/add_backup_internet_service.rb +0 -109
- data/lib/fog/compute/requests/ecloud/add_internet_service.rb +0 -149
- data/lib/fog/compute/requests/ecloud/add_node.rb +0 -62
- data/lib/fog/compute/requests/ecloud/clone_vapp.rb +0 -40
- data/lib/fog/compute/requests/ecloud/configure_internet_service.rb +0 -112
- data/lib/fog/compute/requests/ecloud/configure_network.rb +0 -44
- data/lib/fog/compute/requests/ecloud/configure_network_ip.rb +0 -66
- data/lib/fog/compute/requests/ecloud/configure_node.rb +0 -56
- data/lib/fog/compute/requests/ecloud/configure_vapp.rb +0 -144
- data/lib/fog/compute/requests/ecloud/delete_internet_service.rb +0 -22
- data/lib/fog/compute/requests/ecloud/delete_node.rb +0 -22
- data/lib/fog/compute/requests/ecloud/delete_vapp.rb +0 -29
- data/lib/fog/compute/requests/ecloud/get_catalog.rb +0 -44
- data/lib/fog/compute/requests/ecloud/get_catalog_item.rb +0 -47
- data/lib/fog/compute/requests/ecloud/get_customization_options.rb +0 -22
- data/lib/fog/compute/requests/ecloud/get_firewall_acl.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_firewall_acls.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_internet_services.rb +0 -82
- data/lib/fog/compute/requests/ecloud/get_network.rb +0 -44
- data/lib/fog/compute/requests/ecloud/get_network_extensions.rb +0 -33
- data/lib/fog/compute/requests/ecloud/get_network_ip.rb +0 -43
- data/lib/fog/compute/requests/ecloud/get_network_ips.rb +0 -35
- data/lib/fog/compute/requests/ecloud/get_node.rb +0 -40
- data/lib/fog/compute/requests/ecloud/get_nodes.rb +0 -41
- data/lib/fog/compute/requests/ecloud/get_organization.rb +0 -49
- data/lib/fog/compute/requests/ecloud/get_public_ip.rb +0 -34
- data/lib/fog/compute/requests/ecloud/get_public_ips.rb +0 -38
- data/lib/fog/compute/requests/ecloud/get_task.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_task_list.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_vapp.rb +0 -99
- data/lib/fog/compute/requests/ecloud/get_vapp_template.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_vdc.rb +0 -84
- data/lib/fog/compute/requests/ecloud/get_versions.rb +0 -37
- data/lib/fog/compute/requests/ecloud/instantiate_vapp_template.rb +0 -142
- data/lib/fog/compute/requests/ecloud/login.rb +0 -48
- data/lib/fog/compute/requests/ecloud/power_off.rb +0 -23
- data/lib/fog/compute/requests/ecloud/power_on.rb +0 -23
- data/lib/fog/compute/requests/ecloud/power_reset.rb +0 -11
- data/lib/fog/compute/requests/ecloud/power_shutdown.rb +0 -11
- data/lib/fog/compute/requests/go_grid/common_lookup_list.rb +0 -28
- data/lib/fog/compute/requests/go_grid/grid_image_get.rb +0 -41
- data/lib/fog/compute/requests/go_grid/grid_image_list.rb +0 -44
- data/lib/fog/compute/requests/go_grid/grid_ip_list.rb +0 -30
- data/lib/fog/compute/requests/go_grid/grid_loadbalancer_list.rb +0 -28
- data/lib/fog/compute/requests/go_grid/grid_server_add.rb +0 -36
- data/lib/fog/compute/requests/go_grid/grid_server_delete.rb +0 -25
- data/lib/fog/compute/requests/go_grid/grid_server_get.rb +0 -25
- data/lib/fog/compute/requests/go_grid/grid_server_list.rb +0 -30
- data/lib/fog/compute/requests/go_grid/grid_server_power.rb +0 -26
- data/lib/fog/compute/requests/go_grid/support_password_get.rb +0 -28
- data/lib/fog/compute/requests/go_grid/support_password_list.rb +0 -30
- data/lib/fog/compute/requests/linode/avail_datacenters.rb +0 -23
- data/lib/fog/compute/requests/linode/avail_distributions.rb +0 -30
- data/lib/fog/compute/requests/linode/avail_kernels.rb +0 -28
- data/lib/fog/compute/requests/linode/avail_linodeplans.rb +0 -27
- data/lib/fog/compute/requests/linode/avail_stackscripts.rb +0 -29
- data/lib/fog/compute/requests/linode/linode_create.rb +0 -33
- data/lib/fog/compute/requests/linode/linode_delete.rb +0 -28
- data/lib/fog/compute/requests/linode/linode_list.rb +0 -30
- data/lib/fog/compute/requests/linode/linode_reboot.rb +0 -28
- data/lib/fog/compute/requests/new_servers/add_server.rb +0 -33
- data/lib/fog/compute/requests/new_servers/cancel_server.rb +0 -30
- data/lib/fog/compute/requests/new_servers/get_server.rb +0 -36
- data/lib/fog/compute/requests/new_servers/list_images.rb +0 -27
- data/lib/fog/compute/requests/new_servers/list_plans.rb +0 -30
- data/lib/fog/compute/requests/new_servers/list_servers.rb +0 -36
- data/lib/fog/compute/requests/new_servers/reboot_server.rb +0 -24
- data/lib/fog/compute/requests/rackspace/confirm_resized_server.rb +0 -34
- data/lib/fog/compute/requests/rackspace/create_image.rb +0 -62
- data/lib/fog/compute/requests/rackspace/create_server.rb +0 -94
- data/lib/fog/compute/requests/rackspace/delete_image.rb +0 -45
- data/lib/fog/compute/requests/rackspace/delete_server.rb +0 -43
- data/lib/fog/compute/requests/rackspace/get_flavor_details.rb +0 -52
- data/lib/fog/compute/requests/rackspace/get_image_details.rb +0 -27
- data/lib/fog/compute/requests/rackspace/get_server_details.rb +0 -52
- data/lib/fog/compute/requests/rackspace/list_addresses.rb +0 -43
- data/lib/fog/compute/requests/rackspace/list_flavors.rb +0 -45
- data/lib/fog/compute/requests/rackspace/list_flavors_detail.rb +0 -47
- data/lib/fog/compute/requests/rackspace/list_images.rb +0 -40
- data/lib/fog/compute/requests/rackspace/list_images_detail.rb +0 -49
- data/lib/fog/compute/requests/rackspace/list_private_addresses.rb +0 -41
- data/lib/fog/compute/requests/rackspace/list_public_addresses.rb +0 -41
- data/lib/fog/compute/requests/rackspace/list_servers.rb +0 -41
- data/lib/fog/compute/requests/rackspace/list_servers_detail.rb +0 -56
- data/lib/fog/compute/requests/rackspace/reboot_server.rb +0 -30
- data/lib/fog/compute/requests/rackspace/resize_server.rb +0 -39
- data/lib/fog/compute/requests/rackspace/revert_resized_server.rb +0 -35
- data/lib/fog/compute/requests/rackspace/server_action.rb +0 -25
- data/lib/fog/compute/requests/rackspace/update_server.rb +0 -45
- data/lib/fog/compute/requests/slicehost/create_slice.rb +0 -41
- data/lib/fog/compute/requests/slicehost/delete_slice.rb +0 -23
- data/lib/fog/compute/requests/slicehost/get_backups.rb +0 -29
- data/lib/fog/compute/requests/slicehost/get_flavor.rb +0 -32
- data/lib/fog/compute/requests/slicehost/get_flavors.rb +0 -29
- data/lib/fog/compute/requests/slicehost/get_image.rb +0 -30
- data/lib/fog/compute/requests/slicehost/get_images.rb +0 -27
- data/lib/fog/compute/requests/slicehost/get_slice.rb +0 -38
- data/lib/fog/compute/requests/slicehost/get_slices.rb +0 -35
- data/lib/fog/compute/requests/slicehost/reboot_slice.rb +0 -36
- data/lib/fog/compute/requests/voxel/devices_list.rb +0 -24
- data/lib/fog/compute/requests/voxel/devices_power.rb +0 -22
- data/lib/fog/compute/requests/voxel/images_list.rb +0 -31
- data/lib/fog/compute/requests/voxel/voxcloud_create.rb +0 -22
- data/lib/fog/compute/requests/voxel/voxcloud_delete.rb +0 -20
- data/lib/fog/compute/requests/voxel/voxcloud_status.rb +0 -29
- data/lib/fog/compute/slicehost.rb +0 -108
- data/lib/fog/compute/virtual_box.rb +0 -48
- data/lib/fog/compute/voxel.rb +0 -115
- data/lib/fog/compute.rb +0 -46
- data/lib/fog/core/attributes.rb +0 -180
- data/lib/fog/core/collection.rb +0 -127
- data/lib/fog/core/connection.rb +0 -35
- data/lib/fog/core/credentials.rb +0 -103
- data/lib/fog/core/deprecation.rb +0 -23
- data/lib/fog/core/errors.rb +0 -20
- data/lib/fog/core/hmac.rb +0 -48
- data/lib/fog/core/mock.rb +0 -68
- data/lib/fog/core/model.rb +0 -57
- data/lib/fog/core/provider.rb +0 -18
- data/lib/fog/core/scp.rb +0 -63
- data/lib/fog/core/service.rb +0 -167
- data/lib/fog/core/ssh.rb +0 -116
- data/lib/fog/core/time.rb +0 -27
- data/lib/fog/core/wait_for.rb +0 -17
- data/lib/fog/core.rb +0 -33
- data/lib/fog/dns/aws.rb +0 -125
- data/lib/fog/dns/bluebox.rb +0 -108
- data/lib/fog/dns/dnsimple.rb +0 -95
- data/lib/fog/dns/linode.rb +0 -98
- data/lib/fog/dns/models/aws/record.rb +0 -64
- data/lib/fog/dns/models/aws/records.rb +0 -49
- data/lib/fog/dns/models/aws/zone.rb +0 -53
- data/lib/fog/dns/models/aws/zones.rb +0 -33
- data/lib/fog/dns/models/bluebox/record.rb +0 -52
- data/lib/fog/dns/models/bluebox/records.rb +0 -36
- data/lib/fog/dns/models/bluebox/zone.rb +0 -63
- data/lib/fog/dns/models/bluebox/zones.rb +0 -28
- data/lib/fog/dns/models/dnsimple/record.rb +0 -64
- data/lib/fog/dns/models/dnsimple/records.rb +0 -38
- data/lib/fog/dns/models/dnsimple/zone.rb +0 -50
- data/lib/fog/dns/models/dnsimple/zones.rb +0 -29
- data/lib/fog/dns/models/linode/record.rb +0 -69
- data/lib/fog/dns/models/linode/records.rb +0 -37
- data/lib/fog/dns/models/linode/zone.rb +0 -84
- data/lib/fog/dns/models/linode/zones.rb +0 -29
- data/lib/fog/dns/models/slicehost/record.rb +0 -66
- data/lib/fog/dns/models/slicehost/records.rb +0 -36
- data/lib/fog/dns/models/slicehost/zone.rb +0 -69
- data/lib/fog/dns/models/slicehost/zones.rb +0 -28
- data/lib/fog/dns/models/zerigo/record.rb +0 -65
- data/lib/fog/dns/models/zerigo/records.rb +0 -41
- data/lib/fog/dns/models/zerigo/zone.rb +0 -88
- data/lib/fog/dns/models/zerigo/zones.rb +0 -30
- data/lib/fog/dns/parsers/aws/change_resource_record_sets.rb +0 -26
- data/lib/fog/dns/parsers/aws/create_hosted_zone.rb +0 -55
- data/lib/fog/dns/parsers/aws/delete_hosted_zone.rb +0 -25
- data/lib/fog/dns/parsers/aws/get_change.rb +0 -26
- data/lib/fog/dns/parsers/aws/get_hosted_zone.rb +0 -43
- data/lib/fog/dns/parsers/aws/list_hosted_zones.rb +0 -37
- data/lib/fog/dns/parsers/aws/list_resource_record_sets.rb +0 -46
- data/lib/fog/dns/parsers/bluebox/create_record.rb +0 -26
- data/lib/fog/dns/parsers/bluebox/create_zone.rb +0 -26
- data/lib/fog/dns/parsers/bluebox/get_record.rb +0 -21
- data/lib/fog/dns/parsers/bluebox/get_records.rb +0 -27
- data/lib/fog/dns/parsers/bluebox/get_zone.rb +0 -23
- data/lib/fog/dns/parsers/bluebox/get_zones.rb +0 -30
- data/lib/fog/dns/parsers/slicehost/create_record.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/create_zone.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/get_record.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/get_records.rb +0 -30
- data/lib/fog/dns/parsers/slicehost/get_zone.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/get_zones.rb +0 -30
- data/lib/fog/dns/parsers/zerigo/count_hosts.rb +0 -24
- data/lib/fog/dns/parsers/zerigo/count_zones.rb +0 -24
- data/lib/fog/dns/parsers/zerigo/create_host.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/create_zone.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/find_hosts.rb +0 -30
- data/lib/fog/dns/parsers/zerigo/get_host.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/get_zone.rb +0 -56
- data/lib/fog/dns/parsers/zerigo/get_zone_stats.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/list_hosts.rb +0 -30
- data/lib/fog/dns/parsers/zerigo/list_zones.rb +0 -30
- data/lib/fog/dns/requests/aws/change_resource_record_sets.rb +0 -82
- data/lib/fog/dns/requests/aws/create_hosted_zone.rb +0 -59
- data/lib/fog/dns/requests/aws/delete_hosted_zone.rb +0 -39
- data/lib/fog/dns/requests/aws/get_change.rb +0 -38
- data/lib/fog/dns/requests/aws/get_hosted_zone.rb +0 -42
- data/lib/fog/dns/requests/aws/list_hosted_zones.rb +0 -54
- data/lib/fog/dns/requests/aws/list_resource_record_sets.rb +0 -60
- data/lib/fog/dns/requests/bluebox/create_record.rb +0 -48
- data/lib/fog/dns/requests/bluebox/create_zone.rb +0 -52
- data/lib/fog/dns/requests/bluebox/delete_record.rb +0 -31
- data/lib/fog/dns/requests/bluebox/delete_zone.rb +0 -31
- data/lib/fog/dns/requests/bluebox/get_record.rb +0 -40
- data/lib/fog/dns/requests/bluebox/get_records.rb +0 -41
- data/lib/fog/dns/requests/bluebox/get_zone.rb +0 -44
- data/lib/fog/dns/requests/bluebox/get_zones.rb +0 -43
- data/lib/fog/dns/requests/bluebox/update_record.rb +0 -34
- data/lib/fog/dns/requests/bluebox/update_zone.rb +0 -30
- data/lib/fog/dns/requests/dnsimple/create_domain.rb +0 -27
- data/lib/fog/dns/requests/dnsimple/create_record.rb +0 -48
- data/lib/fog/dns/requests/dnsimple/delete_domain.rb +0 -26
- data/lib/fog/dns/requests/dnsimple/delete_record.rb +0 -21
- data/lib/fog/dns/requests/dnsimple/get_domain.rb +0 -37
- data/lib/fog/dns/requests/dnsimple/get_record.rb +0 -34
- data/lib/fog/dns/requests/dnsimple/list_domains.rb +0 -35
- data/lib/fog/dns/requests/dnsimple/list_records.rb +0 -32
- data/lib/fog/dns/requests/dnsimple/update_record.rb +0 -42
- data/lib/fog/dns/requests/linode/domain_create.rb +0 -43
- data/lib/fog/dns/requests/linode/domain_delete.rb +0 -27
- data/lib/fog/dns/requests/linode/domain_list.rb +0 -42
- data/lib/fog/dns/requests/linode/domain_resource_create.rb +0 -44
- data/lib/fog/dns/requests/linode/domain_resource_delete.rb +0 -28
- data/lib/fog/dns/requests/linode/domain_resource_list.rb +0 -43
- data/lib/fog/dns/requests/linode/domain_resource_update.rb +0 -46
- data/lib/fog/dns/requests/linode/domain_update.rb +0 -40
- data/lib/fog/dns/requests/slicehost/create_record.rb +0 -52
- data/lib/fog/dns/requests/slicehost/create_zone.rb +0 -46
- data/lib/fog/dns/requests/slicehost/delete_record.rb +0 -23
- data/lib/fog/dns/requests/slicehost/delete_zone.rb +0 -23
- data/lib/fog/dns/requests/slicehost/get_record.rb +0 -32
- data/lib/fog/dns/requests/slicehost/get_records.rb +0 -33
- data/lib/fog/dns/requests/slicehost/get_zone.rb +0 -32
- data/lib/fog/dns/requests/slicehost/get_zones.rb +0 -30
- data/lib/fog/dns/requests/zerigo/count_hosts.rb +0 -28
- data/lib/fog/dns/requests/zerigo/count_zones.rb +0 -28
- data/lib/fog/dns/requests/zerigo/create_host.rb +0 -62
- data/lib/fog/dns/requests/zerigo/create_zone.rb +0 -89
- data/lib/fog/dns/requests/zerigo/delete_host.rb +0 -24
- data/lib/fog/dns/requests/zerigo/delete_zone.rb +0 -25
- data/lib/fog/dns/requests/zerigo/find_hosts.rb +0 -55
- data/lib/fog/dns/requests/zerigo/get_host.rb +0 -39
- data/lib/fog/dns/requests/zerigo/get_zone.rb +0 -49
- data/lib/fog/dns/requests/zerigo/get_zone_stats.rb +0 -36
- data/lib/fog/dns/requests/zerigo/list_hosts.rb +0 -40
- data/lib/fog/dns/requests/zerigo/list_zones.rb +0 -45
- data/lib/fog/dns/requests/zerigo/update_host.rb +0 -52
- data/lib/fog/dns/requests/zerigo/update_zone.rb +0 -70
- data/lib/fog/dns/slicehost.rb +0 -104
- data/lib/fog/dns/zerigo.rb +0 -113
- data/lib/fog/dns.rb +0 -31
- data/lib/fog/providers/aws.rb +0 -180
- data/lib/fog/providers/bluebox.rb +0 -12
- data/lib/fog/providers/brightbox.rb +0 -9
- data/lib/fog/providers/dnsimple.rb +0 -11
- data/lib/fog/providers/ecloud.rb +0 -11
- data/lib/fog/providers/go_grid.rb +0 -11
- data/lib/fog/providers/google.rb +0 -23
- data/lib/fog/providers/linode.rb +0 -13
- data/lib/fog/providers/local.rb +0 -11
- data/lib/fog/providers/new_servers.rb +0 -11
- data/lib/fog/providers/rackspace.rb +0 -33
- data/lib/fog/providers/slicehost.rb +0 -12
- data/lib/fog/providers/virtual_box.rb +0 -11
- data/lib/fog/providers/voxel.rb +0 -16
- data/lib/fog/providers/zerigo.rb +0 -11
- data/lib/fog/providers.rb +0 -23
- data/lib/fog/storage/aws.rb +0 -335
- data/lib/fog/storage/google.rb +0 -260
- data/lib/fog/storage/local.rb +0 -77
- data/lib/fog/storage/models/aws/directories.rb +0 -43
- data/lib/fog/storage/models/aws/directory.rb +0 -100
- data/lib/fog/storage/models/aws/file.rb +0 -142
- data/lib/fog/storage/models/aws/files.rb +0 -86
- data/lib/fog/storage/models/google/directories.rb +0 -43
- data/lib/fog/storage/models/google/directory.rb +0 -78
- data/lib/fog/storage/models/google/file.rb +0 -145
- data/lib/fog/storage/models/google/files.rb +0 -79
- data/lib/fog/storage/models/local/directories.rb +0 -33
- data/lib/fog/storage/models/local/directory.rb +0 -57
- data/lib/fog/storage/models/local/file.rb +0 -111
- data/lib/fog/storage/models/local/files.rb +0 -87
- data/lib/fog/storage/models/rackspace/directories.rb +0 -39
- data/lib/fog/storage/models/rackspace/directory.rb +0 -64
- data/lib/fog/storage/models/rackspace/file.rb +0 -81
- data/lib/fog/storage/models/rackspace/files.rb +0 -75
- data/lib/fog/storage/parsers/aws/access_control_list.rb +0 -46
- data/lib/fog/storage/parsers/aws/complete_multipart_upload.rb +0 -24
- data/lib/fog/storage/parsers/aws/copy_object.rb +0 -22
- data/lib/fog/storage/parsers/aws/get_bucket.rb +0 -62
- data/lib/fog/storage/parsers/aws/get_bucket_location.rb +0 -20
- data/lib/fog/storage/parsers/aws/get_bucket_logging.rb +0 -40
- data/lib/fog/storage/parsers/aws/get_bucket_object_versions.rb +0 -88
- data/lib/fog/storage/parsers/aws/get_bucket_versioning.rb +0 -24
- data/lib/fog/storage/parsers/aws/get_bucket_website.rb +0 -26
- data/lib/fog/storage/parsers/aws/get_request_payment.rb +0 -20
- data/lib/fog/storage/parsers/aws/get_service.rb +0 -32
- data/lib/fog/storage/parsers/aws/initiate_multipart_upload.rb +0 -24
- data/lib/fog/storage/parsers/aws/list_multipart_uploads.rb +0 -56
- data/lib/fog/storage/parsers/aws/list_parts.rb +0 -40
- data/lib/fog/storage/parsers/google/access_control_list.rb +0 -48
- data/lib/fog/storage/parsers/google/copy_object.rb +0 -22
- data/lib/fog/storage/parsers/google/get_bucket.rb +0 -62
- data/lib/fog/storage/parsers/google/get_bucket_logging.rb +0 -40
- data/lib/fog/storage/parsers/google/get_bucket_object_versions.rb +0 -88
- data/lib/fog/storage/parsers/google/get_bucket_versioning.rb +0 -24
- data/lib/fog/storage/parsers/google/get_request_payment.rb +0 -20
- data/lib/fog/storage/parsers/google/get_service.rb +0 -32
- data/lib/fog/storage/rackspace.rb +0 -127
- data/lib/fog/storage/requests/aws/abort_multipart_upload.rb +0 -30
- data/lib/fog/storage/requests/aws/complete_multipart_upload.rb +0 -52
- data/lib/fog/storage/requests/aws/copy_object.rb +0 -76
- data/lib/fog/storage/requests/aws/delete_bucket.rb +0 -50
- data/lib/fog/storage/requests/aws/delete_bucket_website.rb +0 -32
- data/lib/fog/storage/requests/aws/delete_object.rb +0 -49
- data/lib/fog/storage/requests/aws/get_bucket.rb +0 -111
- data/lib/fog/storage/requests/aws/get_bucket_acl.rb +0 -66
- data/lib/fog/storage/requests/aws/get_bucket_location.rb +0 -52
- data/lib/fog/storage/requests/aws/get_bucket_logging.rb +0 -50
- data/lib/fog/storage/requests/aws/get_bucket_object_versions.rb +0 -75
- data/lib/fog/storage/requests/aws/get_bucket_versioning.rb +0 -40
- data/lib/fog/storage/requests/aws/get_bucket_website.rb +0 -42
- data/lib/fog/storage/requests/aws/get_object.rb +0 -107
- data/lib/fog/storage/requests/aws/get_object_acl.rb +0 -77
- data/lib/fog/storage/requests/aws/get_object_torrent.rb +0 -50
- data/lib/fog/storage/requests/aws/get_object_url.rb +0 -57
- data/lib/fog/storage/requests/aws/get_request_payment.rb +0 -52
- data/lib/fog/storage/requests/aws/get_service.rb +0 -57
- data/lib/fog/storage/requests/aws/head_object.rb +0 -68
- data/lib/fog/storage/requests/aws/initiate_multipart_upload.rb +0 -47
- data/lib/fog/storage/requests/aws/list_multipart_uploads.rb +0 -60
- data/lib/fog/storage/requests/aws/list_parts.rb +0 -59
- data/lib/fog/storage/requests/aws/post_object_hidden_fields.rb +0 -42
- data/lib/fog/storage/requests/aws/put_bucket.rb +0 -77
- data/lib/fog/storage/requests/aws/put_bucket_acl.rb +0 -76
- data/lib/fog/storage/requests/aws/put_bucket_logging.rb +0 -83
- data/lib/fog/storage/requests/aws/put_bucket_versioning.rb +0 -36
- data/lib/fog/storage/requests/aws/put_bucket_website.rb +0 -49
- data/lib/fog/storage/requests/aws/put_object.rb +0 -100
- data/lib/fog/storage/requests/aws/put_object_acl.rb +0 -85
- data/lib/fog/storage/requests/aws/put_object_url.rb +0 -57
- data/lib/fog/storage/requests/aws/put_request_payment.rb +0 -51
- data/lib/fog/storage/requests/aws/sync_clock.rb +0 -28
- data/lib/fog/storage/requests/aws/upload_part.rb +0 -43
- data/lib/fog/storage/requests/google/copy_object.rb +0 -72
- data/lib/fog/storage/requests/google/delete_bucket.rb +0 -46
- data/lib/fog/storage/requests/google/delete_object.rb +0 -50
- data/lib/fog/storage/requests/google/get_bucket.rb +0 -111
- data/lib/fog/storage/requests/google/get_bucket_acl.rb +0 -63
- data/lib/fog/storage/requests/google/get_object.rb +0 -104
- data/lib/fog/storage/requests/google/get_object_acl.rb +0 -74
- data/lib/fog/storage/requests/google/get_object_torrent.rb +0 -47
- data/lib/fog/storage/requests/google/get_object_url.rb +0 -54
- data/lib/fog/storage/requests/google/get_service.rb +0 -53
- data/lib/fog/storage/requests/google/head_object.rb +0 -64
- data/lib/fog/storage/requests/google/put_bucket.rb +0 -75
- data/lib/fog/storage/requests/google/put_bucket_acl.rb +0 -73
- data/lib/fog/storage/requests/google/put_object.rb +0 -94
- data/lib/fog/storage/requests/google/put_object_url.rb +0 -54
- data/lib/fog/storage/requests/rackspace/delete_container.rb +0 -23
- data/lib/fog/storage/requests/rackspace/delete_object.rb +0 -24
- data/lib/fog/storage/requests/rackspace/get_container.rb +0 -45
- data/lib/fog/storage/requests/rackspace/get_containers.rb +0 -34
- data/lib/fog/storage/requests/rackspace/get_object.rb +0 -25
- data/lib/fog/storage/requests/rackspace/head_container.rb +0 -29
- data/lib/fog/storage/requests/rackspace/head_containers.rb +0 -26
- data/lib/fog/storage/requests/rackspace/head_object.rb +0 -24
- data/lib/fog/storage/requests/rackspace/put_container.rb +0 -23
- data/lib/fog/storage/requests/rackspace/put_object.rb +0 -27
- data/lib/fog/storage.rb +0 -57
- data/lib/fog/terremark/models/shared/address.rb +0 -29
- data/lib/fog/terremark/models/shared/addresses.rb +0 -49
- data/lib/fog/terremark/models/shared/network.rb +0 -35
- data/lib/fog/terremark/models/shared/networks.rb +0 -52
- data/lib/fog/terremark/models/shared/server.rb +0 -110
- data/lib/fog/terremark/models/shared/servers.rb +0 -55
- data/lib/fog/terremark/models/shared/task.rb +0 -50
- data/lib/fog/terremark/models/shared/tasks.rb +0 -58
- data/lib/fog/terremark/models/shared/vdc.rb +0 -39
- data/lib/fog/terremark/models/shared/vdcs.rb +0 -52
- data/lib/fog/terremark/parser.rb +0 -19
- data/lib/fog/terremark/parsers/shared/get_catalog.rb +0 -46
- data/lib/fog/terremark/parsers/shared/get_catalog_item.rb +0 -46
- data/lib/fog/terremark/parsers/shared/get_internet_services.rb +0 -60
- data/lib/fog/terremark/parsers/shared/get_network_ips.rb +0 -29
- data/lib/fog/terremark/parsers/shared/get_node_services.rb +0 -36
- data/lib/fog/terremark/parsers/shared/get_organization.rb +0 -52
- data/lib/fog/terremark/parsers/shared/get_organizations.rb +0 -32
- data/lib/fog/terremark/parsers/shared/get_public_ips.rb +0 -30
- data/lib/fog/terremark/parsers/shared/get_tasks_list.rb +0 -52
- data/lib/fog/terremark/parsers/shared/get_vapp_template.rb +0 -46
- data/lib/fog/terremark/parsers/shared/get_vdc.rb +0 -123
- data/lib/fog/terremark/parsers/shared/instantiate_vapp_template.rb +0 -41
- data/lib/fog/terremark/parsers/shared/internet_service.rb +0 -65
- data/lib/fog/terremark/parsers/shared/network.rb +0 -51
- data/lib/fog/terremark/parsers/shared/node_service.rb +0 -32
- data/lib/fog/terremark/parsers/shared/public_ip.rb +0 -26
- data/lib/fog/terremark/parsers/shared/task.rb +0 -40
- data/lib/fog/terremark/parsers/shared/vapp.rb +0 -77
- data/lib/fog/terremark/requests/shared/add_internet_service.rb +0 -55
- data/lib/fog/terremark/requests/shared/add_node_service.rb +0 -55
- data/lib/fog/terremark/requests/shared/create_internet_service.rb +0 -55
- data/lib/fog/terremark/requests/shared/delete_internet_service.rb +0 -22
- data/lib/fog/terremark/requests/shared/delete_node_service.rb +0 -22
- data/lib/fog/terremark/requests/shared/delete_public_ip.rb +0 -22
- data/lib/fog/terremark/requests/shared/delete_vapp.rb +0 -22
- data/lib/fog/terremark/requests/shared/deploy_vapp.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_catalog.rb +0 -32
- data/lib/fog/terremark/requests/shared/get_catalog_item.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_internet_services.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_network.rb +0 -73
- data/lib/fog/terremark/requests/shared/get_network_ips.rb +0 -32
- data/lib/fog/terremark/requests/shared/get_node_services.rb +0 -30
- data/lib/fog/terremark/requests/shared/get_organization.rb +0 -86
- data/lib/fog/terremark/requests/shared/get_organizations.rb +0 -49
- data/lib/fog/terremark/requests/shared/get_public_ip.rb +0 -33
- data/lib/fog/terremark/requests/shared/get_public_ips.rb +0 -72
- data/lib/fog/terremark/requests/shared/get_task.rb +0 -39
- data/lib/fog/terremark/requests/shared/get_tasks_list.rb +0 -33
- data/lib/fog/terremark/requests/shared/get_vapp.rb +0 -42
- data/lib/fog/terremark/requests/shared/get_vapp_template.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_vdc.rb +0 -125
- data/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +0 -71
- data/lib/fog/terremark/requests/shared/power_off.rb +0 -35
- data/lib/fog/terremark/requests/shared/power_on.rb +0 -35
- data/lib/fog/terremark/requests/shared/power_reset.rb +0 -35
- data/lib/fog/terremark/requests/shared/power_shutdown.rb +0 -24
- data/lib/fog/terremark/shared.rb +0 -289
- data/lib/fog/terremark/vcloud.rb +0 -117
- data/lib/fog/terremark.rb +0 -11
- data/spec/aws/models/compute/address_spec.rb +0 -103
- data/spec/aws/models/compute/addresses_spec.rb +0 -70
- data/spec/aws/models/compute/key_pair_spec.rb +0 -86
- data/spec/aws/models/compute/key_pairs_spec.rb +0 -71
- data/spec/aws/models/compute/security_group_spec.rb +0 -88
- data/spec/aws/models/compute/security_groups_spec.rb +0 -71
- data/spec/aws/models/compute/server_spec.rb +0 -105
- data/spec/aws/models/compute/snapshot_spec.rb +0 -79
- data/spec/aws/models/compute/snapshots_spec.rb +0 -85
- data/spec/aws/models/compute/volume_spec.rb +0 -174
- data/spec/aws/models/compute/volumes_spec.rb +0 -71
- data/spec/ecloud/bin_spec.rb +0 -22
- data/spec/ecloud/models/backup_internet_service_spec.rb +0 -48
- data/spec/ecloud/models/backup_internet_services_spec.rb +0 -28
- data/spec/ecloud/models/internet_service_spec.rb +0 -104
- data/spec/ecloud/models/internet_services_spec.rb +0 -29
- data/spec/ecloud/models/ip_spec.rb +0 -33
- data/spec/ecloud/models/ips_spec.rb +0 -28
- data/spec/ecloud/models/network_spec.rb +0 -71
- data/spec/ecloud/models/networks_spec.rb +0 -27
- data/spec/ecloud/models/node_spec.rb +0 -38
- data/spec/ecloud/models/nodes_spec.rb +0 -28
- data/spec/ecloud/models/public_ip_spec.rb +0 -36
- data/spec/ecloud/models/public_ips_spec.rb +0 -27
- data/spec/ecloud/models/server_spec.rb +0 -62
- data/spec/ecloud/models/vdc_spec.rb +0 -63
- data/spec/ecloud/models/vdcs_spec.rb +0 -28
- data/spec/ecloud/requests/add_backup_internet_service_spec.rb +0 -60
- data/spec/ecloud/requests/add_internet_service_spec.rb +0 -65
- data/spec/ecloud/requests/add_node_spec.rb +0 -56
- data/spec/ecloud/requests/configure_internet_service_spec.rb +0 -61
- data/spec/ecloud/requests/configure_network_ip_spec.rb +0 -55
- data/spec/ecloud/requests/configure_node_spec.rb +0 -52
- data/spec/ecloud/requests/configure_vapp_spec.rb +0 -71
- data/spec/ecloud/requests/delete_internet_service_spec.rb +0 -34
- data/spec/ecloud/requests/delete_node_spec.rb +0 -30
- data/spec/ecloud/requests/delete_vapp_spec.rb +0 -92
- data/spec/ecloud/requests/get_catalog_item_spec.rb +0 -62
- data/spec/ecloud/requests/get_catalog_spec.rb +0 -44
- data/spec/ecloud/requests/get_customization_options_spec.rb +0 -39
- data/spec/ecloud/requests/get_internet_services_spec.rb +0 -150
- data/spec/ecloud/requests/get_network_ip_spec.rb +0 -40
- data/spec/ecloud/requests/get_network_ips_spec.rb +0 -58
- data/spec/ecloud/requests/get_network_spec.rb +0 -49
- data/spec/ecloud/requests/get_node_spec.rb +0 -41
- data/spec/ecloud/requests/get_nodes_spec.rb +0 -58
- data/spec/ecloud/requests/get_organization_spec.rb +0 -52
- data/spec/ecloud/requests/get_public_ip_spec.rb +0 -38
- data/spec/ecloud/requests/get_public_ips_spec.rb +0 -52
- data/spec/ecloud/requests/get_vapp_spec.rb +0 -125
- data/spec/ecloud/requests/get_vdc_spec.rb +0 -112
- data/spec/ecloud/requests/get_versions_spec.rb +0 -57
- data/spec/ecloud/requests/instantiate_vapp_template_spec.rb +0 -95
- data/spec/ecloud/requests/login_spec.rb +0 -10
- data/spec/ecloud/requests/power_off_spec.rb +0 -34
- data/spec/ecloud/requests/power_on_spec.rb +0 -34
- data/spec/ecloud/spec_helper.rb +0 -387
- data/spec/ecloud/vcloud_spec.rb +0 -18
- data/tests/aws/requests/cloud_formation/stack_tests.rb +0 -130
- data/tests/aws/requests/iam/access_key_tests.rb +0 -60
- data/tests/aws/requests/iam/group_policy_tests.rb +0 -42
- data/tests/aws/requests/iam/group_tests.rb +0 -47
- data/tests/aws/requests/iam/helper.rb +0 -15
- data/tests/aws/requests/iam/login_profile_tests.rb +0 -64
- data/tests/aws/requests/iam/user_policy_tests.rb +0 -42
- data/tests/aws/requests/iam/user_tests.rb +0 -65
- data/tests/aws/requests/rds/helper.rb +0 -169
- data/tests/aws/requests/rds/instance_tests.rb +0 -129
- data/tests/aws/requests/rds/model_tests.rb +0 -98
- data/tests/aws/requests/rds/parameter_group_tests.rb +0 -68
- data/tests/aws/requests/rds/parameter_request_tests.rb +0 -35
- data/tests/aws/requests/ses/helper.rb +0 -15
- data/tests/aws/requests/ses/verified_email_address_tests.rb +0 -27
- data/tests/aws/requests/simpledb/attributes_tests.rb +0 -75
- data/tests/aws/requests/simpledb/domain_tests.rb +0 -51
- data/tests/aws/requests/simpledb/helper.rb +0 -16
- data/tests/compute/models/aws/server_monitor_tests.rb +0 -47
- data/tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb +0 -49
- data/tests/compute/requests/aws/address_tests.rb +0 -76
- data/tests/compute/requests/aws/availability_zone_tests.rb +0 -25
- data/tests/compute/requests/aws/helper.rb +0 -20
- data/tests/compute/requests/aws/image_tests.rb +0 -37
- data/tests/compute/requests/aws/instance_tests.rb +0 -121
- data/tests/compute/requests/aws/key_pair_tests.rb +0 -63
- data/tests/compute/requests/aws/region_tests.rb +0 -23
- data/tests/compute/requests/aws/security_group_tests.rb +0 -141
- data/tests/compute/requests/aws/snapshot_tests.rb +0 -57
- data/tests/compute/requests/aws/tag_tests.rb +0 -49
- data/tests/compute/requests/aws/volume_tests.rb +0 -102
- data/tests/compute/requests/bluebox/block_tests.rb +0 -80
- data/tests/compute/requests/bluebox/helper.rb +0 -17
- data/tests/compute/requests/bluebox/product_tests.rb +0 -28
- data/tests/compute/requests/bluebox/template_tests.rb +0 -35
- data/tests/compute/requests/brightbox/account_tests.rb +0 -40
- data/tests/compute/requests/brightbox/api_client_tests.rb +0 -49
- data/tests/compute/requests/brightbox/cloud_ip_tests.rb +0 -71
- data/tests/compute/requests/brightbox/helper.rb +0 -419
- data/tests/compute/requests/brightbox/image_tests.rb +0 -57
- data/tests/compute/requests/brightbox/interface_tests.rb +0 -30
- data/tests/compute/requests/brightbox/load_balancer_tests.rb +0 -74
- data/tests/compute/requests/brightbox/server_tests.rb +0 -75
- data/tests/compute/requests/brightbox/server_type_tests.rb +0 -33
- data/tests/compute/requests/brightbox/user_tests.rb +0 -41
- data/tests/compute/requests/brightbox/zone_tests.rb +0 -33
- data/tests/compute/requests/linode/datacenter_tests.rb +0 -19
- data/tests/compute/requests/linode/distribution_tests.rb +0 -32
- data/tests/compute/requests/linode/helper.rb +0 -16
- data/tests/compute/requests/linode/linode_tests.rb +0 -85
- data/tests/compute/requests/linode/linodeplans_tests.rb +0 -39
- data/tests/compute/requests/rackspace/address_tests.rb +0 -40
- data/tests/compute/requests/rackspace/flavor_tests.rb +0 -38
- data/tests/compute/requests/rackspace/helper.rb +0 -16
- data/tests/compute/requests/rackspace/image_tests.rb +0 -68
- data/tests/compute/requests/rackspace/resize_tests.rb +0 -33
- data/tests/compute/requests/rackspace/server_tests.rb +0 -92
- data/tests/compute/requests/slicehost/backup_tests.rb +0 -18
- data/tests/compute/requests/slicehost/flavor_tests.rb +0 -33
- data/tests/compute/requests/slicehost/image_tests.rb +0 -31
- data/tests/compute/requests/slicehost/slice_tests.rb +0 -75
- data/tests/compute/requests/voxel/image_tests.rb +0 -46
- data/tests/compute/requests/voxel/server_tests.rb +0 -122
- data/tests/dns/requests/aws/dns_tests.rb +0 -276
- data/tests/dns/requests/bluebox/dns_tests.rb +0 -271
- data/tests/dns/requests/dnsimple/dns_tests.rb +0 -130
- data/tests/dns/requests/linode/dns_tests.rb +0 -262
- data/tests/dns/requests/slicehost/dns_tests.rb +0 -279
- data/tests/dns/requests/zerigo/dns_tests.rb +0 -374
- data/tests/storage/requests/aws/bucket_tests.rb +0 -114
- data/tests/storage/requests/aws/multipart_upload_tests.rb +0 -135
- data/tests/storage/requests/aws/object_tests.rb +0 -81
- data/tests/storage/requests/google/bucket_tests.rb +0 -79
- data/tests/storage/requests/google/object_tests.rb +0 -81
- data/tests/storage/requests/rackspace/container_tests.rb +0 -64
- data/tests/storage/requests/rackspace/object_tests.rb +0 -69
- /data/tests/{compute/requests/go_grid → go_grid/requests/compute}/image_tests.rb +0 -0
@@ -0,0 +1,85 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Set the value for the specified metadata key to the value provided,
|
6
|
+
# overwriting any existing value.
|
7
|
+
#
|
8
|
+
# @param [String] id Object identifier of the vApp or VM.
|
9
|
+
# @param [String] key Key of the metadata item.
|
10
|
+
# @param [Boolean,DateTime,Fixnum,String] value Value of the metadata
|
11
|
+
# item.
|
12
|
+
# @return [Excon::Response]
|
13
|
+
# * body<~Hash>:
|
14
|
+
#
|
15
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/PUT-VAppMetadataItem-metadata.html
|
16
|
+
# @since vCloud API version 1.5
|
17
|
+
def put_vapp_metadata_item_metadata(id, key, value)
|
18
|
+
body = Nokogiri::XML::Builder.new do
|
19
|
+
attrs = {
|
20
|
+
:xmlns => 'http://www.vmware.com/vcloud/v1.5',
|
21
|
+
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance'
|
22
|
+
}
|
23
|
+
MetadataValue(attrs) {
|
24
|
+
if api_version.to_f < 5.1
|
25
|
+
Value value
|
26
|
+
else
|
27
|
+
type = case value
|
28
|
+
when TrueClass, FalseClass then 'MetadataBooleanValue';
|
29
|
+
when DateTime then 'MetadataDateTimeValue';
|
30
|
+
when Fixnum then 'MetadataNumberValue';
|
31
|
+
else 'MetadataStringValue'
|
32
|
+
end
|
33
|
+
TypedValue('xsi:type' => type) { Value value }
|
34
|
+
end
|
35
|
+
}
|
36
|
+
end.to_xml
|
37
|
+
|
38
|
+
request(
|
39
|
+
:body => body,
|
40
|
+
:expects => 202,
|
41
|
+
:headers => {'Content-Type' => 'application/vnd.vmware.vcloud.metadata.value+xml'},
|
42
|
+
:method => 'PUT',
|
43
|
+
:parser => Fog::ToHashDocument.new,
|
44
|
+
:path => "vApp/#{id}/metadata/#{URI.escape(key)}"
|
45
|
+
)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
class Mock
|
50
|
+
|
51
|
+
def put_vapp_metadata_item_metadata(id, key, value)
|
52
|
+
unless vm_or_vapp = data[:vapps][id] || vm_or_vapp = data[:vms][id]
|
53
|
+
raise Fog::Compute::VcloudDirector::Forbidden.new(
|
54
|
+
'This operation is denied.'
|
55
|
+
)
|
56
|
+
end
|
57
|
+
|
58
|
+
owner = {
|
59
|
+
:href => make_href("vApp/#{id}"),
|
60
|
+
:type => 'application/vnd.vmware.vcloud.vm+xml'
|
61
|
+
}
|
62
|
+
task_id = enqueue_task(
|
63
|
+
"Updating Virtual Machine #{vm_or_vapp[:name]}(#{id})", 'vappUpdateVm', owner,
|
64
|
+
:on_success => lambda do
|
65
|
+
vm_or_vapp[:metadata][key] = value
|
66
|
+
end
|
67
|
+
)
|
68
|
+
body = {
|
69
|
+
:xmlns => xmlns,
|
70
|
+
:xmlns_xsi => xmlns_xsi,
|
71
|
+
:xsi_schemaLocation => xsi_schema_location,
|
72
|
+
}.merge(task_body(task_id))
|
73
|
+
|
74
|
+
Excon::Response.new(
|
75
|
+
:status => 202,
|
76
|
+
:headers => {'Content-Type' => "#{body[:type]};version=#{api_version}"},
|
77
|
+
:body => body
|
78
|
+
)
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
require 'fog/vcloud_director/generators/compute/vapp'
|
6
|
+
|
7
|
+
# Modify the name or description of a vApp.
|
8
|
+
#
|
9
|
+
# This operation is asynchronous and returns a task that you can monitor
|
10
|
+
# to track the progress of the request.
|
11
|
+
#
|
12
|
+
#
|
13
|
+
# @param [String] id Object identifier of the vApp.
|
14
|
+
# @param [String] name of the vApp.
|
15
|
+
# @param [Hash] options
|
16
|
+
# * :Description<~String>: - description to be assigned (optional)
|
17
|
+
# @return [Excon::Response]
|
18
|
+
# * body<~Hash>:
|
19
|
+
#
|
20
|
+
# @see http://pubs.vmware.com/vcd-55/topic/com.vmware.vcloud.api.reference.doc_55/doc/operations/PUT-VAppNameAndDescription.html
|
21
|
+
# @since vCloud API version 0.9
|
22
|
+
def put_vapp_name_and_description(id, name, options={})
|
23
|
+
body = Fog::Generators::Compute::VcloudDirector::Vapp.new(name, options).generate_xml
|
24
|
+
request(
|
25
|
+
:body => body,
|
26
|
+
:expects => 202,
|
27
|
+
:headers => {'Content-Type' => 'application/vnd.vmware.vcloud.vApp+xml'},
|
28
|
+
:method => 'PUT',
|
29
|
+
:parser => Fog::ToHashDocument.new,
|
30
|
+
:path => "vApp/#{id}"
|
31
|
+
)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Set the value for the specified metadata key to the value provided,
|
6
|
+
# overwriting any existing value.
|
7
|
+
#
|
8
|
+
# @param [String] id Object identifier of the vApp template.
|
9
|
+
# @param [String] key Key of the metadata item.
|
10
|
+
# @param [Boolean,DateTime,Fixnum,String] value Value of the metadata
|
11
|
+
# item.
|
12
|
+
# @return [Excon::Response]
|
13
|
+
# * body<~Hash>:
|
14
|
+
#
|
15
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/PUT-VAppTemplateMetadataItem-metadata.html
|
16
|
+
# @since vCloud API version 1.5
|
17
|
+
def put_vapp_template_metadata_item_metadata(id, key, value)
|
18
|
+
body = Nokogiri::XML::Builder.new do
|
19
|
+
attrs = {
|
20
|
+
:xmlns => 'http://www.vmware.com/vcloud/v1.5',
|
21
|
+
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance'
|
22
|
+
}
|
23
|
+
MetadataValue(attrs) {
|
24
|
+
if api_version.to_f < 5.1
|
25
|
+
Value value
|
26
|
+
else
|
27
|
+
type = case value
|
28
|
+
when TrueClass, FalseClass then 'MetadataBooleanValue';
|
29
|
+
when DateTime then 'MetadataDateTimeValue';
|
30
|
+
when Fixnum then 'MetadataNumberValue';
|
31
|
+
else 'MetadataStringValue'
|
32
|
+
end
|
33
|
+
TypedValue('xsi:type' => type) { Value value }
|
34
|
+
end
|
35
|
+
}
|
36
|
+
end.to_xml
|
37
|
+
|
38
|
+
request(
|
39
|
+
:body => body,
|
40
|
+
:expects => 202,
|
41
|
+
:headers => {'Content-Type' => 'application/vnd.vmware.vcloud.metadata.value+xml'},
|
42
|
+
:method => 'PUT',
|
43
|
+
:parser => Fog::ToHashDocument.new,
|
44
|
+
:path => "vappTemplate/#{id}/metadata/#{URI.escape(key)}"
|
45
|
+
)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
require 'fog/vcloud_director/generators/compute/vm'
|
6
|
+
|
7
|
+
# Update the name, description and storage profile for VM.
|
8
|
+
#
|
9
|
+
# This operation is asynchronous and returns a task that you can
|
10
|
+
# monitor to track the progress of the request.
|
11
|
+
#
|
12
|
+
# @param [String] id Object identifier of the VM.
|
13
|
+
# @param [String] name of the VM.
|
14
|
+
# @param [Hash] options
|
15
|
+
# * :Description<~String>: - description to be assigned.
|
16
|
+
# * :StorageProfile<~Hash>: - storage profile to be assigned.
|
17
|
+
# * :name<~String>
|
18
|
+
# * :href<~String>
|
19
|
+
# @return [Excon::Response]
|
20
|
+
# * body<~Hash>:
|
21
|
+
#
|
22
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/PUT-Vm.html
|
23
|
+
# @since vCloud API version 0.9
|
24
|
+
def put_vm(id, name, options)
|
25
|
+
body = Fog::Generators::Compute::VcloudDirector::Vm.new(options.merge(:name => name)).generate_xml
|
26
|
+
request(
|
27
|
+
:body => body,
|
28
|
+
:expects => 202,
|
29
|
+
:headers => {'Content-Type' => 'application/vnd.vmware.vcloud.vm+xml'},
|
30
|
+
:method => 'PUT',
|
31
|
+
:parser => Fog::ToHashDocument.new,
|
32
|
+
:path => "vApp/#{id}"
|
33
|
+
)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
class Mock
|
38
|
+
|
39
|
+
def put_vm(id, name, options)
|
40
|
+
unless vm = data[:vms][id]
|
41
|
+
raise Fog::Compute::VcloudDirector::Forbidden.new(
|
42
|
+
'This operation is denied.'
|
43
|
+
)
|
44
|
+
end
|
45
|
+
|
46
|
+
owner = {
|
47
|
+
:href => make_href("vApp/#{id}"),
|
48
|
+
:type => 'application/vnd.vmware.vcloud.vm+xml'
|
49
|
+
}
|
50
|
+
task_id = enqueue_task(
|
51
|
+
"Updating Virtual Machine #{data[:vms][id][:name]}(#{id})", 'vappUpdateVm', owner,
|
52
|
+
:on_success => lambda do
|
53
|
+
data[:vms][id][:name] = name
|
54
|
+
end
|
55
|
+
)
|
56
|
+
body = {
|
57
|
+
:xmlns => xmlns,
|
58
|
+
:xmlns_xsi => xmlns_xsi,
|
59
|
+
:xsi_schemaLocation => xsi_schema_location,
|
60
|
+
}.merge(task_body(task_id))
|
61
|
+
|
62
|
+
Excon::Response.new(
|
63
|
+
:status => 202,
|
64
|
+
:headers => {'Content-Type' => "#{body[:type]};version=#{api_version}"},
|
65
|
+
:body => body
|
66
|
+
)
|
67
|
+
end
|
68
|
+
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Update VM's capabilities.
|
6
|
+
#
|
7
|
+
# @param [String] id Object identifier of the VM.
|
8
|
+
# @param [Hash] options
|
9
|
+
# @option options [Boolean] :MemoryHotAddEnabled True if the virtual
|
10
|
+
# machine supports addition of memory while powered on.
|
11
|
+
# @option options [Boolean] :CpuHotAddEnabled True if the virtual
|
12
|
+
# machine supports addition of virtual CPUs while powered on.
|
13
|
+
# @return [Excon::Response]
|
14
|
+
# * body<~Hash>:
|
15
|
+
#
|
16
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/PUT-VmCapabilities.html
|
17
|
+
def put_vm_capabilities(id, options={})
|
18
|
+
body = Nokogiri::XML::Builder.new do
|
19
|
+
attrs = {
|
20
|
+
:xmlns => 'http://www.vmware.com/vcloud/v1.5'
|
21
|
+
}
|
22
|
+
VmCapabilities(attrs) {
|
23
|
+
if options.key?(:MemoryHotAddEnabled)
|
24
|
+
MemoryHotAddEnabled options[:MemoryHotAddEnabled]
|
25
|
+
end
|
26
|
+
if options.key?(:CpuHotAddEnabled)
|
27
|
+
MemoryHotAddEnabled options[:CpuHotAddEnabled]
|
28
|
+
end
|
29
|
+
}
|
30
|
+
end.to_xml
|
31
|
+
|
32
|
+
request(
|
33
|
+
:body => body,
|
34
|
+
:expects => 202,
|
35
|
+
:headers => {'Content-Type' => 'application/vnd.vmware.vcloud.vmCapabilitiesSection+xml'},
|
36
|
+
:method => 'PUT',
|
37
|
+
:parser => Fog::ToHashDocument.new,
|
38
|
+
:path => "vApp/#{id}/vmCapabilities"
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'fog/vcloud_director/compute'
|
data/lib/fog/version.rb
ADDED
data/lib/fog.rb
CHANGED
@@ -1,18 +1,63 @@
|
|
1
|
-
|
1
|
+
# necessary when requiring fog without rubygems while also
|
2
|
+
# maintaining ruby 1.8.7 support (can't use require_relative)
|
3
|
+
__LIB_DIR__ = File.expand_path(File.dirname(__FILE__))
|
4
|
+
$LOAD_PATH.unshift __LIB_DIR__ unless $LOAD_PATH.include?(__LIB_DIR__)
|
2
5
|
|
3
|
-
|
6
|
+
require 'fog/version'
|
4
7
|
|
5
|
-
|
6
|
-
|
7
|
-
end
|
8
|
+
# Use core
|
9
|
+
require 'fog/core'
|
8
10
|
|
9
|
-
|
11
|
+
# Previously treated as "core"
|
12
|
+
# data exchange specific (to be extracted and used on a per provider basis)
|
13
|
+
require 'fog/xml'
|
14
|
+
require 'fog/json'
|
10
15
|
|
11
|
-
#
|
12
|
-
require 'fog/
|
13
|
-
require 'fog/
|
16
|
+
# deprecation wrappers (XML wrapped version)
|
17
|
+
require 'fog/core/deprecated/connection'
|
18
|
+
require 'fog/core/deprecated_connection_accessors'
|
14
19
|
|
15
|
-
|
16
|
-
|
17
|
-
require 'fog/
|
18
|
-
require 'fog/
|
20
|
+
# any one of these can be required separately.
|
21
|
+
# they all depend on fog/core for shared functionality.
|
22
|
+
require 'fog/atmos'
|
23
|
+
require 'fog/aws'
|
24
|
+
require 'fog/brightbox'
|
25
|
+
require 'fog/clodo'
|
26
|
+
require 'fog/cloudstack'
|
27
|
+
require 'fog/digitalocean'
|
28
|
+
require 'fog/dnsimple'
|
29
|
+
require 'fog/dnsmadeeasy'
|
30
|
+
require 'fog/fogdocker'
|
31
|
+
require 'fog/dreamhost'
|
32
|
+
require 'fog/dynect'
|
33
|
+
require 'fog/ecloud'
|
34
|
+
require 'fog/glesys'
|
35
|
+
require 'fog/go_grid'
|
36
|
+
require 'fog/google'
|
37
|
+
require 'fog/ibm'
|
38
|
+
require 'fog/internet_archive'
|
39
|
+
require 'fog/linode'
|
40
|
+
require 'fog/local'
|
41
|
+
require 'fog/bare_metal_cloud'
|
42
|
+
require 'fog/rackspace'
|
43
|
+
require 'fog/rage4'
|
44
|
+
require 'fog/riakcs'
|
45
|
+
require 'fog/openstack'
|
46
|
+
require 'fog/ovirt'
|
47
|
+
require 'fog/powerdns'
|
48
|
+
require 'fog/profitbricks'
|
49
|
+
require 'fog/sakuracloud'
|
50
|
+
require 'fog/serverlove'
|
51
|
+
require 'fog/softlayer'
|
52
|
+
require 'fog/storm_on_demand'
|
53
|
+
require 'fog/terremark'
|
54
|
+
require 'fog/vcloud'
|
55
|
+
require 'fog/vcloud_director'
|
56
|
+
require 'fog/vmfusion'
|
57
|
+
require 'fog/vsphere'
|
58
|
+
require 'fog/voxel'
|
59
|
+
require 'fog/xenserver'
|
60
|
+
require 'fog/cloudsigma'
|
61
|
+
require 'fog/openvz'
|
62
|
+
require 'fog/opennebula'
|
63
|
+
require 'fog/aliyun'
|
@@ -0,0 +1,232 @@
|
|
1
|
+
require "rake"
|
2
|
+
require "rake/tasklib"
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Rake
|
6
|
+
class ChangelogTask < ::Rake::TaskLib
|
7
|
+
def initialize
|
8
|
+
desc "Update the changelog since the last release"
|
9
|
+
task(:changelog) do
|
10
|
+
|
11
|
+
@changelog = []
|
12
|
+
@changelog << release_header
|
13
|
+
|
14
|
+
process_commits
|
15
|
+
|
16
|
+
@changelog << "**MVP!** #{mvp}" if mvp
|
17
|
+
@changelog << blank_line
|
18
|
+
|
19
|
+
add_commits_to_changelog
|
20
|
+
save_changelog
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def release_header
|
27
|
+
<<-HEREDOC
|
28
|
+
## #{Fog::VERSION} #{timestamp}
|
29
|
+
*Hash* #{sha}
|
30
|
+
|
31
|
+
Statistic | Value
|
32
|
+
------------- | --------:
|
33
|
+
Collaborators | #{collaborators}
|
34
|
+
Forks | #{forks}
|
35
|
+
Open Issues | #{open_issues}
|
36
|
+
Watchers | #{watchers}
|
37
|
+
HEREDOC
|
38
|
+
end
|
39
|
+
|
40
|
+
def save_changelog
|
41
|
+
old_changelog = File.read('CHANGELOG.md')
|
42
|
+
File.open('CHANGELOG.md', 'w') do |file|
|
43
|
+
file.write(@changelog.join("\n"))
|
44
|
+
file.write("\n\n")
|
45
|
+
file.write(old_changelog)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def blank_line
|
50
|
+
''
|
51
|
+
end
|
52
|
+
|
53
|
+
def add_commits_to_changelog
|
54
|
+
@changes.keys.sort.each do |tag|
|
55
|
+
@changelog << "#### [#{tag}]"
|
56
|
+
@changes[tag].each do |commit|
|
57
|
+
@changelog << "* #{commit}"
|
58
|
+
end
|
59
|
+
@changelog << blank_line
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
def process_commits
|
64
|
+
shortlog = `git shortlog #{last_release_sha}..HEAD`
|
65
|
+
@changes = {}
|
66
|
+
@committers = {}
|
67
|
+
@committer = nil
|
68
|
+
shortlog.split("\n").each do |line|
|
69
|
+
@current_line = line
|
70
|
+
if committer_line?
|
71
|
+
@committer = committer_match[1]
|
72
|
+
add_committer
|
73
|
+
elsif !release_merge_line?
|
74
|
+
add_period_if_necessary
|
75
|
+
@current_line.lstrip!
|
76
|
+
add_commit_line
|
77
|
+
increment_commits
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def add_commit_line
|
83
|
+
@current_line.gsub!(/^\[([^\]]*)\] /, '')
|
84
|
+
tag = $1 || 'misc'
|
85
|
+
@changes[tag] ||= []
|
86
|
+
@changes[tag] << "#{@current_line} thanks #{@committer}"
|
87
|
+
end
|
88
|
+
|
89
|
+
def increment_commits
|
90
|
+
@committers[@committer] += 1
|
91
|
+
end
|
92
|
+
|
93
|
+
def add_committer
|
94
|
+
@committers[@committer] = 0
|
95
|
+
end
|
96
|
+
|
97
|
+
def committers_sorted_by_commits
|
98
|
+
committer_pairs = @committers.to_a.sort {|x,y| y[1] <=> x[1]}
|
99
|
+
committer_pairs.reject! {|pair| pair.last < 1 }
|
100
|
+
committer_pairs.map {|pair| pair.first }
|
101
|
+
end
|
102
|
+
|
103
|
+
def former_mvp?(committer)
|
104
|
+
[
|
105
|
+
'Aaron Suggs',
|
106
|
+
'Akira Matsuda',
|
107
|
+
'ller', #"Achim Ledermüller" UTF-8 fail?
|
108
|
+
'Ash Wilson',
|
109
|
+
'Benson Kalahar',
|
110
|
+
'Brian Hartsock',
|
111
|
+
'bryanl',
|
112
|
+
'Cherdancev Evgeni',
|
113
|
+
'Chris Luo',
|
114
|
+
'Chris Roberts',
|
115
|
+
'Christopher Oliver',
|
116
|
+
'Colin Hebert',
|
117
|
+
'Conor Tinch',
|
118
|
+
'Daniel Aragao',
|
119
|
+
'Daniel Reichert',
|
120
|
+
'Darren Hague',
|
121
|
+
'Decklin Foster',
|
122
|
+
'Dylan Egan',
|
123
|
+
'effeminate-batman',
|
124
|
+
'Erik Michaels-Ober',
|
125
|
+
'Frederick Cheung',
|
126
|
+
'geemus',
|
127
|
+
'Henry Addison',
|
128
|
+
'James Bence',
|
129
|
+
'Josef Stribny',
|
130
|
+
'Kevin Menard',
|
131
|
+
'Kevin Olbrich',
|
132
|
+
'Kyle Rames',
|
133
|
+
'Ladislav Smola',
|
134
|
+
'Lincoln Stoll',
|
135
|
+
'Luqman Amjad',
|
136
|
+
'Michael Hale',
|
137
|
+
'Michael Zeng',
|
138
|
+
'Mike Hagedorn',
|
139
|
+
'Mike Pountney',
|
140
|
+
'Nat Welch',
|
141
|
+
'Nick Osborn',
|
142
|
+
'nightshade427',
|
143
|
+
'Oleg Vivtash',
|
144
|
+
'Olle Jonsson',
|
145
|
+
'Patrick Debois',
|
146
|
+
'Paul Thornthwaite',
|
147
|
+
'Paulo Henrique Lopes Ribeiro',
|
148
|
+
'Peter Souter',
|
149
|
+
'Phil Ross',
|
150
|
+
'Rich Daley',
|
151
|
+
'Rodrigo Estebanez',
|
152
|
+
'Rupak Ganguly',
|
153
|
+
'Stepan G. Fedorov',
|
154
|
+
'swamp09',
|
155
|
+
'TerryHowe',
|
156
|
+
'Tinguely Pierre',
|
157
|
+
'Wesley Beary'
|
158
|
+
].include?(committer)
|
159
|
+
end
|
160
|
+
|
161
|
+
def mvp
|
162
|
+
return @mvp if @mvp
|
163
|
+
committers_sorted_by_commits.each do |committer|
|
164
|
+
unless former_mvp?(committer)
|
165
|
+
@mvp = committer
|
166
|
+
return @mvp
|
167
|
+
end
|
168
|
+
end
|
169
|
+
nil
|
170
|
+
end
|
171
|
+
|
172
|
+
def add_period_if_necessary
|
173
|
+
@current_line << "." unless @current_line[-1] == '.'
|
174
|
+
end
|
175
|
+
|
176
|
+
def release_merge_line?
|
177
|
+
@current_line =~ /^\s*((Merge.*)|(Release.*))?$/
|
178
|
+
end
|
179
|
+
|
180
|
+
def committer_line?
|
181
|
+
committer_match != nil
|
182
|
+
end
|
183
|
+
|
184
|
+
def committer_match
|
185
|
+
@current_line.match (/([-\w\s]+)\s+\(\d+\)/)
|
186
|
+
end
|
187
|
+
|
188
|
+
def last_release_sha
|
189
|
+
`cat CHANGELOG.md | head -2`.split(' ').last
|
190
|
+
end
|
191
|
+
|
192
|
+
def downloads
|
193
|
+
response = Excon.get('https://rubygems.org/api/v1/downloads/fog.json')
|
194
|
+
data = Fog::JSON.decode(response.body)
|
195
|
+
data['total_downloads']
|
196
|
+
end
|
197
|
+
|
198
|
+
def collaborators
|
199
|
+
response = Excon.get('https://api.github.com/repos/fog/fog/collaborators', :headers => {'User-Agent' => 'geemus'})
|
200
|
+
data = Fog::JSON.decode(response.body)
|
201
|
+
data.length
|
202
|
+
end
|
203
|
+
|
204
|
+
def forks
|
205
|
+
repo_metadata['forks']
|
206
|
+
end
|
207
|
+
|
208
|
+
def open_issues
|
209
|
+
repo_metadata['open_issues']
|
210
|
+
end
|
211
|
+
|
212
|
+
def watchers
|
213
|
+
repo_metadata['watchers']
|
214
|
+
end
|
215
|
+
|
216
|
+
def repo_metadata
|
217
|
+
return @repo_metadata if @repo_metadata
|
218
|
+
response = Excon.get('https://api.github.com/repos/fog/fog', :headers => {'User-Agent' => 'geemus'})
|
219
|
+
data = Fog::JSON.decode(response.body)
|
220
|
+
@repo_metadata = data.select {|key, value| ['forks', 'open_issues', 'watchers'].include?(key)}
|
221
|
+
end
|
222
|
+
|
223
|
+
def sha
|
224
|
+
`git log | head -1`.split(' ').last
|
225
|
+
end
|
226
|
+
|
227
|
+
def timestamp
|
228
|
+
@time ||= Time.now.utc.strftime('%m/%d/%Y')
|
229
|
+
end
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require "rake"
|
2
|
+
require "rake/tasklib"
|
3
|
+
require 'octokit'
|
4
|
+
require 'netrc'
|
5
|
+
|
6
|
+
module Fog
|
7
|
+
module Rake
|
8
|
+
class GithubReleaseTask < ::Rake::TaskLib
|
9
|
+
def initialize
|
10
|
+
desc "Update the changelog since the last release"
|
11
|
+
task(:github_release) do
|
12
|
+
|
13
|
+
File.open('CHANGELOG.md', 'r') do |file|
|
14
|
+
file.each_line do |line|
|
15
|
+
@current_line = line
|
16
|
+
if release_header?
|
17
|
+
create_release if !release_exists? && @release
|
18
|
+
@release_tag = release_match[1]
|
19
|
+
@release = line
|
20
|
+
else
|
21
|
+
@release << line
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
|
30
|
+
def create_release
|
31
|
+
github.create_release "fog/fog", "v#{@release_tag}", {:name => "v#{@release_tag}", :body => @release}
|
32
|
+
puts "creating release #{@release_tag}"
|
33
|
+
end
|
34
|
+
|
35
|
+
def releases
|
36
|
+
return @releases if @releases
|
37
|
+
response = github.releases("fog/fog")
|
38
|
+
@releases = response.map {|r| r.tag_name }
|
39
|
+
end
|
40
|
+
|
41
|
+
def release_exists?
|
42
|
+
releases.find {|r| r == "v#{@release_tag}" } != nil
|
43
|
+
end
|
44
|
+
|
45
|
+
def release_header?
|
46
|
+
release_match != nil
|
47
|
+
end
|
48
|
+
|
49
|
+
def release_match
|
50
|
+
@current_line.match (/## (\d+\.\d+\.\d+) \d+\/\d+\d+/)
|
51
|
+
end
|
52
|
+
|
53
|
+
def github
|
54
|
+
unless @github
|
55
|
+
Octokit.auto_paginate = true
|
56
|
+
@github = Octokit::Client.new :netrc => true
|
57
|
+
unless @github.login
|
58
|
+
@github = nil
|
59
|
+
raise "Please create a ~/.netrc file to authenticate with github. For more information please see https://github.com/octokit/octokit.rb/blob/master/README.md#using-a-netrc-file"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
@github
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe Fog::Account do
|
4
|
+
Fog::Account.providers.each do |provider|
|
5
|
+
describe "when #{provider} is passed with no available credentials" do
|
6
|
+
it "returns ArgumentError" do
|
7
|
+
# Stub credentials so you still see errors where the tester really has credentials
|
8
|
+
Fog.stub :credentials, {} do
|
9
|
+
assert_raises(ArgumentError) { Fog::Account[provider] }
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|