Module: Fog::Compute
- Defined in:
- lib/fog/compute.rb,
lib/fog/aws/compute.rb,
lib/fog/voxel/compute.rb,
lib/fog/ecloud/compute.rb,
lib/fog/glesys/compute.rb,
lib/fog/linode/compute.rb,
lib/fog/bluebox/compute.rb,
lib/fog/go_grid/compute.rb,
lib/fog/libvirt/compute.rb,
lib/fog/vsphere/compute.rb,
lib/fog/ninefold/compute.rb,
lib/fog/vmfusion/compute.rb,
lib/fog/brightbox/compute.rb,
lib/fog/openstack/compute.rb,
lib/fog/rackspace/compute.rb,
lib/fog/slicehost/compute.rb,
lib/fog/new_servers/compute.rb,
lib/fog/virtual_box/compute.rb,
lib/fog/compute/models/server.rb,
lib/fog/aws/models/compute/tag.rb,
lib/fog/aws/models/compute/tags.rb,
lib/fog/storm_on_demand/compute.rb,
lib/fog/aws/models/compute/image.rb,
lib/fog/ecloud/models/compute/ip.rb,
lib/fog/linode/models/compute/ip.rb,
lib/fog/aws/models/compute/flavor.rb,
lib/fog/aws/models/compute/images.rb,
lib/fog/aws/models/compute/server.rb,
lib/fog/aws/models/compute/volume.rb,
lib/fog/ecloud/models/compute/ips.rb,
lib/fog/ecloud/models/compute/vdc.rb,
lib/fog/glesys/models/compute/ips.rb,
lib/fog/linode/models/compute/ips.rb,
lib/fog/aws/models/compute/address.rb,
lib/fog/aws/models/compute/flavors.rb,
lib/fog/aws/models/compute/servers.rb,
lib/fog/aws/models/compute/volumes.rb,
lib/fog/ecloud/models/compute/node.rb,
lib/fog/ecloud/models/compute/task.rb,
lib/fog/ecloud/models/compute/vdcs.rb,
lib/fog/libvirt/models/compute/uri.rb,
lib/fog/linode/models/compute/disk.rb,
lib/fog/voxel/models/compute/image.rb,
lib/fog/aws/models/compute/key_pair.rb,
lib/fog/aws/models/compute/snapshot.rb,
lib/fog/ecloud/models/compute/nodes.rb,
lib/fog/ecloud/models/compute/tasks.rb,
lib/fog/libvirt/models/compute/node.rb,
lib/fog/libvirt/models/compute/pool.rb,
lib/fog/libvirt/models/compute/util.rb,
lib/fog/linode/models/compute/disks.rb,
lib/fog/linode/models/compute/image.rb,
lib/fog/voxel/models/compute/images.rb,
lib/fog/voxel/models/compute/server.rb,
lib/fog/aws/models/compute/addresses.rb,
lib/fog/aws/models/compute/key_pairs.rb,
lib/fog/aws/models/compute/snapshots.rb,
lib/fog/bluebox/models/compute/image.rb,
lib/fog/ecloud/models/compute/server.rb,
lib/fog/glesys/models/compute/server.rb,
lib/fog/glesys/requests/compute/stop.rb,
lib/fog/go_grid/models/compute/image.rb,
lib/fog/libvirt/models/compute/nodes.rb,
lib/fog/libvirt/models/compute/pools.rb,
lib/fog/linode/models/compute/flavor.rb,
lib/fog/linode/models/compute/images.rb,
lib/fog/linode/models/compute/kernel.rb,
lib/fog/linode/models/compute/server.rb,
lib/fog/openstack/models/meta_parent.rb,
lib/fog/voxel/models/compute/servers.rb,
lib/fog/bluebox/models/compute/flavor.rb,
lib/fog/bluebox/models/compute/images.rb,
lib/fog/bluebox/models/compute/server.rb,
lib/fog/brightbox/models/compute/user.rb,
lib/fog/brightbox/models/compute/zone.rb,
lib/fog/ecloud/models/compute/catalog.rb,
lib/fog/ecloud/models/compute/network.rb,
lib/fog/ecloud/models/compute/servers.rb,
lib/fog/ecloud/requests/compute/login.rb,
lib/fog/glesys/models/compute/servers.rb,
lib/fog/glesys/requests/compute/start.rb,
lib/fog/go_grid/models/compute/images.rb,
lib/fog/go_grid/models/compute/server.rb,
lib/fog/libvirt/models/compute/server.rb,
lib/fog/libvirt/models/compute/volume.rb,
lib/fog/linode/models/compute/flavors.rb,
lib/fog/linode/models/compute/kernels.rb,
lib/fog/linode/models/compute/servers.rb,
lib/fog/ninefold/models/compute/image.rb,
lib/fog/openstack/models/compute/meta.rb,
lib/fog/vsphere/models/compute/server.rb,
lib/fog/bluebox/models/compute/flavors.rb,
lib/fog/bluebox/models/compute/servers.rb,
lib/fog/brightbox/models/compute/image.rb,
lib/fog/brightbox/models/compute/users.rb,
lib/fog/brightbox/models/compute/zones.rb,
lib/fog/ecloud/models/compute/networks.rb,
lib/fog/glesys/requests/compute/create.rb,
lib/fog/glesys/requests/compute/ip_add.rb,
lib/fog/go_grid/models/compute/servers.rb,
lib/fog/libvirt/models/compute/network.rb,
lib/fog/libvirt/models/compute/servers.rb,
lib/fog/libvirt/models/compute/volumes.rb,
lib/fog/ninefold/models/compute/flavor.rb,
lib/fog/ninefold/models/compute/images.rb,
lib/fog/ninefold/models/compute/server.rb,
lib/fog/openstack/models/compute/image.rb,
lib/fog/rackspace/models/compute/image.rb,
lib/fog/slicehost/models/compute/image.rb,
lib/fog/vmfusion/models/compute/server.rb,
lib/fog/vsphere/models/compute/servers.rb,
lib/fog/aws/models/compute/spot_request.rb,
lib/fog/brightbox/models/compute/flavor.rb,
lib/fog/brightbox/models/compute/images.rb,
lib/fog/brightbox/models/compute/server.rb,
lib/fog/ecloud/models/compute/public_ip.rb,
lib/fog/ecloud/requests/compute/get_vdc.rb,
lib/fog/glesys/models/compute/templates.rb,
lib/fog/glesys/requests/compute/destroy.rb,
lib/fog/glesys/requests/compute/ip_take.rb,
lib/fog/go_grid/models/compute/password.rb,
lib/fog/libvirt/models/compute/networks.rb,
lib/fog/ninefold/models/compute/address.rb,
lib/fog/ninefold/models/compute/flavors.rb,
lib/fog/ninefold/models/compute/servers.rb,
lib/fog/openstack/models/compute/flavor.rb,
lib/fog/openstack/models/compute/images.rb,
lib/fog/openstack/models/compute/server.rb,
lib/fog/rackspace/models/compute/flavor.rb,
lib/fog/rackspace/models/compute/images.rb,
lib/fog/rackspace/models/compute/server.rb,
lib/fog/slicehost/models/compute/flavor.rb,
lib/fog/slicehost/models/compute/images.rb,
lib/fog/slicehost/models/compute/server.rb,
lib/fog/vmfusion/models/compute/servers.rb,
lib/fog/aws/models/compute/spot_requests.rb,
lib/fog/aws/requests/compute/create_tags.rb,
lib/fog/aws/requests/compute/delete_tags.rb,
lib/fog/brightbox/models/compute/account.rb,
lib/fog/brightbox/models/compute/flavors.rb,
lib/fog/brightbox/models/compute/servers.rb,
lib/fog/ecloud/models/compute/public_ips.rb,
lib/fog/ecloud/requests/compute/add_node.rb,
lib/fog/ecloud/requests/compute/get_node.rb,
lib/fog/ecloud/requests/compute/get_task.rb,
lib/fog/ecloud/requests/compute/get_vapp.rb,
lib/fog/ecloud/requests/compute/power_on.rb,
lib/fog/go_grid/models/compute/passwords.rb,
lib/fog/libvirt/models/compute/interface.rb,
lib/fog/openstack/models/compute/flavors.rb,
lib/fog/openstack/models/compute/servers.rb,
lib/fog/rackspace/models/compute/flavors.rb,
lib/fog/rackspace/models/compute/servers.rb,
lib/fog/slicehost/models/compute/flavors.rb,
lib/fog/slicehost/models/compute/servers.rb,
lib/fog/aws/models/compute/security_group.rb,
lib/fog/aws/requests/compute/create_image.rb,
lib/fog/brightbox/models/compute/cloud_ip.rb,
lib/fog/ecloud/requests/compute/get_nodes.rb,
lib/fog/ecloud/requests/compute/power_off.rb,
lib/fog/glesys/requests/compute/ip_remove.rb,
lib/fog/libvirt/models/compute/interfaces.rb,
lib/fog/linode/models/compute/data_center.rb,
lib/fog/ninefold/models/compute/addresses.rb,
lib/fog/openstack/models/compute/metadata.rb,
lib/fog/virtual_box/models/compute/medium.rb,
lib/fog/virtual_box/models/compute/server.rb,
lib/fog/vsphere/requests/compute/vm_clone.rb,
lib/fog/aws/models/compute/security_groups.rb,
lib/fog/aws/requests/compute/attach_volume.rb,
lib/fog/aws/requests/compute/create_volume.rb,
lib/fog/aws/requests/compute/delete_volume.rb,
lib/fog/aws/requests/compute/describe_tags.rb,
lib/fog/aws/requests/compute/detach_volume.rb,
lib/fog/aws/requests/compute/run_instances.rb,
lib/fog/bluebox/requests/compute/get_block.rb,
lib/fog/brightbox/models/compute/cloud_ips.rb,
lib/fog/ecloud/models/compute/catalog_item.rb,
lib/fog/ecloud/models/compute/firewall_acl.rb,
lib/fog/ecloud/requests/compute/clone_vapp.rb,
lib/fog/glesys/requests/compute/ip_details.rb,
lib/fog/glesys/requests/compute/ip_release.rb,
lib/fog/linode/models/compute/data_centers.rb,
lib/fog/linode/models/compute/stack_script.rb,
lib/fog/virtual_box/models/compute/mediums.rb,
lib/fog/virtual_box/models/compute/servers.rb,
lib/fog/voxel/requests/compute/images_list.rb,
lib/fog/vsphere/requests/compute/vm_reboot.rb,
lib/fog/aws/requests/compute/register_image.rb,
lib/fog/aws/requests/compute/stop_instances.rb,
lib/fog/bluebox/requests/compute/get_blocks.rb,
lib/fog/brightbox/requests/compute/get_user.rb,
lib/fog/brightbox/requests/compute/get_zone.rb,
lib/fog/ecloud/models/compute/firewall_acls.rb,
lib/fog/ecloud/requests/compute/delete_node.rb,
lib/fog/ecloud/requests/compute/delete_vapp.rb,
lib/fog/ecloud/requests/compute/get_catalog.rb,
lib/fog/ecloud/requests/compute/get_network.rb,
lib/fog/ecloud/requests/compute/power_reset.rb,
lib/fog/glesys/requests/compute/ip_list_own.rb,
lib/fog/linode/models/compute/stack_scripts.rb,
lib/fog/linode/requests/compute/linode_boot.rb,
lib/fog/linode/requests/compute/linode_list.rb,
lib/fog/openstack/requests/compute/get_meta.rb,
lib/fog/storm_on_demand/models/compute/stat.rb,
lib/fog/voxel/requests/compute/devices_list.rb,
lib/fog/vsphere/requests/compute/vm_destroy.rb,
lib/fog/aws/requests/compute/create_key_pair.rb,
lib/fog/aws/requests/compute/create_snapshot.rb,
lib/fog/aws/requests/compute/delete_key_pair.rb,
lib/fog/aws/requests/compute/delete_snapshot.rb,
lib/fog/aws/requests/compute/describe_images.rb,
lib/fog/aws/requests/compute/import_key_pair.rb,
lib/fog/aws/requests/compute/release_address.rb,
lib/fog/aws/requests/compute/start_instances.rb,
lib/fog/bluebox/requests/compute/get_product.rb,
lib/fog/brightbox/requests/compute/get_image.rb,
lib/fog/ecloud/requests/compute/get_versions.rb,
lib/fog/glesys/requests/compute/ip_list_free.rb,
lib/fog/glesys/requests/compute/list_servers.rb,
lib/fog/ninefold/requests/compute/list_zones.rb,
lib/fog/slicehost/requests/compute/get_image.rb,
lib/fog/slicehost/requests/compute/get_slice.rb,
lib/fog/storm_on_demand/models/compute/image.rb,
lib/fog/storm_on_demand/models/compute/stats.rb,
lib/fog/voxel/requests/compute/devices_power.rb,
lib/fog/vsphere/requests/compute/datacenters.rb,
lib/fog/vsphere/requests/compute/vm_power_on.rb,
lib/fog/aws/requests/compute/allocate_address.rb,
lib/fog/aws/requests/compute/deregister_image.rb,
lib/fog/aws/requests/compute/describe_regions.rb,
lib/fog/aws/requests/compute/describe_volumes.rb,
lib/fog/aws/requests/compute/reboot_instances.rb,
lib/fog/bluebox/requests/compute/create_block.rb,
lib/fog/bluebox/requests/compute/get_products.rb,
lib/fog/bluebox/requests/compute/get_template.rb,
lib/fog/bluebox/requests/compute/reboot_block.rb,
lib/fog/brightbox/models/compute/server_group.rb,
lib/fog/brightbox/requests/compute/get_server.rb,
lib/fog/brightbox/requests/compute/list_users.rb,
lib/fog/brightbox/requests/compute/list_zones.rb,
lib/fog/ecloud/requests/compute/get_public_ip.rb,
lib/fog/ecloud/requests/compute/get_task_list.rb,
lib/fog/glesys/requests/compute/server_status.rb,
lib/fog/glesys/requests/compute/template_list.rb,
lib/fog/go_grid/requests/compute/grid_ip_list.rb,
lib/fog/linode/requests/compute/avail_kernels.rb,
lib/fog/linode/requests/compute/linode_create.rb,
lib/fog/linode/requests/compute/linode_delete.rb,
lib/fog/linode/requests/compute/linode_reboot.rb,
lib/fog/linode/requests/compute/linode_update.rb,
lib/fog/ninefold/requests/compute/list_events.rb,
lib/fog/slicehost/requests/compute/get_flavor.rb,
lib/fog/slicehost/requests/compute/get_images.rb,
lib/fog/slicehost/requests/compute/get_slices.rb,
lib/fog/storm_on_demand/models/compute/config.rb,
lib/fog/storm_on_demand/models/compute/images.rb,
lib/fog/storm_on_demand/models/compute/server.rb,
lib/fog/virtual_box/models/compute/nat_engine.rb,
lib/fog/vsphere/requests/compute/current_time.rb,
lib/fog/vsphere/requests/compute/vm_power_off.rb,
lib/fog/aws/requests/compute/associate_address.rb,
lib/fog/aws/requests/compute/get_password_data.rb,
lib/fog/aws/requests/compute/monitor_instances.rb,
lib/fog/bluebox/requests/compute/destroy_block.rb,
lib/fog/bluebox/requests/compute/get_templates.rb,
lib/fog/brightbox/models/compute/firewall_rule.rb,
lib/fog/brightbox/models/compute/load_balancer.rb,
lib/fog/brightbox/models/compute/server_groups.rb,
lib/fog/brightbox/requests/compute/get_account.rb,
lib/fog/brightbox/requests/compute/list_images.rb,
lib/fog/brightbox/requests/compute/stop_server.rb,
lib/fog/brightbox/requests/compute/update_user.rb,
lib/fog/ecloud/models/compute/internet_service.rb,
lib/fog/ecloud/requests/compute/configure_node.rb,
lib/fog/ecloud/requests/compute/configure_vapp.rb,
lib/fog/ecloud/requests/compute/get_network_ip.rb,
lib/fog/ecloud/requests/compute/get_public_ips.rb,
lib/fog/ecloud/requests/compute/power_shutdown.rb,
lib/fog/glesys/requests/compute/server_details.rb,
lib/fog/linode/requests/compute/linode_ip_list.rb,
lib/fog/openstack/requests/compute/delete_meta.rb,
lib/fog/openstack/requests/compute/list_images.rb,
lib/fog/openstack/requests/compute/update_meta.rb,
lib/fog/rackspace/requests/compute/list_images.rb,
lib/fog/slicehost/requests/compute/get_backups.rb,
lib/fog/slicehost/requests/compute/get_flavors.rb,
lib/fog/storm_on_demand/models/compute/configs.rb,
lib/fog/storm_on_demand/models/compute/servers.rb,
lib/fog/voxel/requests/compute/voxcloud_create.rb,
lib/fog/voxel/requests/compute/voxcloud_delete.rb,
lib/fog/voxel/requests/compute/voxcloud_status.rb,
lib/fog/aws/requests/compute/describe_addresses.rb,
lib/fog/aws/requests/compute/describe_instances.rb,
lib/fog/aws/requests/compute/describe_key_pairs.rb,
lib/fog/aws/requests/compute/describe_snapshots.rb,
lib/fog/aws/requests/compute/get_console_output.rb,
lib/fog/brightbox/models/compute/firewall_rules.rb,
lib/fog/brightbox/models/compute/load_balancers.rb,
lib/fog/brightbox/requests/compute/create_image.rb,
lib/fog/brightbox/requests/compute/get_cloud_ip.rb,
lib/fog/brightbox/requests/compute/list_servers.rb,
lib/fog/brightbox/requests/compute/map_cloud_ip.rb,
lib/fog/brightbox/requests/compute/start_server.rb,
lib/fog/brightbox/requests/compute/update_image.rb,
lib/fog/ecloud/models/compute/internet_services.rb,
lib/fog/ecloud/requests/compute/get_network_ips.rb,
lib/fog/go_grid/requests/compute/grid_image_get.rb,
lib/fog/linode/requests/compute/linode_shutdown.rb,
lib/fog/new_servers/requests/compute/add_server.rb,
lib/fog/new_servers/requests/compute/get_server.rb,
lib/fog/new_servers/requests/compute/list_plans.rb,
lib/fog/ninefold/requests/compute/list_accounts.rb,
lib/fog/ninefold/requests/compute/list_networks.rb,
lib/fog/openstack/requests/compute/create_image.rb,
lib/fog/openstack/requests/compute/delete_image.rb,
lib/fog/openstack/requests/compute/list_flavors.rb,
lib/fog/openstack/requests/compute/list_servers.rb,
lib/fog/openstack/requests/compute/set_metadata.rb,
lib/fog/rackspace/requests/compute/create_image.rb,
lib/fog/rackspace/requests/compute/delete_image.rb,
lib/fog/rackspace/requests/compute/list_flavors.rb,
lib/fog/rackspace/requests/compute/list_servers.rb,
lib/fog/slicehost/requests/compute/create_slice.rb,
lib/fog/slicehost/requests/compute/delete_slice.rb,
lib/fog/slicehost/requests/compute/reboot_slice.rb,
lib/fog/storm_on_demand/models/compute/balancer.rb,
lib/fog/storm_on_demand/models/compute/template.rb,
lib/fog/virtual_box/models/compute/nat_redirect.rb,
lib/fog/vsphere/requests/compute/find_vm_by_ref.rb,
lib/fog/aws/requests/compute/terminate_instances.rb,
lib/fog/aws/requests/compute/unmonitor_instances.rb,
lib/fog/bluebox/requests/compute/create_template.rb,
lib/fog/brightbox/models/compute/firewall_policy.rb,
lib/fog/brightbox/requests/compute/create_server.rb,
lib/fog/brightbox/requests/compute/destroy_image.rb,
lib/fog/brightbox/requests/compute/get_interface.rb,
lib/fog/brightbox/requests/compute/resize_server.rb,
lib/fog/brightbox/requests/compute/update_server.rb,
lib/fog/ecloud/requests/compute/get_catalog_item.rb,
lib/fog/ecloud/requests/compute/get_firewall_acl.rb,
lib/fog/ecloud/requests/compute/get_organization.rb,
lib/fog/go_grid/requests/compute/grid_image_list.rb,
lib/fog/go_grid/requests/compute/grid_server_add.rb,
lib/fog/go_grid/requests/compute/grid_server_get.rb,
lib/fog/linode/requests/compute/linode_disk_list.rb,
lib/fog/linode/requests/compute/stackscript_list.rb,
lib/fog/new_servers/requests/compute/list_images.rb,
lib/fog/ninefold/requests/compute/list_templates.rb,
lib/fog/openstack/requests/compute/create_server.rb,
lib/fog/openstack/requests/compute/delete_server.rb,
lib/fog/openstack/requests/compute/list_metadata.rb,
lib/fog/openstack/requests/compute/reboot_server.rb,
lib/fog/openstack/requests/compute/resize_server.rb,
lib/fog/openstack/requests/compute/server_action.rb,
lib/fog/openstack/requests/compute/update_server.rb,
lib/fog/rackspace/requests/compute/create_server.rb,
lib/fog/rackspace/requests/compute/delete_server.rb,
lib/fog/rackspace/requests/compute/reboot_server.rb,
lib/fog/rackspace/requests/compute/resize_server.rb,
lib/fog/rackspace/requests/compute/server_action.rb,
lib/fog/rackspace/requests/compute/update_server.rb,
lib/fog/storm_on_demand/models/compute/balancers.rb,
lib/fog/storm_on_demand/models/compute/templates.rb,
lib/fog/virtual_box/models/compute/medium_format.rb,
lib/fog/virtual_box/models/compute/nat_redirects.rb,
lib/fog/aws/requests/compute/disassociate_address.rb,
lib/fog/bluebox/requests/compute/destroy_template.rb,
lib/fog/brightbox/requests/compute/destroy_server.rb,
lib/fog/brightbox/requests/compute/get_api_client.rb,
lib/fog/brightbox/requests/compute/list_cloud_ips.rb,
lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb,
lib/fog/brightbox/requests/compute/update_account.rb,
lib/fog/ecloud/requests/compute/configure_network.rb,
lib/fog/ecloud/requests/compute/get_firewall_acls.rb,
lib/fog/ecloud/requests/compute/get_vapp_template.rb,
lib/fog/go_grid/requests/compute/grid_server_list.rb,
lib/fog/linode/requests/compute/avail_datacenters.rb,
lib/fog/linode/requests/compute/avail_linodeplans.rb,
lib/fog/new_servers/requests/compute/list_servers.rb,
lib/fog/ninefold/requests/compute/list_async_jobs.rb,
lib/fog/openstack/requests/compute/list_addresses.rb,
lib/fog/openstack/requests/compute/rebuild_server.rb,
lib/fog/rackspace/requests/compute/list_addresses.rb,
lib/fog/storm_on_demand/models/compute/private_ip.rb,
lib/fog/aws/requests/compute/create_security_group.rb,
lib/fog/aws/requests/compute/delete_security_group.rb,
lib/fog/brightbox/models/compute/firewall_policies.rb,
lib/fog/brightbox/requests/compute/create_cloud_ip.rb,
lib/fog/brightbox/requests/compute/get_server_type.rb,
lib/fog/brightbox/requests/compute/shutdown_server.rb,
lib/fog/brightbox/requests/compute/snapshot_server.rb,
lib/fog/brightbox/requests/compute/update_cloud_ip.rb,
lib/fog/go_grid/requests/compute/grid_server_power.rb,
lib/fog/linode/requests/compute/avail_stackscripts.rb,
lib/fog/linode/requests/compute/linode_config_list.rb,
lib/fog/linode/requests/compute/linode_disk_create.rb,
lib/fog/linode/requests/compute/linode_disk_delete.rb,
lib/fog/new_servers/requests/compute/cancel_server.rb,
lib/fog/new_servers/requests/compute/reboot_server.rb,
lib/fog/ninefold/models/compute/ip_forwarding_rule.rb,
lib/fog/ninefold/requests/compute/list_hypervisors.rb,
lib/fog/openstack/requests/compute/update_metadata.rb,
lib/fog/storm_on_demand/models/compute/private_ips.rb,
lib/fog/storm_on_demand/requests/compute/get_stats.rb,
lib/fog/virtual_box/models/compute/network_adapter.rb,
lib/fog/aws/requests/compute/create_placement_group.rb,
lib/fog/aws/requests/compute/delete_placement_group.rb,
lib/fog/aws/requests/compute/modify_image_attribute.rb,
lib/fog/aws/requests/compute/request_spot_instances.rb,
lib/fog/brightbox/requests/compute/destroy_cloud_ip.rb,
lib/fog/brightbox/requests/compute/get_server_group.rb,
lib/fog/brightbox/requests/compute/list_api_clients.rb,
lib/fog/go_grid/requests/compute/common_lookup_list.rb,
lib/fog/go_grid/requests/compute/grid_server_delete.rb,
lib/fog/linode/requests/compute/avail_distributions.rb,
lib/fog/ninefold/models/compute/ip_forwarding_rules.rb,
lib/fog/ninefold/requests/compute/enable_static_nat.rb,
lib/fog/ninefold/requests/compute/list_capabilities.rb,
lib/fog/storm_on_demand/requests/compute/get_server.rb,
lib/fog/virtual_box/models/compute/network_adapters.rb,
lib/fog/brightbox/requests/compute/create_api_client.rb,
lib/fog/brightbox/requests/compute/get_firewall_rule.rb,
lib/fog/brightbox/requests/compute/get_load_balancer.rb,
lib/fog/brightbox/requests/compute/list_server_types.rb,
lib/fog/brightbox/requests/compute/update_api_client.rb,
lib/fog/ecloud/requests/compute/add_internet_service.rb,
lib/fog/ecloud/requests/compute/configure_network_ip.rb,
lib/fog/linode/requests/compute/linode_config_create.rb,
lib/fog/linode/requests/compute/linode_ip_addprivate.rb,
lib/fog/ninefold/requests/compute/disable_static_nat.rb,
lib/fog/openstack/requests/compute/get_image_details.rb,
lib/fog/rackspace/requests/compute/get_image_details.rb,
lib/fog/storm_on_demand/requests/compute/list_images.rb,
lib/fog/aws/requests/compute/describe_security_groups.rb,
lib/fog/brightbox/requests/compute/destroy_api_client.rb,
lib/fog/brightbox/requests/compute/list_server_groups.rb,
lib/fog/ecloud/models/compute/backup_internet_service.rb,
lib/fog/ecloud/requests/compute/get_internet_services.rb,
lib/fog/go_grid/requests/compute/support_password_get.rb,
lib/fog/ninefold/requests/compute/list_disk_offerings.rb,
lib/fog/openstack/requests/compute/get_flavor_details.rb,
lib/fog/openstack/requests/compute/get_server_details.rb,
lib/fog/openstack/requests/compute/list_images_detail.rb,
lib/fog/rackspace/requests/compute/get_flavor_details.rb,
lib/fog/rackspace/requests/compute/get_server_details.rb,
lib/fog/rackspace/requests/compute/list_images_detail.rb,
lib/fog/storm_on_demand/requests/compute/clone_server.rb,
lib/fog/storm_on_demand/requests/compute/list_configs.rb,
lib/fog/storm_on_demand/requests/compute/list_servers.rb,
lib/fog/virtual_box/models/compute/storage_controller.rb,
lib/fog/aws/requests/compute/describe_placement_groups.rb,
lib/fog/aws/requests/compute/modify_instance_attribute.rb,
lib/fog/aws/requests/compute/modify_snapshot_attribute.rb,
lib/fog/brightbox/requests/compute/create_server_group.rb,
lib/fog/brightbox/requests/compute/get_firewall_policy.rb,
lib/fog/brightbox/requests/compute/list_load_balancers.rb,
lib/fog/brightbox/requests/compute/update_server_group.rb,
lib/fog/ecloud/models/compute/backup_internet_services.rb,
lib/fog/ecloud/requests/compute/get_network_extensions.rb,
lib/fog/go_grid/requests/compute/support_password_list.rb,
lib/fog/ninefold/requests/compute/associate_ip_address.rb,
lib/fog/ninefold/requests/compute/list_resource_limits.rb,
lib/fog/ninefold/requests/compute/stop_virtual_machine.rb,
lib/fog/openstack/requests/compute/list_flavors_detail.rb,
lib/fog/openstack/requests/compute/list_servers_detail.rb,
lib/fog/rackspace/requests/compute/list_flavors_detail.rb,
lib/fog/rackspace/requests/compute/list_servers_detail.rb,
lib/fog/storm_on_demand/requests/compute/create_server.rb,
lib/fog/storm_on_demand/requests/compute/delete_server.rb,
lib/fog/storm_on_demand/requests/compute/reboot_server.rb,
lib/fog/storm_on_demand/requests/compute/resize_server.rb,
lib/fog/virtual_box/models/compute/storage_controllers.rb,
lib/fog/vsphere/requests/compute/list_virtual_machines.rb,
lib/fog/brightbox/requests/compute/create_firewall_rule.rb,
lib/fog/brightbox/requests/compute/create_load_balancer.rb,
lib/fog/brightbox/requests/compute/destroy_server_group.rb,
lib/fog/brightbox/requests/compute/update_load_balancer.rb,
lib/fog/ecloud/requests/compute/delete_internet_service.rb,
lib/fog/go_grid/requests/compute/grid_loadbalancer_list.rb,
lib/fog/ninefold/requests/compute/list_virtual_machines.rb,
lib/fog/ninefold/requests/compute/start_virtual_machine.rb,
lib/fog/storm_on_demand/requests/compute/list_balancers.rb,
lib/fog/storm_on_demand/requests/compute/list_templates.rb,
lib/fog/aws/requests/compute/describe_availability_zones.rb,
lib/fog/aws/requests/compute/describe_reserved_instances.rb,
lib/fog/aws/requests/compute/describe_spot_price_history.rb,
lib/fog/brightbox/requests/compute/destroy_firewall_rule.rb,
lib/fog/brightbox/requests/compute/destroy_load_balancer.rb,
lib/fog/ninefold/requests/compute/deploy_virtual_machine.rb,
lib/fog/ninefold/requests/compute/list_network_offerings.rb,
lib/fog/ninefold/requests/compute/list_service_offerings.rb,
lib/fog/ninefold/requests/compute/query_async_job_result.rb,
lib/fog/ninefold/requests/compute/reboot_virtual_machine.rb,
lib/fog/ninefold/requests/compute/update_virtual_machine.rb,
lib/fog/openstack/requests/compute/list_public_addresses.rb,
lib/fog/openstack/requests/compute/revert_resized_server.rb,
lib/fog/rackspace/requests/compute/list_public_addresses.rb,
lib/fog/rackspace/requests/compute/revert_resized_server.rb,
lib/fog/brightbox/requests/compute/create_firewall_policy.rb,
lib/fog/brightbox/requests/compute/list_firewall_policies.rb,
lib/fog/brightbox/requests/compute/remove_firewall_policy.rb,
lib/fog/ecloud/requests/compute/get_customization_options.rb,
lib/fog/ecloud/requests/compute/instantiate_vapp_template.rb,
lib/fog/ninefold/requests/compute/destroy_virtual_machine.rb,
lib/fog/ninefold/requests/compute/disassociate_ip_address.rb,
lib/fog/openstack/requests/compute/change_password_server.rb,
lib/fog/openstack/requests/compute/confirm_resized_server.rb,
lib/fog/openstack/requests/compute/list_private_addresses.rb,
lib/fog/rackspace/requests/compute/confirm_resized_server.rb,
lib/fog/rackspace/requests/compute/list_private_addresses.rb,
lib/fog/storm_on_demand/requests/compute/list_private_ips.rb,
lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb,
lib/fog/aws/requests/compute/revoke_security_group_ingress.rb,
lib/fog/brightbox/requests/compute/activate_console_server.rb,
lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb,
lib/fog/brightbox/requests/compute/destroy_firewall_policy.rb,
lib/fog/brightbox/requests/compute/reset_secret_api_client.rb,
lib/fog/ecloud/requests/compute/configure_internet_service.rb,
lib/fog/ninefold/requests/compute/list_ip_forwarding_rules.rb,
lib/fog/ninefold/requests/compute/list_public_ip_addresses.rb,
lib/fog/storm_on_demand/requests/compute/add_balancer_node.rb,
lib/fog/brightbox/requests/compute/add_servers_server_group.rb,
lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb,
lib/fog/ecloud/requests/compute/add_backup_internet_service.rb,
lib/fog/ninefold/requests/compute/create_ip_forwarding_rule.rb,
lib/fog/ninefold/requests/compute/delete_ip_forwarding_rule.rb,
lib/fog/aws/requests/compute/describe_spot_instance_requests.rb,
lib/fog/brightbox/requests/compute/move_servers_server_group.rb,
lib/fog/aws/requests/compute/authorize_security_group_ingress.rb,
lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb,
lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb,
lib/fog/storm_on_demand/requests/compute/remove_balancer_node.rb,
lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb,
lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb,
lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb,
lib/fog/brightbox/requests/compute/remove_servers_server_group.rb,
lib/fog/aws/requests/compute/describe_spot_datafeed_subscription.rb,
lib/fog/aws/requests/compute/purchase_reserved_instances_offering.rb,
lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb,
lib/fog/linode/requests/compute/linode_disk_createfromstackscript.rb,
lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb,
lib/fog/linode/requests/compute/linode_disk_createfromdistribution.rb,
lib/fog/ninefold/requests/compute/change_service_for_virtual_machine.rb,
lib/fog/ninefold/requests/compute/reset_password_for_virtual_machine.rb
Defined Under Namespace
Modules: LibvirtUtil
Classes: AWS, Bluebox, Brightbox, Ecloud, Glesys, GoGrid, Libvirt, Linode, NewServers, Ninefold, OpenStack, Rackspace, Server, Slicehost, StormOnDemand, VirtualBox, Vmfusion, Voxel, Vsphere
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# 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/aws/compute'
Fog::Compute::AWS.new(attributes)
when :bluebox
require 'fog/bluebox/compute'
Fog::Compute::Bluebox.new(attributes)
when :brightbox
require 'fog/brightbox/compute'
Fog::Compute::Brightbox.new(attributes)
when :ecloud
require 'fog/ecloud/compute'
Fog::Compute::Ecloud.new(attributes)
when :glesys
require 'fog/glesys/compute'
Fog::Compute::Glesys.new(attributes)
when :gogrid
require 'fog/go_grid/compute'
Fog::Compute::GoGrid.new(attributes)
when :libvirt
require 'fog/libvirt/compute'
Fog::Compute::Libvirt.new(attributes)
when :linode
require 'fog/linode/compute'
Fog::Compute::Linode.new(attributes)
when :newservers
require 'fog/new_servers/compute'
Fog::Compute::NewServers.new(attributes)
when :ninefold
require 'fog/ninefold/compute'
Fog::Compute::Ninefold.new(attributes)
when :openstack
require 'fog/openstack/compute'
Fog::Compute::OpenStack.new(attributes)
when :rackspace
require 'fog/rackspace/compute'
Fog::Compute::Rackspace.new(attributes)
when :slicehost
require 'fog/slicehost/compute'
Fog::Compute::Slicehost.new(attributes)
when :stormondemand
require 'fog/storm_on_demand/compute'
Fog::Compute::StormOnDemand.new(attributes)
when :vcloud
require 'fog/vcloud/compute'
Fog::Vcloud::Compute.new(attributes)
when :virtualbox
require 'fog/virtual_box/compute'
Fog::Compute::VirtualBox.new(attributes)
when :vmfusion
require 'fog/vmfusion/compute'
Fog::Compute::Vmfusion.new(attributes)
when :voxel
require 'fog/voxel/compute'
Fog::Compute::Voxel.new(attributes)
when :vsphere
require 'fog/vsphere/compute'
Fog::Compute::Vsphere.new(attributes)
else
raise ArgumentError.new("#{provider} is not a recognized compute provider")
end
end
|
.providers ⇒ Object
73
74
75
|
# File 'lib/fog/compute.rb', line 73
def self.providers
Fog.services[:compute]
end
|
.servers ⇒ Object
77
78
79
80
81
82
83
84
85
86
|
# File 'lib/fog/compute.rb', line 77
def self.servers
servers = []
for provider in self.providers
begin
servers.concat(self[provider].servers)
rescue end
end
servers
end
|