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
@@ -1,58 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe "Fog::Ecloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:get_nodes) }
|
8
|
-
|
9
|
-
describe "#get_nodes" do
|
10
|
-
context "with a valid nodes_uri" do
|
11
|
-
before { @nodes = @vcloud.get_nodes(@mock_node_collection.href) }
|
12
|
-
subject { @nodes }
|
13
|
-
|
14
|
-
it_should_behave_like "all responses"
|
15
|
-
it { should have_headers_denoting_a_content_type_of("application/vnd.tmrk.ecloud.nodeService+xml") }
|
16
|
-
|
17
|
-
describe "#body" do
|
18
|
-
subject { @nodes.body }
|
19
|
-
|
20
|
-
it { should have(3).items }
|
21
|
-
|
22
|
-
describe "[:NodeService]" do
|
23
|
-
subject { @nodes.body[:NodeService] }
|
24
|
-
|
25
|
-
it { should have(@mock_node_collection.items.length).nodes }
|
26
|
-
|
27
|
-
[0,1].each do |idx|
|
28
|
-
|
29
|
-
context "[#{idx}]" do
|
30
|
-
subject { @nodes.body[:NodeService][idx] }
|
31
|
-
let(:mock_node) { @mock_node_collection.items[idx] }
|
32
|
-
let(:keys) { subject.keys.sort_by(&:to_s) }
|
33
|
-
specify { keys.should == [:Description, :Enabled, :Href, :Id, :IpAddress, :Name, :Port] }
|
34
|
-
its(:Href) { should == mock_node.href }
|
35
|
-
its(:Id) { should == mock_node.object_id.to_s }
|
36
|
-
its(:Name) { should == mock_node.name }
|
37
|
-
its(:Enabled) { should == mock_node.enabled.to_s }
|
38
|
-
its(:Port) { should == mock_node.port.to_s }
|
39
|
-
its(:IpAddress) { should == mock_node.ip_address }
|
40
|
-
its(:Description) { should == mock_node.description }
|
41
|
-
end
|
42
|
-
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
context "with a public_ips_uri that doesn't exist" do
|
51
|
-
subject { lambda { @vcloud.get_nodes(URI.parse('https://www.fakey.c/piv8vc99')) } }
|
52
|
-
|
53
|
-
it_should_behave_like "a request for a resource that doesn't exist"
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
else
|
58
|
-
end
|
@@ -1,52 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe Fog::Ecloud, :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:get_organization) }
|
8
|
-
|
9
|
-
describe "#get_organization" do
|
10
|
-
context "with a valid organization uri" do
|
11
|
-
before { @organization = @vcloud.get_organization(@vcloud.default_organization_uri) }
|
12
|
-
subject { @organization }
|
13
|
-
|
14
|
-
it_should_behave_like "all responses"
|
15
|
-
it { should have_headers_denoting_a_content_type_of("application/vnd.vmware.vcloud.org+xml") }
|
16
|
-
|
17
|
-
describe "#body" do
|
18
|
-
subject { @organization.body }
|
19
|
-
|
20
|
-
|
21
|
-
let(:links) { subject[:Link] }
|
22
|
-
|
23
|
-
it { should have(6).keys }
|
24
|
-
|
25
|
-
it_should_behave_like "it has the standard vcloud v0.8 xmlns attributes" # 3 keys
|
26
|
-
it { should have_key_with_value(:href, @mock_organization.href)}
|
27
|
-
it { should have_key_with_value(:name, @mock_organization.name) }
|
28
|
-
it { should have_key_with_array(:Link, @mock_organization.vdcs.map { |vdc|
|
29
|
-
[{ :type => "application/vnd.vmware.vcloud.vdc+xml",
|
30
|
-
:href => vdc.href,
|
31
|
-
:name => vdc.name,
|
32
|
-
:rel => "down" },
|
33
|
-
{ :type => "application/vnd.vmware.vcloud.catalog+xml",
|
34
|
-
:href => vdc.catalog.href,
|
35
|
-
:name => vdc.catalog.name,
|
36
|
-
:rel => "down" },
|
37
|
-
{ :type => "application/vnd.vmware.vcloud.tasksList+xml",
|
38
|
-
:href => vdc.task_list.href,
|
39
|
-
:name => vdc.task_list.name,
|
40
|
-
:rel => "down" }]
|
41
|
-
}.flatten) }
|
42
|
-
|
43
|
-
end
|
44
|
-
end
|
45
|
-
context "with an organization uri that doesn't exist" do
|
46
|
-
subject { lambda { @vcloud.get_organization(URI.parse('https://www.fakey.com/api/v0.8/org/999')) } }
|
47
|
-
it_should_behave_like("a request for a resource that doesn't exist")
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
@@ -1,38 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe "Fog::Ecloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:get_public_ip) }
|
8
|
-
|
9
|
-
describe "#get_public_ip" do
|
10
|
-
context "with a valid public_ip_uri" do
|
11
|
-
before do
|
12
|
-
@public_ip = @vcloud.get_public_ip(@mock_public_ip.href)
|
13
|
-
end
|
14
|
-
|
15
|
-
subject { @public_ip }
|
16
|
-
|
17
|
-
it_should_behave_like "all responses"
|
18
|
-
it { should have_headers_denoting_a_content_type_of("application/vnd.tmrk.ecloud.publicIp+xml") }
|
19
|
-
|
20
|
-
describe "#body" do
|
21
|
-
subject { @public_ip.body }
|
22
|
-
|
23
|
-
its(:Name) { should == @mock_public_ip.name }
|
24
|
-
its(:Href) { should == @mock_public_ip.href }
|
25
|
-
its(:Id) { should == @mock_public_ip.object_id.to_s }
|
26
|
-
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
context "with a public_ips_uri that doesn't exist" do
|
31
|
-
subject { lambda { @vcloud.get_public_ip(URI.parse('https://www.fakey.c/piv89')) } }
|
32
|
-
|
33
|
-
it_should_behave_like "a request for a resource that doesn't exist"
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
37
|
-
else
|
38
|
-
end
|
@@ -1,52 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe "Fog::Ecloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:get_public_ips) }
|
8
|
-
|
9
|
-
describe "#get_public_ips" do
|
10
|
-
context "with a valid public_ips_uri" do
|
11
|
-
before { @public_ips = @vcloud.get_public_ips(@mock_public_ip_collection.href) }
|
12
|
-
subject { @public_ips }
|
13
|
-
|
14
|
-
it_should_behave_like "all responses"
|
15
|
-
it { should have_headers_denoting_a_content_type_of("application/vnd.tmrk.ecloud.publicIpsList+xml") }
|
16
|
-
|
17
|
-
describe "#body" do
|
18
|
-
subject { @public_ips.body }
|
19
|
-
|
20
|
-
it { should have(1).item }
|
21
|
-
|
22
|
-
describe "[:PublicIPAddress]" do
|
23
|
-
subject { @public_ips.body[:PublicIPAddress] }
|
24
|
-
|
25
|
-
it { should have(@mock_public_ip_collection.items.length).addresses }
|
26
|
-
|
27
|
-
[0,1,2].each do |idx|
|
28
|
-
|
29
|
-
context "[#{idx}]" do
|
30
|
-
subject { @public_ips.body[:PublicIPAddress][idx] }
|
31
|
-
let(:public_ip) { @mock_public_ip_collection.items[idx] }
|
32
|
-
its(:Href) { should == public_ip.href }
|
33
|
-
its(:Id) { should == public_ip.object_id.to_s }
|
34
|
-
its(:Name) { should == public_ip.name }
|
35
|
-
end
|
36
|
-
|
37
|
-
end
|
38
|
-
|
39
|
-
end
|
40
|
-
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
context "with a public_ips_uri that doesn't exist" do
|
45
|
-
subject { lambda { @vcloud.get_public_ips(URI.parse('https://www.fakey.c/piv8vc99')) } }
|
46
|
-
|
47
|
-
it_should_behave_like "a request for a resource that doesn't exist"
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
else
|
52
|
-
end
|
@@ -1,125 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe "Fog::Ecloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:get_vapp) }
|
8
|
-
|
9
|
-
describe "#get_vapp" do
|
10
|
-
context "with a valid vapp_uri" do
|
11
|
-
before { @vapp = @vcloud.get_vapp(@mock_vm.href) }
|
12
|
-
subject { @vapp }
|
13
|
-
let(:vapp_id) { @vapp.body[:href].split("/").last }
|
14
|
-
|
15
|
-
it_should_behave_like "all responses"
|
16
|
-
it { should have_headers_denoting_a_content_type_of("application/vnd.vmware.vcloud.vApp+xml") }
|
17
|
-
|
18
|
-
describe "#body" do
|
19
|
-
subject { @vapp.body }
|
20
|
-
|
21
|
-
specify { subject.keys.sort_by(&:to_s).should == [:Link, :NetworkConnectionSection,
|
22
|
-
:OperatingSystemSection, :VirtualHardwareSection,
|
23
|
-
:href, :name,
|
24
|
-
:size, :status,
|
25
|
-
:type, :xmlns,
|
26
|
-
:xmlns_xsd, :xmlns_xsi] }
|
27
|
-
|
28
|
-
it_should_behave_like("it has the standard vcloud v0.8 xmlns attributes") # 3 keys
|
29
|
-
|
30
|
-
its(:href) { should == @mock_vm.href }
|
31
|
-
its(:name) { should == @mock_vm.name }
|
32
|
-
its(:status) { should == @mock_vm.status.to_s }
|
33
|
-
its(:size) { should == (@mock_vm.disks.inject(0) {|s, d| s += d[:size].to_i } * 1024).to_s }
|
34
|
-
|
35
|
-
describe "Link" do
|
36
|
-
subject { @vapp.body[:Link] }
|
37
|
-
|
38
|
-
its(:rel) { should == "up" }
|
39
|
-
its(:type) { should == "application/vnd.vmware.vcloud.vdc+xml" }
|
40
|
-
its(:href) { should == @mock_vdc.href }
|
41
|
-
end
|
42
|
-
|
43
|
-
describe "NetworkConnectionSection" do
|
44
|
-
subject { @vapp.body[:NetworkConnectionSection] }
|
45
|
-
|
46
|
-
it { should include(:NetworkConnection) }
|
47
|
-
|
48
|
-
describe "NetworkConnection" do
|
49
|
-
subject { @vapp.body[:NetworkConnectionSection][:NetworkConnection] }
|
50
|
-
|
51
|
-
its(:IpAddress) { should == @mock_vm.ip }
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe "OperatingSystemSection" do
|
56
|
-
subject { @vapp.body[:OperatingSystemSection] }
|
57
|
-
|
58
|
-
its(:Info) { should == "The kind of installed guest operating system" }
|
59
|
-
its(:Description) { should == "Red Hat Enterprise Linux 5 (64-bit)" }
|
60
|
-
end
|
61
|
-
|
62
|
-
describe "VirtualHardwareSection" do
|
63
|
-
subject { @vapp.body[:VirtualHardwareSection] }
|
64
|
-
|
65
|
-
specify { subject.keys.sort_by(&:to_s).should == [:Info, :Item, :System, :xmlns] }
|
66
|
-
|
67
|
-
describe "Item" do
|
68
|
-
subject { @vapp.body[:VirtualHardwareSection][:Item] }
|
69
|
-
|
70
|
-
it { should have(5).items }
|
71
|
-
|
72
|
-
specify { subject.map {|i| i[:ResourceType] }.uniq.sort.should == %w(3 4 6 17).sort }
|
73
|
-
|
74
|
-
describe "CPU" do
|
75
|
-
subject { @vapp.body[:VirtualHardwareSection][:Item].detect {|i| i[:ResourceType] == "3" } }
|
76
|
-
|
77
|
-
its(:VirtualQuantity) { should == @mock_vm.cpus.to_s }
|
78
|
-
end
|
79
|
-
|
80
|
-
describe "memory" do
|
81
|
-
subject { @vapp.body[:VirtualHardwareSection][:Item].detect {|i| i[:ResourceType] == "4" } }
|
82
|
-
|
83
|
-
its(:VirtualQuantity) { should == @mock_vm.memory.to_s }
|
84
|
-
end
|
85
|
-
|
86
|
-
describe "SCSI controller" do
|
87
|
-
subject { @vapp.body[:VirtualHardwareSection][:Item].detect {|i| i[:ResourceType] == "6" } }
|
88
|
-
|
89
|
-
its(:Address) { should == "0" }
|
90
|
-
end
|
91
|
-
|
92
|
-
describe "Hard Disks" do
|
93
|
-
subject { @vapp.body[:VirtualHardwareSection][:Item].find_all {|i| i[:ResourceType] == "17" } }
|
94
|
-
|
95
|
-
it { should have(2).disks }
|
96
|
-
|
97
|
-
describe "#1" do
|
98
|
-
subject { @vapp.body[:VirtualHardwareSection][:Item].find_all {|i| i[:ResourceType] == "17" }[0] }
|
99
|
-
|
100
|
-
its(:AddressOnParent) { should == "0" }
|
101
|
-
its(:VirtualQuantity) { should == (1024 * @mock_vm.disks[0][:size].to_i).to_s }
|
102
|
-
its(:HostResource) { should == (1024 * @mock_vm.disks[0][:size].to_i).to_s }
|
103
|
-
end
|
104
|
-
|
105
|
-
describe "#2" do
|
106
|
-
subject { @vapp.body[:VirtualHardwareSection][:Item].find_all {|i| i[:ResourceType] == "17" }[1] }
|
107
|
-
|
108
|
-
its(:AddressOnParent) { should == "1" }
|
109
|
-
its(:VirtualQuantity) { should == (1024 * @mock_vm.disks[1][:size].to_i).to_s }
|
110
|
-
its(:HostResource) { should == (1024 * @mock_vm.disks[1][:size].to_i).to_s }
|
111
|
-
end
|
112
|
-
end
|
113
|
-
end
|
114
|
-
end
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
|
-
context "with a vapp uri that doesn't exist" do
|
119
|
-
subject { lambda { @vcloud.get_vapp(URI.parse('https://www.fakey.com/api/v0.8/vApp/99999')) } }
|
120
|
-
|
121
|
-
it_should_behave_like("a request for a resource that doesn't exist")
|
122
|
-
end
|
123
|
-
end
|
124
|
-
end
|
125
|
-
end
|
@@ -1,112 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe "Fog::Ecloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:get_vdc) }
|
8
|
-
|
9
|
-
describe "#get_vdc" do
|
10
|
-
context "with a valid vdc uri" do
|
11
|
-
before { @vdc = @vcloud.get_vdc(URI.parse(@mock_vdc.href)) }
|
12
|
-
subject { @vdc }
|
13
|
-
|
14
|
-
it_should_behave_like "all responses"
|
15
|
-
it { should have_headers_denoting_a_content_type_of("application/vnd.vmware.vcloud.vdc+xml") }
|
16
|
-
|
17
|
-
describe "#body" do
|
18
|
-
subject { @vdc.body }
|
19
|
-
|
20
|
-
it { should have(11).items }
|
21
|
-
|
22
|
-
it_should_behave_like("it has the standard vcloud v0.8 xmlns attributes") # 3 keys
|
23
|
-
|
24
|
-
its(:href) { should == @mock_vdc.href }
|
25
|
-
its(:name) { should == @mock_vdc.name }
|
26
|
-
|
27
|
-
its(:Description) { should == "" }
|
28
|
-
its(:StorageCapacity) { should == {:Units => "bytes * 10^9", :Allocated => @mock_vdc.storage_allocated.to_s, :Used => @mock_vdc.storage_used.to_s } }
|
29
|
-
its(:ComputeCapacity) { should == {:InstantiatedVmsQuota => { :Limit => "-1", :Used => "-1" },
|
30
|
-
:Memory => { :Units => "bytes * 2^20", :Allocated => @mock_vdc.memory_allocated.to_s },
|
31
|
-
:Cpu => { :Units => "hz * 10^6", :Allocated => @mock_vdc.cpu_allocated.to_s },
|
32
|
-
:DeployedVmsQuota => { :Limit => "-1", :Used => "-1" } } }
|
33
|
-
|
34
|
-
its(:Link) { should have(4).links }
|
35
|
-
|
36
|
-
describe "link 0" do
|
37
|
-
subject { @vdc.body[:Link][0] }
|
38
|
-
it { should have(4).attributes }
|
39
|
-
its(:type) { should == "application/vnd.vmware.vcloud.catalog+xml" }
|
40
|
-
its(:rel) { should == "down" }
|
41
|
-
its(:href) { should == @mock_vdc.catalog.href }
|
42
|
-
its(:name) { should == @mock_vdc.catalog.name }
|
43
|
-
end
|
44
|
-
describe "link 1" do
|
45
|
-
subject { @vdc.body[:Link][1] }
|
46
|
-
it { should have(4).attributes }
|
47
|
-
its(:type) { should == "application/vnd.tmrk.ecloud.publicIpsList+xml" }
|
48
|
-
its(:rel) { should == "down" }
|
49
|
-
its(:href) { should == @mock_vdc.public_ip_collection.href }
|
50
|
-
its(:name) { should == @mock_vdc.public_ip_collection.name }
|
51
|
-
end
|
52
|
-
describe "link 2" do
|
53
|
-
subject { @vdc.body[:Link][2] }
|
54
|
-
it { should have(4).attributes }
|
55
|
-
its(:type) { should == "application/vnd.tmrk.ecloud.internetServicesList+xml" }
|
56
|
-
its(:rel) { should == "down" }
|
57
|
-
its(:href) { should == @mock_vdc.internet_service_collection.href }
|
58
|
-
its(:name) { should == @mock_vdc.internet_service_collection.name }
|
59
|
-
end
|
60
|
-
describe "link 3" do
|
61
|
-
subject { @vdc.body[:Link][3] }
|
62
|
-
it { should have(4).attributes }
|
63
|
-
its(:type) { should == "application/vnd.tmrk.ecloud.firewallAclsList+xml" }
|
64
|
-
its(:rel) { should == "down" }
|
65
|
-
its(:href) { should == @mock_vdc.firewall_acls.href }
|
66
|
-
its(:name) { should == @mock_vdc.firewall_acls.name }
|
67
|
-
end
|
68
|
-
|
69
|
-
let(:resource_entities) { subject[:ResourceEntities][:ResourceEntity] }
|
70
|
-
specify { resource_entities.should have(@mock_vdc.virtual_machines.length).vapps }
|
71
|
-
|
72
|
-
describe "[:ResourceEntities][:ResourceEntity]" do
|
73
|
-
context "[0]" do
|
74
|
-
subject { @vdc.body[:ResourceEntities][:ResourceEntity][0] }
|
75
|
-
it { should be_a_vapp_link_to(@mock_vdc.virtual_machines[0]) }
|
76
|
-
end
|
77
|
-
context "[1]" do
|
78
|
-
subject { @vdc.body[:ResourceEntities][:ResourceEntity][1] }
|
79
|
-
it { should be_a_vapp_link_to(@mock_vdc.virtual_machines[1]) }
|
80
|
-
end
|
81
|
-
context "[2]" do
|
82
|
-
subject { @vdc.body[:ResourceEntities][:ResourceEntity][2] }
|
83
|
-
it { should be_a_vapp_link_to(@mock_vdc.virtual_machines[2]) }
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
its(:name) { should == @mock_vdc[:name] }
|
88
|
-
|
89
|
-
let(:available_networks) { subject[:AvailableNetworks][:Network] }
|
90
|
-
specify { available_networks.should have(2).networks }
|
91
|
-
|
92
|
-
describe "[:AvailableNetworks][:Network]" do
|
93
|
-
context "[0]" do
|
94
|
-
subject { @vdc.body[:AvailableNetworks][:Network][0] }
|
95
|
-
it { should be_a_network_link_to(@mock_vdc.networks[0]) }
|
96
|
-
end
|
97
|
-
context "[1]" do
|
98
|
-
subject { @vdc.body[:AvailableNetworks][:Network][1] }
|
99
|
-
it { should be_a_network_link_to(@mock_vdc.networks[1]) }
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
context "with a vdc uri that doesn't exist" do
|
106
|
-
subject { lambda { @vcloud.get_vdc(URI.parse('https://www.fakey.com/api/v0.8/vdc/999')) } }
|
107
|
-
|
108
|
-
it_should_behave_like("a request for a resource that doesn't exist")
|
109
|
-
end
|
110
|
-
end
|
111
|
-
end
|
112
|
-
end
|
@@ -1,57 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
shared_examples_for "real or mock get_versions requests" do
|
4
|
-
if Fog.mocking?
|
5
|
-
|
6
|
-
subject { @vcloud }
|
7
|
-
|
8
|
-
it { should respond_to(:get_versions) }
|
9
|
-
|
10
|
-
describe "#get_versions" do
|
11
|
-
subject { @vcloud.get_versions( @vcloud.versions_uri ) }
|
12
|
-
|
13
|
-
it_should_behave_like "all responses"
|
14
|
-
|
15
|
-
describe "body" do
|
16
|
-
subject { @vcloud.get_versions( @vcloud.versions_uri ).body }
|
17
|
-
|
18
|
-
it { should have(4).keys }
|
19
|
-
it_should_behave_like "it has the standard xmlns attributes" # 2 keys
|
20
|
-
|
21
|
-
its(:xmlns) { should == "http://www.vmware.com/vcloud/versions" }
|
22
|
-
|
23
|
-
its(:VersionInfo) { should be_either_a_hash_or_array }
|
24
|
-
|
25
|
-
describe ":VersionInfo" do
|
26
|
-
subject { arrayify(@vcloud.get_versions( @vcloud.versions_uri ).body[:VersionInfo]) }
|
27
|
-
|
28
|
-
specify {
|
29
|
-
subject.each do |version_info|
|
30
|
-
version_info.should include(:LoginUrl)
|
31
|
-
version_info[:LoginUrl].should be_a_url
|
32
|
-
version_info.should include(:Version)
|
33
|
-
version_info[:Version].should be_an_instance_of(String)
|
34
|
-
end
|
35
|
-
}
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
if Fog.mocking?
|
44
|
-
describe Fog::Ecloud, :type => :mock_tmrk_ecloud_request do
|
45
|
-
|
46
|
-
it_should_behave_like "real or mock get_versions requests"
|
47
|
-
|
48
|
-
describe "body" do
|
49
|
-
subject { @vcloud.get_versions( @vcloud.versions_uri ).body }
|
50
|
-
its(:VersionInfo) { should == { :LoginUrl => @mock_version.login_url , :Version => @mock_version.version } }
|
51
|
-
end
|
52
|
-
end
|
53
|
-
else
|
54
|
-
describe Fog::Ecloud, :type => :mock_tmrk_ecloud_request do
|
55
|
-
it_should_behave_like "real or mock get_versions requests"
|
56
|
-
end
|
57
|
-
end
|
@@ -1,95 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe "Fog::Ecloud, initialized w/ the TMRK Ecloud module", :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:instantiate_vapp_template) }
|
8
|
-
|
9
|
-
describe "#instantiate_vapp_template" do
|
10
|
-
let(:vdc) { @vcloud.vdcs.first }
|
11
|
-
let(:mock_vdc) { @mock_vdc }
|
12
|
-
|
13
|
-
let(:catalog_item) { vdc.catalog.first }
|
14
|
-
let(:mock_catalog_item) { @vcloud.mock_data.catalog_item_from_href(catalog_item.href) }
|
15
|
-
|
16
|
-
let(:new_vapp_data) do
|
17
|
-
{
|
18
|
-
:name => "foobar",
|
19
|
-
:network_uri => @mock_network.href,
|
20
|
-
:row => "test row",
|
21
|
-
:group => "test group",
|
22
|
-
:memory => 1024,
|
23
|
-
:cpus => 2,
|
24
|
-
:vdc_uri => @mock_vdc.href
|
25
|
-
}
|
26
|
-
end
|
27
|
-
|
28
|
-
let(:added_mock_data) { mock_vdc.virtual_machines.last }
|
29
|
-
|
30
|
-
context "with a valid data" do
|
31
|
-
let(:template_instantiation) { @vcloud.instantiate_vapp_template(catalog_item.href, new_vapp_data) }
|
32
|
-
subject { template_instantiation }
|
33
|
-
|
34
|
-
it_should_behave_like "all responses"
|
35
|
-
it { should have_headers_denoting_a_content_type_of("application/xml") }
|
36
|
-
|
37
|
-
it "updates the mock data properly" do
|
38
|
-
expect { subject }.to change { mock_vdc.virtual_machines.size }.by(1)
|
39
|
-
end
|
40
|
-
|
41
|
-
describe "added mock data" do
|
42
|
-
before { template_instantiation }
|
43
|
-
subject { added_mock_data }
|
44
|
-
|
45
|
-
it { should be_an_instance_of(Fog::Ecloud::MockDataClasses::MockVirtualMachine) }
|
46
|
-
|
47
|
-
its(:name) { should == new_vapp_data[:name] }
|
48
|
-
its(:memory) { should == new_vapp_data[:memory] }
|
49
|
-
its(:cpus) { should == new_vapp_data[:cpus] }
|
50
|
-
# WHAT
|
51
|
-
specify { subject._parent.should == mock_vdc }
|
52
|
-
specify { subject.status.should == 2 }
|
53
|
-
specify { subject.disks.should == mock_catalog_item.disks }
|
54
|
-
# its(:_parent) { should == mock_vdc }
|
55
|
-
#its(:status) { should == 2 }
|
56
|
-
#its(:disks) { should == mock_catalog_item.disks }
|
57
|
-
end
|
58
|
-
|
59
|
-
describe "server based on added mock data" do
|
60
|
-
before { template_instantiation }
|
61
|
-
subject { vdc.servers.reload.detect {|s| s.href == added_mock_data.href }.reload }
|
62
|
-
|
63
|
-
its(:name) { should == new_vapp_data[:name] }
|
64
|
-
end
|
65
|
-
|
66
|
-
describe "#body" do
|
67
|
-
subject { template_instantiation.body }
|
68
|
-
|
69
|
-
it { should have(9).items }
|
70
|
-
|
71
|
-
it_should_behave_like("it has the standard vcloud v0.8 xmlns attributes") # 3 keys
|
72
|
-
|
73
|
-
its(:href) { should == added_mock_data.href }
|
74
|
-
its(:type) { should == "application/vnd.vmware.vcloud.vApp+xml" }
|
75
|
-
its(:name) { should == new_vapp_data[:name] }
|
76
|
-
its(:status) { should == "0" }
|
77
|
-
its(:size) { should == "4" }
|
78
|
-
|
79
|
-
it { should include(:Link) }
|
80
|
-
|
81
|
-
describe "Link" do
|
82
|
-
subject { template_instantiation.body[:Link] }
|
83
|
-
|
84
|
-
it { should have(3).keys }
|
85
|
-
|
86
|
-
its(:rel) { should == "up" }
|
87
|
-
its(:type) { should == "application/vnd.vmware.vcloud.vdc+xml" }
|
88
|
-
# WHAT
|
89
|
-
its(:href) { blah = vdc.href; should == blah }
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe Fog::Ecloud, :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:power_off) }
|
8
|
-
|
9
|
-
describe :power_off, :type => :vcloud_request do
|
10
|
-
context "with a valid vapp uri" do
|
11
|
-
before { @mock_vm.power_on!; @power_off = @vcloud.power_off(@mock_vm.href(:power_off)) }
|
12
|
-
subject { @power_off }
|
13
|
-
|
14
|
-
it_should_behave_like "all responses"
|
15
|
-
#it { should have_headers_denoting_a_content_type_of "application/vnd.vmware.vcloud.network+xml" }
|
16
|
-
|
17
|
-
specify { @mock_vm.status.should == 2 }
|
18
|
-
|
19
|
-
describe :body do
|
20
|
-
subject { @power_off.body }
|
21
|
-
|
22
|
-
it_should_behave_like "it has the standard vcloud v0.8 xmlns attributes" # 3 keys
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
context "with a vapp uri that doesn't exist" do
|
27
|
-
subject { lambda { @vcloud.power_off(URI.parse('https://www.fakey.com/api/v0.8/vapp/9999')) } }
|
28
|
-
it_should_behave_like "a request for a resource that doesn't exist"
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
else
|
33
|
-
end
|
34
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
require 'ecloud/spec_helper'
|
2
|
-
|
3
|
-
if Fog.mocking?
|
4
|
-
describe Fog::Ecloud, :type => :mock_tmrk_ecloud_request do
|
5
|
-
subject { @vcloud }
|
6
|
-
|
7
|
-
it { should respond_to(:power_on) }
|
8
|
-
|
9
|
-
describe :power_on, :type => :vcloud_request do
|
10
|
-
context "with a valid vapp uri" do
|
11
|
-
before { @mock_vm.power_off!; @power_on = @vcloud.power_on(@mock_vm.href(:power_on)) }
|
12
|
-
subject { @power_on }
|
13
|
-
|
14
|
-
it_should_behave_like "all responses"
|
15
|
-
#it { should have_headers_denoting_a_content_type_of "application/vnd.vmware.vcloud.network+xml" }
|
16
|
-
|
17
|
-
specify { @mock_vm.status.should == 4 }
|
18
|
-
|
19
|
-
describe :body do
|
20
|
-
subject { @power_on.body }
|
21
|
-
|
22
|
-
it_should_behave_like "it has the standard vcloud v0.8 xmlns attributes" # 3 keys
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
context "with a vapp uri that doesn't exist" do
|
27
|
-
subject { lambda { @vcloud.power_on(URI.parse('https://www.fakey.com/api/v0.8/vapp/9999')) } }
|
28
|
-
it_should_behave_like "a request for a resource that doesn't exist"
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
else
|
33
|
-
end
|
34
|
-
|