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,94 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieves a list of vApps by using REST API general QueryHandler.
|
6
|
+
#
|
7
|
+
# @param [Hash] options
|
8
|
+
# @option options [String] :sortAsc (Sorted by database ID) Sort
|
9
|
+
# results by attribute-name in ascending order. attribute-name cannot
|
10
|
+
# include metadata.
|
11
|
+
# @option options [String] :sortDesc (Sorted by database ID) Sort
|
12
|
+
# results by attribute-name in descending order. attribute-name
|
13
|
+
# cannot include metadata.
|
14
|
+
# @option options [Integer] :page (1) If the query results span
|
15
|
+
# multiple pages, return this page.
|
16
|
+
# @option options [Integer] :pageSize (25) Number of results per page,
|
17
|
+
# to a maximum of 128.
|
18
|
+
# @option options [String] :format (records) One of the following
|
19
|
+
# types:
|
20
|
+
# - *references* Returns a reference to each object, including its
|
21
|
+
# :name, :type, and :href attributes.
|
22
|
+
# - *records* Returns all database records for each object, with each
|
23
|
+
# record as an attribute.
|
24
|
+
# - *idrecords* Identical to the records format, except that object
|
25
|
+
# references are returned in :id format rather than :href format.
|
26
|
+
# @option options [Array<String>] :fields (all static attribute names)
|
27
|
+
# List of attribute names or metadata key names to return.
|
28
|
+
# @option options [Integer] :offset (0) Integer value specifying the
|
29
|
+
# first record to return. Record numbers < offset are not returned.
|
30
|
+
# @option options [String] :filter (none) Filter expression.
|
31
|
+
# @return [Excon::Response]
|
32
|
+
# * hash<~Hash>:
|
33
|
+
# * :href<~String> - The URI of the entity.
|
34
|
+
# * :type<~String> - The MIME type of the entity.
|
35
|
+
# * :name<~String> - Query name that generated this result set.
|
36
|
+
# * :page<~String> - Page of the result set that this container
|
37
|
+
# holds. The first page is page number 1.
|
38
|
+
# * :pageSize<~String> - Page size, as a number of records or
|
39
|
+
# references.
|
40
|
+
# * :total<~String> - Total number of records or references in the
|
41
|
+
# container.
|
42
|
+
# * :Link<~Array<Hash>>:
|
43
|
+
# * :href<~String> - Contains the URI to the entity.
|
44
|
+
# * :type<~String> - Contains the type of the entity.
|
45
|
+
# * :rel<~String> - Defines the relationship of the link to the
|
46
|
+
# object that contains it.
|
47
|
+
# * :VAppRecord<~Array<Hash>>:
|
48
|
+
# * TODO
|
49
|
+
# * :firstPage<~Integer> - First page in the result set.
|
50
|
+
# * :previousPage<~Integer> - Previous page in the result set.
|
51
|
+
# * :nextPage<~Integer> - Next page in the result set.
|
52
|
+
# * :lastPage<~Integer> - Last page in the result set.
|
53
|
+
#
|
54
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VAppsInLeaseFromQuery.html
|
55
|
+
# @since vCloud API version 1.5
|
56
|
+
def get_vapps_in_lease_from_query(options={})
|
57
|
+
query = []
|
58
|
+
query << "sortAsc=#{options[:sortAsc]}" if options[:sortAsc]
|
59
|
+
query << "sortDesc=#{options[:sortDesc]}" if options[:sortDesc]
|
60
|
+
query << "page=#{options[:page]}" if options[:page]
|
61
|
+
query << "pageSize=#{options[:pageSize]}" if options[:pageSize]
|
62
|
+
query << "format=#{options[:format]}" if options[:format]
|
63
|
+
query << "fields=#{Array(options[:fields]).join(',')}" if options[:fields]
|
64
|
+
query << "offset=#{options[:offset]}" if options[:offset]
|
65
|
+
query << "filter=#{options[:filter]}" if options[:filter]
|
66
|
+
|
67
|
+
response = request(
|
68
|
+
:expects => 200,
|
69
|
+
:idempotent => true,
|
70
|
+
:method => 'GET',
|
71
|
+
:parser => Fog::ToHashDocument.new,
|
72
|
+
:path => 'vApps/query',
|
73
|
+
:query => query.map {|q| URI.escape(q)}.join('&')
|
74
|
+
)
|
75
|
+
ensure_list! response.body, :Link
|
76
|
+
ensure_list! response.body,
|
77
|
+
response.body[:type] == 'application/vnd.vmware.vcloud.query.references+xml' ?
|
78
|
+
:VAppReference : :VAppRecord
|
79
|
+
|
80
|
+
%w[firstPage previousPage nextPage lastPage].each do |rel|
|
81
|
+
if link = response.body[:Link].find {|l| l[:rel] == rel}
|
82
|
+
href = Nokogiri::XML.fragment(link[:href])
|
83
|
+
query = CGI.parse(URI.parse(href.text).query)
|
84
|
+
response.body[rel.to_sym] = query['page'].first.to_i
|
85
|
+
response.body[:pageSize] ||= query['pageSize'].first.to_i
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
response
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,76 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieve an administrative view of a cloud.
|
6
|
+
#
|
7
|
+
# The VCloud element provides access to cloud-wide namespace of objects
|
8
|
+
# that an administrator can view and, in most cases, modify.
|
9
|
+
#
|
10
|
+
# @return [Excon:Response]
|
11
|
+
# * body<~Hash>:
|
12
|
+
# * :href<~String> - The URI of the entity.
|
13
|
+
# * :type<~String> - The MIME type of the entity.
|
14
|
+
# * :name<~String> - The name of the entity.
|
15
|
+
# * :Description<~String> - Optional description.
|
16
|
+
# * :OrganizationReferences<Hash>:
|
17
|
+
# * :OrganizationReference<~Array<Hash>>:
|
18
|
+
# * :href<~String> - Contains the URI to the entity.
|
19
|
+
# * :name<~String> - Contains the name of the entity.
|
20
|
+
# * :type<~String> - Contains the type of the entity.
|
21
|
+
# * :ProviderVdcReferences<~Hash>:
|
22
|
+
# * :ProviderVdcReferences<~Array<Hash>>:
|
23
|
+
# * :RightReferences<~Hash>:
|
24
|
+
# * :RightReferences<~Array<Hash>>:
|
25
|
+
# * :RoleReferences<~Hash>:
|
26
|
+
# * :RoleReferences<~Array<Hash>>:
|
27
|
+
# * :Networks<~Hash>:
|
28
|
+
# * :Network<~Array<Hash>>:
|
29
|
+
#
|
30
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Vcloud.html
|
31
|
+
# @since vCloud API version 0.9
|
32
|
+
def get_vcloud
|
33
|
+
response = request(
|
34
|
+
:expects => 200,
|
35
|
+
:idempotent => true,
|
36
|
+
:method => 'GET',
|
37
|
+
:parser => Fog::ToHashDocument.new,
|
38
|
+
:path => 'admin/'
|
39
|
+
)
|
40
|
+
ensure_list! response.body, :OrganizationReferences, :OrganizationReference
|
41
|
+
ensure_list! response.body, :ProviderVdcReferences, :ProviderVdcReference
|
42
|
+
ensure_list! response.body, :RightReferences, :RightReference
|
43
|
+
ensure_list! response.body, :RoleReferences, :RoleReference
|
44
|
+
ensure_list! response.body, :Networks, :Network
|
45
|
+
response
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
class Mock
|
50
|
+
def get_vcloud
|
51
|
+
body =
|
52
|
+
{:href=>make_href('admin/'),
|
53
|
+
:type=>"application/vnd.vmware.admin.vcloud+xml",
|
54
|
+
:name=>'VMware vCloud Director',
|
55
|
+
:Description=>'5.1.2.1377223 Tue Oct 15 20:56:05 GMT 2013',
|
56
|
+
:Tasks=>{:Task=>[]},
|
57
|
+
:OrganizationReferences=>
|
58
|
+
{:OrganizationReference=>
|
59
|
+
[{:type=>"application/vnd.vmware.admin.organization+xml",
|
60
|
+
:name=>data[:org][:name],
|
61
|
+
:href=>make_href("api/admin/org/#{data[:org][:uuid]}")}]},
|
62
|
+
:ProviderVdcReferences=>{:ProviderVdcReference=>[]},
|
63
|
+
:RightReferences=>{:RightReference=>[]},
|
64
|
+
:RoleReferences=>{:RoleReference=>[]},
|
65
|
+
:Networks=>{:Network=>[]}}
|
66
|
+
|
67
|
+
Excon::Response.new(
|
68
|
+
:body => body,
|
69
|
+
:headers => {'Content-Type' => "#{body[:type]};version=#{api_version}"},
|
70
|
+
:status => 200
|
71
|
+
)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
@@ -0,0 +1,174 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieve a vDC.
|
6
|
+
#
|
7
|
+
# @param [String] id Object identifier of the vDC.
|
8
|
+
# @return [Excon::Response]
|
9
|
+
# * body<~Hash>:
|
10
|
+
#
|
11
|
+
# @raise [Fog::Compute::VcloudDirector::Forbidden]
|
12
|
+
#
|
13
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-Vdc.html
|
14
|
+
# @since vCloud API version 0.9
|
15
|
+
def get_vdc(id)
|
16
|
+
response = request(
|
17
|
+
:expects => 200,
|
18
|
+
:idempotent => true,
|
19
|
+
:method => 'GET',
|
20
|
+
:parser => Fog::ToHashDocument.new,
|
21
|
+
:path => "vdc/#{id}"
|
22
|
+
)
|
23
|
+
ensure_list! response.body, :ResourceEntities, :ResourceEntity
|
24
|
+
ensure_list! response.body, :AvailableNetworks, :Network
|
25
|
+
ensure_list! response.body, :VdcStorageProfiles, :VdcStorageProfile
|
26
|
+
response
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
class Mock
|
31
|
+
def get_vdc(vdc_id)
|
32
|
+
response = Excon::Response.new
|
33
|
+
|
34
|
+
unless vdc = data[:vdcs][vdc_id]
|
35
|
+
raise Fog::Compute::VcloudDirector::Forbidden.new(
|
36
|
+
"No access to entity \"com.vmware.vcloud.entity.vdc:#{vdc_id}\"."
|
37
|
+
)
|
38
|
+
end
|
39
|
+
|
40
|
+
body =
|
41
|
+
{:xmlns=>xmlns,
|
42
|
+
:xmlns_xsi=>xmlns_xsi,
|
43
|
+
:status=>"1",
|
44
|
+
:name=>vdc[:name],
|
45
|
+
:id=>"urn:vcloud:vdc:#{vdc_id}",
|
46
|
+
:type=>"application/vnd.vmware.vcloud.vdc+xml",
|
47
|
+
:href=>make_href("vdc/#{vdc_id}"),
|
48
|
+
:xsi_schemaLocation=>xsi_schema_location,
|
49
|
+
:Link=>
|
50
|
+
[{:rel=>"up",
|
51
|
+
:type=>"application/vnd.vmware.vcloud.org+xml",
|
52
|
+
:href=>make_href("org/#{data[:org][:uuid]}")},
|
53
|
+
{:rel=>"down",
|
54
|
+
:type=>"application/vnd.vmware.vcloud.metadata+xml",
|
55
|
+
:href=>make_href("vdc/#{vdc_id}/metadata")},
|
56
|
+
{:rel=>"add",
|
57
|
+
:type=>"application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml",
|
58
|
+
:href=>
|
59
|
+
make_href("vdc/#{vdc_id}/action/uploadVAppTemplate")},
|
60
|
+
{:rel=>"add",
|
61
|
+
:type=>"application/vnd.vmware.vcloud.media+xml",
|
62
|
+
:href=>make_href("vdc/#{vdc_id}/media")},
|
63
|
+
{:rel=>"add",
|
64
|
+
:type=>
|
65
|
+
"application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml",
|
66
|
+
:href=>
|
67
|
+
make_href("vdc/#{vdc_id}/action/instantiateVAppTemplate")},
|
68
|
+
{:rel=>"add",
|
69
|
+
:type=>"application/vnd.vmware.vcloud.cloneVAppParams+xml",
|
70
|
+
:href=>make_href("vdc/#{vdc_id}/action/cloneVApp")},
|
71
|
+
{:rel=>"add",
|
72
|
+
:type=>"application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml",
|
73
|
+
:href=>
|
74
|
+
make_href("vdc/#{vdc_id}/action/cloneVAppTemplate")},
|
75
|
+
{:rel=>"add",
|
76
|
+
:type=>"application/vnd.vmware.vcloud.cloneMediaParams+xml",
|
77
|
+
:href=>make_href("vdc/#{vdc_id}/action/cloneMedia")},
|
78
|
+
{:rel=>"add",
|
79
|
+
:type=>"application/vnd.vmware.vcloud.captureVAppParams+xml",
|
80
|
+
:href=>make_href("vdc/#{vdc_id}/action/captureVApp")},
|
81
|
+
{:rel=>"add",
|
82
|
+
:type=>"application/vnd.vmware.vcloud.composeVAppParams+xml",
|
83
|
+
:href=>make_href("vdc/#{vdc_id}/action/composeVApp")},
|
84
|
+
{:rel=>"add",
|
85
|
+
:type=>"application/vnd.vmware.vcloud.diskCreateParams+xml",
|
86
|
+
:href=>make_href("vdc/#{vdc_id}/disk")},
|
87
|
+
{:rel=>"edgeGateways",
|
88
|
+
:type=>"application/vnd.vmware.vcloud.query.records+xml",
|
89
|
+
:href=>make_href("admin/vdc/#{vdc_id}/edgeGateways")},
|
90
|
+
{:rel=>"add",
|
91
|
+
:type=>"application/vnd.vmware.vcloud.orgVdcNetwork+xml",
|
92
|
+
:href=>make_href("admin/vdc/#{vdc_id}/networks")},
|
93
|
+
{:rel=>"orgVdcNetworks",
|
94
|
+
:type=>"application/vnd.vmware.vcloud.query.records+xml",
|
95
|
+
:href=>make_href("admin/vdc/#{vdc_id}/networks")}],
|
96
|
+
:Description=>vdc[:description]||'',
|
97
|
+
:AllocationModel=>"AllocationVApp",
|
98
|
+
:ComputeCapacity=>
|
99
|
+
{:Cpu=>
|
100
|
+
{:Units=>"MHz",
|
101
|
+
:Allocated=>"0",
|
102
|
+
:Limit=>"0",
|
103
|
+
:Reserved=>"0",
|
104
|
+
:Used=>"0",
|
105
|
+
:Overhead=>"0"},
|
106
|
+
:Memory=>
|
107
|
+
{:Units=>"MB",
|
108
|
+
:Allocated=>"0",
|
109
|
+
:Limit=>"0",
|
110
|
+
:Reserved=>"0",
|
111
|
+
:Used=>"0",
|
112
|
+
:Overhead=>"0"}},
|
113
|
+
:ResourceEntities => {
|
114
|
+
:ResourceEntity => []
|
115
|
+
},
|
116
|
+
:AvailableNetworks => {},
|
117
|
+
:Capabilities=>
|
118
|
+
{:SupportedHardwareVersions=>
|
119
|
+
{:SupportedHardwareVersion=>"vmx-08"}},
|
120
|
+
:NicQuota=>"0",
|
121
|
+
:NetworkQuota=>"20",
|
122
|
+
:UsedNetworkCount=>"0",
|
123
|
+
:VmQuota=>"100",
|
124
|
+
:IsEnabled=>"true"}
|
125
|
+
|
126
|
+
body[:ResourceEntities][:ResourceEntity] =
|
127
|
+
data[:catalog_items].map do |id, item|
|
128
|
+
{:type=>"application/vnd.vmware.vcloud.#{item[:type]}+xml",
|
129
|
+
:name=>item[:name],
|
130
|
+
:href=>make_href("#{item[:type]}/#{item[:type]}-#{id}")}
|
131
|
+
end
|
132
|
+
|
133
|
+
body[:ResourceEntities][:ResourceEntity] +=
|
134
|
+
get_vapps_in_this_vdc(vdc_id).map do |vapp_id, vapp|
|
135
|
+
{:type => "application/vnd.vmware.vcloud.vApp+xml",
|
136
|
+
:name => vapp[:name],
|
137
|
+
:href => make_href("vApp/#{vapp_id}")}
|
138
|
+
end
|
139
|
+
|
140
|
+
body[:AvailableNetworks][:Network] =
|
141
|
+
data[:networks].map do |id, network|
|
142
|
+
{:type=>"application/vnd.vmware.vcloud.network+xml",
|
143
|
+
:name=>network[:name],
|
144
|
+
:href=>make_href("network/#{id}")}
|
145
|
+
end
|
146
|
+
|
147
|
+
if api_version.to_f >= 5.1
|
148
|
+
body[:VdcStorageProfiles] = {}
|
149
|
+
body[:VdcStorageProfiles][:VdcStorageProfile] =
|
150
|
+
data[:vdc_storage_classes].select do |id, storage_class|
|
151
|
+
storage_class[:vdc] == vdc_id
|
152
|
+
end.map do |id, storage_class|
|
153
|
+
{:type => 'application/vnd.vmware.vcloud.vdcStorageProfile+xml',
|
154
|
+
:name => storage_class[:name],
|
155
|
+
:href => make_href("vdcStorageProfile/#{id}")}
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
response.status = 200
|
160
|
+
response.headers = {'Content-Type' => "#{body[:type]};version=#{api_version}"}
|
161
|
+
response.body = body
|
162
|
+
response
|
163
|
+
end
|
164
|
+
|
165
|
+
def get_vapps_in_this_vdc(vdc_id)
|
166
|
+
data[:vapps].select do |vapp_id, vapp|
|
167
|
+
vapp[:vdc_id] == vdc_id
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieve metadata associated with a vDC.
|
6
|
+
#
|
7
|
+
# @param [String] id Object identifier of the vDC.
|
8
|
+
# @return [Excon::Response]
|
9
|
+
# * body<~Hash>:
|
10
|
+
#
|
11
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcMetadata.html
|
12
|
+
# @since vCloud API version 1.5
|
13
|
+
def get_vdc_metadata(id)
|
14
|
+
request(
|
15
|
+
:expects => 200,
|
16
|
+
:idempotent => true,
|
17
|
+
:method => 'GET',
|
18
|
+
:parser => Fog::ToHashDocument.new,
|
19
|
+
:path => "vdc/#{id}/metadata/"
|
20
|
+
)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieve the value of the specified key from virtual datacenter
|
6
|
+
# metadata.
|
7
|
+
#
|
8
|
+
# @param [String] id Object identifier of the network.
|
9
|
+
# @param [String] domain
|
10
|
+
# @param [String] key Key of the metadata.
|
11
|
+
# @return [Excon::Response]
|
12
|
+
# * body<~Hash>:
|
13
|
+
#
|
14
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcMetadataItem-metadata.html
|
15
|
+
# @since vCloud API version 1.5
|
16
|
+
def get_vdc_metadata_item_metadata(id, domain, key)
|
17
|
+
request(
|
18
|
+
:expects => 200,
|
19
|
+
:idempotent => true,
|
20
|
+
:method => 'GET',
|
21
|
+
:parser => Fog::ToHashDocument.new,
|
22
|
+
:path => "admin/vdc/#{id}/metadata/#{URI.escape(key)})"
|
23
|
+
)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
extend Fog::Deprecation
|
6
|
+
deprecate :get_vdc_storage_profile, :get_vdc_storage_class
|
7
|
+
|
8
|
+
# Returns storage class referred by the Id. All properties of the
|
9
|
+
# storage classes are visible to vcloud user, except for VDC Storage
|
10
|
+
# Class reference.
|
11
|
+
#
|
12
|
+
# @param [String] id Object identifier of the vDC storage profile.
|
13
|
+
# @return [Excon::Response]
|
14
|
+
# * body<~Hash>:
|
15
|
+
# * :href<~String> - The URI of the entity.
|
16
|
+
# * :type<~String> - The MIME type of the entity.
|
17
|
+
# * :id<~String> - The entity identifier, expressed in URN format.
|
18
|
+
# The value of this attribute uniquely identifies the entity,
|
19
|
+
# persists for the life of the entity, and is never reused.
|
20
|
+
# * :name<~String> - The name of the entity.
|
21
|
+
# * :Description<~String> - Optional description.
|
22
|
+
# * :Enabled<~String> - True if this storage profile is enabled for
|
23
|
+
# use in the vDC.
|
24
|
+
# * :Units<~String> - Units used to define :Limit.
|
25
|
+
# * :Limit<~String> - Maximum number of :Units allocated for this
|
26
|
+
# storage profile.
|
27
|
+
# * :Default<~String> - True if this is default storage profile for
|
28
|
+
# this vDC. The default storage profile is used when an object
|
29
|
+
# that can specify a storage profile is created with no storage
|
30
|
+
# profile specified.
|
31
|
+
#
|
32
|
+
# @raise [Fog::Compute::VcloudDirector::Forbidden]
|
33
|
+
#
|
34
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcStorageClass.html
|
35
|
+
def get_vdc_storage_class(id)
|
36
|
+
request(
|
37
|
+
:expects => 200,
|
38
|
+
:idempotent => true,
|
39
|
+
:method => 'GET',
|
40
|
+
:parser => Fog::ToHashDocument.new,
|
41
|
+
:path => "vdcStorageProfile/#{id}"
|
42
|
+
)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
class Mock
|
47
|
+
def get_vdc_storage_class(id)
|
48
|
+
unless vdc_storage_class = data[:vdc_storage_classes][id]
|
49
|
+
raise Fog::Compute::VcloudDirector::Forbidden.new(
|
50
|
+
"No access to entity \"(com.vmware.vcloud.entity.vdcstorageProfile:#{id})\"."
|
51
|
+
)
|
52
|
+
end
|
53
|
+
|
54
|
+
body =
|
55
|
+
{:xmlns=>xmlns,
|
56
|
+
:xmlns_xsi=>xmlns_xsi,
|
57
|
+
:name=>vdc_storage_class[:name],
|
58
|
+
:id=>"urn:vcloud:vdcstorageProfile:#{id}",
|
59
|
+
:type=>"application/vnd.vmware.vcloud.vdcStorageProfile+xml",
|
60
|
+
:href=>make_href("api/vdcStorageProfile/#{id}"),
|
61
|
+
:xsi_schemaLocation=>xsi_schema_location,
|
62
|
+
:Link=>
|
63
|
+
[{:rel=>"up",
|
64
|
+
:type=>"application/vnd.vmware.vcloud.vdc+xml",
|
65
|
+
:href=>make_href("vdc/#{vdc_storage_class[:vdc]}")},
|
66
|
+
{:rel=>"down",
|
67
|
+
:type=>"application/vnd.vmware.vcloud.metadata+xml",
|
68
|
+
:href=>make_href("vdcStorageProfile/#{id}/metadata")}],
|
69
|
+
:Enabled=>vdc_storage_class[:enabled].to_s,
|
70
|
+
:Units=>vdc_storage_class[:units],
|
71
|
+
:Limit=>vdc_storage_class[:limit].to_s,
|
72
|
+
:Default=>vdc_storage_class[:default].to_s}
|
73
|
+
|
74
|
+
Excon::Response.new(
|
75
|
+
:status => 200,
|
76
|
+
:headers => {'Content-Type' => "#{body[:type]};version=#{api_version}"},
|
77
|
+
:body => body
|
78
|
+
)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
extend Fog::Deprecation
|
6
|
+
deprecate :get_vdc_storage_profile_metadata, :get_vdc_storage_class_metadata
|
7
|
+
|
8
|
+
# Retrieve metadata associated with the vDC storage profile.
|
9
|
+
#
|
10
|
+
# @param [String] id Object identifier of the vDC storage profile.
|
11
|
+
# @return [Excon::Response]
|
12
|
+
# * body<~Hash>:
|
13
|
+
#
|
14
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcStorageClassMetadata.html
|
15
|
+
def get_vdc_storage_class_metadata(id)
|
16
|
+
request(
|
17
|
+
:expects => 200,
|
18
|
+
:idempotent => true,
|
19
|
+
:method => 'GET',
|
20
|
+
:parser => Fog::ToHashDocument.new,
|
21
|
+
:path => "vdcStorageProfile/#{id}/metadata/"
|
22
|
+
)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieve metadata associated with the vDC storage profile.
|
6
|
+
#
|
7
|
+
# @param [String] id Object identifier of the vDC storage profile.
|
8
|
+
# @param [String] key Key of the metadata.
|
9
|
+
# @return [Excon::Response]
|
10
|
+
# * body<~Hash>:
|
11
|
+
#
|
12
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VdcStorageClassMetadataItem-metadata.html
|
13
|
+
def get_vdc_storage_class_metadata_item_metadata(id, key)
|
14
|
+
request(
|
15
|
+
:expects => 200,
|
16
|
+
:idempotent => true,
|
17
|
+
:method => 'GET',
|
18
|
+
:parser => Fog::ToHashDocument.new,
|
19
|
+
:path => "vdcStorageProfile/#{id}/metadata/#{URI.escape(key)})"
|
20
|
+
)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieves a list of vdcs in the organization.
|
6
|
+
#
|
7
|
+
# @param [Hash] options
|
8
|
+
# @option options [String] :sortAsc (Sorted by database ID) Sort
|
9
|
+
# results by attribute-name in ascending order. attribute-name cannot
|
10
|
+
# include metadata.
|
11
|
+
# @option options [String] :sortDesc (Sorted by database ID) Sort
|
12
|
+
# results by attribute-name in descending order. attribute-name
|
13
|
+
# cannot include metadata.
|
14
|
+
# @option options [Integer] :page (1) If the query results span
|
15
|
+
# multiple pages, return this page.
|
16
|
+
# @option options [Integer] :pageSize (25) Number of results per page,
|
17
|
+
# to a maximum of 128.
|
18
|
+
# @option options [String] :format (records) One of the following
|
19
|
+
# types:
|
20
|
+
# - *references* Returns a reference to each object, including its
|
21
|
+
# :name, :type, and :href attributes.
|
22
|
+
# - *records* Returns all database records for each object, with each
|
23
|
+
# record as an attribute.
|
24
|
+
# - *idrecords* Identical to the records format, except that object
|
25
|
+
# references are returned in :id format rather than :href format.
|
26
|
+
# @option options [Array<String>] :fields (all static attribute names)
|
27
|
+
# List of attribute names or metadata key names to return.
|
28
|
+
# @option options [Integer] :offset (0) Integer value specifying the
|
29
|
+
# first record to return. Record numbers < offset are not returned.
|
30
|
+
# @option options [String] :filter (none) Filter expression.
|
31
|
+
# @return [Excon::Response]
|
32
|
+
# * hash<~Hash>:
|
33
|
+
# * :href<~String> - The URI of the entity.
|
34
|
+
# * :type<~String> - The MIME type of the entity.
|
35
|
+
# * :name<~String> - Query name that generated this result set.
|
36
|
+
# * :page<~String> - Page of the result set that this container
|
37
|
+
# holds. The first page is page number 1.
|
38
|
+
# * :pageSize<~String> - Page size, as a number of records or
|
39
|
+
# references.
|
40
|
+
# * :total<~String> - Total number of records or references in the
|
41
|
+
# container.
|
42
|
+
# * :Link<~Array<Hash>>:
|
43
|
+
# * :href<~String> - Contains the URI to the entity.
|
44
|
+
# * :type<~String> - Contains the type of the entity.
|
45
|
+
# * :rel<~String> - Defines the relationship of the link to the
|
46
|
+
# object that contains it.
|
47
|
+
# * :OrgVdcRecord<~Array<Hash>>:
|
48
|
+
# * TODO
|
49
|
+
# * :firstPage<~Integer> - First page in the result set.
|
50
|
+
# * :previousPage<~Integer> - Previous page in the result set.
|
51
|
+
# * :nextPage<~Integer> - Next page in the result set.
|
52
|
+
# * :lastPage<~Integer> - Last page in the result set.
|
53
|
+
#
|
54
|
+
# @see http://pubs.vmware.com/vcd-55/topic/com.vmware.vcloud.api.reference.doc_55/doc/operations/GET-RightsFromQuery-query.html
|
55
|
+
# @since vCloud API version 1.5
|
56
|
+
def get_vdcs_from_query(options={})
|
57
|
+
query = []
|
58
|
+
query << "sortAsc=#{options[:sortAsc]}" if options[:sortAsc]
|
59
|
+
query << "sortDesc=#{options[:sortDesc]}" if options[:sortDesc]
|
60
|
+
query << "page=#{options[:page]}" if options[:page]
|
61
|
+
query << "pageSize=#{options[:pageSize]}" if options[:pageSize]
|
62
|
+
query << "format=#{options[:format]}" if options[:format]
|
63
|
+
query << "fields=#{Array(options[:fields]).join(',')}" if options[:fields]
|
64
|
+
query << "offset=#{options[:offset]}" if options[:offset]
|
65
|
+
query << "filter=#{options[:filter]}" if options[:filter]
|
66
|
+
|
67
|
+
response = request(
|
68
|
+
:expects => 200,
|
69
|
+
:idempotent => true,
|
70
|
+
:method => 'GET',
|
71
|
+
:parser => Fog::ToHashDocument.new,
|
72
|
+
:path => 'admin/vdcs/query',
|
73
|
+
:query => query.map {|q| URI.escape(q)}.join('&')
|
74
|
+
)
|
75
|
+
ensure_list! response.body, :Link
|
76
|
+
ensure_list! response.body,
|
77
|
+
response.body[:type] == 'application/vnd.vmware.vcloud.query.references+xml' ?
|
78
|
+
:OrgVdcReference : :OrgVdcRecord
|
79
|
+
|
80
|
+
%w[firstPage previousPage nextPage lastPage].each do |rel|
|
81
|
+
if link = response.body[:Link].find {|l| l[:rel] == rel}
|
82
|
+
href = Nokogiri::XML.fragment(link[:href])
|
83
|
+
query = CGI.parse(URI.parse(href.text).query)
|
84
|
+
response.body[rel.to_sym] = query['page'].first.to_i
|
85
|
+
response.body[:pageSize] ||= query['pageSize'].first.to_i
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
response
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class VcloudDirector
|
4
|
+
class Real
|
5
|
+
# Retrieve the virtual hardware section of a VM.
|
6
|
+
#
|
7
|
+
# This operation retrieves the entire VirtualHardwareSection of a VM.
|
8
|
+
# You can also retrieve many RASD item elements of a
|
9
|
+
# VirtualHardwareSection individually, or as groups of related items.
|
10
|
+
#
|
11
|
+
# @param [String] id Object identifier of the VM.
|
12
|
+
# @return [Excon::Response]
|
13
|
+
# * body<~Hash>:
|
14
|
+
#
|
15
|
+
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/GET-VirtualHardwareSection.html
|
16
|
+
# @since vCloud API version 0.9
|
17
|
+
def get_virtual_hardware_section(id)
|
18
|
+
request(
|
19
|
+
:expects => 200,
|
20
|
+
:idempotent => true,
|
21
|
+
:method => 'GET',
|
22
|
+
:parser => Fog::ToHashDocument.new,
|
23
|
+
:path => "vApp/#{id}/virtualHardwareSection/"
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|