Module: Fog::Compute
- Defined in:
- lib/fog/compute.rb,
lib/fog/compute/aws.rb,
lib/fog/compute/voxel.rb,
lib/fog/compute/ecloud.rb,
lib/fog/compute/linode.rb,
lib/fog/compute/bluebox.rb,
lib/fog/compute/go_grid.rb,
lib/fog/compute/ninefold.rb,
lib/fog/compute/brightbox.rb,
lib/fog/compute/rackspace.rb,
lib/fog/compute/slicehost.rb,
lib/fog/compute/new_servers.rb,
lib/fog/compute/virtual_box.rb,
lib/fog/compute/models/server.rb,
lib/fog/compute/models/aws/tag.rb,
lib/fog/compute/models/aws/tags.rb,
lib/fog/compute/storm_on_demand.rb,
lib/fog/compute/models/aws/image.rb,
lib/fog/compute/models/ecloud/ip.rb,
lib/fog/compute/models/linode/ip.rb,
lib/fog/compute/models/aws/flavor.rb,
lib/fog/compute/models/aws/images.rb,
lib/fog/compute/models/aws/server.rb,
lib/fog/compute/models/aws/volume.rb,
lib/fog/compute/models/ecloud/ips.rb,
lib/fog/compute/models/ecloud/vdc.rb,
lib/fog/compute/models/linode/ips.rb,
lib/fog/compute/models/aws/address.rb,
lib/fog/compute/models/aws/flavors.rb,
lib/fog/compute/models/aws/servers.rb,
lib/fog/compute/models/aws/volumes.rb,
lib/fog/compute/models/ecloud/node.rb,
lib/fog/compute/models/ecloud/task.rb,
lib/fog/compute/models/ecloud/vdcs.rb,
lib/fog/compute/models/linode/disk.rb,
lib/fog/compute/models/voxel/image.rb,
lib/fog/compute/models/aws/key_pair.rb,
lib/fog/compute/models/aws/snapshot.rb,
lib/fog/compute/models/ecloud/nodes.rb,
lib/fog/compute/models/ecloud/tasks.rb,
lib/fog/compute/models/linode/disks.rb,
lib/fog/compute/models/linode/image.rb,
lib/fog/compute/models/voxel/images.rb,
lib/fog/compute/models/voxel/server.rb,
lib/fog/compute/models/aws/addresses.rb,
lib/fog/compute/models/aws/key_pairs.rb,
lib/fog/compute/models/aws/snapshots.rb,
lib/fog/compute/models/bluebox/image.rb,
lib/fog/compute/models/ecloud/server.rb,
lib/fog/compute/models/go_grid/image.rb,
lib/fog/compute/models/linode/flavor.rb,
lib/fog/compute/models/linode/images.rb,
lib/fog/compute/models/linode/kernel.rb,
lib/fog/compute/models/linode/server.rb,
lib/fog/compute/models/voxel/servers.rb,
lib/fog/compute/models/bluebox/flavor.rb,
lib/fog/compute/models/bluebox/images.rb,
lib/fog/compute/models/bluebox/server.rb,
lib/fog/compute/models/brightbox/user.rb,
lib/fog/compute/models/brightbox/zone.rb,
lib/fog/compute/models/ecloud/catalog.rb,
lib/fog/compute/models/ecloud/network.rb,
lib/fog/compute/models/ecloud/servers.rb,
lib/fog/compute/models/go_grid/images.rb,
lib/fog/compute/models/go_grid/server.rb,
lib/fog/compute/models/linode/flavors.rb,
lib/fog/compute/models/linode/kernels.rb,
lib/fog/compute/models/linode/servers.rb,
lib/fog/compute/models/ninefold/image.rb,
lib/fog/compute/requests/ecloud/login.rb,
lib/fog/compute/models/bluebox/flavors.rb,
lib/fog/compute/models/bluebox/servers.rb,
lib/fog/compute/models/brightbox/image.rb,
lib/fog/compute/models/brightbox/users.rb,
lib/fog/compute/models/brightbox/zones.rb,
lib/fog/compute/models/ecloud/networks.rb,
lib/fog/compute/models/go_grid/servers.rb,
lib/fog/compute/models/ninefold/flavor.rb,
lib/fog/compute/models/ninefold/images.rb,
lib/fog/compute/models/ninefold/server.rb,
lib/fog/compute/models/rackspace/image.rb,
lib/fog/compute/models/slicehost/image.rb,
lib/fog/compute/models/aws/spot_request.rb,
lib/fog/compute/models/brightbox/flavor.rb,
lib/fog/compute/models/brightbox/images.rb,
lib/fog/compute/models/brightbox/server.rb,
lib/fog/compute/models/ecloud/public_ip.rb,
lib/fog/compute/models/go_grid/password.rb,
lib/fog/compute/models/ninefold/address.rb,
lib/fog/compute/models/ninefold/flavors.rb,
lib/fog/compute/models/ninefold/servers.rb,
lib/fog/compute/models/rackspace/flavor.rb,
lib/fog/compute/models/rackspace/images.rb,
lib/fog/compute/models/rackspace/server.rb,
lib/fog/compute/models/slicehost/flavor.rb,
lib/fog/compute/models/slicehost/images.rb,
lib/fog/compute/models/slicehost/server.rb,
lib/fog/compute/requests/ecloud/get_vdc.rb,
lib/fog/compute/models/aws/spot_requests.rb,
lib/fog/compute/models/brightbox/account.rb,
lib/fog/compute/models/brightbox/flavors.rb,
lib/fog/compute/models/brightbox/servers.rb,
lib/fog/compute/models/ecloud/public_ips.rb,
lib/fog/compute/models/go_grid/passwords.rb,
lib/fog/compute/models/rackspace/flavors.rb,
lib/fog/compute/models/rackspace/servers.rb,
lib/fog/compute/models/slicehost/flavors.rb,
lib/fog/compute/models/slicehost/servers.rb,
lib/fog/compute/requests/aws/create_tags.rb,
lib/fog/compute/requests/aws/delete_tags.rb,
lib/fog/compute/requests/ecloud/add_node.rb,
lib/fog/compute/requests/ecloud/get_node.rb,
lib/fog/compute/requests/ecloud/get_task.rb,
lib/fog/compute/requests/ecloud/get_vapp.rb,
lib/fog/compute/requests/ecloud/power_on.rb,
lib/fog/compute/models/aws/security_group.rb,
lib/fog/compute/models/brightbox/cloud_ip.rb,
lib/fog/compute/models/linode/data_center.rb,
lib/fog/compute/models/ninefold/addresses.rb,
lib/fog/compute/models/virtual_box/medium.rb,
lib/fog/compute/models/virtual_box/server.rb,
lib/fog/compute/requests/aws/create_image.rb,
lib/fog/compute/requests/ecloud/get_nodes.rb,
lib/fog/compute/requests/ecloud/power_off.rb,
lib/fog/compute/models/aws/security_groups.rb,
lib/fog/compute/models/brightbox/cloud_ips.rb,
lib/fog/compute/models/ecloud/catalog_item.rb,
lib/fog/compute/models/ecloud/firewall_acl.rb,
lib/fog/compute/models/linode/data_centers.rb,
lib/fog/compute/models/linode/stack_script.rb,
lib/fog/compute/models/virtual_box/mediums.rb,
lib/fog/compute/models/virtual_box/servers.rb,
lib/fog/compute/requests/aws/attach_volume.rb,
lib/fog/compute/requests/aws/create_volume.rb,
lib/fog/compute/requests/aws/delete_volume.rb,
lib/fog/compute/requests/aws/describe_tags.rb,
lib/fog/compute/requests/aws/detach_volume.rb,
lib/fog/compute/requests/aws/run_instances.rb,
lib/fog/compute/requests/bluebox/get_block.rb,
lib/fog/compute/requests/ecloud/clone_vapp.rb,
lib/fog/compute/requests/voxel/images_list.rb,
lib/fog/compute/models/ecloud/firewall_acls.rb,
lib/fog/compute/models/linode/stack_scripts.rb,
lib/fog/compute/models/storm_on_demand/stat.rb,
lib/fog/compute/requests/aws/register_image.rb,
lib/fog/compute/requests/aws/stop_instances.rb,
lib/fog/compute/requests/bluebox/get_blocks.rb,
lib/fog/compute/requests/brightbox/get_user.rb,
lib/fog/compute/requests/brightbox/get_zone.rb,
lib/fog/compute/requests/ecloud/delete_node.rb,
lib/fog/compute/requests/ecloud/delete_vapp.rb,
lib/fog/compute/requests/ecloud/get_catalog.rb,
lib/fog/compute/requests/ecloud/get_network.rb,
lib/fog/compute/requests/ecloud/power_reset.rb,
lib/fog/compute/requests/linode/linode_boot.rb,
lib/fog/compute/requests/linode/linode_list.rb,
lib/fog/compute/requests/voxel/devices_list.rb,
lib/fog/compute/models/storm_on_demand/image.rb,
lib/fog/compute/models/storm_on_demand/stats.rb,
lib/fog/compute/requests/aws/create_key_pair.rb,
lib/fog/compute/requests/aws/create_snapshot.rb,
lib/fog/compute/requests/aws/delete_key_pair.rb,
lib/fog/compute/requests/aws/delete_snapshot.rb,
lib/fog/compute/requests/aws/describe_images.rb,
lib/fog/compute/requests/aws/import_key_pair.rb,
lib/fog/compute/requests/aws/release_address.rb,
lib/fog/compute/requests/aws/start_instances.rb,
lib/fog/compute/requests/bluebox/get_product.rb,
lib/fog/compute/requests/brightbox/get_image.rb,
lib/fog/compute/requests/ecloud/get_versions.rb,
lib/fog/compute/requests/ninefold/list_zones.rb,
lib/fog/compute/requests/slicehost/get_image.rb,
lib/fog/compute/requests/slicehost/get_slice.rb,
lib/fog/compute/requests/voxel/devices_power.rb,
lib/fog/compute/models/storm_on_demand/config.rb,
lib/fog/compute/models/storm_on_demand/images.rb,
lib/fog/compute/models/storm_on_demand/server.rb,
lib/fog/compute/models/virtual_box/nat_engine.rb,
lib/fog/compute/requests/aws/allocate_address.rb,
lib/fog/compute/requests/aws/deregister_image.rb,
lib/fog/compute/requests/aws/describe_regions.rb,
lib/fog/compute/requests/aws/describe_volumes.rb,
lib/fog/compute/requests/aws/reboot_instances.rb,
lib/fog/compute/requests/bluebox/create_block.rb,
lib/fog/compute/requests/bluebox/get_products.rb,
lib/fog/compute/requests/bluebox/get_template.rb,
lib/fog/compute/requests/bluebox/reboot_block.rb,
lib/fog/compute/requests/brightbox/get_server.rb,
lib/fog/compute/requests/brightbox/list_users.rb,
lib/fog/compute/requests/brightbox/list_zones.rb,
lib/fog/compute/requests/ecloud/get_public_ip.rb,
lib/fog/compute/requests/ecloud/get_task_list.rb,
lib/fog/compute/requests/go_grid/grid_ip_list.rb,
lib/fog/compute/requests/linode/avail_kernels.rb,
lib/fog/compute/requests/linode/linode_create.rb,
lib/fog/compute/requests/linode/linode_delete.rb,
lib/fog/compute/requests/linode/linode_reboot.rb,
lib/fog/compute/requests/linode/linode_update.rb,
lib/fog/compute/requests/ninefold/list_events.rb,
lib/fog/compute/requests/slicehost/get_flavor.rb,
lib/fog/compute/requests/slicehost/get_images.rb,
lib/fog/compute/requests/slicehost/get_slices.rb,
lib/fog/compute/models/brightbox/load_balancer.rb,
lib/fog/compute/models/ecloud/internet_service.rb,
lib/fog/compute/models/storm_on_demand/configs.rb,
lib/fog/compute/models/storm_on_demand/servers.rb,
lib/fog/compute/requests/aws/associate_address.rb,
lib/fog/compute/requests/aws/get_password_data.rb,
lib/fog/compute/requests/aws/monitor_instances.rb,
lib/fog/compute/requests/bluebox/destroy_block.rb,
lib/fog/compute/requests/bluebox/get_templates.rb,
lib/fog/compute/requests/brightbox/get_account.rb,
lib/fog/compute/requests/brightbox/list_images.rb,
lib/fog/compute/requests/brightbox/stop_server.rb,
lib/fog/compute/requests/brightbox/update_user.rb,
lib/fog/compute/requests/ecloud/configure_node.rb,
lib/fog/compute/requests/ecloud/configure_vapp.rb,
lib/fog/compute/requests/ecloud/get_network_ip.rb,
lib/fog/compute/requests/ecloud/get_public_ips.rb,
lib/fog/compute/requests/ecloud/power_shutdown.rb,
lib/fog/compute/requests/linode/linode_ip_list.rb,
lib/fog/compute/requests/rackspace/list_images.rb,
lib/fog/compute/requests/slicehost/get_backups.rb,
lib/fog/compute/requests/slicehost/get_flavors.rb,
lib/fog/compute/requests/voxel/voxcloud_create.rb,
lib/fog/compute/requests/voxel/voxcloud_delete.rb,
lib/fog/compute/requests/voxel/voxcloud_status.rb,
lib/fog/compute/models/brightbox/load_balancers.rb,
lib/fog/compute/models/ecloud/internet_services.rb,
lib/fog/compute/models/storm_on_demand/balancer.rb,
lib/fog/compute/models/storm_on_demand/template.rb,
lib/fog/compute/models/virtual_box/nat_redirect.rb,
lib/fog/compute/requests/aws/describe_addresses.rb,
lib/fog/compute/requests/aws/describe_instances.rb,
lib/fog/compute/requests/aws/describe_key_pairs.rb,
lib/fog/compute/requests/aws/describe_snapshots.rb,
lib/fog/compute/requests/aws/get_console_output.rb,
lib/fog/compute/requests/brightbox/create_image.rb,
lib/fog/compute/requests/brightbox/get_cloud_ip.rb,
lib/fog/compute/requests/brightbox/list_servers.rb,
lib/fog/compute/requests/brightbox/map_cloud_ip.rb,
lib/fog/compute/requests/brightbox/start_server.rb,
lib/fog/compute/requests/brightbox/update_image.rb,
lib/fog/compute/requests/ecloud/get_network_ips.rb,
lib/fog/compute/requests/go_grid/grid_image_get.rb,
lib/fog/compute/requests/linode/linode_shutdown.rb,
lib/fog/compute/requests/new_servers/add_server.rb,
lib/fog/compute/requests/new_servers/get_server.rb,
lib/fog/compute/requests/new_servers/list_plans.rb,
lib/fog/compute/requests/ninefold/list_accounts.rb,
lib/fog/compute/requests/ninefold/list_networks.rb,
lib/fog/compute/requests/rackspace/create_image.rb,
lib/fog/compute/requests/rackspace/delete_image.rb,
lib/fog/compute/requests/rackspace/list_flavors.rb,
lib/fog/compute/requests/rackspace/list_servers.rb,
lib/fog/compute/requests/slicehost/create_slice.rb,
lib/fog/compute/requests/slicehost/delete_slice.rb,
lib/fog/compute/requests/slicehost/reboot_slice.rb,
lib/fog/compute/models/storm_on_demand/balancers.rb,
lib/fog/compute/models/storm_on_demand/templates.rb,
lib/fog/compute/models/virtual_box/medium_format.rb,
lib/fog/compute/models/virtual_box/nat_redirects.rb,
lib/fog/compute/requests/aws/terminate_instances.rb,
lib/fog/compute/requests/aws/unmonitor_instances.rb,
lib/fog/compute/requests/brightbox/create_server.rb,
lib/fog/compute/requests/brightbox/destroy_image.rb,
lib/fog/compute/requests/brightbox/get_interface.rb,
lib/fog/compute/requests/brightbox/resize_server.rb,
lib/fog/compute/requests/brightbox/update_server.rb,
lib/fog/compute/requests/ecloud/get_catalog_item.rb,
lib/fog/compute/requests/ecloud/get_firewall_acl.rb,
lib/fog/compute/requests/ecloud/get_organization.rb,
lib/fog/compute/requests/go_grid/grid_image_list.rb,
lib/fog/compute/requests/go_grid/grid_server_add.rb,
lib/fog/compute/requests/go_grid/grid_server_get.rb,
lib/fog/compute/requests/linode/linode_disk_list.rb,
lib/fog/compute/requests/linode/stackscript_list.rb,
lib/fog/compute/requests/new_servers/list_images.rb,
lib/fog/compute/requests/ninefold/list_templates.rb,
lib/fog/compute/requests/rackspace/create_server.rb,
lib/fog/compute/requests/rackspace/delete_server.rb,
lib/fog/compute/requests/rackspace/reboot_server.rb,
lib/fog/compute/requests/rackspace/resize_server.rb,
lib/fog/compute/requests/rackspace/server_action.rb,
lib/fog/compute/requests/rackspace/update_server.rb,
lib/fog/compute/models/storm_on_demand/private_ip.rb,
lib/fog/compute/requests/aws/disassociate_address.rb,
lib/fog/compute/requests/brightbox/destroy_server.rb,
lib/fog/compute/requests/brightbox/get_api_client.rb,
lib/fog/compute/requests/brightbox/list_cloud_ips.rb,
lib/fog/compute/requests/brightbox/unmap_cloud_ip.rb,
lib/fog/compute/requests/brightbox/update_account.rb,
lib/fog/compute/requests/ecloud/configure_network.rb,
lib/fog/compute/requests/ecloud/get_firewall_acls.rb,
lib/fog/compute/requests/ecloud/get_vapp_template.rb,
lib/fog/compute/requests/go_grid/grid_server_list.rb,
lib/fog/compute/requests/linode/avail_datacenters.rb,
lib/fog/compute/requests/linode/avail_linodeplans.rb,
lib/fog/compute/requests/new_servers/list_servers.rb,
lib/fog/compute/requests/ninefold/list_async_jobs.rb,
lib/fog/compute/requests/rackspace/list_addresses.rb,
lib/fog/compute/models/ninefold/ip_forwarding_rule.rb,
lib/fog/compute/models/storm_on_demand/private_ips.rb,
lib/fog/compute/models/virtual_box/network_adapter.rb,
lib/fog/compute/requests/aws/create_security_group.rb,
lib/fog/compute/requests/aws/delete_security_group.rb,
lib/fog/compute/requests/brightbox/create_cloud_ip.rb,
lib/fog/compute/requests/brightbox/get_server_type.rb,
lib/fog/compute/requests/brightbox/shutdown_server.rb,
lib/fog/compute/requests/brightbox/snapshot_server.rb,
lib/fog/compute/requests/go_grid/grid_server_power.rb,
lib/fog/compute/requests/linode/avail_stackscripts.rb,
lib/fog/compute/requests/linode/linode_config_list.rb,
lib/fog/compute/requests/linode/linode_disk_create.rb,
lib/fog/compute/requests/linode/linode_disk_delete.rb,
lib/fog/compute/requests/new_servers/cancel_server.rb,
lib/fog/compute/requests/new_servers/reboot_server.rb,
lib/fog/compute/requests/ninefold/list_hypervisors.rb,
lib/fog/compute/requests/storm_on_demand/get_stats.rb,
lib/fog/compute/models/ninefold/ip_forwarding_rules.rb,
lib/fog/compute/models/virtual_box/network_adapters.rb,
lib/fog/compute/requests/aws/create_placement_group.rb,
lib/fog/compute/requests/aws/delete_placement_group.rb,
lib/fog/compute/requests/aws/modify_image_attribute.rb,
lib/fog/compute/requests/aws/request_spot_instances.rb,
lib/fog/compute/requests/brightbox/destroy_cloud_ip.rb,
lib/fog/compute/requests/brightbox/list_api_clients.rb,
lib/fog/compute/requests/go_grid/common_lookup_list.rb,
lib/fog/compute/requests/go_grid/grid_server_delete.rb,
lib/fog/compute/requests/linode/avail_distributions.rb,
lib/fog/compute/requests/ninefold/enable_static_nat.rb,
lib/fog/compute/requests/ninefold/list_capabilities.rb,
lib/fog/compute/requests/storm_on_demand/get_server.rb,
lib/fog/compute/requests/brightbox/create_api_client.rb,
lib/fog/compute/requests/brightbox/get_load_balancer.rb,
lib/fog/compute/requests/brightbox/list_server_types.rb,
lib/fog/compute/requests/brightbox/update_api_client.rb,
lib/fog/compute/requests/ecloud/add_internet_service.rb,
lib/fog/compute/requests/ecloud/configure_network_ip.rb,
lib/fog/compute/requests/linode/linode_config_create.rb,
lib/fog/compute/requests/linode/linode_ip_addprivate.rb,
lib/fog/compute/requests/ninefold/disable_static_nat.rb,
lib/fog/compute/requests/rackspace/get_image_details.rb,
lib/fog/compute/requests/storm_on_demand/list_images.rb,
lib/fog/compute/models/ecloud/backup_internet_service.rb,
lib/fog/compute/models/virtual_box/storage_controller.rb,
lib/fog/compute/requests/aws/describe_security_groups.rb,
lib/fog/compute/requests/brightbox/destroy_api_client.rb,
lib/fog/compute/requests/ecloud/get_internet_services.rb,
lib/fog/compute/requests/go_grid/support_password_get.rb,
lib/fog/compute/requests/ninefold/list_disk_offerings.rb,
lib/fog/compute/requests/rackspace/get_flavor_details.rb,
lib/fog/compute/requests/rackspace/get_server_details.rb,
lib/fog/compute/requests/rackspace/list_images_detail.rb,
lib/fog/compute/requests/storm_on_demand/clone_server.rb,
lib/fog/compute/requests/storm_on_demand/list_configs.rb,
lib/fog/compute/requests/storm_on_demand/list_servers.rb,
lib/fog/compute/models/ecloud/backup_internet_services.rb,
lib/fog/compute/models/virtual_box/storage_controllers.rb,
lib/fog/compute/requests/aws/describe_placement_groups.rb,
lib/fog/compute/requests/aws/modify_instance_attribute.rb,
lib/fog/compute/requests/aws/modify_snapshot_attribute.rb,
lib/fog/compute/requests/brightbox/list_load_balancers.rb,
lib/fog/compute/requests/ecloud/get_network_extensions.rb,
lib/fog/compute/requests/go_grid/support_password_list.rb,
lib/fog/compute/requests/ninefold/associate_ip_address.rb,
lib/fog/compute/requests/ninefold/list_resource_limits.rb,
lib/fog/compute/requests/ninefold/stop_virtual_machine.rb,
lib/fog/compute/requests/rackspace/list_flavors_detail.rb,
lib/fog/compute/requests/rackspace/list_servers_detail.rb,
lib/fog/compute/requests/storm_on_demand/create_server.rb,
lib/fog/compute/requests/storm_on_demand/delete_server.rb,
lib/fog/compute/requests/storm_on_demand/reboot_server.rb,
lib/fog/compute/requests/storm_on_demand/resize_server.rb,
lib/fog/compute/requests/brightbox/create_load_balancer.rb,
lib/fog/compute/requests/brightbox/update_load_balancer.rb,
lib/fog/compute/requests/ecloud/delete_internet_service.rb,
lib/fog/compute/requests/go_grid/grid_loadbalancer_list.rb,
lib/fog/compute/requests/ninefold/list_virtual_machines.rb,
lib/fog/compute/requests/ninefold/start_virtual_machine.rb,
lib/fog/compute/requests/storm_on_demand/list_balancers.rb,
lib/fog/compute/requests/storm_on_demand/list_templates.rb,
lib/fog/compute/requests/aws/describe_availability_zones.rb,
lib/fog/compute/requests/aws/describe_reserved_instances.rb,
lib/fog/compute/requests/aws/describe_spot_price_history.rb,
lib/fog/compute/requests/brightbox/destroy_load_balancer.rb,
lib/fog/compute/requests/ninefold/deploy_virtual_machine.rb,
lib/fog/compute/requests/ninefold/list_network_offerings.rb,
lib/fog/compute/requests/ninefold/list_service_offerings.rb,
lib/fog/compute/requests/ninefold/query_async_job_result.rb,
lib/fog/compute/requests/ninefold/reboot_virtual_machine.rb,
lib/fog/compute/requests/ninefold/update_virtual_machine.rb,
lib/fog/compute/requests/rackspace/list_public_addresses.rb,
lib/fog/compute/requests/rackspace/revert_resized_server.rb,
lib/fog/compute/requests/ecloud/get_customization_options.rb,
lib/fog/compute/requests/ecloud/instantiate_vapp_template.rb,
lib/fog/compute/requests/ninefold/destroy_virtual_machine.rb,
lib/fog/compute/requests/ninefold/disassociate_ip_address.rb,
lib/fog/compute/requests/rackspace/confirm_resized_server.rb,
lib/fog/compute/requests/rackspace/list_private_addresses.rb,
lib/fog/compute/requests/storm_on_demand/list_private_ips.rb,
lib/fog/compute/requests/aws/cancel_spot_instance_requests.rb,
lib/fog/compute/requests/aws/revoke_security_group_ingress.rb,
lib/fog/compute/requests/brightbox/activate_console_server.rb,
lib/fog/compute/requests/brightbox/add_nodes_load_balancer.rb,
lib/fog/compute/requests/ecloud/configure_internet_service.rb,
lib/fog/compute/requests/ninefold/list_ip_forwarding_rules.rb,
lib/fog/compute/requests/ninefold/list_public_ip_addresses.rb,
lib/fog/compute/requests/storm_on_demand/add_balancer_node.rb,
lib/fog/compute/requests/ecloud/add_backup_internet_service.rb,
lib/fog/compute/requests/ninefold/create_ip_forwarding_rule.rb,
lib/fog/compute/requests/ninefold/delete_ip_forwarding_rule.rb,
lib/fog/compute/requests/aws/describe_spot_instance_requests.rb,
lib/fog/compute/requests/aws/authorize_security_group_ingress.rb,
lib/fog/compute/requests/brightbox/remove_nodes_load_balancer.rb,
lib/fog/compute/requests/brightbox/reset_ftp_password_account.rb,
lib/fog/compute/requests/storm_on_demand/remove_balancer_node.rb,
lib/fog/compute/requests/aws/create_spot_datafeed_subscription.rb,
lib/fog/compute/requests/aws/delete_spot_datafeed_subscription.rb,
lib/fog/compute/requests/brightbox/add_listeners_load_balancer.rb,
lib/fog/compute/requests/aws/describe_spot_datafeed_subscription.rb,
lib/fog/compute/requests/aws/purchase_reserved_instances_offering.rb,
lib/fog/compute/requests/brightbox/remove_listeners_load_balancer.rb,
lib/fog/compute/requests/linode/linode_disk_createfromstackscript.rb,
lib/fog/compute/requests/aws/describe_reserved_instances_offerings.rb,
lib/fog/compute/requests/linode/linode_disk_createfromdistribution.rb,
lib/fog/compute/requests/ninefold/change_service_for_virtual_machine.rb,
lib/fog/compute/requests/ninefold/reset_password_for_virtual_machine.rb
Defined Under Namespace
Classes: AWS, Bluebox, Brightbox, Ecloud, GoGrid, Linode, NewServers, Ninefold, Rackspace, Server, Slicehost, StormOnDemand, VirtualBox, Voxel
Class Method Summary
collapse
Class Method Details
.[](provider) ⇒ Object
4
5
6
|
# File 'lib/fog/compute.rb', line 4
def self.[](provider)
self.new(:provider => provider)
end
|
.new(attributes) ⇒ Object
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/fog/compute.rb', line 8
def self.new(attributes)
attributes = attributes.dup case provider = attributes.delete(:provider).to_s.downcase.to_sym
when :aws
require 'fog/compute/aws'
Fog::Compute::AWS.new(attributes)
when :bluebox
require 'fog/compute/bluebox'
Fog::Compute::Bluebox.new(attributes)
when :brightbox
require 'fog/compute/brightbox'
Fog::Compute::Brightbox.new(attributes)
when :ecloud
require 'fog/compute/ecloud'
Fog::Compute::Ecloud.new(attributes)
when :gogrid
require 'fog/compute/go_grid'
Fog::Compute::GoGrid.new(attributes)
when :linode
require 'fog/compute/linode'
Fog::Compute::Linode.new(attributes)
when :newservers
require 'fog/compute/new_servers'
Fog::Compute::NewServers.new(attributes)
when :ninefold
require 'fog/compute/ninefold'
Fog::Compute::Ninefold.new(attributes)
when :rackspace
require 'fog/compute/rackspace'
Fog::Compute::Rackspace.new(attributes)
when :slicehost
require 'fog/compute/slicehost'
Fog::Compute::Slicehost.new(attributes)
when :stormondemand
require 'fog/compute/storm_on_demand'
Fog::Compute::StormOnDemand.new(attributes)
when :vcloud
require 'fog/compute/vcloud'
Fog::Vcloud::Compute.new(attributes)
when :virtualbox
require 'fog/compute/virtual_box'
Fog::Compute::VirtualBox.new(attributes)
when :voxel
require 'fog/compute/voxel'
Fog::Compute::Voxel.new(attributes)
else
raise ArgumentError.new("#{provider} is not a recognized compute provider")
end
end
|
.providers ⇒ Object
58
59
60
|
# File 'lib/fog/compute.rb', line 58
def self.providers
Fog.services[:compute]
end
|
.servers ⇒ Object
62
63
64
65
66
67
68
69
70
71
|
# File 'lib/fog/compute.rb', line 62
def self.servers
servers = []
for provider in self.providers
begin
servers.concat(self[provider].servers)
rescue end
end
servers
end
|