fog 0.7.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +1 -1
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/codeql.yml +67 -0
- data/.github/workflows/depsreview.yml +14 -0
- data/.github/workflows/ruby.yml +23 -0
- data/.github/workflows/stale.yml +14 -0
- data/.gitignore +19 -2
- data/.irbrc +82 -0
- data/.rubocop.yml +20 -0
- data/.rubocop_todo.yml +606 -0
- data/.travis.yml +41 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +10446 -0
- data/CONTRIBUTING.md +276 -0
- data/CONTRIBUTORS.md +898 -0
- data/Gemfile +8 -1
- data/LICENSE.md +20 -0
- data/README.md +187 -0
- data/RELEASE.md +40 -0
- data/Rakefile +130 -40
- data/benchs/each_provider.sh +6 -0
- data/benchs/each_service.sh +6 -0
- data/benchs/load_times.rb +37 -0
- data/benchs/parse_vs_push.rb +16 -9
- data/bin/fog +43 -6
- data/fog.gemspec +92 -32
- data/gemfiles/Gemfile-2.0 +11 -0
- data/gemfiles/Gemfile-edge +14 -0
- data/gemfiles/Gemfile-edge-2.0 +16 -0
- data/lib/fog/aws/service_mapper.rb +129 -0
- data/lib/fog/bare_metal_cloud/compute.rb +93 -0
- data/lib/fog/bare_metal_cloud/core.rb +10 -0
- data/lib/fog/bare_metal_cloud/requests/compute/add_server.rb +31 -0
- data/lib/fog/bare_metal_cloud/requests/compute/add_server_by_configuration.rb +31 -0
- data/lib/fog/bare_metal_cloud/requests/compute/cancel_server.rb +28 -0
- data/lib/fog/bare_metal_cloud/requests/compute/get_server.rb +39 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_configurations.rb +25 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_images.rb +25 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_plans.rb +28 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_servers.rb +34 -0
- data/lib/fog/bare_metal_cloud/requests/compute/reboot_server.rb +22 -0
- data/lib/fog/bare_metal_cloud.rb +1 -0
- data/lib/fog/bin/aws.rb +10 -66
- data/lib/fog/bin/bare_metal_cloud.rb +29 -0
- data/lib/fog/bin/brightbox.rb +5 -4
- data/lib/fog/bin/clodo.rb +29 -0
- data/lib/fog/bin/cloudsigma.rb +28 -0
- data/lib/fog/bin/cloudstack.rb +28 -0
- data/lib/fog/bin/dnsmadeeasy.rb +29 -0
- data/lib/fog/bin/dreamhost.rb +29 -0
- data/lib/fog/bin/fogdocker.rb +28 -0
- data/lib/fog/bin/glesys.rb +29 -0
- data/lib/fog/bin/go_grid.rb +3 -4
- data/lib/fog/bin/ibm.rb +32 -0
- data/lib/fog/bin/linode.rb +4 -4
- data/lib/fog/bin/opennebula.rb +60 -0
- data/lib/fog/bin/openstack.rb +71 -0
- data/lib/fog/bin/openvz.rb +29 -0
- data/lib/fog/bin/rackspace.rb +55 -6
- data/lib/fog/bin/rage4.rb +29 -0
- data/lib/fog/bin/softlayer.rb +53 -0
- data/lib/fog/bin/vcloud.rb +28 -0
- data/lib/fog/bin/vcloud_director.rb +28 -0
- data/lib/fog/bin.rb +36 -13
- data/lib/fog/clodo/compute.rb +147 -0
- data/lib/fog/clodo/core.rb +33 -0
- data/lib/fog/clodo/models/compute/image.rb +27 -0
- data/lib/fog/clodo/models/compute/images.rb +24 -0
- data/lib/fog/clodo/models/compute/server.rb +121 -0
- data/lib/fog/clodo/models/compute/servers.rb +32 -0
- data/lib/fog/clodo/requests/compute/add_ip_address.rb +47 -0
- data/lib/fog/clodo/requests/compute/create_server.rb +109 -0
- data/lib/fog/clodo/requests/compute/delete_ip_address.rb +45 -0
- data/lib/fog/clodo/requests/compute/delete_server.rb +40 -0
- data/lib/fog/clodo/requests/compute/get_image_details.rb +20 -0
- data/lib/fog/clodo/requests/compute/get_server_details.rb +45 -0
- data/lib/fog/clodo/requests/compute/list_images.rb +44 -0
- data/lib/fog/clodo/requests/compute/list_images_detail.rb +57 -0
- data/lib/fog/clodo/requests/compute/list_servers.rb +46 -0
- data/lib/fog/clodo/requests/compute/list_servers_detail.rb +47 -0
- data/lib/fog/clodo/requests/compute/move_ip_address.rb +33 -0
- data/lib/fog/clodo/requests/compute/reboot_server.rb +19 -0
- data/lib/fog/clodo/requests/compute/rebuild_server.rb +21 -0
- data/lib/fog/clodo/requests/compute/server_action.rb +24 -0
- data/lib/fog/clodo/requests/compute/start_server.rb +19 -0
- data/lib/fog/clodo/requests/compute/stop_server.rb +19 -0
- data/lib/fog/clodo.rb +1 -0
- data/lib/fog/cloudsigma/compute.rb +228 -0
- data/lib/fog/cloudsigma/connection.rb +192 -0
- data/lib/fog/cloudsigma/core.rb +10 -0
- data/lib/fog/cloudsigma/docs/getting_started.md +59 -0
- data/lib/fog/cloudsigma/error.rb +39 -0
- data/lib/fog/cloudsigma/mock_data.rb +49 -0
- data/lib/fog/cloudsigma/models/balance.rb +12 -0
- data/lib/fog/cloudsigma/models/current_usage.rb +19 -0
- data/lib/fog/cloudsigma/models/fwpolicies.rb +18 -0
- data/lib/fog/cloudsigma/models/fwpolicy.rb +19 -0
- data/lib/fog/cloudsigma/models/ip.rb +20 -0
- data/lib/fog/cloudsigma/models/ipconf.rb +12 -0
- data/lib/fog/cloudsigma/models/ips.rb +26 -0
- data/lib/fog/cloudsigma/models/lib_volume.rb +48 -0
- data/lib/fog/cloudsigma/models/lib_volumes.rb +26 -0
- data/lib/fog/cloudsigma/models/mountpoint.rb +25 -0
- data/lib/fog/cloudsigma/models/nic.rb +19 -0
- data/lib/fog/cloudsigma/models/obj_ref.rb +12 -0
- data/lib/fog/cloudsigma/models/price_calculation.rb +13 -0
- data/lib/fog/cloudsigma/models/price_record.rb +37 -0
- data/lib/fog/cloudsigma/models/pricing.rb +19 -0
- data/lib/fog/cloudsigma/models/profile.rb +48 -0
- data/lib/fog/cloudsigma/models/rule.rb +18 -0
- data/lib/fog/cloudsigma/models/server.rb +212 -0
- data/lib/fog/cloudsigma/models/servers.rb +26 -0
- data/lib/fog/cloudsigma/models/snapshot.rb +77 -0
- data/lib/fog/cloudsigma/models/snapshots.rb +26 -0
- data/lib/fog/cloudsigma/models/subscription.rb +52 -0
- data/lib/fog/cloudsigma/models/subscriptions.rb +41 -0
- data/lib/fog/cloudsigma/models/usage_record.rb +13 -0
- data/lib/fog/cloudsigma/models/vlan.rb +29 -0
- data/lib/fog/cloudsigma/models/vlans.rb +26 -0
- data/lib/fog/cloudsigma/models/volume.rb +84 -0
- data/lib/fog/cloudsigma/models/volumes.rb +26 -0
- data/lib/fog/cloudsigma/nested_model.rb +60 -0
- data/lib/fog/cloudsigma/requests/calculate_subscription_price.rb +16 -0
- data/lib/fog/cloudsigma/requests/clone_libvolume.rb +31 -0
- data/lib/fog/cloudsigma/requests/clone_server.rb +31 -0
- data/lib/fog/cloudsigma/requests/clone_snapshot.rb +31 -0
- data/lib/fog/cloudsigma/requests/clone_volume.rb +31 -0
- data/lib/fog/cloudsigma/requests/close_vnc.rb +29 -0
- data/lib/fog/cloudsigma/requests/create_server.rb +31 -0
- data/lib/fog/cloudsigma/requests/create_snapshot.rb +27 -0
- data/lib/fog/cloudsigma/requests/create_subscription.rb +38 -0
- data/lib/fog/cloudsigma/requests/create_volume.rb +29 -0
- data/lib/fog/cloudsigma/requests/delete_server.rb +17 -0
- data/lib/fog/cloudsigma/requests/delete_snapshot.rb +17 -0
- data/lib/fog/cloudsigma/requests/delete_volume.rb +17 -0
- data/lib/fog/cloudsigma/requests/extend_subscription.rb +20 -0
- data/lib/fog/cloudsigma/requests/get_balance.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_current_usage.rb +16 -0
- data/lib/fog/cloudsigma/requests/get_ip.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_lib_volume.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_pricing.rb +27 -0
- data/lib/fog/cloudsigma/requests/get_profile.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_server.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_snapshot.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_subscription.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_vlan.rb +17 -0
- data/lib/fog/cloudsigma/requests/get_volume.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_fwpolicies.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_ips.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_lib_volumes.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_servers.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_snapshots.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_subscriptions.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_vlans.rb +17 -0
- data/lib/fog/cloudsigma/requests/list_volumes.rb +17 -0
- data/lib/fog/cloudsigma/requests/open_vnc.rb +33 -0
- data/lib/fog/cloudsigma/requests/start_server.rb +31 -0
- data/lib/fog/cloudsigma/requests/stop_server.rb +32 -0
- data/lib/fog/cloudsigma/requests/update_profile.rb +17 -0
- data/lib/fog/cloudsigma/requests/update_server.rb +39 -0
- data/lib/fog/cloudsigma/requests/update_snapshot.rb +17 -0
- data/lib/fog/cloudsigma/requests/update_vlan.rb +19 -0
- data/lib/fog/cloudsigma/requests/update_volume.rb +17 -0
- data/lib/fog/cloudsigma.rb +1 -0
- data/lib/fog/core/deprecated/connection.rb +24 -0
- data/lib/fog/core/parser.rb +2 -99
- data/lib/fog/dnsmadeeasy/core.rb +10 -0
- data/lib/fog/dnsmadeeasy/dns.rb +130 -0
- data/lib/fog/dnsmadeeasy/models/dns/record.rb +77 -0
- data/lib/fog/dnsmadeeasy/models/dns/records.rb +32 -0
- data/lib/fog/dnsmadeeasy/models/dns/zone.rb +38 -0
- data/lib/fog/dnsmadeeasy/models/dns/zones.rb +26 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_domain.rb +27 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_record.rb +59 -0
- data/lib/fog/dnsmadeeasy/requests/dns/create_secondary.rb +33 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_all_domains.rb +21 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_all_secondary.rb +20 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_domain.rb +23 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_record.rb +24 -0
- data/lib/fog/dnsmadeeasy/requests/dns/delete_secondary.rb +23 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_domain.rb +27 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_record.rb +36 -0
- data/lib/fog/dnsmadeeasy/requests/dns/get_secondary.rb +27 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_domains.rb +22 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_records.rb +40 -0
- data/lib/fog/dnsmadeeasy/requests/dns/list_secondary.rb +22 -0
- data/lib/fog/dnsmadeeasy/requests/dns/update_record.rb +54 -0
- data/lib/fog/dnsmadeeasy/requests/dns/update_secondary.rb +33 -0
- data/lib/fog/dnsmadeeasy.rb +1 -0
- data/lib/fog/dreamhost/CHANGELOG.md +8 -0
- data/lib/fog/dreamhost/core.rb +10 -0
- data/lib/fog/dreamhost/dns.rb +79 -0
- data/lib/fog/dreamhost/examples/dns/getting_started.md +105 -0
- data/lib/fog/dreamhost/models/dns/record.rb +31 -0
- data/lib/fog/dreamhost/models/dns/records.rb +34 -0
- data/lib/fog/dreamhost/models/dns/zone.rb +55 -0
- data/lib/fog/dreamhost/models/dns/zones.rb +37 -0
- data/lib/fog/dreamhost/requests/dns/create_record.rb +27 -0
- data/lib/fog/dreamhost/requests/dns/delete_record.rb +26 -0
- data/lib/fog/dreamhost/requests/dns/list_records.rb +20 -0
- data/lib/fog/dreamhost.rb +1 -0
- data/lib/fog/fogdocker/compute.rb +61 -0
- data/lib/fog/fogdocker/core.rb +9 -0
- data/lib/fog/fogdocker/errors.rb +9 -0
- data/lib/fog/fogdocker/models/compute/image.rb +37 -0
- data/lib/fog/fogdocker/models/compute/images.rb +24 -0
- data/lib/fog/fogdocker/models/compute/server.rb +154 -0
- data/lib/fog/fogdocker/models/compute/servers.rb +25 -0
- data/lib/fog/fogdocker/requests/compute/api_version.rb +16 -0
- data/lib/fog/fogdocker/requests/compute/container_action.rb +72 -0
- data/lib/fog/fogdocker/requests/compute/container_all.rb +37 -0
- data/lib/fog/fogdocker/requests/compute/container_commit.rb +22 -0
- data/lib/fog/fogdocker/requests/compute/container_create.rb +52 -0
- data/lib/fog/fogdocker/requests/compute/container_delete.rb +21 -0
- data/lib/fog/fogdocker/requests/compute/container_get.rb +50 -0
- data/lib/fog/fogdocker/requests/compute/image_all.rb +27 -0
- data/lib/fog/fogdocker/requests/compute/image_create.rb +17 -0
- data/lib/fog/fogdocker/requests/compute/image_delete.rb +20 -0
- data/lib/fog/fogdocker/requests/compute/image_get.rb +19 -0
- data/lib/fog/fogdocker/requests/compute/image_search.rb +29 -0
- data/lib/fog/fogdocker.rb +1 -0
- data/lib/fog/glesys/compute.rb +136 -0
- data/lib/fog/glesys/core.rb +10 -0
- data/lib/fog/glesys/models/compute/ip.rb +73 -0
- data/lib/fog/glesys/models/compute/ips.rb +117 -0
- data/lib/fog/glesys/models/compute/server.rb +150 -0
- data/lib/fog/glesys/models/compute/servers.rb +42 -0
- data/lib/fog/glesys/models/compute/ssh_key.rb +28 -0
- data/lib/fog/glesys/models/compute/ssh_keys.rb +21 -0
- data/lib/fog/glesys/models/compute/template.rb +17 -0
- data/lib/fog/glesys/models/compute/templates.rb +38 -0
- data/lib/fog/glesys/requests/compute/create.rb +11 -0
- data/lib/fog/glesys/requests/compute/destroy.rb +15 -0
- data/lib/fog/glesys/requests/compute/edit.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_add.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_details.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_list_free.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_list_own.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_release.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_remove.rb +11 -0
- data/lib/fog/glesys/requests/compute/ip_take.rb +11 -0
- data/lib/fog/glesys/requests/compute/list_servers.rb +15 -0
- data/lib/fog/glesys/requests/compute/reboot.rb +11 -0
- data/lib/fog/glesys/requests/compute/server_details.rb +11 -0
- data/lib/fog/glesys/requests/compute/server_status.rb +11 -0
- data/lib/fog/glesys/requests/compute/ssh_key_add.rb +11 -0
- data/lib/fog/glesys/requests/compute/ssh_key_list.rb +11 -0
- data/lib/fog/glesys/requests/compute/ssh_key_remove.rb +11 -0
- data/lib/fog/glesys/requests/compute/start.rb +11 -0
- data/lib/fog/glesys/requests/compute/stop.rb +11 -0
- data/lib/fog/glesys/requests/compute/template_list.rb +11 -0
- data/lib/fog/glesys.rb +1 -0
- data/lib/fog/go_grid/compute.rb +110 -0
- data/lib/fog/go_grid/core.rb +10 -0
- data/lib/fog/go_grid/models/compute/image.rb +55 -0
- data/lib/fog/go_grid/models/compute/images.rb +29 -0
- data/lib/fog/go_grid/models/compute/password.rb +45 -0
- data/lib/fog/go_grid/models/compute/passwords.rb +32 -0
- data/lib/fog/go_grid/models/compute/server.rb +94 -0
- data/lib/fog/go_grid/models/compute/servers.rb +32 -0
- data/lib/fog/go_grid/requests/compute/common_lookup_list.rb +26 -0
- data/lib/fog/go_grid/requests/compute/grid_image_get.rb +37 -0
- data/lib/fog/go_grid/requests/compute/grid_image_list.rb +40 -0
- data/lib/fog/go_grid/requests/compute/grid_ip_list.rb +28 -0
- data/lib/fog/go_grid/requests/compute/grid_loadbalancer_list.rb +26 -0
- data/lib/fog/go_grid/requests/compute/grid_server_add.rb +34 -0
- data/lib/fog/go_grid/requests/compute/grid_server_delete.rb +23 -0
- data/lib/fog/go_grid/requests/compute/grid_server_get.rb +23 -0
- data/lib/fog/go_grid/requests/compute/grid_server_list.rb +28 -0
- data/lib/fog/go_grid/requests/compute/grid_server_power.rb +24 -0
- data/lib/fog/go_grid/requests/compute/support_password_get.rb +26 -0
- data/lib/fog/go_grid/requests/compute/support_password_list.rb +28 -0
- data/lib/fog/go_grid.rb +1 -0
- data/lib/fog/ibm/compute.rb +230 -0
- data/lib/fog/ibm/core.rb +172 -0
- data/lib/fog/ibm/models/compute/address.rb +61 -0
- data/lib/fog/ibm/models/compute/addresses.rb +25 -0
- data/lib/fog/ibm/models/compute/image.rb +68 -0
- data/lib/fog/ibm/models/compute/images.rb +24 -0
- data/lib/fog/ibm/models/compute/instance-type.rb +14 -0
- data/lib/fog/ibm/models/compute/instance-types.rb +12 -0
- data/lib/fog/ibm/models/compute/key.rb +35 -0
- data/lib/fog/ibm/models/compute/keys.rb +32 -0
- data/lib/fog/ibm/models/compute/location.rb +15 -0
- data/lib/fog/ibm/models/compute/locations.rb +24 -0
- data/lib/fog/ibm/models/compute/server.rb +189 -0
- data/lib/fog/ibm/models/compute/servers.rb +24 -0
- data/lib/fog/ibm/models/compute/vlan.rb +13 -0
- data/lib/fog/ibm/models/compute/vlans.rb +25 -0
- data/lib/fog/ibm/models/storage/offering.rb +18 -0
- data/lib/fog/ibm/models/storage/offerings.rb +16 -0
- data/lib/fog/ibm/models/storage/volume.rb +96 -0
- data/lib/fog/ibm/models/storage/volumes.rb +24 -0
- data/lib/fog/ibm/requests/compute/clone_image.rb +44 -0
- data/lib/fog/ibm/requests/compute/create_address.rb +46 -0
- data/lib/fog/ibm/requests/compute/create_image.rb +52 -0
- data/lib/fog/ibm/requests/compute/create_instance.rb +81 -0
- data/lib/fog/ibm/requests/compute/create_key.rb +57 -0
- data/lib/fog/ibm/requests/compute/delete_address.rb +42 -0
- data/lib/fog/ibm/requests/compute/delete_image.rb +39 -0
- data/lib/fog/ibm/requests/compute/delete_instance.rb +48 -0
- data/lib/fog/ibm/requests/compute/delete_key.rb +37 -0
- data/lib/fog/ibm/requests/compute/get_image.rb +63 -0
- data/lib/fog/ibm/requests/compute/get_image_agreement.rb +62 -0
- data/lib/fog/ibm/requests/compute/get_image_manifest.rb +35 -0
- data/lib/fog/ibm/requests/compute/get_instance.rb +72 -0
- data/lib/fog/ibm/requests/compute/get_instance_logs.rb +23 -0
- data/lib/fog/ibm/requests/compute/get_key.rb +45 -0
- data/lib/fog/ibm/requests/compute/get_location.rb +51 -0
- data/lib/fog/ibm/requests/compute/get_request.rb +74 -0
- data/lib/fog/ibm/requests/compute/list_address_offerings.rb +54 -0
- data/lib/fog/ibm/requests/compute/list_addresses.rb +49 -0
- data/lib/fog/ibm/requests/compute/list_images.rb +54 -0
- data/lib/fog/ibm/requests/compute/list_instances.rb +53 -0
- data/lib/fog/ibm/requests/compute/list_keys.rb +53 -0
- data/lib/fog/ibm/requests/compute/list_locations.rb +33 -0
- data/lib/fog/ibm/requests/compute/list_vlans.rb +43 -0
- data/lib/fog/ibm/requests/compute/modify_instance.rb +68 -0
- data/lib/fog/ibm/requests/compute/modify_key.rb +48 -0
- data/lib/fog/ibm/requests/storage/create_volume.rb +63 -0
- data/lib/fog/ibm/requests/storage/delete_volume.rb +38 -0
- data/lib/fog/ibm/requests/storage/get_volume.rb +68 -0
- data/lib/fog/ibm/requests/storage/list_offerings.rb +72 -0
- data/lib/fog/ibm/requests/storage/list_volumes.rb +43 -0
- data/lib/fog/ibm/storage.rb +76 -0
- data/lib/fog/ibm.rb +2 -0
- data/lib/fog/linode/compute.rb +124 -0
- data/lib/fog/linode/core.rb +10 -0
- data/lib/fog/linode/dns.rb +87 -0
- data/lib/fog/linode/models/compute/data_center.rb +13 -0
- data/lib/fog/linode/models/compute/data_centers.rb +26 -0
- data/lib/fog/linode/models/compute/disk.rb +62 -0
- data/lib/fog/linode/models/compute/disks.rb +40 -0
- data/lib/fog/linode/models/compute/flavor.rb +23 -0
- data/lib/fog/linode/models/compute/flavors.rb +39 -0
- data/lib/fog/linode/models/compute/image.rb +16 -0
- data/lib/fog/linode/models/compute/images.rb +34 -0
- data/lib/fog/linode/models/compute/ip.rb +30 -0
- data/lib/fog/linode/models/compute/ips.rb +40 -0
- data/lib/fog/linode/models/compute/kernel.rb +15 -0
- data/lib/fog/linode/models/compute/kernels.rb +38 -0
- data/lib/fog/linode/models/compute/node_balancer_flavor.rb +13 -0
- data/lib/fog/linode/models/compute/node_balancer_flavors.rb +27 -0
- data/lib/fog/linode/models/compute/server.rb +101 -0
- data/lib/fog/linode/models/compute/servers.rb +32 -0
- data/lib/fog/linode/models/compute/stack_script.rb +13 -0
- data/lib/fog/linode/models/compute/stack_scripts.rb +32 -0
- data/lib/fog/linode/models/dns/record.rb +68 -0
- data/lib/fog/linode/models/dns/records.rb +33 -0
- data/lib/fog/linode/models/dns/zone.rb +79 -0
- data/lib/fog/linode/models/dns/zones.rb +25 -0
- data/lib/fog/linode/requests/compute/avail_datacenters.rb +44 -0
- data/lib/fog/linode/requests/compute/avail_distributions.rb +65 -0
- data/lib/fog/linode/requests/compute/avail_kernels.rb +62 -0
- data/lib/fog/linode/requests/compute/avail_linodeplans.rb +68 -0
- data/lib/fog/linode/requests/compute/avail_nodebalancers.rb +42 -0
- data/lib/fog/linode/requests/compute/avail_stackscripts.rb +56 -0
- data/lib/fog/linode/requests/compute/image_delete.rb +42 -0
- data/lib/fog/linode/requests/compute/image_list.rb +64 -0
- data/lib/fog/linode/requests/compute/linode_boot.rb +28 -0
- data/lib/fog/linode/requests/compute/linode_config_create.rb +34 -0
- data/lib/fog/linode/requests/compute/linode_config_delete.rb +32 -0
- data/lib/fog/linode/requests/compute/linode_config_list.rb +69 -0
- data/lib/fog/linode/requests/compute/linode_config_update.rb +33 -0
- data/lib/fog/linode/requests/compute/linode_create.rb +44 -0
- data/lib/fog/linode/requests/compute/linode_delete.rb +39 -0
- data/lib/fog/linode/requests/compute/linode_disk_create.rb +35 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromdistribution.rb +36 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromimage.rb +37 -0
- data/lib/fog/linode/requests/compute/linode_disk_createfromstackscript.rb +24 -0
- data/lib/fog/linode/requests/compute/linode_disk_delete.rb +33 -0
- data/lib/fog/linode/requests/compute/linode_disk_duplicate.rb +33 -0
- data/lib/fog/linode/requests/compute/linode_disk_imagize.rb +37 -0
- data/lib/fog/linode/requests/compute/linode_disk_list.rb +58 -0
- data/lib/fog/linode/requests/compute/linode_disk_resize.rb +36 -0
- data/lib/fog/linode/requests/compute/linode_disk_update.rb +34 -0
- data/lib/fog/linode/requests/compute/linode_ip_addprivate.rb +15 -0
- data/lib/fog/linode/requests/compute/linode_ip_list.rb +57 -0
- data/lib/fog/linode/requests/compute/linode_list.rb +81 -0
- data/lib/fog/linode/requests/compute/linode_reboot.rb +39 -0
- data/lib/fog/linode/requests/compute/linode_shutdown.rb +28 -0
- data/lib/fog/linode/requests/compute/linode_update.rb +28 -0
- data/lib/fog/linode/requests/compute/stackscript_list.rb +30 -0
- data/lib/fog/linode/requests/dns/domain_create.rb +41 -0
- data/lib/fog/linode/requests/dns/domain_delete.rb +25 -0
- data/lib/fog/linode/requests/dns/domain_list.rb +40 -0
- data/lib/fog/linode/requests/dns/domain_resource_create.rb +42 -0
- data/lib/fog/linode/requests/dns/domain_resource_delete.rb +26 -0
- data/lib/fog/linode/requests/dns/domain_resource_list.rb +41 -0
- data/lib/fog/linode/requests/dns/domain_resource_update.rb +43 -0
- data/lib/fog/linode/requests/dns/domain_update.rb +36 -0
- data/lib/fog/linode.rb +2 -0
- data/lib/fog/opennebula/README.md +113 -0
- data/lib/fog/opennebula/compute.rb +136 -0
- data/lib/fog/opennebula/core.rb +8 -0
- data/lib/fog/opennebula/models/compute/flavor.rb +175 -0
- data/lib/fog/opennebula/models/compute/flavors.rb +42 -0
- data/lib/fog/opennebula/models/compute/group.rb +22 -0
- data/lib/fog/opennebula/models/compute/groups.rb +34 -0
- data/lib/fog/opennebula/models/compute/interface.rb +33 -0
- data/lib/fog/opennebula/models/compute/interfaces.rb +12 -0
- data/lib/fog/opennebula/models/compute/network.rb +42 -0
- data/lib/fog/opennebula/models/compute/networks.rb +35 -0
- data/lib/fog/opennebula/models/compute/server.rb +100 -0
- data/lib/fog/opennebula/models/compute/servers.rb +30 -0
- data/lib/fog/opennebula/requests/compute/OpenNebulaVNC.rb +340 -0
- data/lib/fog/opennebula/requests/compute/get_vnc_console.rb +47 -0
- data/lib/fog/opennebula/requests/compute/image_pool.rb +26 -0
- data/lib/fog/opennebula/requests/compute/list_groups.rb +79 -0
- data/lib/fog/opennebula/requests/compute/list_networks.rb +72 -0
- data/lib/fog/opennebula/requests/compute/list_vms.rb +69 -0
- data/lib/fog/opennebula/requests/compute/template_pool.rb +136 -0
- data/lib/fog/opennebula/requests/compute/vm_allocate.rb +99 -0
- data/lib/fog/opennebula/requests/compute/vm_destroy.rb +31 -0
- data/lib/fog/opennebula/requests/compute/vm_disk_snapshot.rb +28 -0
- data/lib/fog/opennebula/requests/compute/vm_resume.rb +27 -0
- data/lib/fog/opennebula/requests/compute/vm_shutdown.rb +18 -0
- data/lib/fog/opennebula/requests/compute/vm_stop.rb +15 -0
- data/lib/fog/opennebula/requests/compute/vm_suspend.rb +31 -0
- data/lib/fog/opennebula.rb +1 -0
- data/lib/fog/openvz/README.md +188 -0
- data/lib/fog/openvz/compute.rb +168 -0
- data/lib/fog/openvz/core.rb +8 -0
- data/lib/fog/openvz/models/compute/server.rb +189 -0
- data/lib/fog/openvz/models/compute/servers.rb +24 -0
- data/lib/fog/openvz/requests/compute/compact_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/convert_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/create_server.rb +19 -0
- data/lib/fog/openvz/requests/compute/destroy_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/exec2_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/exec_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/get_server_details.rb +17 -0
- data/lib/fog/openvz/requests/compute/list_servers.rb +17 -0
- data/lib/fog/openvz/requests/compute/mount_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/quotainit_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/quotaoff_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/quotaon_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/restart_server.rb +20 -0
- data/lib/fog/openvz/requests/compute/resume_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/runscript_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/set_server.rb +22 -0
- data/lib/fog/openvz/requests/compute/snapshot_delete_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_list_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_mount_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_switch_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/snapshot_umount_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/start_server.rb +20 -0
- data/lib/fog/openvz/requests/compute/status_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/stop_server.rb +20 -0
- data/lib/fog/openvz/requests/compute/suspend_server.rb +17 -0
- data/lib/fog/openvz/requests/compute/umount_server.rb +17 -0
- data/lib/fog/openvz.rb +1 -0
- data/lib/fog/rage4/core.rb +10 -0
- data/lib/fog/rage4/dns.rb +72 -0
- data/lib/fog/rage4/models/dns/record.rb +73 -0
- data/lib/fog/rage4/models/dns/records.rb +38 -0
- data/lib/fog/rage4/models/dns/zone.rb +42 -0
- data/lib/fog/rage4/models/dns/zones.rb +30 -0
- data/lib/fog/rage4/requests/dns/bulk_update_records.rb +38 -0
- data/lib/fog/rage4/requests/dns/create_domain.rb +29 -0
- data/lib/fog/rage4/requests/dns/create_domain_vanity.rb +30 -0
- data/lib/fog/rage4/requests/dns/create_record.rb +59 -0
- data/lib/fog/rage4/requests/dns/create_reverse_domain_4.rb +28 -0
- data/lib/fog/rage4/requests/dns/delete_domain.rb +24 -0
- data/lib/fog/rage4/requests/dns/delete_record.rb +24 -0
- data/lib/fog/rage4/requests/dns/get_domain.rb +26 -0
- data/lib/fog/rage4/requests/dns/get_domain_by_name.rb +26 -0
- data/lib/fog/rage4/requests/dns/list_domains.rb +36 -0
- data/lib/fog/rage4/requests/dns/list_geo_regions.rb +25 -0
- data/lib/fog/rage4/requests/dns/list_record_types.rb +24 -0
- data/lib/fog/rage4/requests/dns/list_records.rb +28 -0
- data/lib/fog/rage4/requests/dns/set_record_failover.rb +25 -0
- data/lib/fog/rage4/requests/dns/show_current_usage.rb +21 -0
- data/lib/fog/rage4/requests/dns/show_global_usage.rb +21 -0
- data/lib/fog/rage4/requests/dns/update_domain.rb +39 -0
- data/lib/fog/rage4/requests/dns/update_record.rb +59 -0
- data/lib/fog/rage4.rb +1 -0
- data/lib/fog/vcloud/compute.rb +366 -0
- data/lib/fog/vcloud/core.rb +10 -0
- data/lib/fog/vcloud/examples/README.md +54 -0
- data/lib/fog/vcloud/examples/creating_a_connection.md +20 -0
- data/lib/fog/vcloud/examples/creating_a_vapp.md +17 -0
- data/lib/fog/vcloud/examples/get_network_information.md +10 -0
- data/lib/fog/vcloud/examples/get_vapp_information.md +10 -0
- data/lib/fog/vcloud/examples/more_on_vapps.md +23 -0
- data/lib/fog/vcloud/models/compute/catalog.rb +20 -0
- data/lib/fog/vcloud/models/compute/catalog_item.rb +36 -0
- data/lib/fog/vcloud/models/compute/catalog_items.rb +34 -0
- data/lib/fog/vcloud/models/compute/catalogs.rb +36 -0
- data/lib/fog/vcloud/models/compute/helpers/status.rb +37 -0
- data/lib/fog/vcloud/models/compute/ip.rb +40 -0
- data/lib/fog/vcloud/models/compute/ips.rb +31 -0
- data/lib/fog/vcloud/models/compute/network.rb +22 -0
- data/lib/fog/vcloud/models/compute/networks.rb +46 -0
- data/lib/fog/vcloud/models/compute/organization.rb +41 -0
- data/lib/fog/vcloud/models/compute/organizations.rb +29 -0
- data/lib/fog/vcloud/models/compute/server.rb +343 -0
- data/lib/fog/vcloud/models/compute/servers.rb +49 -0
- data/lib/fog/vcloud/models/compute/tag.rb +18 -0
- data/lib/fog/vcloud/models/compute/tags.rb +30 -0
- data/lib/fog/vcloud/models/compute/task.rb +19 -0
- data/lib/fog/vcloud/models/compute/tasks.rb +27 -0
- data/lib/fog/vcloud/models/compute/vapp.rb +53 -0
- data/lib/fog/vcloud/models/compute/vapps.rb +25 -0
- data/lib/fog/vcloud/models/compute/vdc.rb +39 -0
- data/lib/fog/vcloud/models/compute/vdcs.rb +33 -0
- data/lib/fog/vcloud/requests/compute/clone_vapp.rb +39 -0
- data/lib/fog/vcloud/requests/compute/configure_metadata.rb +34 -0
- data/lib/fog/vcloud/requests/compute/configure_network.rb +41 -0
- data/lib/fog/vcloud/requests/compute/configure_network_ip.rb +46 -0
- data/lib/fog/vcloud/requests/compute/configure_node.rb +36 -0
- data/lib/fog/vcloud/requests/compute/configure_org_network.rb +139 -0
- data/lib/fog/vcloud/requests/compute/configure_vapp.rb +111 -0
- data/lib/fog/vcloud/requests/compute/configure_vm.rb +106 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_cpus.rb +35 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_customization_script.rb +30 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_disks.rb +93 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_memory.rb +36 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_name_description.rb +26 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_network.rb +33 -0
- data/lib/fog/vcloud/requests/compute/configure_vm_password.rb +36 -0
- data/lib/fog/vcloud/requests/compute/delete_metadata.rb +9 -0
- data/lib/fog/vcloud/requests/compute/delete_node.rb +9 -0
- data/lib/fog/vcloud/requests/compute/delete_vapp.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_catalog.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_catalog_item.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_customization_options.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_metadata.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_network.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_network_extensions.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_network_ip.rb +13 -0
- data/lib/fog/vcloud/requests/compute/get_network_ips.rb +13 -0
- data/lib/fog/vcloud/requests/compute/get_organization.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_server.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_task.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_task_list.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vapp.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vapp_template.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vdc.rb +9 -0
- data/lib/fog/vcloud/requests/compute/get_vm_disks.rb +15 -0
- data/lib/fog/vcloud/requests/compute/get_vm_memory.rb +15 -0
- data/lib/fog/vcloud/requests/compute/instantiate_vapp_template.rb +87 -0
- data/lib/fog/vcloud/requests/compute/login.rb +23 -0
- data/lib/fog/vcloud/requests/compute/power_off.rb +9 -0
- data/lib/fog/vcloud/requests/compute/power_on.rb +9 -0
- data/lib/fog/vcloud/requests/compute/power_reset.rb +9 -0
- data/lib/fog/vcloud/requests/compute/power_shutdown.rb +9 -0
- data/lib/fog/vcloud/requests/compute/undeploy.rb +31 -0
- data/lib/fog/vcloud.rb +1 -0
- data/lib/fog/vcloud_director/README.md +959 -0
- data/lib/fog/vcloud_director/compute.rb +917 -0
- data/lib/fog/vcloud_director/core.rb +69 -0
- data/lib/fog/vcloud_director/generators/compute/compose_common.rb +122 -0
- data/lib/fog/vcloud_director/generators/compute/compose_vapp.rb +25 -0
- data/lib/fog/vcloud_director/generators/compute/create_snapshot.rb +25 -0
- data/lib/fog/vcloud_director/generators/compute/customization.rb +105 -0
- data/lib/fog/vcloud_director/generators/compute/disks.rb +186 -0
- data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +243 -0
- data/lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb +30 -0
- data/lib/fog/vcloud_director/generators/compute/metadata.rb +104 -0
- data/lib/fog/vcloud_director/generators/compute/network_config_section.rb +68 -0
- data/lib/fog/vcloud_director/generators/compute/org_vdc_network.rb +88 -0
- data/lib/fog/vcloud_director/generators/compute/recompose_vapp.rb +34 -0
- data/lib/fog/vcloud_director/generators/compute/vapp.rb +28 -0
- data/lib/fog/vcloud_director/generators/compute/vm.rb +32 -0
- data/lib/fog/vcloud_director/generators/compute/vm_network.rb +119 -0
- data/lib/fog/vcloud_director/models/compute/catalog.rb +22 -0
- data/lib/fog/vcloud_director/models/compute/catalog_item.rb +30 -0
- data/lib/fog/vcloud_director/models/compute/catalog_items.rb +33 -0
- data/lib/fog/vcloud_director/models/compute/catalogs.rb +30 -0
- data/lib/fog/vcloud_director/models/compute/custom_field.rb +18 -0
- data/lib/fog/vcloud_director/models/compute/custom_fields.rb +67 -0
- data/lib/fog/vcloud_director/models/compute/disk.rb +48 -0
- data/lib/fog/vcloud_director/models/compute/disks.rb +44 -0
- data/lib/fog/vcloud_director/models/compute/media.rb +26 -0
- data/lib/fog/vcloud_director/models/compute/medias.rb +75 -0
- data/lib/fog/vcloud_director/models/compute/network.rb +25 -0
- data/lib/fog/vcloud_director/models/compute/networks.rb +62 -0
- data/lib/fog/vcloud_director/models/compute/organization.rb +37 -0
- data/lib/fog/vcloud_director/models/compute/organizations.rb +28 -0
- data/lib/fog/vcloud_director/models/compute/tag.rb +31 -0
- data/lib/fog/vcloud_director/models/compute/tags.rb +41 -0
- data/lib/fog/vcloud_director/models/compute/task.rb +55 -0
- data/lib/fog/vcloud_director/models/compute/tasks.rb +36 -0
- data/lib/fog/vcloud_director/models/compute/template_vm.rb +52 -0
- data/lib/fog/vcloud_director/models/compute/template_vms.rb +41 -0
- data/lib/fog/vcloud_director/models/compute/vapp.rb +144 -0
- data/lib/fog/vcloud_director/models/compute/vapp_template.rb +26 -0
- data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +40 -0
- data/lib/fog/vcloud_director/models/compute/vapps.rb +40 -0
- data/lib/fog/vcloud_director/models/compute/vdc.rb +45 -0
- data/lib/fog/vcloud_director/models/compute/vdcs.rb +37 -0
- data/lib/fog/vcloud_director/models/compute/vm.rb +197 -0
- data/lib/fog/vcloud_director/models/compute/vm_customization.rb +40 -0
- data/lib/fog/vcloud_director/models/compute/vm_customizations.rb +29 -0
- data/lib/fog/vcloud_director/models/compute/vm_network.rb +27 -0
- data/lib/fog/vcloud_director/models/compute/vm_networks.rb +19 -0
- data/lib/fog/vcloud_director/models/compute/vms.rb +46 -0
- data/lib/fog/vcloud_director/parsers/compute/disks.rb +53 -0
- data/lib/fog/vcloud_director/parsers/compute/metadata.rb +61 -0
- data/lib/fog/vcloud_director/parsers/compute/network.rb +104 -0
- data/lib/fog/vcloud_director/parsers/compute/vm.rb +86 -0
- data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +55 -0
- data/lib/fog/vcloud_director/parsers/compute/vm_network.rb +107 -0
- data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +62 -0
- data/lib/fog/vcloud_director/parsers/compute/vms.rb +68 -0
- data/lib/fog/vcloud_director/parsers/compute/vms_by_metadata.rb +37 -0
- data/lib/fog/vcloud_director/query.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/delete_catalog_item.rb +22 -0
- data/lib/fog/vcloud_director/requests/compute/delete_catalog_item_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/delete_disk.rb +60 -0
- data/lib/fog/vcloud_director/requests/compute/delete_disk_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/delete_logout.rb +18 -0
- data/lib/fog/vcloud_director/requests/compute/delete_media.rb +122 -0
- data/lib/fog/vcloud_director/requests/compute/delete_media_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/delete_network.rb +62 -0
- data/lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb +30 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_metadata_item_metadata.rb +30 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_template.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_template_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_allocated_ip_addresses.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog.rb +63 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item.rb +48 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_catalogs_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_control_access_params_catalog.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_control_access_params_vapp.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_cpu_rasd_item.rb +65 -0
- data/lib/fog/vcloud_director/requests/compute/get_current_session.rb +83 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk.rb +123 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_disk_owner.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/get_disks_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb +90 -0
- data/lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb +109 -0
- data/lib/fog/vcloud_director/requests/compute/get_entity.rb +38 -0
- data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +736 -0
- data/lib/fog/vcloud_director/requests/compute/get_groups_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp.rb +69 -0
- data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_href.rb +21 -0
- data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_media.rb +111 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_drives_rasd_items_list.rb +92 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_media_owner.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/get_medias_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb +64 -0
- data/lib/fog/vcloud_director/requests/compute/get_metadata.rb +41 -0
- data/lib/fog/vcloud_director/requests/compute/get_network.rb +67 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_cards_items_list.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_complete.rb +78 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp.rb +61 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp.rb +68 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_operating_system_section.rb +59 -0
- data/lib/fog/vcloud_director/requests/compute/get_org_settings.rb +38 -0
- data/lib/fog/vcloud_director/requests/compute/get_org_vdc_gateways.rb +83 -0
- data/lib/fog/vcloud_director/requests/compute/get_organization.rb +100 -0
- data/lib/fog/vcloud_director/requests/compute/get_organization_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_organization_metadata_item_metadata.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/get_organizations.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/get_organizations_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp_template.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_request.rb +19 -0
- data/lib/fog/vcloud_director/requests/compute/get_runtime_info_section_type.rb +57 -0
- data/lib/fog/vcloud_director/requests/compute/get_serial_ports_items_list.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_shadow_vm.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_snapshot_section.rb +55 -0
- data/lib/fog/vcloud_director/requests/compute/get_startup_section.rb +64 -0
- data/lib/fog/vcloud_director/requests/compute/get_supported_systems_info.rb +239 -0
- data/lib/fog/vcloud_director/requests/compute/get_supported_versions.rb +1159 -0
- data/lib/fog/vcloud_director/requests/compute/get_task.rb +168 -0
- data/lib/fog/vcloud_director/requests/compute/get_task_list.rb +130 -0
- data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +74 -0
- data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +41 -0
- data/lib/fog/vcloud_director/requests/compute/get_thumbnail.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/get_users_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +172 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata.rb +84 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata_item_metadata.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_ovf_descriptor.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb +58 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_customization_system_section.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata_item_metadata.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_ovf_descriptor.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_owner.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapp_templates_from_query.rb +95 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapps_in_lease_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_vcloud.rb +76 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +174 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata_item_metadata.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class.rb +83 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata_item_metadata.rb +25 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdcs_from_query.rb +94 -0
- data/lib/fog/vcloud_director/requests/compute/get_virtual_hardware_section.rb +29 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm.rb +74 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_capabilities.rb +61 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_compliance_results.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_customization.rb +31 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb +51 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_network.rb +56 -0
- data/lib/fog/vcloud_director/requests/compute/get_vm_pending_question.rb +34 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms.rb +41 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms_by_metadata.rb +20 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms_disk_attached_to.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/get_vms_in_lease_from_query.rb +150 -0
- data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +173 -0
- data/lib/fog/vcloud_director/requests/compute/post_acquire_ticket.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_answer_vm_pending_question.rb +36 -0
- data/lib/fog/vcloud_director/requests/compute/post_attach_disk.rb +51 -0
- data/lib/fog/vcloud_director/requests/compute/post_cancel_task.rb +43 -0
- data/lib/fog/vcloud_director/requests/compute/post_capture_vapp.rb +70 -0
- data/lib/fog/vcloud_director/requests/compute/post_check_vm_compliance.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/post_clone_media.rb +102 -0
- data/lib/fog/vcloud_director/requests/compute/post_clone_vapp.rb +62 -0
- data/lib/fog/vcloud_director/requests/compute/post_clone_vapp_template.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_compose_vapp.rb +45 -0
- data/lib/fog/vcloud_director/requests/compute/post_configure_edge_gateway_services.rb +73 -0
- data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp_template.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_create_catalog_item.rb +56 -0
- data/lib/fog/vcloud_director/requests/compute/post_create_org_vdc_network.rb +171 -0
- data/lib/fog/vcloud_director/requests/compute/post_create_snapshot.rb +21 -0
- data/lib/fog/vcloud_director/requests/compute/post_deploy_vapp.rb +51 -0
- data/lib/fog/vcloud_director/requests/compute/post_detach_disk.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_disable_nested_hv.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_disable_vapp_template_download.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/post_discard_vapp_state.rb +30 -0
- data/lib/fog/vcloud_director/requests/compute/post_eject_cd_rom.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_enable_nested_hv.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_enable_vapp_template_download.rb +24 -0
- data/lib/fog/vcloud_director/requests/compute/post_enter_maintenance_mode.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/post_exit_maintenance_mode.rb +22 -0
- data/lib/fog/vcloud_director/requests/compute/post_insert_cd_rom.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_install_vmware_tools.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_instantiate_vapp_template.rb +196 -0
- data/lib/fog/vcloud_director/requests/compute/post_login_session.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/post_power_off_vapp.rb +36 -0
- data/lib/fog/vcloud_director/requests/compute/post_power_on_vapp.rb +71 -0
- data/lib/fog/vcloud_director/requests/compute/post_reboot_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb +21 -0
- data/lib/fog/vcloud_director/requests/compute/post_reconfigure_vm.rb +118 -0
- data/lib/fog/vcloud_director/requests/compute/post_remove_all_snapshots.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_reset_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_revert_snapshot.rb +27 -0
- data/lib/fog/vcloud_director/requests/compute/post_shutdown_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_suspend_vapp.rb +33 -0
- data/lib/fog/vcloud_director/requests/compute/post_undeploy_vapp.rb +66 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_catalog_item_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_disk_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_media_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_vapp_metadata.rb +86 -0
- data/lib/fog/vcloud_director/requests/compute/post_update_vapp_template_metadata.rb +52 -0
- data/lib/fog/vcloud_director/requests/compute/post_upgrade_hw_version.rb +28 -0
- data/lib/fog/vcloud_director/requests/compute/post_upload_disk.rb +133 -0
- data/lib/fog/vcloud_director/requests/compute/post_upload_media.rb +120 -0
- data/lib/fog/vcloud_director/requests/compute/post_upload_vapp_template.rb +46 -0
- data/lib/fog/vcloud_director/requests/compute/put_catalog_item_metadata_item_metadata.rb +50 -0
- data/lib/fog/vcloud_director/requests/compute/put_config_network_section_vapp.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/put_cpu.rb +88 -0
- data/lib/fog/vcloud_director/requests/compute/put_disk_metadata_item_metadata.rb +46 -0
- data/lib/fog/vcloud_director/requests/compute/put_disks.rb +39 -0
- data/lib/fog/vcloud_director/requests/compute/put_guest_customization_section_vapp.rb +141 -0
- data/lib/fog/vcloud_director/requests/compute/put_media_metadata_item_metadata.rb +50 -0
- data/lib/fog/vcloud_director/requests/compute/put_memory.rb +89 -0
- data/lib/fog/vcloud_director/requests/compute/put_metadata_value.rb +26 -0
- data/lib/fog/vcloud_director/requests/compute/put_network.rb +162 -0
- data/lib/fog/vcloud_director/requests/compute/put_network_connection_system_section_vapp.rb +152 -0
- data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +46 -0
- data/lib/fog/vcloud_director/requests/compute/put_vapp_metadata_item_metadata.rb +85 -0
- data/lib/fog/vcloud_director/requests/compute/put_vapp_name_and_description.rb +36 -0
- data/lib/fog/vcloud_director/requests/compute/put_vapp_template_metadata_item_metadata.rb +50 -0
- data/lib/fog/vcloud_director/requests/compute/put_vm.rb +72 -0
- data/lib/fog/vcloud_director/requests/compute/put_vm_capabilities.rb +44 -0
- data/lib/fog/vcloud_director.rb +1 -0
- data/lib/fog/version.rb +3 -0
- data/lib/fog.rb +58 -13
- data/lib/tasks/changelog_task.rb +232 -0
- data/lib/tasks/github_release_task.rb +66 -0
- data/spec/fog/account_spec.rb +14 -0
- data/spec/fog/billing_spec.rb +14 -0
- data/spec/fog/bin/atmos_spec.rb +23 -0
- data/spec/fog/bin/aws_spec.rb +86 -0
- data/spec/fog/bin/baremetalcloud_spec.rb +23 -0
- data/spec/fog/bin/brightbox_spec.rb +30 -0
- data/spec/fog/bin/clodo_spec.rb +9 -0
- data/spec/fog/bin/cloudsigma_spec.rb +9 -0
- data/spec/fog/bin/dnsimple_spec.rb +9 -0
- data/spec/fog/bin/dnsmadeeasy_spec.rb +9 -0
- data/spec/fog/bin/dreamhost_spec.rb +9 -0
- data/spec/fog/bin/dynect_spec.rb +9 -0
- data/spec/fog/bin/ecloud_spec.rb +10 -0
- data/spec/fog/bin/fogdocker_spec.rb +10 -0
- data/spec/fog/bin/glesys_spec.rb +10 -0
- data/spec/fog/bin/gogrid_spec.rb +10 -0
- data/spec/fog/bin/google_spec.rb +10 -0
- data/spec/fog/bin/ibm_spec.rb +10 -0
- data/spec/fog/bin/linode_spec.rb +10 -0
- data/spec/fog/bin/local_spec.rb +10 -0
- data/spec/fog/bin/opennebula_spec.rb +10 -0
- data/spec/fog/bin/openstack_spec.rb +10 -0
- data/spec/fog/bin/openvz_spec.rb +10 -0
- data/spec/fog/bin/powerdns_spec.rb +9 -0
- data/spec/fog/bin/profitbricks_spec.rb +10 -0
- data/spec/fog/bin/rackspace_spec.rb +10 -0
- data/spec/fog/bin/rage4_spec.rb +10 -0
- data/spec/fog/bin/riakcs_spec.rb +10 -0
- data/spec/fog/bin/sakuracloud_spec.rb +10 -0
- data/spec/fog/bin/serverlove_spec.rb +10 -0
- data/spec/fog/bin/softlayer_spec.rb +10 -0
- data/spec/fog/bin/stormondemand_spec.rb +10 -0
- data/spec/fog/bin/vcloud_spec.rb +10 -0
- data/spec/fog/bin/vclouddirector_spec.rb +10 -0
- data/spec/fog/bin/vmfusion_spec.rb +10 -0
- data/spec/fog/bin/voxel_spec.rb +10 -0
- data/spec/fog/bin/vsphere_spec.rb +10 -0
- data/spec/fog/bin/xenserver_spec.rb +10 -0
- data/spec/fog/bin_spec.rb +149 -0
- data/spec/fog/cdn_spec.rb +14 -0
- data/spec/fog/identity_spec.rb +14 -0
- data/spec/fog/image_spec.rb +14 -0
- data/spec/fog/metering_spec.rb +14 -0
- data/spec/fog/monitoring_spec.rb +14 -0
- data/spec/fog/network_spec.rb +14 -0
- data/spec/fog/orchestration_spec.rb +14 -0
- data/spec/fog/storage_spec.rb +14 -0
- data/spec/fog/support_spec.rb +14 -0
- data/spec/fog/volume_spec.rb +14 -0
- data/spec/fog/vpn_spec.rb +14 -0
- data/spec/fog/xml/connection_spec.rb +33 -0
- data/spec/helpers/bin.rb +34 -0
- data/spec/spec_helper.rb +12 -9
- data/spec/vcloud_director/generators/compute/instantiate_vapp_template_params_spec.rb +68 -0
- data/spec/vcloud_director/requests/compute/instantiate_vapp_template_spec.rb +78 -0
- data/spec/vcloud_director/spec_helper.rb +11 -0
- data/tests/clodo/requests/compute/image_tests.rb +36 -0
- data/tests/clodo/requests/compute/server_tests.rb +152 -0
- data/tests/cloudsigma/models/server_tests.rb +72 -0
- data/tests/cloudsigma/models/servers_tests.rb +9 -0
- data/tests/cloudsigma/models/snapshot_tests.rb +25 -0
- data/tests/cloudsigma/models/snapshots_tests.rb +16 -0
- data/tests/cloudsigma/models/volume_tests.rb +21 -0
- data/tests/cloudsigma/models/volumes_tests.rb +9 -0
- data/tests/cloudsigma/requests/server_tests.rb +77 -0
- data/tests/cloudsigma/requests/snapshots_tests.rb +84 -0
- data/tests/cloudsigma/requests/volumes_tests.rb +56 -0
- data/tests/compute/helper.rb +64 -28
- data/tests/compute/models/flavors_tests.rb +5 -3
- data/tests/compute/models/server_tests.rb +24 -5
- data/tests/compute/models/servers_tests.rb +4 -3
- data/tests/core/attribute_tests.rb +39 -1
- data/tests/core/credential_tests.rb +93 -0
- data/tests/core/current_machine_tests.rb +32 -0
- data/tests/core/mocking_tests.rb +75 -0
- data/tests/core/parser_tests.rb +92 -0
- data/tests/core/service_tests.rb +26 -0
- data/tests/core/timeout_tests.rb +10 -0
- data/tests/core/uuid_tests.rb +10 -0
- data/tests/core/wait_for_tests.rb +13 -0
- data/tests/dns/helper.rb +28 -10
- data/tests/dns/models/record_tests.rb +29 -9
- data/tests/dns/models/records_tests.rb +12 -7
- data/tests/dns/models/zone_tests.rb +9 -4
- data/tests/dns/models/zones_tests.rb +9 -4
- data/tests/dnsmadeeasy/requests/dns/dns_tests.rb +138 -0
- data/tests/dreamhost/README.md +56 -0
- data/tests/dreamhost/dns_tests.rb +19 -0
- data/tests/dreamhost/helper.rb +19 -0
- data/tests/dreamhost/models/dns/record_tests.rb +72 -0
- data/tests/dreamhost/models/dns/records_tests.rb +28 -0
- data/tests/dreamhost/models/dns/zone_tests.rb +61 -0
- data/tests/dreamhost/models/dns/zones_tests.rb +28 -0
- data/tests/dreamhost/requests/dns/create_record_tests.rb +39 -0
- data/tests/dreamhost/requests/dns/delete_record_tests.rb +26 -0
- data/tests/dreamhost/requests/dns/list_records_tests.rb +31 -0
- data/tests/fogdocker/compute_tests.rb +17 -0
- data/tests/fogdocker/models/compute/image_tests.rb +31 -0
- data/tests/fogdocker/models/compute/images_tests.rb +9 -0
- data/tests/fogdocker/models/compute/server_tests.rb +57 -0
- data/tests/fogdocker/models/compute/servers_tests.rb +14 -0
- data/tests/fogdocker/requests/compute/api_version_tests.rb +10 -0
- data/tests/fogdocker/requests/compute/container_action_tests.rb +35 -0
- data/tests/fogdocker/requests/compute/container_commit_tests.rb +18 -0
- data/tests/fogdocker/requests/compute/container_create_tests.rb +21 -0
- data/tests/fogdocker/requests/compute/container_delete_tests.rb +16 -0
- data/tests/fogdocker/requests/compute/image_create_tests.rb +21 -0
- data/tests/fogdocker/requests/compute/image_delete_tests.rb +20 -0
- data/tests/fogdocker/requests/compute/image_search_tests.rb +11 -0
- data/tests/glesys/requests/compute/helper.rb +326 -0
- data/tests/glesys/requests/compute/ip_tests.rb +66 -0
- data/tests/glesys/requests/compute/server_tests.rb +142 -0
- data/tests/glesys/requests/compute/ssh_key_tests.rb +47 -0
- data/tests/glesys/requests/compute/template_tests.rb +12 -0
- data/tests/helper.rb +42 -6
- data/tests/helpers/collection_helper.rb +44 -4
- data/tests/helpers/compute/flavors_helper.rb +0 -2
- data/tests/helpers/compute/server_helper.rb +8 -2
- data/tests/helpers/compute/servers_helper.rb +1 -2
- data/tests/helpers/formats_helper.rb +71 -45
- data/tests/helpers/formats_helper_tests.rb +91 -24
- data/tests/helpers/mock_helper.rb +60 -14
- data/tests/helpers/model_helper.rb +11 -8
- data/tests/helpers/responds_to_helper.rb +2 -4
- data/tests/helpers/schema_validator_tests.rb +107 -0
- data/tests/helpers/succeeds_helper.rb +2 -5
- data/tests/ibm/models/compute/image_tests.rb +25 -0
- data/tests/ibm/models/compute/key_tests.rb +23 -0
- data/tests/ibm/models/compute/keys_tests.rb +35 -0
- data/tests/ibm/models/compute/locations_tests.rb +18 -0
- data/tests/ibm/models/compute/server_tests.rb +88 -0
- data/tests/ibm/models/compute/servers_tests.rb +37 -0
- data/tests/ibm/models/storage/volume_tests.rb +60 -0
- data/tests/ibm/requests/compute/address_tests.rb +44 -0
- data/tests/ibm/requests/compute/image_tests.rb +110 -0
- data/tests/ibm/requests/compute/instance_tests.rb +102 -0
- data/tests/ibm/requests/compute/key_tests.rb +50 -0
- data/tests/ibm/requests/compute/location_tests.rb +28 -0
- data/tests/ibm/requests/compute/vlan_tests.rb +21 -0
- data/tests/ibm/requests/storage/volume_tests.rb +100 -0
- data/tests/linode/requests/compute/datacenter_tests.rb +20 -0
- data/tests/linode/requests/compute/distribution_tests.rb +32 -0
- data/tests/linode/requests/compute/helper.rb +10 -0
- data/tests/linode/requests/compute/kernel_tests.rb +19 -0
- data/tests/linode/requests/compute/linode_tests.rb +216 -0
- data/tests/linode/requests/compute/linodeplans_tests.rb +44 -0
- data/tests/linode/requests/compute/nodebalancers_tests.rb +20 -0
- data/tests/linode/requests/compute/stackscripts_tests.rb +36 -0
- data/tests/linode/requests/dns/dns_tests.rb +250 -0
- data/tests/opennebula/compute_tests.rb +19 -0
- data/tests/opennebula/models/compute/flavor_tests.rb +40 -0
- data/tests/opennebula/models/compute/flavors_tests.rb +19 -0
- data/tests/opennebula/models/compute/group_tests.rb +30 -0
- data/tests/opennebula/models/compute/groups_tests.rb +19 -0
- data/tests/opennebula/models/compute/network_tests.rb +30 -0
- data/tests/opennebula/models/compute/networks_tests.rb +19 -0
- data/tests/opennebula/requests/compute/vm_allocate_tests.rb +80 -0
- data/tests/opennebula/requests/compute/vm_disk_snapshot_test.rb +49 -0
- data/tests/opennebula/requests/compute/vm_suspend_resume_tests.rb +55 -0
- data/tests/openvz/helper.rb +47 -0
- data/tests/openvz/models/compute/server_tests.rb +55 -0
- data/tests/openvz/models/compute/servers_tests.rb +35 -0
- data/tests/rage4/requests/dns/dns_tests.rb +282 -0
- data/tests/storage/helper.rb +5 -8
- data/tests/storage/models/directories_tests.rb +10 -6
- data/tests/storage/models/directory_test.rb +16 -12
- data/tests/storage/models/file_tests.rb +9 -9
- data/tests/storage/models/files_tests.rb +7 -7
- data/tests/vcloud/data/api_+_admin_+_network_+_2 +110 -0
- data/tests/vcloud/data/api_+_network_+_1 +44 -0
- data/tests/vcloud/data/api_+_org_+_ +5 -0
- data/tests/vcloud/data/api_+_org_+_1 +17 -0
- data/tests/vcloud/data/api_+_sessions +8 -0
- data/tests/vcloud/data/api_+_v1.0_+_admin_+_network_+_2 +110 -0
- data/tests/vcloud/data/api_+_v1.0_+_login +5 -0
- data/tests/vcloud/data/api_+_v1.0_+_network_+_1 +44 -0
- data/tests/vcloud/data/api_+_v1.0_+_network_+_2 +31 -0
- data/tests/vcloud/data/api_+_v1.0_+_org_+_1 +17 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vapp-1 +369 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-1 +139 -0
- data/tests/vcloud/data/api_+_v1.0_+_vApp_+_vm-2 +155 -0
- data/tests/vcloud/data/api_+_v1.0_+_vdc_+_1 +61 -0
- data/tests/vcloud/data/api_+_vApp_+_vapp-1 +369 -0
- data/tests/vcloud/data/api_+_vApp_+_vm-2 +155 -0
- data/tests/vcloud/data/api_+_vdc_+_1 +62 -0
- data/tests/vcloud/models/compute/helper.rb +22 -0
- data/tests/vcloud/models/compute/network_tests.rb +67 -0
- data/tests/vcloud/models/compute/networks_tests.rb +61 -0
- data/tests/vcloud/models/compute/organization_tests.rb +20 -0
- data/tests/vcloud/models/compute/organizations_tests.rb +16 -0
- data/tests/vcloud/models/compute/server_tests.rb +142 -0
- data/tests/vcloud/models/compute/servers_tests.rb +23 -0
- data/tests/vcloud/models/compute/vapp_tests.rb +32 -0
- data/tests/vcloud/models/compute/vapps_tests.rb +19 -0
- data/tests/vcloud/models/compute/vdc_tests.rb +48 -0
- data/tests/vcloud/models/compute/vdcs_tests.rb +24 -0
- data/tests/vcloud/requests/compute/disk_configure_tests.rb +111 -0
- data/tests/vcloud_director/ensure_list_tests.rb +84 -0
- data/tests/vcloud_director/fixtures/test.iso +1 -0
- data/tests/vcloud_director/fixtures/vapp.xml +532 -0
- data/tests/vcloud_director/fixtures/vm.xml +213 -0
- data/tests/vcloud_director/generators/compute/compose_vapp_tests.rb +108 -0
- data/tests/vcloud_director/models/compute/catalog_items_tests.rb +42 -0
- data/tests/vcloud_director/models/compute/catalogs_tests.rb +40 -0
- data/tests/vcloud_director/models/compute/helper.rb +60 -0
- data/tests/vcloud_director/models/compute/media_tests.rb +58 -0
- data/tests/vcloud_director/models/compute/network_tests.rb +108 -0
- data/tests/vcloud_director/models/compute/organizations_tests.rb +18 -0
- data/tests/vcloud_director/models/compute/tasks_tests.rb +56 -0
- data/tests/vcloud_director/models/compute/vapp_life_cycle_tests.rb +93 -0
- data/tests/vcloud_director/models/compute/vapp_template_tests.rb +29 -0
- data/tests/vcloud_director/models/compute/vapp_tests.rb +61 -0
- data/tests/vcloud_director/models/compute/vdcs_tests.rb +54 -0
- data/tests/vcloud_director/models/compute/vms_tests.rb +101 -0
- data/tests/vcloud_director/requests/compute/admin_tests.rb +16 -0
- data/tests/vcloud_director/requests/compute/catalog_tests.rb +42 -0
- data/tests/vcloud_director/requests/compute/disk_tests.rb +178 -0
- data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +217 -0
- data/tests/vcloud_director/requests/compute/groups_tests.rb +18 -0
- data/tests/vcloud_director/requests/compute/helper.rb +32 -0
- data/tests/vcloud_director/requests/compute/media_tests.rb +195 -0
- data/tests/vcloud_director/requests/compute/network_tests.rb +186 -0
- data/tests/vcloud_director/requests/compute/organization_tests.rb +37 -0
- data/tests/vcloud_director/requests/compute/ovf_descriptor_tests.rb +36 -0
- data/tests/vcloud_director/requests/compute/query_tests.rb +99 -0
- data/tests/vcloud_director/requests/compute/schema_helper.rb +663 -0
- data/tests/vcloud_director/requests/compute/session_tests.rb +14 -0
- data/tests/vcloud_director/requests/compute/supported_systems_tests.rb +11 -0
- data/tests/vcloud_director/requests/compute/task_tests.rb +35 -0
- data/tests/vcloud_director/requests/compute/users_tests.rb +18 -0
- data/tests/vcloud_director/requests/compute/vapp_tests.rb +123 -0
- data/tests/vcloud_director/requests/compute/vdc_storage_profile_tests.rb +27 -0
- data/tests/vcloud_director/requests/compute/vdc_tests.rb +36 -0
- data/tests/vcloud_director/requests/compute/versions_tests.rb +13 -0
- data/tests/vcloud_director/requests/compute/vm_tests.rb +185 -0
- data/tests/watchr.rb +22 -0
- metadata +1752 -1372
- data/README.rdoc +0 -163
- data/changelog.txt +0 -148
- data/examples/dns_tests.rb +0 -78
- data/examples/storage_tests.rb +0 -105
- data/lib/fog/aws/cloud_formation.rb +0 -124
- data/lib/fog/aws/elb.rb +0 -111
- data/lib/fog/aws/iam.rb +0 -122
- data/lib/fog/aws/parsers/cloud_formation/basic.rb +0 -12
- data/lib/fog/aws/parsers/cloud_formation/create_stack.rb +0 -19
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_events.rb +0 -31
- data/lib/fog/aws/parsers/cloud_formation/describe_stack_resources.rb +0 -31
- data/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +0 -72
- data/lib/fog/aws/parsers/cloud_formation/get_template.rb +0 -19
- data/lib/fog/aws/parsers/cloud_formation/validate_template.rb +0 -52
- data/lib/fog/aws/parsers/elb/create_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/delete_load_balancer.rb +0 -24
- data/lib/fog/aws/parsers/elb/deregister_instances_from_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/describe_instance_health.rb +0 -30
- data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +0 -101
- data/lib/fog/aws/parsers/elb/disable_availability_zones_for_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb +0 -26
- data/lib/fog/aws/parsers/iam/basic.rb +0 -19
- data/lib/fog/aws/parsers/iam/create_access_key.rb +0 -26
- data/lib/fog/aws/parsers/iam/create_group.rb +0 -26
- data/lib/fog/aws/parsers/iam/create_user.rb +0 -26
- data/lib/fog/aws/parsers/iam/get_group.rb +0 -55
- data/lib/fog/aws/parsers/iam/get_user.rb +0 -27
- data/lib/fog/aws/parsers/iam/get_user_policy.rb +0 -27
- data/lib/fog/aws/parsers/iam/list_access_keys.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_groups.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_groups_for_user.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_policies.rb +0 -28
- data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +0 -32
- data/lib/fog/aws/parsers/iam/list_users.rb +0 -32
- data/lib/fog/aws/parsers/iam/login_profile.rb +0 -27
- data/lib/fog/aws/parsers/iam/update_group.rb +0 -26
- data/lib/fog/aws/parsers/iam/update_user.rb +0 -27
- data/lib/fog/aws/parsers/iam/upload_server_certificate.rb +0 -26
- data/lib/fog/aws/parsers/iam/upload_signing_certificate.rb +0 -26
- data/lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb +0 -38
- data/lib/fog/aws/parsers/rds/create_db_instance.rb +0 -34
- data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +0 -34
- data/lib/fog/aws/parsers/rds/create_db_parameter_group.rb +0 -35
- data/lib/fog/aws/parsers/rds/create_db_security_group.rb +0 -38
- data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +0 -35
- data/lib/fog/aws/parsers/rds/db_parser.rb +0 -123
- data/lib/fog/aws/parsers/rds/delete_db_instance.rb +0 -35
- data/lib/fog/aws/parsers/rds/delete_db_parameter_group.rb +0 -27
- data/lib/fog/aws/parsers/rds/delete_db_security_group.rb +0 -33
- data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +0 -34
- data/lib/fog/aws/parsers/rds/describe_db_instances.rb +0 -36
- data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +0 -38
- data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +0 -44
- data/lib/fog/aws/parsers/rds/describe_db_security_groups.rb +0 -39
- data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +0 -39
- data/lib/fog/aws/parsers/rds/modify_db_instance.rb +0 -34
- data/lib/fog/aws/parsers/rds/modify_db_parameter_group.rb +0 -28
- data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +0 -35
- data/lib/fog/aws/parsers/rds/restore_db_instance_from_db_snapshot.rb +0 -34
- data/lib/fog/aws/parsers/rds/restore_db_instance_to_point_in_time.rb +0 -35
- data/lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb +0 -39
- data/lib/fog/aws/parsers/rds/security_group_parser.rb +0 -39
- data/lib/fog/aws/parsers/rds/snapshot_parser.rb +0 -40
- data/lib/fog/aws/parsers/ses/delete_verified_email_address.rb +0 -24
- data/lib/fog/aws/parsers/ses/get_send_quota.rb +0 -26
- data/lib/fog/aws/parsers/ses/get_send_statistics.rb +0 -29
- data/lib/fog/aws/parsers/ses/list_verified_email_addresses.rb +0 -25
- data/lib/fog/aws/parsers/ses/send_email.rb +0 -26
- data/lib/fog/aws/parsers/ses/send_raw_email.rb +0 -26
- data/lib/fog/aws/parsers/ses/verify_email_address.rb +0 -24
- data/lib/fog/aws/parsers/simpledb/basic.rb +0 -31
- data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +0 -32
- data/lib/fog/aws/parsers/simpledb/get_attributes.rb +0 -36
- data/lib/fog/aws/parsers/simpledb/list_domains.rb +0 -30
- data/lib/fog/aws/parsers/simpledb/select.rb +0 -41
- data/lib/fog/aws/rds/models/parameter.rb +0 -21
- data/lib/fog/aws/rds/models/parameter_group.rb +0 -36
- data/lib/fog/aws/rds/models/parameter_groups.rb +0 -27
- data/lib/fog/aws/rds/models/parameters.rb +0 -37
- data/lib/fog/aws/rds/models/security_group.rb +0 -73
- data/lib/fog/aws/rds/models/security_groups.rb +0 -43
- data/lib/fog/aws/rds/models/server.rb +0 -105
- data/lib/fog/aws/rds/models/servers.rb +0 -27
- data/lib/fog/aws/rds/models/snapshot.rb +0 -49
- data/lib/fog/aws/rds/models/snapshots.rb +0 -45
- data/lib/fog/aws/rds.rb +0 -161
- data/lib/fog/aws/requests/cloud_formation/create_stack.rb +0 -71
- data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +0 -30
- data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +0 -44
- data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +0 -43
- data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +0 -42
- data/lib/fog/aws/requests/cloud_formation/get_template.rb +0 -32
- data/lib/fog/aws/requests/cloud_formation/validate_template.rb +0 -34
- data/lib/fog/aws/requests/elb/create_load_balancer.rb +0 -54
- data/lib/fog/aws/requests/elb/delete_load_balancer.rb +0 -33
- data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +0 -47
- data/lib/fog/aws/requests/elb/describe_instance_health.rb +0 -37
- data/lib/fog/aws/requests/elb/describe_load_balancers.rb +0 -51
- data/lib/fog/aws/requests/elb/disable_availability_zones_for_load_balancer.rb +0 -46
- data/lib/fog/aws/requests/elb/enable_availability_zones_for_load_balancer.rb +0 -46
- data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +0 -47
- data/lib/fog/aws/requests/iam/add_user_to_group.rb +0 -34
- data/lib/fog/aws/requests/iam/create_access_key.rb +0 -37
- data/lib/fog/aws/requests/iam/create_group.rb +0 -39
- data/lib/fog/aws/requests/iam/create_login_profile.rb +0 -36
- data/lib/fog/aws/requests/iam/create_user.rb +0 -39
- data/lib/fog/aws/requests/iam/delete_access_key.rb +0 -34
- data/lib/fog/aws/requests/iam/delete_group.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_group_policy.rb +0 -34
- data/lib/fog/aws/requests/iam/delete_login_profile.rb +0 -31
- data/lib/fog/aws/requests/iam/delete_server_certificate.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_signing_certificate.rb +0 -33
- data/lib/fog/aws/requests/iam/delete_user.rb +0 -32
- data/lib/fog/aws/requests/iam/delete_user_policy.rb +0 -34
- data/lib/fog/aws/requests/iam/get_group.rb +0 -44
- data/lib/fog/aws/requests/iam/get_login_profile.rb +0 -35
- data/lib/fog/aws/requests/iam/get_user.rb +0 -36
- data/lib/fog/aws/requests/iam/get_user_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/list_access_keys.rb +0 -40
- data/lib/fog/aws/requests/iam/list_group_policies.rb +0 -39
- data/lib/fog/aws/requests/iam/list_groups.rb +0 -42
- data/lib/fog/aws/requests/iam/list_groups_for_user.rb +0 -43
- data/lib/fog/aws/requests/iam/list_signing_certificates.rb +0 -38
- data/lib/fog/aws/requests/iam/list_user_policies.rb +0 -39
- data/lib/fog/aws/requests/iam/list_users.rb +0 -42
- data/lib/fog/aws/requests/iam/put_group_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/put_user_policy.rb +0 -36
- data/lib/fog/aws/requests/iam/remove_user_from_group.rb +0 -34
- data/lib/fog/aws/requests/iam/update_access_key.rb +0 -36
- data/lib/fog/aws/requests/iam/update_group.rb +0 -39
- data/lib/fog/aws/requests/iam/update_login_profile.rb +0 -33
- data/lib/fog/aws/requests/iam/update_signing_certificate.rb +0 -32
- data/lib/fog/aws/requests/iam/update_user.rb +0 -39
- data/lib/fog/aws/requests/iam/upload_server_certificate.rb +0 -45
- data/lib/fog/aws/requests/iam/upload_signing_certificate.rb +0 -38
- data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +0 -43
- data/lib/fog/aws/requests/rds/create_db_instance.rb +0 -56
- data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +0 -42
- data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +0 -41
- data/lib/fog/aws/requests/rds/create_db_security_group.rb +0 -37
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +0 -36
- data/lib/fog/aws/requests/rds/delete_db_instance.rb +0 -40
- data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +0 -36
- data/lib/fog/aws/requests/rds/delete_db_security_group.rb +0 -36
- data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +0 -36
- data/lib/fog/aws/requests/rds/describe_db_instances.rb +0 -42
- data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +0 -45
- data/lib/fog/aws/requests/rds/describe_db_parameters.rb +0 -46
- data/lib/fog/aws/requests/rds/describe_db_security_groups.rb +0 -39
- data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +0 -42
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +0 -54
- data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +0 -55
- data/lib/fog/aws/requests/rds/reboot_db_instance.rb +0 -34
- data/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +0 -34
- data/lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb +0 -35
- data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +0 -44
- data/lib/fog/aws/requests/ses/delete_verified_email_address.rb +0 -28
- data/lib/fog/aws/requests/ses/get_send_quota.rb +0 -31
- data/lib/fog/aws/requests/ses/get_send_statistics.rb +0 -34
- data/lib/fog/aws/requests/ses/list_verified_email_addresses.rb +0 -28
- data/lib/fog/aws/requests/ses/send_email.rb +0 -73
- data/lib/fog/aws/requests/ses/send_raw_email.rb +0 -41
- data/lib/fog/aws/requests/ses/verify_email_address.rb +0 -28
- data/lib/fog/aws/requests/simpledb/batch_put_attributes.rb +0 -64
- data/lib/fog/aws/requests/simpledb/create_domain.rb +0 -44
- data/lib/fog/aws/requests/simpledb/delete_attributes.rb +0 -63
- data/lib/fog/aws/requests/simpledb/delete_domain.rb +0 -45
- data/lib/fog/aws/requests/simpledb/domain_metadata.rb +0 -76
- data/lib/fog/aws/requests/simpledb/get_attributes.rb +0 -72
- data/lib/fog/aws/requests/simpledb/list_domains.rb +0 -59
- data/lib/fog/aws/requests/simpledb/put_attributes.rb +0 -78
- data/lib/fog/aws/requests/simpledb/select.rb +0 -35
- data/lib/fog/aws/ses.rb +0 -108
- data/lib/fog/aws/simpledb.rb +0 -188
- data/lib/fog/bin/bluebox.rb +0 -34
- data/lib/fog/bin/dnsimple.rb +0 -30
- data/lib/fog/bin/ecloud.rb +0 -30
- data/lib/fog/bin/google.rb +0 -30
- data/lib/fog/bin/local.rb +0 -30
- data/lib/fog/bin/new_servers.rb +0 -30
- data/lib/fog/bin/slicehost.rb +0 -34
- data/lib/fog/bin/terremark.rb +0 -31
- data/lib/fog/bin/virtual_box.rb +0 -52
- data/lib/fog/bin/voxel.rb +0 -30
- data/lib/fog/bin/zerigo.rb +0 -30
- data/lib/fog/cdn/aws.rb +0 -121
- data/lib/fog/cdn/parsers/aws/distribution.rb +0 -59
- data/lib/fog/cdn/parsers/aws/get_distribution_list.rb +0 -61
- data/lib/fog/cdn/parsers/aws/post_invalidation.rb +0 -28
- data/lib/fog/cdn/rackspace.rb +0 -97
- data/lib/fog/cdn/requests/aws/delete_distribution.rb +0 -28
- data/lib/fog/cdn/requests/aws/get_distribution.rb +0 -57
- data/lib/fog/cdn/requests/aws/get_distribution_list.rb +0 -59
- data/lib/fog/cdn/requests/aws/post_distribution.rb +0 -91
- data/lib/fog/cdn/requests/aws/post_invalidation.rb +0 -51
- data/lib/fog/cdn/requests/aws/put_distribution_config.rb +0 -94
- data/lib/fog/cdn/requests/rackspace/get_containers.rb +0 -31
- data/lib/fog/cdn/requests/rackspace/head_container.rb +0 -33
- data/lib/fog/cdn/requests/rackspace/post_container.rb +0 -30
- data/lib/fog/cdn/requests/rackspace/put_container.rb +0 -30
- data/lib/fog/cdn.rb +0 -19
- data/lib/fog/compute/aws.rb +0 -264
- data/lib/fog/compute/bluebox.rb +0 -103
- data/lib/fog/compute/brightbox.rb +0 -162
- data/lib/fog/compute/ecloud.rb +0 -1306
- data/lib/fog/compute/go_grid.rb +0 -121
- data/lib/fog/compute/linode.rb +0 -99
- data/lib/fog/compute/models/aws/address.rb +0 -69
- data/lib/fog/compute/models/aws/addresses.rb +0 -100
- data/lib/fog/compute/models/aws/flavor.rb +0 -21
- data/lib/fog/compute/models/aws/flavors.rb +0 -167
- data/lib/fog/compute/models/aws/image.rb +0 -43
- data/lib/fog/compute/models/aws/images.rb +0 -62
- data/lib/fog/compute/models/aws/key_pair.rb +0 -42
- data/lib/fog/compute/models/aws/key_pairs.rb +0 -88
- data/lib/fog/compute/models/aws/security_group.rb +0 -205
- data/lib/fog/compute/models/aws/security_groups.rb +0 -95
- data/lib/fog/compute/models/aws/server.rb +0 -245
- data/lib/fog/compute/models/aws/servers.rb +0 -158
- data/lib/fog/compute/models/aws/snapshot.rb +0 -56
- data/lib/fog/compute/models/aws/snapshots.rb +0 -52
- data/lib/fog/compute/models/aws/tag.rb +0 -36
- data/lib/fog/compute/models/aws/tags.rb +0 -34
- data/lib/fog/compute/models/aws/volume.rb +0 -107
- data/lib/fog/compute/models/aws/volumes.rb +0 -121
- data/lib/fog/compute/models/bluebox/flavor.rb +0 -45
- data/lib/fog/compute/models/bluebox/flavors.rb +0 -28
- data/lib/fog/compute/models/bluebox/image.rb +0 -19
- data/lib/fog/compute/models/bluebox/images.rb +0 -28
- data/lib/fog/compute/models/bluebox/server.rb +0 -138
- data/lib/fog/compute/models/bluebox/servers.rb +0 -36
- data/lib/fog/compute/models/brightbox/account.rb +0 -51
- data/lib/fog/compute/models/brightbox/cloud_ip.rb +0 -47
- data/lib/fog/compute/models/brightbox/cloud_ips.rb +0 -34
- data/lib/fog/compute/models/brightbox/flavor.rb +0 -33
- data/lib/fog/compute/models/brightbox/flavors.rb +0 -28
- data/lib/fog/compute/models/brightbox/image.rb +0 -56
- data/lib/fog/compute/models/brightbox/images.rb +0 -28
- data/lib/fog/compute/models/brightbox/load_balancer.rb +0 -50
- data/lib/fog/compute/models/brightbox/load_balancers.rb +0 -28
- data/lib/fog/compute/models/brightbox/server.rb +0 -108
- data/lib/fog/compute/models/brightbox/servers.rb +0 -29
- data/lib/fog/compute/models/brightbox/user.rb +0 -39
- data/lib/fog/compute/models/brightbox/users.rb +0 -29
- data/lib/fog/compute/models/brightbox/zone.rb +0 -21
- data/lib/fog/compute/models/brightbox/zones.rb +0 -29
- data/lib/fog/compute/models/ecloud/backup_internet_service.rb +0 -56
- data/lib/fog/compute/models/ecloud/backup_internet_services.rb +0 -33
- data/lib/fog/compute/models/ecloud/catalog.rb +0 -28
- data/lib/fog/compute/models/ecloud/catalog_item.rb +0 -29
- data/lib/fog/compute/models/ecloud/firewall_acl.rb +0 -24
- data/lib/fog/compute/models/ecloud/firewall_acls.rb +0 -31
- data/lib/fog/compute/models/ecloud/internet_service.rb +0 -117
- data/lib/fog/compute/models/ecloud/internet_services.rb +0 -33
- data/lib/fog/compute/models/ecloud/ip.rb +0 -49
- data/lib/fog/compute/models/ecloud/ips.rb +0 -32
- data/lib/fog/compute/models/ecloud/network.rb +0 -72
- data/lib/fog/compute/models/ecloud/networks.rb +0 -33
- data/lib/fog/compute/models/ecloud/node.rb +0 -43
- data/lib/fog/compute/models/ecloud/nodes.rb +0 -31
- data/lib/fog/compute/models/ecloud/public_ip.rb +0 -22
- data/lib/fog/compute/models/ecloud/public_ips.rb +0 -36
- data/lib/fog/compute/models/ecloud/server.rb +0 -209
- data/lib/fog/compute/models/ecloud/servers.rb +0 -55
- data/lib/fog/compute/models/ecloud/task.rb +0 -21
- data/lib/fog/compute/models/ecloud/tasks.rb +0 -31
- data/lib/fog/compute/models/ecloud/vdc.rb +0 -81
- data/lib/fog/compute/models/ecloud/vdcs.rb +0 -40
- data/lib/fog/compute/models/go_grid/image.rb +0 -60
- data/lib/fog/compute/models/go_grid/images.rb +0 -33
- data/lib/fog/compute/models/go_grid/password.rb +0 -50
- data/lib/fog/compute/models/go_grid/passwords.rb +0 -36
- data/lib/fog/compute/models/go_grid/server.rb +0 -117
- data/lib/fog/compute/models/go_grid/servers.rb +0 -35
- data/lib/fog/compute/models/rackspace/flavor.rb +0 -43
- data/lib/fog/compute/models/rackspace/flavors.rb +0 -28
- data/lib/fog/compute/models/rackspace/image.rb +0 -48
- data/lib/fog/compute/models/rackspace/images.rb +0 -33
- data/lib/fog/compute/models/rackspace/server.rb +0 -145
- data/lib/fog/compute/models/rackspace/servers.rb +0 -36
- data/lib/fog/compute/models/slicehost/flavor.rb +0 -45
- data/lib/fog/compute/models/slicehost/flavors.rb +0 -28
- data/lib/fog/compute/models/slicehost/image.rb +0 -17
- data/lib/fog/compute/models/slicehost/images.rb +0 -27
- data/lib/fog/compute/models/slicehost/server.rb +0 -128
- data/lib/fog/compute/models/slicehost/servers.rb +0 -38
- data/lib/fog/compute/models/virtual_box/medium.rb +0 -87
- data/lib/fog/compute/models/virtual_box/medium_format.rb +0 -34
- data/lib/fog/compute/models/virtual_box/mediums.rb +0 -32
- data/lib/fog/compute/models/virtual_box/nat_engine.rb +0 -65
- data/lib/fog/compute/models/virtual_box/nat_redirect.rb +0 -91
- data/lib/fog/compute/models/virtual_box/nat_redirects.rb +0 -41
- data/lib/fog/compute/models/virtual_box/network_adapter.rb +0 -82
- data/lib/fog/compute/models/virtual_box/network_adapters.rb +0 -42
- data/lib/fog/compute/models/virtual_box/server.rb +0 -241
- data/lib/fog/compute/models/virtual_box/servers.rb +0 -41
- data/lib/fog/compute/models/virtual_box/storage_controller.rb +0 -83
- data/lib/fog/compute/models/virtual_box/storage_controllers.rb +0 -38
- data/lib/fog/compute/models/voxel/image.rb +0 -12
- data/lib/fog/compute/models/voxel/images.rb +0 -30
- data/lib/fog/compute/models/voxel/server.rb +0 -77
- data/lib/fog/compute/models/voxel/servers.rb +0 -32
- data/lib/fog/compute/new_servers.rb +0 -102
- data/lib/fog/compute/parsers/aws/allocate_address.rb +0 -19
- data/lib/fog/compute/parsers/aws/attach_volume.rb +0 -22
- data/lib/fog/compute/parsers/aws/basic.rb +0 -25
- data/lib/fog/compute/parsers/aws/create_image.rb +0 -20
- data/lib/fog/compute/parsers/aws/create_key_pair.rb +0 -20
- data/lib/fog/compute/parsers/aws/create_snapshot.rb +0 -26
- data/lib/fog/compute/parsers/aws/create_volume.rb +0 -24
- data/lib/fog/compute/parsers/aws/deregister_image.rb +0 -20
- data/lib/fog/compute/parsers/aws/describe_addresses.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_availability_zones.rb +0 -32
- data/lib/fog/compute/parsers/aws/describe_images.rb +0 -72
- data/lib/fog/compute/parsers/aws/describe_instances.rb +0 -119
- data/lib/fog/compute/parsers/aws/describe_key_pairs.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_regions.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_reserved_instances.rb +0 -36
- data/lib/fog/compute/parsers/aws/describe_reserved_instances_offerings.rb +0 -34
- data/lib/fog/compute/parsers/aws/describe_security_groups.rb +0 -76
- data/lib/fog/compute/parsers/aws/describe_snapshots.rb +0 -54
- data/lib/fog/compute/parsers/aws/describe_tags.rb +0 -30
- data/lib/fog/compute/parsers/aws/describe_volumes.rb +0 -73
- data/lib/fog/compute/parsers/aws/detach_volume.rb +0 -22
- data/lib/fog/compute/parsers/aws/get_console_output.rb +0 -32
- data/lib/fog/compute/parsers/aws/import_key_pair.rb +0 -20
- data/lib/fog/compute/parsers/aws/monitor_unmonitor_instances.rb +0 -35
- data/lib/fog/compute/parsers/aws/register_image.rb +0 -20
- data/lib/fog/compute/parsers/aws/run_instances.rb +0 -89
- data/lib/fog/compute/parsers/aws/start_stop_instances.rb +0 -41
- data/lib/fog/compute/parsers/aws/terminate_instances.rb +0 -55
- data/lib/fog/compute/parsers/slicehost/create_slice.rb +0 -31
- data/lib/fog/compute/parsers/slicehost/get_backups.rb +0 -32
- data/lib/fog/compute/parsers/slicehost/get_flavor.rb +0 -26
- data/lib/fog/compute/parsers/slicehost/get_flavors.rb +0 -30
- data/lib/fog/compute/parsers/slicehost/get_image.rb +0 -26
- data/lib/fog/compute/parsers/slicehost/get_images.rb +0 -30
- data/lib/fog/compute/parsers/slicehost/get_slice.rb +0 -31
- data/lib/fog/compute/parsers/slicehost/get_slices.rb +0 -35
- data/lib/fog/compute/parsers/voxel/basic.rb +0 -31
- data/lib/fog/compute/parsers/voxel/devices_list.rb +0 -111
- data/lib/fog/compute/parsers/voxel/images_list.rb +0 -59
- data/lib/fog/compute/parsers/voxel/voxcloud_create.rb +0 -40
- data/lib/fog/compute/parsers/voxel/voxcloud_delete.rb +0 -31
- data/lib/fog/compute/parsers/voxel/voxcloud_status.rb +0 -42
- data/lib/fog/compute/rackspace.rb +0 -151
- data/lib/fog/compute/requests/aws/allocate_address.rb +0 -51
- data/lib/fog/compute/requests/aws/associate_address.rb +0 -59
- data/lib/fog/compute/requests/aws/attach_volume.rb +0 -81
- data/lib/fog/compute/requests/aws/authorize_security_group_ingress.rb +0 -106
- data/lib/fog/compute/requests/aws/create_image.rb +0 -64
- data/lib/fog/compute/requests/aws/create_key_pair.rb +0 -54
- data/lib/fog/compute/requests/aws/create_security_group.rb +0 -55
- data/lib/fog/compute/requests/aws/create_snapshot.rb +0 -71
- data/lib/fog/compute/requests/aws/create_tags.rb +0 -80
- data/lib/fog/compute/requests/aws/create_volume.rb +0 -74
- data/lib/fog/compute/requests/aws/delete_key_pair.rb +0 -45
- data/lib/fog/compute/requests/aws/delete_security_group.rb +0 -47
- data/lib/fog/compute/requests/aws/delete_snapshot.rb +0 -48
- data/lib/fog/compute/requests/aws/delete_tags.rb +0 -42
- data/lib/fog/compute/requests/aws/delete_volume.rb +0 -54
- data/lib/fog/compute/requests/aws/deregister_image.rb +0 -51
- data/lib/fog/compute/requests/aws/describe_addresses.rb +0 -64
- data/lib/fog/compute/requests/aws/describe_availability_zones.rb +0 -70
- data/lib/fog/compute/requests/aws/describe_images.rb +0 -112
- data/lib/fog/compute/requests/aws/describe_instances.rb +0 -201
- data/lib/fog/compute/requests/aws/describe_key_pairs.rb +0 -66
- data/lib/fog/compute/requests/aws/describe_regions.rb +0 -66
- data/lib/fog/compute/requests/aws/describe_reserved_instances.rb +0 -44
- data/lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb +0 -37
- data/lib/fog/compute/requests/aws/describe_security_groups.rb +0 -95
- data/lib/fog/compute/requests/aws/describe_snapshots.rb +0 -120
- data/lib/fog/compute/requests/aws/describe_tags.rb +0 -34
- data/lib/fog/compute/requests/aws/describe_volumes.rb +0 -118
- data/lib/fog/compute/requests/aws/detach_volume.rb +0 -58
- data/lib/fog/compute/requests/aws/disassociate_address.rb +0 -54
- data/lib/fog/compute/requests/aws/get_console_output.rb +0 -52
- data/lib/fog/compute/requests/aws/import_key_pair.rb +0 -54
- data/lib/fog/compute/requests/aws/modify_image_attributes.rb +0 -33
- data/lib/fog/compute/requests/aws/modify_snapshot_attribute.rb +0 -32
- data/lib/fog/compute/requests/aws/monitor_instances.rb +0 -52
- data/lib/fog/compute/requests/aws/reboot_instances.rb +0 -52
- data/lib/fog/compute/requests/aws/register_image.rb +0 -89
- data/lib/fog/compute/requests/aws/release_address.rb +0 -45
- data/lib/fog/compute/requests/aws/revoke_security_group_ingress.rb +0 -92
- data/lib/fog/compute/requests/aws/run_instances.rb +0 -167
- data/lib/fog/compute/requests/aws/start_instances.rb +0 -30
- data/lib/fog/compute/requests/aws/stop_instances.rb +0 -30
- data/lib/fog/compute/requests/aws/terminate_instances.rb +0 -94
- data/lib/fog/compute/requests/aws/unmonitor_instances.rb +0 -53
- data/lib/fog/compute/requests/bluebox/create_block.rb +0 -33
- data/lib/fog/compute/requests/bluebox/destroy_block.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_block.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_blocks.rb +0 -28
- data/lib/fog/compute/requests/bluebox/get_product.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_products.rb +0 -25
- data/lib/fog/compute/requests/bluebox/get_template.rb +0 -26
- data/lib/fog/compute/requests/bluebox/get_templates.rb +0 -26
- data/lib/fog/compute/requests/bluebox/reboot_block.rb +0 -27
- data/lib/fog/compute/requests/brightbox/activate_console_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/add_listeners_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/create_api_client.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_cloud_ip.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_image.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_load_balancer.rb +0 -19
- data/lib/fog/compute/requests/brightbox/create_server.rb +0 -19
- data/lib/fog/compute/requests/brightbox/destroy_api_client.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_image.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/destroy_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_account.rb +0 -19
- data/lib/fog/compute/requests/brightbox/get_api_client.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_image.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_interface.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_server_type.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_user.rb +0 -20
- data/lib/fog/compute/requests/brightbox/get_zone.rb +0 -20
- data/lib/fog/compute/requests/brightbox/list_api_clients.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_cloud_ips.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_images.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_load_balancers.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_server_types.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_servers.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_users.rb +0 -19
- data/lib/fog/compute/requests/brightbox/list_zones.rb +0 -19
- data/lib/fog/compute/requests/brightbox/map_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/remove_listeners_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb +0 -20
- data/lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb +0 -19
- data/lib/fog/compute/requests/brightbox/resize_server.rb +0 -19
- data/lib/fog/compute/requests/brightbox/shutdown_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/snapshot_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/start_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/stop_server.rb +0 -20
- data/lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb +0 -20
- data/lib/fog/compute/requests/brightbox/update_account.rb +0 -20
- data/lib/fog/compute/requests/brightbox/update_api_client.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_image.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_load_balancer.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_server.rb +0 -21
- data/lib/fog/compute/requests/brightbox/update_user.rb +0 -21
- data/lib/fog/compute/requests/ecloud/add_backup_internet_service.rb +0 -109
- data/lib/fog/compute/requests/ecloud/add_internet_service.rb +0 -149
- data/lib/fog/compute/requests/ecloud/add_node.rb +0 -62
- data/lib/fog/compute/requests/ecloud/clone_vapp.rb +0 -40
- data/lib/fog/compute/requests/ecloud/configure_internet_service.rb +0 -112
- data/lib/fog/compute/requests/ecloud/configure_network.rb +0 -44
- data/lib/fog/compute/requests/ecloud/configure_network_ip.rb +0 -66
- data/lib/fog/compute/requests/ecloud/configure_node.rb +0 -56
- data/lib/fog/compute/requests/ecloud/configure_vapp.rb +0 -144
- data/lib/fog/compute/requests/ecloud/delete_internet_service.rb +0 -22
- data/lib/fog/compute/requests/ecloud/delete_node.rb +0 -22
- data/lib/fog/compute/requests/ecloud/delete_vapp.rb +0 -29
- data/lib/fog/compute/requests/ecloud/get_catalog.rb +0 -44
- data/lib/fog/compute/requests/ecloud/get_catalog_item.rb +0 -47
- data/lib/fog/compute/requests/ecloud/get_customization_options.rb +0 -22
- data/lib/fog/compute/requests/ecloud/get_firewall_acl.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_firewall_acls.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_internet_services.rb +0 -82
- data/lib/fog/compute/requests/ecloud/get_network.rb +0 -44
- data/lib/fog/compute/requests/ecloud/get_network_extensions.rb +0 -33
- data/lib/fog/compute/requests/ecloud/get_network_ip.rb +0 -43
- data/lib/fog/compute/requests/ecloud/get_network_ips.rb +0 -35
- data/lib/fog/compute/requests/ecloud/get_node.rb +0 -40
- data/lib/fog/compute/requests/ecloud/get_nodes.rb +0 -41
- data/lib/fog/compute/requests/ecloud/get_organization.rb +0 -49
- data/lib/fog/compute/requests/ecloud/get_public_ip.rb +0 -34
- data/lib/fog/compute/requests/ecloud/get_public_ips.rb +0 -38
- data/lib/fog/compute/requests/ecloud/get_task.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_task_list.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_vapp.rb +0 -99
- data/lib/fog/compute/requests/ecloud/get_vapp_template.rb +0 -11
- data/lib/fog/compute/requests/ecloud/get_vdc.rb +0 -84
- data/lib/fog/compute/requests/ecloud/get_versions.rb +0 -37
- data/lib/fog/compute/requests/ecloud/instantiate_vapp_template.rb +0 -142
- data/lib/fog/compute/requests/ecloud/login.rb +0 -48
- data/lib/fog/compute/requests/ecloud/power_off.rb +0 -23
- data/lib/fog/compute/requests/ecloud/power_on.rb +0 -23
- data/lib/fog/compute/requests/ecloud/power_reset.rb +0 -11
- data/lib/fog/compute/requests/ecloud/power_shutdown.rb +0 -11
- data/lib/fog/compute/requests/go_grid/common_lookup_list.rb +0 -28
- data/lib/fog/compute/requests/go_grid/grid_image_get.rb +0 -41
- data/lib/fog/compute/requests/go_grid/grid_image_list.rb +0 -44
- data/lib/fog/compute/requests/go_grid/grid_ip_list.rb +0 -30
- data/lib/fog/compute/requests/go_grid/grid_loadbalancer_list.rb +0 -28
- data/lib/fog/compute/requests/go_grid/grid_server_add.rb +0 -36
- data/lib/fog/compute/requests/go_grid/grid_server_delete.rb +0 -25
- data/lib/fog/compute/requests/go_grid/grid_server_get.rb +0 -25
- data/lib/fog/compute/requests/go_grid/grid_server_list.rb +0 -30
- data/lib/fog/compute/requests/go_grid/grid_server_power.rb +0 -26
- data/lib/fog/compute/requests/go_grid/support_password_get.rb +0 -28
- data/lib/fog/compute/requests/go_grid/support_password_list.rb +0 -30
- data/lib/fog/compute/requests/linode/avail_datacenters.rb +0 -23
- data/lib/fog/compute/requests/linode/avail_distributions.rb +0 -30
- data/lib/fog/compute/requests/linode/avail_kernels.rb +0 -28
- data/lib/fog/compute/requests/linode/avail_linodeplans.rb +0 -27
- data/lib/fog/compute/requests/linode/avail_stackscripts.rb +0 -29
- data/lib/fog/compute/requests/linode/linode_create.rb +0 -33
- data/lib/fog/compute/requests/linode/linode_delete.rb +0 -28
- data/lib/fog/compute/requests/linode/linode_list.rb +0 -30
- data/lib/fog/compute/requests/linode/linode_reboot.rb +0 -28
- data/lib/fog/compute/requests/new_servers/add_server.rb +0 -33
- data/lib/fog/compute/requests/new_servers/cancel_server.rb +0 -30
- data/lib/fog/compute/requests/new_servers/get_server.rb +0 -36
- data/lib/fog/compute/requests/new_servers/list_images.rb +0 -27
- data/lib/fog/compute/requests/new_servers/list_plans.rb +0 -30
- data/lib/fog/compute/requests/new_servers/list_servers.rb +0 -36
- data/lib/fog/compute/requests/new_servers/reboot_server.rb +0 -24
- data/lib/fog/compute/requests/rackspace/confirm_resized_server.rb +0 -34
- data/lib/fog/compute/requests/rackspace/create_image.rb +0 -62
- data/lib/fog/compute/requests/rackspace/create_server.rb +0 -94
- data/lib/fog/compute/requests/rackspace/delete_image.rb +0 -45
- data/lib/fog/compute/requests/rackspace/delete_server.rb +0 -43
- data/lib/fog/compute/requests/rackspace/get_flavor_details.rb +0 -52
- data/lib/fog/compute/requests/rackspace/get_image_details.rb +0 -27
- data/lib/fog/compute/requests/rackspace/get_server_details.rb +0 -52
- data/lib/fog/compute/requests/rackspace/list_addresses.rb +0 -43
- data/lib/fog/compute/requests/rackspace/list_flavors.rb +0 -45
- data/lib/fog/compute/requests/rackspace/list_flavors_detail.rb +0 -47
- data/lib/fog/compute/requests/rackspace/list_images.rb +0 -40
- data/lib/fog/compute/requests/rackspace/list_images_detail.rb +0 -49
- data/lib/fog/compute/requests/rackspace/list_private_addresses.rb +0 -41
- data/lib/fog/compute/requests/rackspace/list_public_addresses.rb +0 -41
- data/lib/fog/compute/requests/rackspace/list_servers.rb +0 -41
- data/lib/fog/compute/requests/rackspace/list_servers_detail.rb +0 -56
- data/lib/fog/compute/requests/rackspace/reboot_server.rb +0 -30
- data/lib/fog/compute/requests/rackspace/resize_server.rb +0 -39
- data/lib/fog/compute/requests/rackspace/revert_resized_server.rb +0 -35
- data/lib/fog/compute/requests/rackspace/server_action.rb +0 -25
- data/lib/fog/compute/requests/rackspace/update_server.rb +0 -45
- data/lib/fog/compute/requests/slicehost/create_slice.rb +0 -41
- data/lib/fog/compute/requests/slicehost/delete_slice.rb +0 -23
- data/lib/fog/compute/requests/slicehost/get_backups.rb +0 -29
- data/lib/fog/compute/requests/slicehost/get_flavor.rb +0 -32
- data/lib/fog/compute/requests/slicehost/get_flavors.rb +0 -29
- data/lib/fog/compute/requests/slicehost/get_image.rb +0 -30
- data/lib/fog/compute/requests/slicehost/get_images.rb +0 -27
- data/lib/fog/compute/requests/slicehost/get_slice.rb +0 -38
- data/lib/fog/compute/requests/slicehost/get_slices.rb +0 -35
- data/lib/fog/compute/requests/slicehost/reboot_slice.rb +0 -36
- data/lib/fog/compute/requests/voxel/devices_list.rb +0 -24
- data/lib/fog/compute/requests/voxel/devices_power.rb +0 -22
- data/lib/fog/compute/requests/voxel/images_list.rb +0 -31
- data/lib/fog/compute/requests/voxel/voxcloud_create.rb +0 -22
- data/lib/fog/compute/requests/voxel/voxcloud_delete.rb +0 -20
- data/lib/fog/compute/requests/voxel/voxcloud_status.rb +0 -29
- data/lib/fog/compute/slicehost.rb +0 -108
- data/lib/fog/compute/virtual_box.rb +0 -48
- data/lib/fog/compute/voxel.rb +0 -115
- data/lib/fog/compute.rb +0 -46
- data/lib/fog/core/attributes.rb +0 -180
- data/lib/fog/core/collection.rb +0 -127
- data/lib/fog/core/connection.rb +0 -35
- data/lib/fog/core/credentials.rb +0 -103
- data/lib/fog/core/deprecation.rb +0 -23
- data/lib/fog/core/errors.rb +0 -20
- data/lib/fog/core/hmac.rb +0 -48
- data/lib/fog/core/mock.rb +0 -68
- data/lib/fog/core/model.rb +0 -57
- data/lib/fog/core/provider.rb +0 -18
- data/lib/fog/core/scp.rb +0 -63
- data/lib/fog/core/service.rb +0 -167
- data/lib/fog/core/ssh.rb +0 -116
- data/lib/fog/core/time.rb +0 -27
- data/lib/fog/core/wait_for.rb +0 -17
- data/lib/fog/core.rb +0 -33
- data/lib/fog/dns/aws.rb +0 -125
- data/lib/fog/dns/bluebox.rb +0 -108
- data/lib/fog/dns/dnsimple.rb +0 -95
- data/lib/fog/dns/linode.rb +0 -98
- data/lib/fog/dns/models/aws/record.rb +0 -64
- data/lib/fog/dns/models/aws/records.rb +0 -49
- data/lib/fog/dns/models/aws/zone.rb +0 -53
- data/lib/fog/dns/models/aws/zones.rb +0 -33
- data/lib/fog/dns/models/bluebox/record.rb +0 -52
- data/lib/fog/dns/models/bluebox/records.rb +0 -36
- data/lib/fog/dns/models/bluebox/zone.rb +0 -63
- data/lib/fog/dns/models/bluebox/zones.rb +0 -28
- data/lib/fog/dns/models/dnsimple/record.rb +0 -64
- data/lib/fog/dns/models/dnsimple/records.rb +0 -38
- data/lib/fog/dns/models/dnsimple/zone.rb +0 -50
- data/lib/fog/dns/models/dnsimple/zones.rb +0 -29
- data/lib/fog/dns/models/linode/record.rb +0 -69
- data/lib/fog/dns/models/linode/records.rb +0 -37
- data/lib/fog/dns/models/linode/zone.rb +0 -84
- data/lib/fog/dns/models/linode/zones.rb +0 -29
- data/lib/fog/dns/models/slicehost/record.rb +0 -66
- data/lib/fog/dns/models/slicehost/records.rb +0 -36
- data/lib/fog/dns/models/slicehost/zone.rb +0 -69
- data/lib/fog/dns/models/slicehost/zones.rb +0 -28
- data/lib/fog/dns/models/zerigo/record.rb +0 -65
- data/lib/fog/dns/models/zerigo/records.rb +0 -41
- data/lib/fog/dns/models/zerigo/zone.rb +0 -88
- data/lib/fog/dns/models/zerigo/zones.rb +0 -30
- data/lib/fog/dns/parsers/aws/change_resource_record_sets.rb +0 -26
- data/lib/fog/dns/parsers/aws/create_hosted_zone.rb +0 -55
- data/lib/fog/dns/parsers/aws/delete_hosted_zone.rb +0 -25
- data/lib/fog/dns/parsers/aws/get_change.rb +0 -26
- data/lib/fog/dns/parsers/aws/get_hosted_zone.rb +0 -43
- data/lib/fog/dns/parsers/aws/list_hosted_zones.rb +0 -37
- data/lib/fog/dns/parsers/aws/list_resource_record_sets.rb +0 -46
- data/lib/fog/dns/parsers/bluebox/create_record.rb +0 -26
- data/lib/fog/dns/parsers/bluebox/create_zone.rb +0 -26
- data/lib/fog/dns/parsers/bluebox/get_record.rb +0 -21
- data/lib/fog/dns/parsers/bluebox/get_records.rb +0 -27
- data/lib/fog/dns/parsers/bluebox/get_zone.rb +0 -23
- data/lib/fog/dns/parsers/bluebox/get_zones.rb +0 -30
- data/lib/fog/dns/parsers/slicehost/create_record.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/create_zone.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/get_record.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/get_records.rb +0 -30
- data/lib/fog/dns/parsers/slicehost/get_zone.rb +0 -26
- data/lib/fog/dns/parsers/slicehost/get_zones.rb +0 -30
- data/lib/fog/dns/parsers/zerigo/count_hosts.rb +0 -24
- data/lib/fog/dns/parsers/zerigo/count_zones.rb +0 -24
- data/lib/fog/dns/parsers/zerigo/create_host.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/create_zone.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/find_hosts.rb +0 -30
- data/lib/fog/dns/parsers/zerigo/get_host.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/get_zone.rb +0 -56
- data/lib/fog/dns/parsers/zerigo/get_zone_stats.rb +0 -26
- data/lib/fog/dns/parsers/zerigo/list_hosts.rb +0 -30
- data/lib/fog/dns/parsers/zerigo/list_zones.rb +0 -30
- data/lib/fog/dns/requests/aws/change_resource_record_sets.rb +0 -82
- data/lib/fog/dns/requests/aws/create_hosted_zone.rb +0 -59
- data/lib/fog/dns/requests/aws/delete_hosted_zone.rb +0 -39
- data/lib/fog/dns/requests/aws/get_change.rb +0 -38
- data/lib/fog/dns/requests/aws/get_hosted_zone.rb +0 -42
- data/lib/fog/dns/requests/aws/list_hosted_zones.rb +0 -54
- data/lib/fog/dns/requests/aws/list_resource_record_sets.rb +0 -60
- data/lib/fog/dns/requests/bluebox/create_record.rb +0 -48
- data/lib/fog/dns/requests/bluebox/create_zone.rb +0 -52
- data/lib/fog/dns/requests/bluebox/delete_record.rb +0 -31
- data/lib/fog/dns/requests/bluebox/delete_zone.rb +0 -31
- data/lib/fog/dns/requests/bluebox/get_record.rb +0 -40
- data/lib/fog/dns/requests/bluebox/get_records.rb +0 -41
- data/lib/fog/dns/requests/bluebox/get_zone.rb +0 -44
- data/lib/fog/dns/requests/bluebox/get_zones.rb +0 -43
- data/lib/fog/dns/requests/bluebox/update_record.rb +0 -34
- data/lib/fog/dns/requests/bluebox/update_zone.rb +0 -30
- data/lib/fog/dns/requests/dnsimple/create_domain.rb +0 -27
- data/lib/fog/dns/requests/dnsimple/create_record.rb +0 -48
- data/lib/fog/dns/requests/dnsimple/delete_domain.rb +0 -26
- data/lib/fog/dns/requests/dnsimple/delete_record.rb +0 -21
- data/lib/fog/dns/requests/dnsimple/get_domain.rb +0 -37
- data/lib/fog/dns/requests/dnsimple/get_record.rb +0 -34
- data/lib/fog/dns/requests/dnsimple/list_domains.rb +0 -35
- data/lib/fog/dns/requests/dnsimple/list_records.rb +0 -32
- data/lib/fog/dns/requests/dnsimple/update_record.rb +0 -42
- data/lib/fog/dns/requests/linode/domain_create.rb +0 -43
- data/lib/fog/dns/requests/linode/domain_delete.rb +0 -27
- data/lib/fog/dns/requests/linode/domain_list.rb +0 -42
- data/lib/fog/dns/requests/linode/domain_resource_create.rb +0 -44
- data/lib/fog/dns/requests/linode/domain_resource_delete.rb +0 -28
- data/lib/fog/dns/requests/linode/domain_resource_list.rb +0 -43
- data/lib/fog/dns/requests/linode/domain_resource_update.rb +0 -46
- data/lib/fog/dns/requests/linode/domain_update.rb +0 -40
- data/lib/fog/dns/requests/slicehost/create_record.rb +0 -52
- data/lib/fog/dns/requests/slicehost/create_zone.rb +0 -46
- data/lib/fog/dns/requests/slicehost/delete_record.rb +0 -23
- data/lib/fog/dns/requests/slicehost/delete_zone.rb +0 -23
- data/lib/fog/dns/requests/slicehost/get_record.rb +0 -32
- data/lib/fog/dns/requests/slicehost/get_records.rb +0 -33
- data/lib/fog/dns/requests/slicehost/get_zone.rb +0 -32
- data/lib/fog/dns/requests/slicehost/get_zones.rb +0 -30
- data/lib/fog/dns/requests/zerigo/count_hosts.rb +0 -28
- data/lib/fog/dns/requests/zerigo/count_zones.rb +0 -28
- data/lib/fog/dns/requests/zerigo/create_host.rb +0 -62
- data/lib/fog/dns/requests/zerigo/create_zone.rb +0 -89
- data/lib/fog/dns/requests/zerigo/delete_host.rb +0 -24
- data/lib/fog/dns/requests/zerigo/delete_zone.rb +0 -25
- data/lib/fog/dns/requests/zerigo/find_hosts.rb +0 -55
- data/lib/fog/dns/requests/zerigo/get_host.rb +0 -39
- data/lib/fog/dns/requests/zerigo/get_zone.rb +0 -49
- data/lib/fog/dns/requests/zerigo/get_zone_stats.rb +0 -36
- data/lib/fog/dns/requests/zerigo/list_hosts.rb +0 -40
- data/lib/fog/dns/requests/zerigo/list_zones.rb +0 -45
- data/lib/fog/dns/requests/zerigo/update_host.rb +0 -52
- data/lib/fog/dns/requests/zerigo/update_zone.rb +0 -70
- data/lib/fog/dns/slicehost.rb +0 -104
- data/lib/fog/dns/zerigo.rb +0 -113
- data/lib/fog/dns.rb +0 -31
- data/lib/fog/providers/aws.rb +0 -180
- data/lib/fog/providers/bluebox.rb +0 -12
- data/lib/fog/providers/brightbox.rb +0 -9
- data/lib/fog/providers/dnsimple.rb +0 -11
- data/lib/fog/providers/ecloud.rb +0 -11
- data/lib/fog/providers/go_grid.rb +0 -11
- data/lib/fog/providers/google.rb +0 -23
- data/lib/fog/providers/linode.rb +0 -13
- data/lib/fog/providers/local.rb +0 -11
- data/lib/fog/providers/new_servers.rb +0 -11
- data/lib/fog/providers/rackspace.rb +0 -33
- data/lib/fog/providers/slicehost.rb +0 -12
- data/lib/fog/providers/virtual_box.rb +0 -11
- data/lib/fog/providers/voxel.rb +0 -16
- data/lib/fog/providers/zerigo.rb +0 -11
- data/lib/fog/providers.rb +0 -23
- data/lib/fog/storage/aws.rb +0 -335
- data/lib/fog/storage/google.rb +0 -260
- data/lib/fog/storage/local.rb +0 -77
- data/lib/fog/storage/models/aws/directories.rb +0 -43
- data/lib/fog/storage/models/aws/directory.rb +0 -100
- data/lib/fog/storage/models/aws/file.rb +0 -142
- data/lib/fog/storage/models/aws/files.rb +0 -86
- data/lib/fog/storage/models/google/directories.rb +0 -43
- data/lib/fog/storage/models/google/directory.rb +0 -78
- data/lib/fog/storage/models/google/file.rb +0 -145
- data/lib/fog/storage/models/google/files.rb +0 -79
- data/lib/fog/storage/models/local/directories.rb +0 -33
- data/lib/fog/storage/models/local/directory.rb +0 -57
- data/lib/fog/storage/models/local/file.rb +0 -111
- data/lib/fog/storage/models/local/files.rb +0 -87
- data/lib/fog/storage/models/rackspace/directories.rb +0 -39
- data/lib/fog/storage/models/rackspace/directory.rb +0 -64
- data/lib/fog/storage/models/rackspace/file.rb +0 -81
- data/lib/fog/storage/models/rackspace/files.rb +0 -75
- data/lib/fog/storage/parsers/aws/access_control_list.rb +0 -46
- data/lib/fog/storage/parsers/aws/complete_multipart_upload.rb +0 -24
- data/lib/fog/storage/parsers/aws/copy_object.rb +0 -22
- data/lib/fog/storage/parsers/aws/get_bucket.rb +0 -62
- data/lib/fog/storage/parsers/aws/get_bucket_location.rb +0 -20
- data/lib/fog/storage/parsers/aws/get_bucket_logging.rb +0 -40
- data/lib/fog/storage/parsers/aws/get_bucket_object_versions.rb +0 -88
- data/lib/fog/storage/parsers/aws/get_bucket_versioning.rb +0 -24
- data/lib/fog/storage/parsers/aws/get_bucket_website.rb +0 -26
- data/lib/fog/storage/parsers/aws/get_request_payment.rb +0 -20
- data/lib/fog/storage/parsers/aws/get_service.rb +0 -32
- data/lib/fog/storage/parsers/aws/initiate_multipart_upload.rb +0 -24
- data/lib/fog/storage/parsers/aws/list_multipart_uploads.rb +0 -56
- data/lib/fog/storage/parsers/aws/list_parts.rb +0 -40
- data/lib/fog/storage/parsers/google/access_control_list.rb +0 -48
- data/lib/fog/storage/parsers/google/copy_object.rb +0 -22
- data/lib/fog/storage/parsers/google/get_bucket.rb +0 -62
- data/lib/fog/storage/parsers/google/get_bucket_logging.rb +0 -40
- data/lib/fog/storage/parsers/google/get_bucket_object_versions.rb +0 -88
- data/lib/fog/storage/parsers/google/get_bucket_versioning.rb +0 -24
- data/lib/fog/storage/parsers/google/get_request_payment.rb +0 -20
- data/lib/fog/storage/parsers/google/get_service.rb +0 -32
- data/lib/fog/storage/rackspace.rb +0 -127
- data/lib/fog/storage/requests/aws/abort_multipart_upload.rb +0 -30
- data/lib/fog/storage/requests/aws/complete_multipart_upload.rb +0 -52
- data/lib/fog/storage/requests/aws/copy_object.rb +0 -76
- data/lib/fog/storage/requests/aws/delete_bucket.rb +0 -50
- data/lib/fog/storage/requests/aws/delete_bucket_website.rb +0 -32
- data/lib/fog/storage/requests/aws/delete_object.rb +0 -49
- data/lib/fog/storage/requests/aws/get_bucket.rb +0 -111
- data/lib/fog/storage/requests/aws/get_bucket_acl.rb +0 -66
- data/lib/fog/storage/requests/aws/get_bucket_location.rb +0 -52
- data/lib/fog/storage/requests/aws/get_bucket_logging.rb +0 -50
- data/lib/fog/storage/requests/aws/get_bucket_object_versions.rb +0 -75
- data/lib/fog/storage/requests/aws/get_bucket_versioning.rb +0 -40
- data/lib/fog/storage/requests/aws/get_bucket_website.rb +0 -42
- data/lib/fog/storage/requests/aws/get_object.rb +0 -107
- data/lib/fog/storage/requests/aws/get_object_acl.rb +0 -77
- data/lib/fog/storage/requests/aws/get_object_torrent.rb +0 -50
- data/lib/fog/storage/requests/aws/get_object_url.rb +0 -57
- data/lib/fog/storage/requests/aws/get_request_payment.rb +0 -52
- data/lib/fog/storage/requests/aws/get_service.rb +0 -57
- data/lib/fog/storage/requests/aws/head_object.rb +0 -68
- data/lib/fog/storage/requests/aws/initiate_multipart_upload.rb +0 -47
- data/lib/fog/storage/requests/aws/list_multipart_uploads.rb +0 -60
- data/lib/fog/storage/requests/aws/list_parts.rb +0 -59
- data/lib/fog/storage/requests/aws/post_object_hidden_fields.rb +0 -42
- data/lib/fog/storage/requests/aws/put_bucket.rb +0 -77
- data/lib/fog/storage/requests/aws/put_bucket_acl.rb +0 -76
- data/lib/fog/storage/requests/aws/put_bucket_logging.rb +0 -83
- data/lib/fog/storage/requests/aws/put_bucket_versioning.rb +0 -36
- data/lib/fog/storage/requests/aws/put_bucket_website.rb +0 -49
- data/lib/fog/storage/requests/aws/put_object.rb +0 -100
- data/lib/fog/storage/requests/aws/put_object_acl.rb +0 -85
- data/lib/fog/storage/requests/aws/put_object_url.rb +0 -57
- data/lib/fog/storage/requests/aws/put_request_payment.rb +0 -51
- data/lib/fog/storage/requests/aws/sync_clock.rb +0 -28
- data/lib/fog/storage/requests/aws/upload_part.rb +0 -43
- data/lib/fog/storage/requests/google/copy_object.rb +0 -72
- data/lib/fog/storage/requests/google/delete_bucket.rb +0 -46
- data/lib/fog/storage/requests/google/delete_object.rb +0 -50
- data/lib/fog/storage/requests/google/get_bucket.rb +0 -111
- data/lib/fog/storage/requests/google/get_bucket_acl.rb +0 -63
- data/lib/fog/storage/requests/google/get_object.rb +0 -104
- data/lib/fog/storage/requests/google/get_object_acl.rb +0 -74
- data/lib/fog/storage/requests/google/get_object_torrent.rb +0 -47
- data/lib/fog/storage/requests/google/get_object_url.rb +0 -54
- data/lib/fog/storage/requests/google/get_service.rb +0 -53
- data/lib/fog/storage/requests/google/head_object.rb +0 -64
- data/lib/fog/storage/requests/google/put_bucket.rb +0 -75
- data/lib/fog/storage/requests/google/put_bucket_acl.rb +0 -73
- data/lib/fog/storage/requests/google/put_object.rb +0 -94
- data/lib/fog/storage/requests/google/put_object_url.rb +0 -54
- data/lib/fog/storage/requests/rackspace/delete_container.rb +0 -23
- data/lib/fog/storage/requests/rackspace/delete_object.rb +0 -24
- data/lib/fog/storage/requests/rackspace/get_container.rb +0 -45
- data/lib/fog/storage/requests/rackspace/get_containers.rb +0 -34
- data/lib/fog/storage/requests/rackspace/get_object.rb +0 -25
- data/lib/fog/storage/requests/rackspace/head_container.rb +0 -29
- data/lib/fog/storage/requests/rackspace/head_containers.rb +0 -26
- data/lib/fog/storage/requests/rackspace/head_object.rb +0 -24
- data/lib/fog/storage/requests/rackspace/put_container.rb +0 -23
- data/lib/fog/storage/requests/rackspace/put_object.rb +0 -27
- data/lib/fog/storage.rb +0 -57
- data/lib/fog/terremark/models/shared/address.rb +0 -29
- data/lib/fog/terremark/models/shared/addresses.rb +0 -49
- data/lib/fog/terremark/models/shared/network.rb +0 -35
- data/lib/fog/terremark/models/shared/networks.rb +0 -52
- data/lib/fog/terremark/models/shared/server.rb +0 -110
- data/lib/fog/terremark/models/shared/servers.rb +0 -55
- data/lib/fog/terremark/models/shared/task.rb +0 -50
- data/lib/fog/terremark/models/shared/tasks.rb +0 -58
- data/lib/fog/terremark/models/shared/vdc.rb +0 -39
- data/lib/fog/terremark/models/shared/vdcs.rb +0 -52
- data/lib/fog/terremark/parser.rb +0 -19
- data/lib/fog/terremark/parsers/shared/get_catalog.rb +0 -46
- data/lib/fog/terremark/parsers/shared/get_catalog_item.rb +0 -46
- data/lib/fog/terremark/parsers/shared/get_internet_services.rb +0 -60
- data/lib/fog/terremark/parsers/shared/get_network_ips.rb +0 -29
- data/lib/fog/terremark/parsers/shared/get_node_services.rb +0 -36
- data/lib/fog/terremark/parsers/shared/get_organization.rb +0 -52
- data/lib/fog/terremark/parsers/shared/get_organizations.rb +0 -32
- data/lib/fog/terremark/parsers/shared/get_public_ips.rb +0 -30
- data/lib/fog/terremark/parsers/shared/get_tasks_list.rb +0 -52
- data/lib/fog/terremark/parsers/shared/get_vapp_template.rb +0 -46
- data/lib/fog/terremark/parsers/shared/get_vdc.rb +0 -123
- data/lib/fog/terremark/parsers/shared/instantiate_vapp_template.rb +0 -41
- data/lib/fog/terremark/parsers/shared/internet_service.rb +0 -65
- data/lib/fog/terremark/parsers/shared/network.rb +0 -51
- data/lib/fog/terremark/parsers/shared/node_service.rb +0 -32
- data/lib/fog/terremark/parsers/shared/public_ip.rb +0 -26
- data/lib/fog/terremark/parsers/shared/task.rb +0 -40
- data/lib/fog/terremark/parsers/shared/vapp.rb +0 -77
- data/lib/fog/terremark/requests/shared/add_internet_service.rb +0 -55
- data/lib/fog/terremark/requests/shared/add_node_service.rb +0 -55
- data/lib/fog/terremark/requests/shared/create_internet_service.rb +0 -55
- data/lib/fog/terremark/requests/shared/delete_internet_service.rb +0 -22
- data/lib/fog/terremark/requests/shared/delete_node_service.rb +0 -22
- data/lib/fog/terremark/requests/shared/delete_public_ip.rb +0 -22
- data/lib/fog/terremark/requests/shared/delete_vapp.rb +0 -22
- data/lib/fog/terremark/requests/shared/deploy_vapp.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_catalog.rb +0 -32
- data/lib/fog/terremark/requests/shared/get_catalog_item.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_internet_services.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_network.rb +0 -73
- data/lib/fog/terremark/requests/shared/get_network_ips.rb +0 -32
- data/lib/fog/terremark/requests/shared/get_node_services.rb +0 -30
- data/lib/fog/terremark/requests/shared/get_organization.rb +0 -86
- data/lib/fog/terremark/requests/shared/get_organizations.rb +0 -49
- data/lib/fog/terremark/requests/shared/get_public_ip.rb +0 -33
- data/lib/fog/terremark/requests/shared/get_public_ips.rb +0 -72
- data/lib/fog/terremark/requests/shared/get_task.rb +0 -39
- data/lib/fog/terremark/requests/shared/get_tasks_list.rb +0 -33
- data/lib/fog/terremark/requests/shared/get_vapp.rb +0 -42
- data/lib/fog/terremark/requests/shared/get_vapp_template.rb +0 -35
- data/lib/fog/terremark/requests/shared/get_vdc.rb +0 -125
- data/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +0 -71
- data/lib/fog/terremark/requests/shared/power_off.rb +0 -35
- data/lib/fog/terremark/requests/shared/power_on.rb +0 -35
- data/lib/fog/terremark/requests/shared/power_reset.rb +0 -35
- data/lib/fog/terremark/requests/shared/power_shutdown.rb +0 -24
- data/lib/fog/terremark/shared.rb +0 -289
- data/lib/fog/terremark/vcloud.rb +0 -117
- data/lib/fog/terremark.rb +0 -11
- data/spec/aws/models/compute/address_spec.rb +0 -103
- data/spec/aws/models/compute/addresses_spec.rb +0 -70
- data/spec/aws/models/compute/key_pair_spec.rb +0 -86
- data/spec/aws/models/compute/key_pairs_spec.rb +0 -71
- data/spec/aws/models/compute/security_group_spec.rb +0 -88
- data/spec/aws/models/compute/security_groups_spec.rb +0 -71
- data/spec/aws/models/compute/server_spec.rb +0 -105
- data/spec/aws/models/compute/snapshot_spec.rb +0 -79
- data/spec/aws/models/compute/snapshots_spec.rb +0 -85
- data/spec/aws/models/compute/volume_spec.rb +0 -174
- data/spec/aws/models/compute/volumes_spec.rb +0 -71
- data/spec/ecloud/bin_spec.rb +0 -22
- data/spec/ecloud/models/backup_internet_service_spec.rb +0 -48
- data/spec/ecloud/models/backup_internet_services_spec.rb +0 -28
- data/spec/ecloud/models/internet_service_spec.rb +0 -104
- data/spec/ecloud/models/internet_services_spec.rb +0 -29
- data/spec/ecloud/models/ip_spec.rb +0 -33
- data/spec/ecloud/models/ips_spec.rb +0 -28
- data/spec/ecloud/models/network_spec.rb +0 -71
- data/spec/ecloud/models/networks_spec.rb +0 -27
- data/spec/ecloud/models/node_spec.rb +0 -38
- data/spec/ecloud/models/nodes_spec.rb +0 -28
- data/spec/ecloud/models/public_ip_spec.rb +0 -36
- data/spec/ecloud/models/public_ips_spec.rb +0 -27
- data/spec/ecloud/models/server_spec.rb +0 -62
- data/spec/ecloud/models/vdc_spec.rb +0 -63
- data/spec/ecloud/models/vdcs_spec.rb +0 -28
- data/spec/ecloud/requests/add_backup_internet_service_spec.rb +0 -60
- data/spec/ecloud/requests/add_internet_service_spec.rb +0 -65
- data/spec/ecloud/requests/add_node_spec.rb +0 -56
- data/spec/ecloud/requests/configure_internet_service_spec.rb +0 -61
- data/spec/ecloud/requests/configure_network_ip_spec.rb +0 -55
- data/spec/ecloud/requests/configure_node_spec.rb +0 -52
- data/spec/ecloud/requests/configure_vapp_spec.rb +0 -71
- data/spec/ecloud/requests/delete_internet_service_spec.rb +0 -34
- data/spec/ecloud/requests/delete_node_spec.rb +0 -30
- data/spec/ecloud/requests/delete_vapp_spec.rb +0 -92
- data/spec/ecloud/requests/get_catalog_item_spec.rb +0 -62
- data/spec/ecloud/requests/get_catalog_spec.rb +0 -44
- data/spec/ecloud/requests/get_customization_options_spec.rb +0 -39
- data/spec/ecloud/requests/get_internet_services_spec.rb +0 -150
- data/spec/ecloud/requests/get_network_ip_spec.rb +0 -40
- data/spec/ecloud/requests/get_network_ips_spec.rb +0 -58
- data/spec/ecloud/requests/get_network_spec.rb +0 -49
- data/spec/ecloud/requests/get_node_spec.rb +0 -41
- data/spec/ecloud/requests/get_nodes_spec.rb +0 -58
- data/spec/ecloud/requests/get_organization_spec.rb +0 -52
- data/spec/ecloud/requests/get_public_ip_spec.rb +0 -38
- data/spec/ecloud/requests/get_public_ips_spec.rb +0 -52
- data/spec/ecloud/requests/get_vapp_spec.rb +0 -125
- data/spec/ecloud/requests/get_vdc_spec.rb +0 -112
- data/spec/ecloud/requests/get_versions_spec.rb +0 -57
- data/spec/ecloud/requests/instantiate_vapp_template_spec.rb +0 -95
- data/spec/ecloud/requests/login_spec.rb +0 -10
- data/spec/ecloud/requests/power_off_spec.rb +0 -34
- data/spec/ecloud/requests/power_on_spec.rb +0 -34
- data/spec/ecloud/spec_helper.rb +0 -387
- data/spec/ecloud/vcloud_spec.rb +0 -18
- data/tests/aws/requests/cloud_formation/stack_tests.rb +0 -130
- data/tests/aws/requests/iam/access_key_tests.rb +0 -60
- data/tests/aws/requests/iam/group_policy_tests.rb +0 -42
- data/tests/aws/requests/iam/group_tests.rb +0 -47
- data/tests/aws/requests/iam/helper.rb +0 -15
- data/tests/aws/requests/iam/login_profile_tests.rb +0 -64
- data/tests/aws/requests/iam/user_policy_tests.rb +0 -42
- data/tests/aws/requests/iam/user_tests.rb +0 -65
- data/tests/aws/requests/rds/helper.rb +0 -169
- data/tests/aws/requests/rds/instance_tests.rb +0 -129
- data/tests/aws/requests/rds/model_tests.rb +0 -98
- data/tests/aws/requests/rds/parameter_group_tests.rb +0 -68
- data/tests/aws/requests/rds/parameter_request_tests.rb +0 -35
- data/tests/aws/requests/ses/helper.rb +0 -15
- data/tests/aws/requests/ses/verified_email_address_tests.rb +0 -27
- data/tests/aws/requests/simpledb/attributes_tests.rb +0 -75
- data/tests/aws/requests/simpledb/domain_tests.rb +0 -51
- data/tests/aws/requests/simpledb/helper.rb +0 -16
- data/tests/compute/models/aws/server_monitor_tests.rb +0 -47
- data/tests/compute/parsers/aws/monitor_unmonitor_instances_tests.rb +0 -49
- data/tests/compute/requests/aws/address_tests.rb +0 -76
- data/tests/compute/requests/aws/availability_zone_tests.rb +0 -25
- data/tests/compute/requests/aws/helper.rb +0 -20
- data/tests/compute/requests/aws/image_tests.rb +0 -37
- data/tests/compute/requests/aws/instance_tests.rb +0 -121
- data/tests/compute/requests/aws/key_pair_tests.rb +0 -63
- data/tests/compute/requests/aws/region_tests.rb +0 -23
- data/tests/compute/requests/aws/security_group_tests.rb +0 -141
- data/tests/compute/requests/aws/snapshot_tests.rb +0 -57
- data/tests/compute/requests/aws/tag_tests.rb +0 -49
- data/tests/compute/requests/aws/volume_tests.rb +0 -102
- data/tests/compute/requests/bluebox/block_tests.rb +0 -80
- data/tests/compute/requests/bluebox/helper.rb +0 -17
- data/tests/compute/requests/bluebox/product_tests.rb +0 -28
- data/tests/compute/requests/bluebox/template_tests.rb +0 -35
- data/tests/compute/requests/brightbox/account_tests.rb +0 -40
- data/tests/compute/requests/brightbox/api_client_tests.rb +0 -49
- data/tests/compute/requests/brightbox/cloud_ip_tests.rb +0 -71
- data/tests/compute/requests/brightbox/helper.rb +0 -419
- data/tests/compute/requests/brightbox/image_tests.rb +0 -57
- data/tests/compute/requests/brightbox/interface_tests.rb +0 -30
- data/tests/compute/requests/brightbox/load_balancer_tests.rb +0 -74
- data/tests/compute/requests/brightbox/server_tests.rb +0 -75
- data/tests/compute/requests/brightbox/server_type_tests.rb +0 -33
- data/tests/compute/requests/brightbox/user_tests.rb +0 -41
- data/tests/compute/requests/brightbox/zone_tests.rb +0 -33
- data/tests/compute/requests/linode/datacenter_tests.rb +0 -19
- data/tests/compute/requests/linode/distribution_tests.rb +0 -32
- data/tests/compute/requests/linode/helper.rb +0 -16
- data/tests/compute/requests/linode/linode_tests.rb +0 -85
- data/tests/compute/requests/linode/linodeplans_tests.rb +0 -39
- data/tests/compute/requests/rackspace/address_tests.rb +0 -40
- data/tests/compute/requests/rackspace/flavor_tests.rb +0 -38
- data/tests/compute/requests/rackspace/helper.rb +0 -16
- data/tests/compute/requests/rackspace/image_tests.rb +0 -68
- data/tests/compute/requests/rackspace/resize_tests.rb +0 -33
- data/tests/compute/requests/rackspace/server_tests.rb +0 -92
- data/tests/compute/requests/slicehost/backup_tests.rb +0 -18
- data/tests/compute/requests/slicehost/flavor_tests.rb +0 -33
- data/tests/compute/requests/slicehost/image_tests.rb +0 -31
- data/tests/compute/requests/slicehost/slice_tests.rb +0 -75
- data/tests/compute/requests/voxel/image_tests.rb +0 -46
- data/tests/compute/requests/voxel/server_tests.rb +0 -122
- data/tests/dns/requests/aws/dns_tests.rb +0 -276
- data/tests/dns/requests/bluebox/dns_tests.rb +0 -271
- data/tests/dns/requests/dnsimple/dns_tests.rb +0 -130
- data/tests/dns/requests/linode/dns_tests.rb +0 -262
- data/tests/dns/requests/slicehost/dns_tests.rb +0 -279
- data/tests/dns/requests/zerigo/dns_tests.rb +0 -374
- data/tests/storage/requests/aws/bucket_tests.rb +0 -114
- data/tests/storage/requests/aws/multipart_upload_tests.rb +0 -135
- data/tests/storage/requests/aws/object_tests.rb +0 -81
- data/tests/storage/requests/google/bucket_tests.rb +0 -79
- data/tests/storage/requests/google/object_tests.rb +0 -81
- data/tests/storage/requests/rackspace/container_tests.rb +0 -64
- data/tests/storage/requests/rackspace/object_tests.rb +0 -69
- /data/tests/{compute/requests/go_grid → go_grid/requests/compute}/image_tests.rb +0 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
2
|
+
|
3
|
+
Shindo.tests("Compute::VcloudDirector | organizations", ['vclouddirector', 'all']) do
|
4
|
+
organizations = vcloud_director.organizations
|
5
|
+
tests("#There is at least one organization").returns(true) { organizations.size >= 1 }
|
6
|
+
|
7
|
+
org = organizations.get_by_name(vcloud_director.org_name)
|
8
|
+
|
9
|
+
tests("Compute::VcloudDirector | organization") do
|
10
|
+
tests("#name").returns(String) { org.name.class }
|
11
|
+
tests("#type").returns("application/vnd.vmware.vcloud.org+xml") { org.type }
|
12
|
+
end
|
13
|
+
|
14
|
+
tests("Compute::VcloudDirector | organization", ['get']) do
|
15
|
+
tests("#get_by_name").returns(org.name) { organizations.get_by_name(org.name).name }
|
16
|
+
tests("#get").returns(org.id) { organizations.get(org.id).id }
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
2
|
+
|
3
|
+
Shindo.tests('Compute::VcloudDirector | tasks', ['vclouddirector']) do
|
4
|
+
|
5
|
+
@service = Fog::Compute::VcloudDirector.new()
|
6
|
+
|
7
|
+
if Fog.mocking?
|
8
|
+
# add a bunch of tasks
|
9
|
+
50.times do
|
10
|
+
task_id = @service.enqueue_task(
|
11
|
+
"Bogus Task",
|
12
|
+
'BogusTaskName',
|
13
|
+
{
|
14
|
+
:href => 'https://example.com/api/bogus/12345678-1234-1234-1234-123456789012',
|
15
|
+
:name => 'Bogus object',
|
16
|
+
:type => 'application/vnd.vmware.vcloud.bogus+xml'
|
17
|
+
}
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
tasks = organization.tasks
|
23
|
+
pending if tasks.empty?
|
24
|
+
task = tasks.first
|
25
|
+
|
26
|
+
tests('Compute::VcloudDirector | task') do
|
27
|
+
tests('#href').returns(String) { task.href.class }
|
28
|
+
tests('#type').returns('application/vnd.vmware.vcloud.task+xml') { task.type }
|
29
|
+
tests('#id').returns(String) { task.id.class }
|
30
|
+
tests('#name').returns(String) { task.name.class }
|
31
|
+
tests('#status').returns(String) { task.status.class }
|
32
|
+
tests('#end_time').returns(Time) { task.end_time.class }
|
33
|
+
tests('#expiry_time').returns(Time) { task.expiry_time.class }
|
34
|
+
tests('#operation').returns(String) { task.operation.class }
|
35
|
+
tests('#operation_name').returns(String) { task.operation_name.class }
|
36
|
+
end
|
37
|
+
|
38
|
+
tests('Compute::VcloudDirector | task', ['get']) do
|
39
|
+
tests('#get_by_name').returns(task.name) { tasks.get_by_name(task.name).name }
|
40
|
+
tests('#get').returns(task.id) { tasks.get(task.id).id }
|
41
|
+
end
|
42
|
+
|
43
|
+
# We should also be able to find tasks via the Query API
|
44
|
+
# NB: Query name == task.operation_name
|
45
|
+
tests("Compute::VcloudDirector | tasks", ['find_by_query']) do
|
46
|
+
tests('we can retrieve :name without lazy loading').returns(task.operation_name) do
|
47
|
+
query_task = tasks.find_by_query(:filter => "name==#{task.operation_name}").first
|
48
|
+
query_task.attributes[:name]
|
49
|
+
end
|
50
|
+
tests('by name').returns(task.operation_name) do
|
51
|
+
query_task = tasks.find_by_query(:filter => "name==#{task.operation_name}").first
|
52
|
+
query_task.name
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
@@ -0,0 +1,93 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
2
|
+
|
3
|
+
VAPP_NAME = "shindo07"
|
4
|
+
NETWORK_NAME = "DevOps - Dev Network Connection"
|
5
|
+
NETWORK_MODE = "POOL"
|
6
|
+
CATALOG_NAME = "Public VM Templates"
|
7
|
+
CATALOG_ITEM_NAME = "DEVWEB"
|
8
|
+
TAGS = { :company => "acme", :environment => "testing" }
|
9
|
+
|
10
|
+
Shindo.tests("Compute::VcloudDirector | vapp", ['vclouddirector', 'creation']) do
|
11
|
+
pending if Fog.mocking?
|
12
|
+
pending # FIXME: vCloud environment needs to be set up in advance
|
13
|
+
tests("#it creates a vApp from a catalog item").returns(true){ the_catalog_item.instantiate(VAPP_NAME, { :network_id => the_network.id, :network_name => NETWORK_NAME}) }
|
14
|
+
vapp = vapps.get_by_name(VAPP_NAME)
|
15
|
+
tests("#Finds the just created vApp").returns(VAPP_NAME) { vapp.name }
|
16
|
+
tests("#it has one vm").returns(1) { vapp.vms.size}
|
17
|
+
tests("Compute::VcloudDirector | vm", ['configuration']) do
|
18
|
+
vm = vapp.vms.first
|
19
|
+
tests("Compute::VcloudDirector | vm", ['network']) do
|
20
|
+
network = vm.network
|
21
|
+
network.network = NETWORK_NAME
|
22
|
+
network.is_connected = true
|
23
|
+
network.ip_address_allocation_mode = NETWORK_MODE
|
24
|
+
tests("save network changes").returns(true){ network.save }
|
25
|
+
network.reload
|
26
|
+
tests("#network").returns(NETWORK_NAME) { network.network }
|
27
|
+
tests("#is_connected").returns(true) { network.is_connected }
|
28
|
+
tests("#ip_address_allocation_mode").returns(NETWORK_MODE) { network.ip_address_allocation_mode }
|
29
|
+
end
|
30
|
+
|
31
|
+
tests("Compute::VcloudDirector | vm", ['customization']) do
|
32
|
+
customization = vm.customization
|
33
|
+
customization.script = 'this is the user data'
|
34
|
+
customization.enabled = true
|
35
|
+
tests("save customization changes").returns(true){ customization.save }
|
36
|
+
tests("#script").returns('this is the user data') { customization.script }
|
37
|
+
tests("#enabled").returns(true) { customization.enabled }
|
38
|
+
end
|
39
|
+
|
40
|
+
tests("Compute::VcloudDirector | vm", ['doble the disk size']) do
|
41
|
+
disk = vm.disks.get_by_name('Hard disk 1')
|
42
|
+
tests("#disk_size").returns(Fixnum) { disk.capacity.class}
|
43
|
+
new_size = disk.capacity * 2
|
44
|
+
disk.capacity = new_size
|
45
|
+
disk.reload
|
46
|
+
tests("#disk_size is now doubled").returns(new_size) { disk.capacity }
|
47
|
+
end
|
48
|
+
|
49
|
+
tests("Compute::VcloudDirector | vm", ['add a new disk']) do
|
50
|
+
tests("hard disk 2 doesn't exist").returns(nil) { vm.disks.get_by_name('Hard disk 2') }
|
51
|
+
tests("#create").returns(true) { vm.disks.create(1024) }
|
52
|
+
tests("hard disk 2 exists").returns(1024) { vm.disks.get_by_name('Hard disk 2').capacity }
|
53
|
+
tests("delete disk 2").returns(true) { vm.disks.get_by_name('Hard disk 2').destroy }
|
54
|
+
tests("hard disk 2 doesn't exist anymore").returns(nil) { vm.disks.get_by_name('Hard disk 2') }
|
55
|
+
end
|
56
|
+
|
57
|
+
tests("Compute::VcloudDirector | vm", ['doble the memory size']) do
|
58
|
+
tests("#memory").returns(Fixnum) { vm.memory.class}
|
59
|
+
new_size = vm.memory * 2
|
60
|
+
vm.memory = new_size
|
61
|
+
vm.reload
|
62
|
+
tests("#memory is now doubled").returns(new_size) { vm.memory }
|
63
|
+
end
|
64
|
+
|
65
|
+
tests("Compute::VcloudDirector | vm", ['doble the cpu size']) do
|
66
|
+
tests("#cpu").returns(Fixnum) { vm.cpu.class}
|
67
|
+
new_size = vm.cpu * 2
|
68
|
+
vm.cpu = new_size
|
69
|
+
vm.reload
|
70
|
+
tests("#memory is now doubled").returns(new_size) { vm.cpu }
|
71
|
+
end
|
72
|
+
|
73
|
+
tests("Compute::VcloudDirector | vm", ['tags']) do
|
74
|
+
TAGS.each_pair do |k,v|
|
75
|
+
tests('create tag').returns(true) {vm.tags.create(k, v)}
|
76
|
+
end
|
77
|
+
tests('there are two tags').returns(2){ vm.tags.size }
|
78
|
+
tests('#get_by_name').returns("acme"){ vm.tags.get_by_name('company').value }
|
79
|
+
tests('#get_by_name').returns("testing"){ vm.tags.get_by_name('environment').value }
|
80
|
+
tests('delete company').returns(true){ vm.tags.get_by_name('company').destroy }
|
81
|
+
tests("company doesn't exists anymore").returns(nil){ vm.tags.get_by_name('company') }
|
82
|
+
tests('there is only one tag').returns(1){ vm.tags.size }
|
83
|
+
end
|
84
|
+
|
85
|
+
tests("Compute::VcloudDirector | vm", ['power on']) do
|
86
|
+
tests('#vm is off').returns("off"){ vm.status }
|
87
|
+
tests('#power_on').returns(true){ vm.power_on }
|
88
|
+
vm.reload
|
89
|
+
tests('#vm is on').returns("on"){ vm.status }
|
90
|
+
end
|
91
|
+
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
2
|
+
|
3
|
+
Shindo.tests("Compute::VcloudDirector | vapp_templates", ['vclouddirector', 'all']) do
|
4
|
+
|
5
|
+
# unless there is atleast one vapp we cannot run these tests
|
6
|
+
pending if vdc.vapp_templates.empty?
|
7
|
+
|
8
|
+
vapp_templates = vdc.vapp_templates
|
9
|
+
vapp = vapp_templates.first
|
10
|
+
|
11
|
+
tests("Compute::VcloudDirector | vapp_template") do
|
12
|
+
tests("#id").returns(String){ vapp.id.class }
|
13
|
+
tests("#name").returns(String){ vapp.name.class }
|
14
|
+
tests("#href").returns(String){ vapp.href.class }
|
15
|
+
tests("#type").returns("application/vnd.vmware.vcloud.vAppTemplate+xml"){ vapp.type }
|
16
|
+
end
|
17
|
+
|
18
|
+
tests("Compute::VcloudDirector | vapp_template vms") do
|
19
|
+
tests("#vms").returns(Fog::Compute::VcloudDirector::TemplateVms) { vapp.vms.class }
|
20
|
+
pending if Fog.mock?
|
21
|
+
vm = vapp.vms[0]
|
22
|
+
tests("#name").returns(String){ vm.name.class }
|
23
|
+
tests("#type").returns("application/vnd.vmware.vcloud.vm+xml"){ vm.type }
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
2
|
+
|
3
|
+
Shindo.tests("Compute::VcloudDirector | vapps", ['vclouddirector', 'all']) do
|
4
|
+
|
5
|
+
# unless there is atleast one vapp we cannot run these tests
|
6
|
+
pending if vdc.vapps.empty?
|
7
|
+
|
8
|
+
vapps = vdc.vapps
|
9
|
+
vapp = vapps.first
|
10
|
+
|
11
|
+
tests("Compute::VcloudDirector | vapp") do
|
12
|
+
tests("#id").returns(String){ vapp.id.class }
|
13
|
+
tests("#name").returns(String){ vapp.name.class }
|
14
|
+
tests("#href").returns(String){ vapp.href.class }
|
15
|
+
tests("#type").returns("application/vnd.vmware.vcloud.vApp+xml"){ vapp.type }
|
16
|
+
end
|
17
|
+
|
18
|
+
tests("Compute::VcloudDirector | vapp", ['lazy load attrs']) do
|
19
|
+
vapp.lazy_load_attrs.each do |lazy_attr|
|
20
|
+
tests("##{lazy_attr} is not loaded yet").returns(NonLoaded) { vapp.attributes[lazy_attr] }
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
tests("Compute::VcloudDirector | vapp", ['load on demand']) do
|
25
|
+
tests("#description is not loaded yet").returns(NonLoaded) { vapp.attributes[:description] }
|
26
|
+
tests("#description is loaded on demand").returns(String) { vapp.description.class }
|
27
|
+
tests("#description is now loaded").returns(true) { vapp.attributes[:description] != NonLoaded }
|
28
|
+
end
|
29
|
+
|
30
|
+
tests("Compute::VcloudDirector | vapp", ['lazy load attrs']) do
|
31
|
+
vapp.lazy_load_attrs.each do |lazy_attr|
|
32
|
+
tests("##{lazy_attr} is now loaded").returns(true) { vapp.attributes[lazy_attr] != NonLoaded }
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
tests("Compute::VcloudDirector | vapp", ['get']) do
|
37
|
+
tests("#get_by_name").returns(vapp.name) { vapps.get_by_name(vapp.name).name }
|
38
|
+
tests("#get").returns(vapp.id) { vapps.get(vapp.id).id }
|
39
|
+
end
|
40
|
+
|
41
|
+
tests("Compute::VcloudDirector | vapp", ['custom_fields']) do
|
42
|
+
pending if Fog.mocking?
|
43
|
+
tests("#set_custom_field").returns('2'){ vapp.custom_fields[:custom_field] = '2' }
|
44
|
+
|
45
|
+
tests("#get_custom_field_by_name").returns('2') { vapp.custom_fields[:custom_field].value }
|
46
|
+
tests("#delete_custom_field").returns([]){ vapp.custom_fields.delete(:custom_field); vapp.custom_fields }
|
47
|
+
end
|
48
|
+
|
49
|
+
# We should also be able to find this vApp via Query API
|
50
|
+
tests("Compute::VcloudDirector | vapps", ['find_by_query']) do
|
51
|
+
tests('we can retrieve :name without lazy loading').returns(vapp.name) do
|
52
|
+
query_vapp = vapps.find_by_query(:filter => "name==#{vapp.name}").first
|
53
|
+
query_vapp.attributes[:name]
|
54
|
+
end
|
55
|
+
tests('we can retrieve name via model object returned by query').returns(vapp.name) do
|
56
|
+
query_vapp = vapps.find_by_query(:filter => "name==#{vapp.name}").first
|
57
|
+
query_vapp.name
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
2
|
+
|
3
|
+
Shindo.tests("Compute::VcloudDirector | vdcs", ['vclouddirector', 'all']) do
|
4
|
+
tests("#There is one or more vdc").returns(true){ organization.vdcs.size >= 1 }
|
5
|
+
|
6
|
+
vdcs = organization.vdcs
|
7
|
+
vdc = vdcs.first
|
8
|
+
|
9
|
+
tests("Compute::VcloudDirector | vdc") do
|
10
|
+
tests("#id").returns(String) { vdc.id.class }
|
11
|
+
tests("#name").returns(String) { vdc.name.class }
|
12
|
+
tests("#href").returns(String) { vdc.href.class }
|
13
|
+
tests("#type").returns("application/vnd.vmware.vcloud.vdc+xml") { vdc.type }
|
14
|
+
end
|
15
|
+
|
16
|
+
tests("Compute::VcloudDirector | vdc", ['lazy load attrs']) do
|
17
|
+
vdc.lazy_load_attrs.each do |lazy_attr|
|
18
|
+
tests("##{lazy_attr} is not loaded yet").returns(NonLoaded) { vdc.attributes[lazy_attr] }
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
tests("Compute::VcloudDirector | vdc", ['load on demand']) do
|
23
|
+
tests("#description is not loaded yet").returns(NonLoaded) { vdc.attributes[:description] }
|
24
|
+
tests("#description is loaded on demand").returns(String) { vdc.description.class }
|
25
|
+
tests("#description is now loaded").returns(true) { vdc.attributes[:description] != NonLoaded }
|
26
|
+
end
|
27
|
+
|
28
|
+
tests("Compute::VcloudDirector | vdc", ['lazy load attrs']) do
|
29
|
+
lazy_attrs = vdc.lazy_load_attrs
|
30
|
+
lazy_attrs.delete(:storage_capacity) if vcloud_director.api_version.to_f >= 5.1
|
31
|
+
lazy_attrs.each do |lazy_attr|
|
32
|
+
tests("##{lazy_attr} is now loaded").returns(true) { vdc.attributes[lazy_attr] != NonLoaded }
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
tests("Compute::VcloudDirector | vdc", ['get']) do
|
37
|
+
tests("#get_by_name").returns(vdc.name) { vdcs.get_by_name(vdc.name).name }
|
38
|
+
tests("#get").returns(vdc.id) { vdcs.get(vdc.id).id }
|
39
|
+
end
|
40
|
+
|
41
|
+
pending if Fog.mocking?
|
42
|
+
|
43
|
+
# We should also be able to find this same vdc via Query API
|
44
|
+
tests("Compute::VcloudDirector | vdcs", ['find_by_query']) do
|
45
|
+
tests('we can retrieve :name without lazy loading').returns(vdc.name) do
|
46
|
+
query_vdc = vdcs.find_by_query(:filter => "name==#{vdc.name}").first
|
47
|
+
query_vdc.attributes[:name]
|
48
|
+
end
|
49
|
+
tests('by name').returns(vdc.name) do
|
50
|
+
query_vdc = vdcs.find_by_query(:filter => "name==#{vdc.name}").first
|
51
|
+
query_vdc.name
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
|
2
|
+
|
3
|
+
Shindo.tests("Compute::VcloudDirector | vms", ['vclouddirector', 'all']) do
|
4
|
+
pending if Fog.mocking?
|
5
|
+
vapp = vapps.find {|v| v.vms.size >= 1}
|
6
|
+
|
7
|
+
# we can't run these tests if there is no vapps with a vm in them
|
8
|
+
pending unless vapp
|
9
|
+
|
10
|
+
vms = vapp.vms
|
11
|
+
vm = vms.first
|
12
|
+
|
13
|
+
tests("Compute::VcloudDirector | vm") do
|
14
|
+
tests("#model").returns(Fog::Compute::VcloudDirector::Vm){vm.class}
|
15
|
+
tests("#id").returns(String){ vm.id.class }
|
16
|
+
tests("#name").returns(String){ vm.name.class }
|
17
|
+
tests("#href").returns(String){ vm.href.class }
|
18
|
+
tests("#deployed").returns(String){ vm.deployed.class }
|
19
|
+
tests("#type").returns("application/vnd.vmware.vcloud.vm+xml"){ vm.type }
|
20
|
+
tests("#vapp_id").returns(String){ vm.vapp_id.class }
|
21
|
+
tests("#status").returns(String){ vm.status.class }
|
22
|
+
tests("#operating_system").returns(String){ vm.operating_system.class }
|
23
|
+
tests("#ip_address").returns(String){ vm.ip_address.class }
|
24
|
+
tests("#cpu").returns(Fixnum){ vm.cpu.class }
|
25
|
+
tests("#memory").returns(Fixnum){ vm.memory.class }
|
26
|
+
tests("#hard_disks").returns(Array){ vm.hard_disks.class }
|
27
|
+
tests("#network_adapters").returns(Array){ vm.network_adapters.class }
|
28
|
+
end
|
29
|
+
|
30
|
+
tests("Compute::VcloudDirector | vm", ['get']) do
|
31
|
+
tests("#get_by_name").returns(vm.name) { vms.get_by_name(vm.name).name }
|
32
|
+
tests("#get").returns(vm.id) { vms.get(vm.id).id }
|
33
|
+
end
|
34
|
+
|
35
|
+
tests("Compute::VcloudDirector | vm | disks") do
|
36
|
+
tests("#collection").returns(Fog::Compute::VcloudDirector::Disks){ vm.disks.class }
|
37
|
+
tests("#get_by_name").returns(Fog::Compute::VcloudDirector::Disk) { vm.disks.get_by_name("Hard disk 1").class }
|
38
|
+
|
39
|
+
hard_disk = vm.disks.get_by_name("Hard disk 1")
|
40
|
+
tests("#id").returns(2000){ hard_disk.id }
|
41
|
+
tests("#name").returns("Hard disk 1"){ hard_disk.name }
|
42
|
+
tests("#description").returns("Hard disk"){ hard_disk.description }
|
43
|
+
tests("#resource_type").returns(17){ hard_disk.resource_type }
|
44
|
+
tests("#address_on_parent").returns(0){ hard_disk.address_on_parent }
|
45
|
+
tests("#parent").returns(2){ hard_disk.parent }
|
46
|
+
tests("#capacity").returns(Fixnum){ hard_disk.capacity.class }
|
47
|
+
tests("#bus_sub_type").returns(String){ hard_disk.bus_sub_type.class }
|
48
|
+
tests("#bus_type").returns(6){ hard_disk.bus_type }
|
49
|
+
end
|
50
|
+
|
51
|
+
tests("Compute::VcloudDirector | vm | customization") do
|
52
|
+
customization = vm.customization
|
53
|
+
tests("#model").returns(Fog::Compute::VcloudDirector::VmCustomization){customization.class}
|
54
|
+
tests("#id").returns(String){ customization.id.class }
|
55
|
+
tests("#href").returns(String){ customization.href.class }
|
56
|
+
tests("#type").returns("application/vnd.vmware.vcloud.guestCustomizationSection+xml"){ customization.type }
|
57
|
+
tests("#virtual_machine_id").returns(String){ customization.virtual_machine_id.class }
|
58
|
+
tests("#computer_name").returns(String){ customization.computer_name.class }
|
59
|
+
tests("#enabled").returns(true){ boolean? customization.enabled }
|
60
|
+
tests("#change_sid").returns(true){ boolean? customization.change_sid }
|
61
|
+
tests("#join_domain_enabled").returns(true){ boolean? customization.join_domain_enabled }
|
62
|
+
tests("#use_org_settings").returns(true){ boolean? customization.use_org_settings }
|
63
|
+
tests("#admin_password_enabled").returns(true){ boolean? customization.admin_password_enabled }
|
64
|
+
tests("#reset_password_required").returns(true){ boolean? customization.reset_password_required }
|
65
|
+
end
|
66
|
+
|
67
|
+
tests("Compute::VcloudDirector | vm | network") do
|
68
|
+
network = vm.network
|
69
|
+
tests("#model").returns(Fog::Compute::VcloudDirector::VmNetwork){network.class}
|
70
|
+
tests("#id").returns(String){ network.id.class }
|
71
|
+
tests("#href").returns(String){ network.href.class }
|
72
|
+
tests("#type").returns("application/vnd.vmware.vcloud.networkConnectionSection+xml"){ network.type }
|
73
|
+
tests("#info").returns(String){ network.info.class }
|
74
|
+
tests("#primary_network_connection_index").returns(Fixnum){ network.primary_network_connection_index.class }
|
75
|
+
tests("#network").returns(String){ network.network.class }
|
76
|
+
tests("#network_connection_index").returns(Fixnum){ network.network_connection_index.class }
|
77
|
+
tests("#mac_address").returns(String){ network.mac_address.class }
|
78
|
+
tests("#ip_address_allocation_mode").returns(String){ network.ip_address_allocation_mode.class }
|
79
|
+
tests("#needs_customization").returns(true){ boolean? network.needs_customization }
|
80
|
+
tests("#is_connected").returns(true){ boolean? network.is_connected }
|
81
|
+
end
|
82
|
+
|
83
|
+
tests("Compute::VcloudDirector | vm | tags") do
|
84
|
+
tags = vm.tags
|
85
|
+
tests("#collection").returns(Fog::Compute::VcloudDirector::Tags){ tags.class }
|
86
|
+
end
|
87
|
+
|
88
|
+
# We should also be able to find this VM via Query API
|
89
|
+
# :name is not unique for VMs though, so let us query by href
|
90
|
+
tests("Compute::VcloudDirector | vm", ['find_by_query']) do
|
91
|
+
tests('we can retrieve :name without lazy loading').returns(vm.name) do
|
92
|
+
query_vm = vms.find_by_query(:filter => "href==#{vm.href}").first
|
93
|
+
query_vm.attributes[:name]
|
94
|
+
end
|
95
|
+
tests('we can retrieve name via model object returned by query').returns(vm.name) do
|
96
|
+
query_vm = vms.find_by_query(:filter => "href==#{vm.href}").first
|
97
|
+
query_vm.name
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Shindo.tests('Compute::VcloudDirector | admin requests', ['vclouddirector']) do
|
2
|
+
|
3
|
+
@service = Fog::Compute::VcloudDirector.new
|
4
|
+
|
5
|
+
tests('#get_vcloud').data_matches_schema(VcloudDirector::Compute::Schema::VCLOUD_TYPE) do
|
6
|
+
@service.get_vcloud.body
|
7
|
+
end
|
8
|
+
|
9
|
+
@org = VcloudDirector::Compute::Helper.current_org(@service)
|
10
|
+
|
11
|
+
tests('#get_org_settings').returns(Hash) do
|
12
|
+
pending if Fog.mocking?
|
13
|
+
@service.get_org_settings(@org[:href].split('/').last).body.class
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
Shindo.tests('Compute::VcloudDirector | catalog requests', ['vclouddirector']) do
|
2
|
+
|
3
|
+
@service = Fog::Compute::VcloudDirector.new
|
4
|
+
@org = VcloudDirector::Compute::Helper.current_org(@service)
|
5
|
+
|
6
|
+
tests('#get_catalog').data_matches_schema(VcloudDirector::Compute::Schema::CATALOG_TYPE) do
|
7
|
+
link = @org[:Link].find do |l|
|
8
|
+
l[:rel] == 'down' && l[:type] == 'application/vnd.vmware.vcloud.catalog+xml'
|
9
|
+
end
|
10
|
+
@catalog_id = link[:href].split('/').last
|
11
|
+
pending if Fog.mocking?
|
12
|
+
@catalog = @service.get_catalog(@catalog_id).body
|
13
|
+
end
|
14
|
+
|
15
|
+
tests('#get_catalog_metadata').data_matches_schema(VcloudDirector::Compute::Schema::METADATA_TYPE) do
|
16
|
+
pending if Fog.mocking?
|
17
|
+
@service.get_catalog_metadata(@catalog_id).body
|
18
|
+
end
|
19
|
+
|
20
|
+
tests('#get_control_access_params_catalog').data_matches_schema(VcloudDirector::Compute::Schema::CONTROL_ACCESS_PARAMS_TYPE) do
|
21
|
+
pending if Fog.mocking?
|
22
|
+
@service.get_control_access_params_catalog(@org[:href].split('/').last, @catalog_id).body
|
23
|
+
end
|
24
|
+
|
25
|
+
tests('#get_catalogs_from_query') do
|
26
|
+
pending if Fog.mocking?
|
27
|
+
%w[idrecords records references].each do |format|
|
28
|
+
tests(":format => #{format}") do
|
29
|
+
tests('#body').data_matches_schema(VcloudDirector::Compute::Schema::CONTAINER_TYPE) do
|
30
|
+
@body = @service.get_catalogs_from_query(:format => format).body
|
31
|
+
end
|
32
|
+
key = (format == 'references') ? 'CatalogReference' : 'CatalogRecord'
|
33
|
+
tests("#body.key?(:#{key})").returns(true) { @body.key?(key.to_sym) }
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
tests('Retrieve non-existent Catalog').raises(Fog::Compute::VcloudDirector::Forbidden) do
|
39
|
+
@service.get_catalog('00000000-0000-0000-0000-000000000000')
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,178 @@
|
|
1
|
+
Shindo.tests('Compute::VcloudDirector | disk requests', ['vclouddirector']) do
|
2
|
+
|
3
|
+
@service = Fog::Compute::VcloudDirector.new
|
4
|
+
@disk_name = VcloudDirector::Compute::Helper.test_name
|
5
|
+
|
6
|
+
tests('error conditions') do
|
7
|
+
tests('#post_upload_disk') do
|
8
|
+
tests('Invalid size').raises(Fog::Compute::VcloudDirector::BadRequest) do
|
9
|
+
@service.post_upload_disk('00000000-0000-0000-0000-000000000000', @disk_name, -1)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
tests('Upload to non-existent vDC').raises(Fog::Compute::VcloudDirector::Forbidden) do
|
13
|
+
@service.post_upload_disk('00000000-0000-0000-0000-000000000000', @disk_name, 0)
|
14
|
+
end
|
15
|
+
tests('Retrieve non-existent Disk').raises(Fog::Compute::VcloudDirector::Forbidden) do
|
16
|
+
@service.get_disk('00000000-0000-0000-0000-000000000000')
|
17
|
+
end
|
18
|
+
tests('Retrieve owner of non-existent Disk').raises(Fog::Compute::VcloudDirector::Forbidden) do
|
19
|
+
@service.get_disk_owner('00000000-0000-0000-0000-000000000000')
|
20
|
+
end
|
21
|
+
tests('Retrieve VM list for non-existent Disk').raises(Fog::Compute::VcloudDirector::Forbidden) do
|
22
|
+
@service.get_vms_disk_attached_to('00000000-0000-0000-0000-000000000000')
|
23
|
+
end
|
24
|
+
tests('Delete non-existent Disk').raises(Fog::Compute::VcloudDirector::Forbidden) do
|
25
|
+
@service.delete_disk('00000000-0000-0000-0000-000000000000')
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
@org = VcloudDirector::Compute::Helper.current_org(@service)
|
30
|
+
@size = 1024
|
31
|
+
|
32
|
+
tests('Upload and manipulate a disk') do
|
33
|
+
tests('#post_upload_disk').data_matches_schema(VcloudDirector::Compute::Schema::DISK_TYPE) do
|
34
|
+
@vdc_id = VcloudDirector::Compute::Helper.first_vdc_id(@org)
|
35
|
+
@disk = @service.post_upload_disk(@vdc_id, @disk_name, @size).body
|
36
|
+
end
|
37
|
+
@service.process_task(@disk[:Tasks][:Task])
|
38
|
+
@disk_id = @disk[:href].split('/').last
|
39
|
+
|
40
|
+
tests("#get_disk(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::DISK_TYPE) do
|
41
|
+
@disk = @service.get_disk(@disk_id).body
|
42
|
+
end
|
43
|
+
tests("disk[:name]").returns(@disk_name) { @disk[:name] }
|
44
|
+
tests("disk[:size]").returns(@size) { @disk[:size].to_i }
|
45
|
+
|
46
|
+
tests("#get_disk_owner(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::OWNER_TYPE) do
|
47
|
+
@owner = @service.get_disk_owner(@disk_id).body
|
48
|
+
end
|
49
|
+
tests("owner[:User][:name]").returns(@service.user_name) { @owner[:User][:name] }
|
50
|
+
|
51
|
+
#tests("#put_disk(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::TASK_TYPE) do
|
52
|
+
# @disk_name += '-renamed'
|
53
|
+
# @task = @service.put_disk(@disk_id, @disk_name).body
|
54
|
+
#end
|
55
|
+
#@service.process_task(@task)
|
56
|
+
#tests("#get_disk(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::DISK_TYPE) do
|
57
|
+
# @disk = @service.get_disk(@disk_id).body
|
58
|
+
#end
|
59
|
+
#tests("disk[:name]").returns(@disk_name) { @disk[:name] }
|
60
|
+
#tests("disk[:size]").returns(@size) { @disk[:size].to_i } # shouldn't change
|
61
|
+
|
62
|
+
tests('disk metadata') do
|
63
|
+
pending if Fog.mocking?
|
64
|
+
|
65
|
+
tests("#put_disk_metadata_item_metadata(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::TASK_TYPE) do
|
66
|
+
@task = @service.put_disk_metadata_item_metadata(@disk_id, 'fog-test-key', 'fog-test-value').body
|
67
|
+
end
|
68
|
+
@service.process_task(@task)
|
69
|
+
|
70
|
+
tests("#put_disk_metadata_item_metadata(#{@disk_id})") do
|
71
|
+
tests("#put_disk_metadata_item_metadata(Boolean)").returns(true) do
|
72
|
+
task = @service.put_disk_metadata_item_metadata(@disk_id, 'fog-test-boolean', true).body
|
73
|
+
@service.process_task(task)
|
74
|
+
end
|
75
|
+
tests("#put_disk_metadata_item_metadata(DateTime)").returns(true) do
|
76
|
+
task = @service.put_disk_metadata_item_metadata(@disk_id, 'fog-test-datetime', DateTime.now).body
|
77
|
+
@service.process_task(task)
|
78
|
+
end
|
79
|
+
tests("#put_disk_metadata_item_metadata(Number)").returns(true) do
|
80
|
+
task = @service.put_disk_metadata_item_metadata(@disk_id, 'fog-test-number', 111).body
|
81
|
+
@service.process_task(task)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
tests("#post_update_disk_metadata(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::TASK_TYPE) do
|
86
|
+
metadata = {
|
87
|
+
'fog-test-key-update' => 'fog-test-value-update',
|
88
|
+
'fog-test-boolean-update' => false,
|
89
|
+
'fog-test-datetime-update' => DateTime.now,
|
90
|
+
'fog-test-number-update' => 222
|
91
|
+
}
|
92
|
+
@task = @service.post_update_disk_metadata(@disk_id, metadata).body
|
93
|
+
end
|
94
|
+
@service.process_task(@task)
|
95
|
+
|
96
|
+
tests("#get_disk_metadata(#{@disk_id})") do
|
97
|
+
tests('response format').data_matches_schema(VcloudDirector::Compute::Schema::METADATA_TYPE) do
|
98
|
+
@metadata = @service.get_disk_metadata(@disk_id).body
|
99
|
+
end
|
100
|
+
tests('TypedValue') do
|
101
|
+
pending if @service.api_version.to_f < 5.1
|
102
|
+
tests('key').returns('MetadataStringValue') do
|
103
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-key'}
|
104
|
+
entry[:TypedValue][:xsi_type]
|
105
|
+
end
|
106
|
+
tests('boolean').returns('MetadataBooleanValue') do
|
107
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-boolean'}
|
108
|
+
entry[:TypedValue][:xsi_type]
|
109
|
+
end
|
110
|
+
tests('datetime').returns('MetadataDateTimeValue') do
|
111
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-datetime'}
|
112
|
+
entry[:TypedValue][:xsi_type]
|
113
|
+
end
|
114
|
+
tests('number').returns('MetadataNumberValue') do
|
115
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-number'}
|
116
|
+
entry[:TypedValue][:xsi_type]
|
117
|
+
end
|
118
|
+
tests('key-update').returns('MetadataStringValue') do
|
119
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-key-update'}
|
120
|
+
entry[:TypedValue][:xsi_type]
|
121
|
+
end
|
122
|
+
tests('boolean-update').returns('MetadataBooleanValue') do
|
123
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-boolean-update'}
|
124
|
+
entry[:TypedValue][:xsi_type]
|
125
|
+
end
|
126
|
+
tests('datetime-update').returns('MetadataDateTimeValue') do
|
127
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-datetime-update'}
|
128
|
+
entry[:TypedValue][:xsi_type]
|
129
|
+
end
|
130
|
+
tests('number-update').returns('MetadataNumberValue') do
|
131
|
+
entry = @metadata[:MetadataEntry].find {|e| e[:Key] == 'fog-test-number-update'}
|
132
|
+
entry[:TypedValue][:xsi_type]
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
tests("#get_vms_disk_attached_to(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::VMS_TYPE) do
|
139
|
+
pending if Fog.mocking?
|
140
|
+
@service.get_vms_disk_attached_to(@disk_id).body
|
141
|
+
end
|
142
|
+
|
143
|
+
tests("#delete_disk(#{@disk_id})").data_matches_schema(VcloudDirector::Compute::Schema::TASK_TYPE) do
|
144
|
+
@task = @service.delete_disk(@disk_id).body
|
145
|
+
end
|
146
|
+
@service.process_task(@task)
|
147
|
+
end
|
148
|
+
|
149
|
+
tests('Disk no longer exists') do
|
150
|
+
tests("#get_disk(#{@disk_id})").raises(Fog::Compute::VcloudDirector::Forbidden) do
|
151
|
+
@service.get_disk(@disk_id)
|
152
|
+
end
|
153
|
+
tests("#get_disk_owner(#{@disk_id})").raises(Fog::Compute::VcloudDirector::Forbidden) do
|
154
|
+
@service.get_disk_owner(@disk_id)
|
155
|
+
end
|
156
|
+
tests("#get_disk_metadata(#{@disk_id})").raises(Fog::Compute::VcloudDirector::Forbidden) do
|
157
|
+
pending if Fog.mocking?
|
158
|
+
@service.get_disk_metadata(@disk_id)
|
159
|
+
end
|
160
|
+
tests("#delete_disk(#{@disk_id})").raises(Fog::Compute::VcloudDirector::Forbidden) do
|
161
|
+
@service.delete_disk(@disk_id)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
tests('#get_disks_from_query') do
|
166
|
+
pending if Fog.mocking?
|
167
|
+
%w[idrecords records references].each do |format|
|
168
|
+
tests(":format => #{format}") do
|
169
|
+
tests('#body').data_matches_schema(VcloudDirector::Compute::Schema::CONTAINER_TYPE) do
|
170
|
+
@body = @service.get_disks_from_query(:format => format).body
|
171
|
+
end
|
172
|
+
key = (format == 'references') ? 'DiskReference' : 'DiskRecord'
|
173
|
+
tests("#body.key?(:#{key})").returns(true) { @body.key?(key.to_sym) }
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
end
|