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,40 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class Linode
|
4
|
+
class Real
|
5
|
+
# List of domains (you have access to)
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * domain_id<~Integer>: limit the list to the domain ID specified
|
9
|
+
#
|
10
|
+
# ==== Returns
|
11
|
+
# * response<~Excon::Response>:
|
12
|
+
# * body<~Array>:
|
13
|
+
# * DATA<~Array>
|
14
|
+
# * 'DOMAINID'<~Interger>
|
15
|
+
# * 'SOA_EMAIL'<~String>
|
16
|
+
# * 'DESCRIPTION'<~String>
|
17
|
+
# * 'TTL_SEC'<~String>
|
18
|
+
# * 'EXPIRE_SEC'<~Integer>
|
19
|
+
# * 'RETRY_SEC'<~Integer>
|
20
|
+
# * 'DOMAIN'<~String>
|
21
|
+
# * 'STATUS'<~Integer>
|
22
|
+
# * 'MASTER_IPS'<~String>
|
23
|
+
# * 'REFRESH_SEC'<~Integer>
|
24
|
+
# * 'TYPE'<~String>
|
25
|
+
def domain_list(domain_id = nil)
|
26
|
+
options = {}
|
27
|
+
if domain_id
|
28
|
+
options.merge!(:domainId => domain_id)
|
29
|
+
end
|
30
|
+
|
31
|
+
request(
|
32
|
+
:expects => 200,
|
33
|
+
:method => 'GET',
|
34
|
+
:query => { :api_action => 'domain.list' }.merge!(options)
|
35
|
+
)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class Linode
|
4
|
+
class Real
|
5
|
+
# Creates a resource record in a domain
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * domain_id<~Integer>: limit the list to the domain ID specified
|
9
|
+
# * type<~String>: One of: NS, MX, A, AAAA, CNAME, TXT, or SRV
|
10
|
+
# * options<~Hash>
|
11
|
+
# * name<~String>: The hostname or FQDN. When Type=MX the subdomain to delegate to the
|
12
|
+
# Target MX server
|
13
|
+
# * target<~String> When Type=MX the hostname. When Type=CNAME the target of the alias.
|
14
|
+
# When Type=TXT the value of the record. When Type=A or AAAA the token
|
15
|
+
# of '[remote_addr]' will be substituted with the IP address of the request.
|
16
|
+
# * priority<~Integer>: priority for MX and SRV records, 0-255 - default: 10
|
17
|
+
# * weight<~Integer>: default: 5
|
18
|
+
# * port<~Integer>: default: 80
|
19
|
+
# * protocol<~String>: The protocol to append to an SRV record. Ignored on other record
|
20
|
+
# types. default: udp
|
21
|
+
# * ttl_sec<~Integer>: note, Linode will round the input to set values (300, 3600, 7200, etc)
|
22
|
+
# ==== Returns
|
23
|
+
# * response<~Excon::Response>:
|
24
|
+
# * body<~Hash>:
|
25
|
+
# * DATA<~Hash>:
|
26
|
+
# * 'ResourceID'<~Integer>: ID of the resource record created
|
27
|
+
def domain_resource_create(domain_id, type, options = {})
|
28
|
+
query= {}
|
29
|
+
request(
|
30
|
+
:expects => 200,
|
31
|
+
:method => 'GET',
|
32
|
+
:query => {
|
33
|
+
:api_action => 'domain.resource.create',
|
34
|
+
:domainID => domain_id,
|
35
|
+
:type => type
|
36
|
+
}.merge!( options)
|
37
|
+
)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class Linode
|
4
|
+
class Real
|
5
|
+
# Delete the given resource from a domain
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * domain_id<~Integer>: id of domain resource belongs to
|
9
|
+
# * resource_id<~Integer>: id of resouce to delete
|
10
|
+
#
|
11
|
+
# ==== Returns
|
12
|
+
# * response<~Excon::Response>:
|
13
|
+
# * body<~Hash>:
|
14
|
+
# * DATA<~Hash>:
|
15
|
+
# * resource_id<~Integer>: resource id that was deleted
|
16
|
+
def domain_resource_delete(domain_id, resource_id)
|
17
|
+
request(
|
18
|
+
:expects => 200,
|
19
|
+
:method => 'GET',
|
20
|
+
:query => { :api_action => 'domain.resource.delete', :domainId => domain_id, :resourceID => resource_id }
|
21
|
+
)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class Linode
|
4
|
+
class Real
|
5
|
+
# List of resource records for a domain
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * domain_id<~Integer>: limit the list to the domain ID specified
|
9
|
+
# * resource_id<~Integer>: optional. use if want only a specific resource record
|
10
|
+
#
|
11
|
+
# ==== Returns
|
12
|
+
# * response<~Excon::Response>:
|
13
|
+
# * body<~Array>:
|
14
|
+
# * DATA<~Array>
|
15
|
+
# * 'PROTOCOL'<~String>: for SRV records. default is UDP
|
16
|
+
# * 'TTL_SEC'<~Interger>:
|
17
|
+
# * 'PRIORITY'<~Interger>: for MX and SRV records
|
18
|
+
# * 'TYPE'<~String>: One of: NS, MX, A, AAAA, CNAME, TXT, or SRV
|
19
|
+
# * 'TARGET'<~String>: When Type=MX the hostname. When Type=CNAME the target of the alias.
|
20
|
+
# When Type=TXT the value of the record. When Type=A or AAAA the token
|
21
|
+
# of '[remote_addr]' will be substituted with the IP address of the request.
|
22
|
+
# * 'WEIGHT'<~Interger>:
|
23
|
+
# * 'RESOURCEID'<~Interger>: ID of the resource record
|
24
|
+
# * 'PORT'<~Interger>:
|
25
|
+
# * 'DOMAINID'<~Interger>: ID of the domain that this record belongs to
|
26
|
+
# * 'NAME'<~Interger>: The hostname or FQDN. When Type=MX, the subdomain to delegate to
|
27
|
+
def domain_resource_list(domain_id, resource_id = nil)
|
28
|
+
query = { :api_action => 'domain.resource.list', :domainID => domain_id }
|
29
|
+
if resource_id
|
30
|
+
query[:resourceID] = resource_id
|
31
|
+
end
|
32
|
+
request(
|
33
|
+
:expects => 200,
|
34
|
+
:method => 'GET',
|
35
|
+
:query => query
|
36
|
+
)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class Linode
|
4
|
+
class Real
|
5
|
+
# Updates a resource record in a domain
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * domain_id<~Integer>: limit the list to the domain ID specified
|
9
|
+
# * resource_id<~Integer>: id of resouce to delete
|
10
|
+
# * options<~Hash>
|
11
|
+
# * type<~String>: One of: NS, MX, A, AAAA, CNAME, TXT, or SRV
|
12
|
+
# * name<~String>: The hostname or FQDN. When Type=MX the subdomain to delegate to the
|
13
|
+
# Target MX server
|
14
|
+
# * target<~String> When Type=MX the hostname. When Type=CNAME the target of the alias.
|
15
|
+
# When Type=TXT the value of the record. When Type=A or AAAA the token
|
16
|
+
# of '[remote_addr]' will be substituted with the IP address of the request.
|
17
|
+
# * priority<~Integer>: priority for MX and SRV records, 0-255 - default: 10
|
18
|
+
# * weight<~Integer>: default: 5
|
19
|
+
# * port<~Integer>: default: 80
|
20
|
+
# * protocol<~String>: The protocol to append to an SRV record. Ignored on other record
|
21
|
+
# types. default: udp
|
22
|
+
# * ttl_sec<~Integer>: note, Linode will round the input to set values (300, 3600, 7200, etc)
|
23
|
+
# ==== Returns
|
24
|
+
# * response<~Excon::Response>:
|
25
|
+
# * body<~Hash>:
|
26
|
+
# * DATA<~Hash>:
|
27
|
+
# * 'ResourceID'<~Integer>: ID of the resource record updated
|
28
|
+
def domain_resource_update(domain_id, resource_id, options = {})
|
29
|
+
query= {}
|
30
|
+
request(
|
31
|
+
:expects => 200,
|
32
|
+
:method => 'GET',
|
33
|
+
:query => {
|
34
|
+
:api_action => 'domain.resource.update',
|
35
|
+
:domainID => domain_id,
|
36
|
+
:resourceID => resource_id,
|
37
|
+
}.merge!( options)
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module Fog
|
2
|
+
module DNS
|
3
|
+
class Linode
|
4
|
+
class Real
|
5
|
+
# Update a domain record
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * domain_id<~Integer>: The ID to identify the zone
|
9
|
+
# * options<~Hash>
|
10
|
+
# * domain<~String>: The zone's name.
|
11
|
+
# * type<~String>: master or slave
|
12
|
+
# * description<~String> Currently undisplayed
|
13
|
+
# * SOA_email<~String> Required when type=master
|
14
|
+
# * refresh_sec<~Integer> numeric, default: '0'
|
15
|
+
# * retry_sec<~Integer> numeric, default: '0'
|
16
|
+
# * expire_sec<~Integer> numeric, default: '0'
|
17
|
+
# * ttl_sec<~String> numeric, default: '0'
|
18
|
+
# * status<~Integer> 0, 1, or 2 (disabled, active, edit mode), default: 1
|
19
|
+
# * master_ips<~String> When type=slave, the zone's master DNS servers list, semicolon separated
|
20
|
+
#
|
21
|
+
# ==== Returns
|
22
|
+
# * response<~Excon::Response>:
|
23
|
+
# * body<~Hash>:
|
24
|
+
# * DATA<~Hash>:
|
25
|
+
# * 'DomainID'<~Integer>: domain ID
|
26
|
+
def domain_update(domain_id, options = {})
|
27
|
+
request(
|
28
|
+
:expects => 200,
|
29
|
+
:method => 'GET',
|
30
|
+
:query => { :api_action => 'domain.update', :domainId => domain_id }.merge!(options)
|
31
|
+
)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/lib/fog/linode.rb
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
# Getting started with OpenNebula (one) Fog provider
|
2
|
+
|
3
|
+
[OpenNebula](http://www.opennebula.org) provides ruby bindings to access the xml-rpc
|
4
|
+
|
5
|
+
The opennebula fog extensions provides examples for using Fog with OpenNebula (4.4).
|
6
|
+
|
7
|
+
**Note:** This provider is under construction! This means everything that is provided should work without problems, but there are many features not available yet. Please contribute!
|
8
|
+
|
9
|
+
## Requirements
|
10
|
+
|
11
|
+
For working with this provider the following pre-requisites are needed:
|
12
|
+
|
13
|
+
* Ruby version 1.8.x or 1.9.x
|
14
|
+
* `fog` gem
|
15
|
+
* Working OpenNebula instance with XML-RPC and credentials
|
16
|
+
* This version is tested with OpenNebula 4.4 and the opennebula gem dependency is hardcoded to this version. it should work with version 4.6, but is not tested.
|
17
|
+
|
18
|
+
|
19
|
+
## Examples
|
20
|
+
|
21
|
+
General proceeding:
|
22
|
+
|
23
|
+
* Connect to one-rpc
|
24
|
+
* create new vm object
|
25
|
+
* fetch a template/flavor from one (this template should be predefined)
|
26
|
+
* assigne the flavor/template to the vm
|
27
|
+
* change the attributes of this flavor/template (name, cpu, memory, nics....)
|
28
|
+
* save/instantiate the vm
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'fog'
|
32
|
+
|
33
|
+
# connect to your one rpc
|
34
|
+
con = Fog::Compute.new(
|
35
|
+
{
|
36
|
+
:provider => 'OpenNebula',
|
37
|
+
:opennebula_username => 'user',
|
38
|
+
:opennebula_password => 'password',
|
39
|
+
:opennebula_endpoint => 'http://oned.domain:2633/RPC2'
|
40
|
+
}
|
41
|
+
)
|
42
|
+
|
43
|
+
|
44
|
+
# list all vms
|
45
|
+
con.servers
|
46
|
+
|
47
|
+
# list all flavors (templates in OpenNebula slang)
|
48
|
+
con.flavors
|
49
|
+
|
50
|
+
# get flavor with id 4
|
51
|
+
con.flavors.get 4
|
52
|
+
|
53
|
+
# list all Virtual Networks
|
54
|
+
con.networks
|
55
|
+
con.networks.get 2
|
56
|
+
|
57
|
+
# get all usergroups
|
58
|
+
con.groups
|
59
|
+
|
60
|
+
# create a new vm (creates the object, the vm is not instantiated yet)
|
61
|
+
newvm = con.servers.new
|
62
|
+
|
63
|
+
# set the flavor of the vm
|
64
|
+
newvm.flavor = con.flavors.get 4
|
65
|
+
|
66
|
+
# set the name of the vm
|
67
|
+
newvm.name = "FooBarVM"
|
68
|
+
|
69
|
+
# set the groupid of the vm
|
70
|
+
newvm.gid = 0
|
71
|
+
|
72
|
+
# set cores and memory (MB)
|
73
|
+
newvm.flavor.vcpu = 2
|
74
|
+
newvm.flavor.memory = 256
|
75
|
+
|
76
|
+
# create a new network interface attached to the network with id 1 and virtio as driver/model
|
77
|
+
network = client.networks.get(1)
|
78
|
+
nic = con.interfaces.new({ :vnet => network, :model => "virtio"})
|
79
|
+
|
80
|
+
# Attach the new nic to our vm
|
81
|
+
newvm.flavor.nic = [ nic ]
|
82
|
+
|
83
|
+
# instantiat the new vm
|
84
|
+
newvm.save
|
85
|
+
```
|
86
|
+
|
87
|
+
## Features
|
88
|
+
|
89
|
+
tbd
|
90
|
+
|
91
|
+
## not working yet
|
92
|
+
|
93
|
+
* con.groups.get 4
|
94
|
+
|
95
|
+
_AND_ everything not mentioned in features or examples ;)
|
96
|
+
|
97
|
+
|
98
|
+
## Troubleshooting
|
99
|
+
|
100
|
+
* ArgumentError: opennebula is not a recognized compute provider
|
101
|
+
* is the correct gem version included?
|
102
|
+
|
103
|
+
## Additional Resources
|
104
|
+
* [Fog cloud library](http://fog.io)
|
105
|
+
* [Fog documentation](http://rubydoc.info/gems/fog)
|
106
|
+
* [Fog Github repo](https://github.com/fog/fog)
|
107
|
+
* [Fog Release Notes](https://github.com/fog/fog/blob/master/changelog.txt)
|
108
|
+
* [Ruby OpenNebula Cloud API](http://docs.opennebula.org/stable/integration/system_interfaces/ruby.html)
|
109
|
+
* [OpenNebula ruby bindings](http://docs.opennebula.org/doc/stable/oca/ruby/)
|
110
|
+
|
111
|
+
## Support and Feedback
|
112
|
+
|
113
|
+
Please contribute and send feedback! Just do it here!
|
@@ -0,0 +1,136 @@
|
|
1
|
+
require 'fog/opennebula/core'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class OpenNebula < Fog::Service
|
6
|
+
requires :opennebula_endpoint
|
7
|
+
recognizes :opennebula_username, :opennebula_password
|
8
|
+
|
9
|
+
model_path 'fog/opennebula/models/compute'
|
10
|
+
model :server
|
11
|
+
collection :servers
|
12
|
+
model :network
|
13
|
+
collection :networks
|
14
|
+
model :flavor
|
15
|
+
collection :flavors
|
16
|
+
model :interface
|
17
|
+
collection :interfaces
|
18
|
+
model :group
|
19
|
+
collection :groups
|
20
|
+
|
21
|
+
request_path 'fog/opennebula/requests/compute'
|
22
|
+
request :list_vms
|
23
|
+
request :list_groups
|
24
|
+
request :list_networks
|
25
|
+
request :vm_allocate
|
26
|
+
request :vm_destroy
|
27
|
+
request :get_vnc_console
|
28
|
+
request :vm_resume
|
29
|
+
request :vm_suspend
|
30
|
+
request :vm_stop
|
31
|
+
request :template_pool
|
32
|
+
request :vm_disk_snapshot
|
33
|
+
request :vm_shutdown
|
34
|
+
request :image_pool
|
35
|
+
|
36
|
+
class Mock
|
37
|
+
def self.data
|
38
|
+
@data ||= Hash.new do |hash, key|
|
39
|
+
hash[key] = {
|
40
|
+
"vms" => [
|
41
|
+
{
|
42
|
+
"onevm_object" => "",
|
43
|
+
"status" => "RUNNING",
|
44
|
+
"state" => "3",
|
45
|
+
"id" => 4,
|
46
|
+
"uuid" => "5",
|
47
|
+
"gid" => "5",
|
48
|
+
"name" => "MockVM",
|
49
|
+
"user" => "MockUser",
|
50
|
+
"group" => "MockGroup",
|
51
|
+
"cpu" => "2",
|
52
|
+
"memory" => "1024",
|
53
|
+
"mac" => "00:01:02:03:04:05",
|
54
|
+
"ip" => "1.1.1.1"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"image_pool" => [
|
58
|
+
{}
|
59
|
+
],
|
60
|
+
"template_pool" => [
|
61
|
+
{
|
62
|
+
"content" => %Q{
|
63
|
+
NAME = mock-vm
|
64
|
+
MEMORY = 512
|
65
|
+
VCPU = 1
|
66
|
+
CPU = 1
|
67
|
+
},
|
68
|
+
"id" => 1,
|
69
|
+
"name" => 'mock',
|
70
|
+
"cpu" => 1,
|
71
|
+
"vcpu" => 1,
|
72
|
+
"memory" => 512,
|
73
|
+
"sched_requirements" => 'CPUSPEED > 1000',
|
74
|
+
"sched_rank" => 'FREECPU',
|
75
|
+
"sched_ds_requirements" => "NAME=mock",
|
76
|
+
"sched_ds_rank" => "FREE_MB",
|
77
|
+
"disk" => {},
|
78
|
+
"nic" => {},
|
79
|
+
"os" => {
|
80
|
+
'ARCH' => 'x86_64'
|
81
|
+
},
|
82
|
+
"graphics" => {},
|
83
|
+
"raw" => %|["DATA"=>"<cpu match='exact'><model fallback='allow'>core2duo</model></cpu>", "TYPE"=>"kvm"]|,
|
84
|
+
"context" => {},
|
85
|
+
"user_variables" => {}
|
86
|
+
}
|
87
|
+
]
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
def self.reset
|
93
|
+
@data = nil
|
94
|
+
end
|
95
|
+
|
96
|
+
include Collections
|
97
|
+
def initialize(options={})
|
98
|
+
@opennebula_endpoint = options[:opennebula_endpoint]
|
99
|
+
@opennebula_username = options[:opennebula_username]
|
100
|
+
@opennebula_password = options[:opennebula_password]
|
101
|
+
|
102
|
+
begin
|
103
|
+
require "opennebula"
|
104
|
+
rescue LoadError
|
105
|
+
raise Fog::Errors::LoadError, "To use OpenNebula provider, you must load 'opennebula' gem"
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
def client
|
110
|
+
return @client
|
111
|
+
end
|
112
|
+
|
113
|
+
def data
|
114
|
+
self.class.data[@opennebula_endpoint]
|
115
|
+
end
|
116
|
+
|
117
|
+
def reset_data
|
118
|
+
self.class.data.delete(@opennebula_endpoint)
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
class Real
|
123
|
+
include Collections
|
124
|
+
|
125
|
+
def client
|
126
|
+
return @client
|
127
|
+
end
|
128
|
+
|
129
|
+
def initialize(options={})
|
130
|
+
require 'opennebula'
|
131
|
+
@client = ::OpenNebula::Client.new("#{options[:opennebula_username]}:#{options[:opennebula_password]}", options[:opennebula_endpoint])
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
@@ -0,0 +1,175 @@
|
|
1
|
+
require 'fog/core/model'
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module Compute
|
5
|
+
class OpenNebula
|
6
|
+
class Flavor < Fog::Model
|
7
|
+
identity :id
|
8
|
+
attribute :name
|
9
|
+
attribute :content
|
10
|
+
attribute :cpu
|
11
|
+
attribute :vcpu
|
12
|
+
attribute :memory
|
13
|
+
attribute :sched_requirements
|
14
|
+
attribute :sched_rank
|
15
|
+
attribute :sched_ds_requirements
|
16
|
+
attribute :sched_ds_rank
|
17
|
+
attribute :disk
|
18
|
+
attribute :nic
|
19
|
+
attribute :os
|
20
|
+
attribute :graphics
|
21
|
+
attribute :raw
|
22
|
+
attribute :context
|
23
|
+
attribute :user_variables
|
24
|
+
|
25
|
+
|
26
|
+
def to_label
|
27
|
+
"#{name} -- #{vcpu} VCPU - #{memory}MB Mem"
|
28
|
+
end
|
29
|
+
|
30
|
+
def to_s
|
31
|
+
"" + get_cpu \
|
32
|
+
+ get_vcpu \
|
33
|
+
+ get_memory \
|
34
|
+
+ get_disk \
|
35
|
+
+ get_nic \
|
36
|
+
+ get_os \
|
37
|
+
+ get_graphics \
|
38
|
+
+ get_raw \
|
39
|
+
+ get_sched_requirements \
|
40
|
+
+ get_sched_ds_requirements \
|
41
|
+
+ get_sched_rank \
|
42
|
+
+ get_sched_ds_rank \
|
43
|
+
+ get_context \
|
44
|
+
+ get_user_variables
|
45
|
+
end
|
46
|
+
|
47
|
+
def get_cpu
|
48
|
+
return "CPU=#{vcpu.to_f/10}\n" unless cpu
|
49
|
+
return "CPU=#{vcpu}\n" if cpu.to_i > vcpu.to_i
|
50
|
+
"CPU=#{cpu}\n"
|
51
|
+
end
|
52
|
+
|
53
|
+
def get_vcpu
|
54
|
+
self.vcpu = 1 unless vcpu
|
55
|
+
"VCPU=#{vcpu}\n"
|
56
|
+
end
|
57
|
+
|
58
|
+
def get_memory
|
59
|
+
self.memory = 128 unless memory
|
60
|
+
"MEMORY=#{memory}\n"
|
61
|
+
end
|
62
|
+
|
63
|
+
def get_raw
|
64
|
+
return "" unless raw
|
65
|
+
ret = "RAW=#{raw}\n"
|
66
|
+
ret.gsub!(/\{/, '[')
|
67
|
+
ret.gsub!(/\}/, ']')
|
68
|
+
ret.gsub!(/=>/,'=')
|
69
|
+
ret
|
70
|
+
end
|
71
|
+
|
72
|
+
def get_disk
|
73
|
+
return "" unless disk
|
74
|
+
ret = ""
|
75
|
+
if disk.is_a? Array
|
76
|
+
disk.each do |d|
|
77
|
+
ret += "DISK=#{d}\n"
|
78
|
+
end
|
79
|
+
else
|
80
|
+
ret = "DISK=#{disk}\n"
|
81
|
+
end
|
82
|
+
ret.gsub!(/\{/, '[')
|
83
|
+
ret.gsub!(/\}/, ']')
|
84
|
+
ret.gsub!(/>/,'')
|
85
|
+
ret
|
86
|
+
end
|
87
|
+
|
88
|
+
def get_os
|
89
|
+
return "" unless os
|
90
|
+
ret = "OS=#{os}\n"
|
91
|
+
ret.gsub!(/\{/, '[')
|
92
|
+
ret.gsub!(/\}/, ']')
|
93
|
+
ret.gsub!(/>/,'')
|
94
|
+
ret
|
95
|
+
end
|
96
|
+
|
97
|
+
def get_graphics
|
98
|
+
return "" unless graphics
|
99
|
+
ret = "GRAPHICS=#{graphics}\n"
|
100
|
+
ret.gsub!(/\{/, '[')
|
101
|
+
ret.gsub!(/\}/, ']')
|
102
|
+
ret.gsub!(/>/,'')
|
103
|
+
ret
|
104
|
+
end
|
105
|
+
|
106
|
+
def get_nic
|
107
|
+
# NIC=[MODEL="virtio",NETWORK="vlan17",NETWORK_UNAME="oneadmin"]
|
108
|
+
return "" if nic.nil?
|
109
|
+
ret = ""
|
110
|
+
if nic.is_a? Array
|
111
|
+
nic.each do |n|
|
112
|
+
ret += %Q|NIC=[MODEL="#{n.model}",NETWORK_ID="#{n.vnet.id}"]\n| unless n.vnet.nil?
|
113
|
+
end
|
114
|
+
end
|
115
|
+
#ret.gsub!(/\{/, '[')
|
116
|
+
#ret.gsub!(/\}/, ']')
|
117
|
+
#ret.gsub!(/>/,'')
|
118
|
+
ret
|
119
|
+
end
|
120
|
+
|
121
|
+
def get_sched_ds_requirements
|
122
|
+
return "" unless sched_ds_requirements
|
123
|
+
%Q|SCHED_DS_REQUIREMENTS="#{sched_ds_requirements.gsub(/"/){ %q(\") }}"\n|
|
124
|
+
end
|
125
|
+
|
126
|
+
def get_sched_ds_rank
|
127
|
+
return "" unless sched_ds_rank
|
128
|
+
%Q|SCHED_DS_RANK="#{sched_ds_rank.gsub(/"/){ %q(\") }}"\n|
|
129
|
+
end
|
130
|
+
|
131
|
+
def get_sched_requirements
|
132
|
+
return "" unless sched_requirements
|
133
|
+
%Q|SCHED_REQUIREMENTS="#{sched_requirements.gsub(/"/){ %q(\") }}"\n|
|
134
|
+
end
|
135
|
+
|
136
|
+
def get_sched_rank
|
137
|
+
return "" unless sched_rank
|
138
|
+
%Q|SCHED_RANK="#{sched_rank.gsub(/"/){ %q(\") }}"\n|
|
139
|
+
end
|
140
|
+
|
141
|
+
def get_context
|
142
|
+
return "" unless context
|
143
|
+
if context.is_a? String
|
144
|
+
return %Q|CONTEXT= [ #{context} ]\n|
|
145
|
+
elsif context.is_a? Hash
|
146
|
+
ret = ""
|
147
|
+
context.each do |key, value|
|
148
|
+
ret << %Q|"#{key}"="#{value}",|
|
149
|
+
end
|
150
|
+
ret.chop! if ret.end_with?(',')
|
151
|
+
return %Q|CONTEXT=[ #{ret} ]\n|
|
152
|
+
else
|
153
|
+
return ""
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
def get_user_variables
|
158
|
+
return "" unless user_variables
|
159
|
+
if user_variables.is_a? String
|
160
|
+
return %Q|#{user_variables}\n|
|
161
|
+
elsif user_variables.is_a? Hash
|
162
|
+
ret = ""
|
163
|
+
user_variables.each do |key, value|
|
164
|
+
ret << %Q|#{key}="#{value}"\n|
|
165
|
+
end
|
166
|
+
return ret
|
167
|
+
else
|
168
|
+
return ""
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|