### Home Classes Methods

### In Files

- lib/fog/hp/compute.rb
- lib/fog/hp/requests/compute/list_server_private_addresses.rb
- lib/fog/hp/requests/compute/create_key_pair.rb
- lib/fog/hp/requests/compute/get_console_output.rb
- lib/fog/hp/requests/compute/list_server_public_addresses.rb
- lib/fog/hp/requests/compute/attach_volume.rb
- lib/fog/hp/requests/compute/detach_volume.rb
- lib/fog/hp/requests/compute/release_address.rb
- lib/fog/hp/requests/compute/delete_key_pair.rb
- lib/fog/hp/requests/compute/disassociate_address.rb
- lib/fog/hp/requests/compute/list_flavors_detail.rb
- lib/fog/hp/requests/compute/get_flavor_details.rb
- lib/fog/hp/requests/compute/delete_image.rb
- lib/fog/hp/requests/compute/create_security_group.rb
- lib/fog/hp/requests/compute/get_image_details.rb
- lib/fog/hp/requests/compute/create_image.rb
- lib/fog/hp/requests/compute/create_server.rb
- lib/fog/hp/requests/compute/list_servers.rb
- lib/fog/hp/requests/compute/list_flavors.rb
- lib/fog/hp/requests/compute/get_server_details.rb
- lib/fog/hp/requests/compute/revert_resized_server.rb
- lib/fog/hp/requests/compute/list_key_pairs.rb
- lib/fog/hp/requests/compute/resize_server.rb
- lib/fog/hp/requests/compute/list_servers_detail.rb
- lib/fog/hp/requests/compute/allocate_address.rb
- lib/fog/hp/requests/compute/create_persistent_server.rb
- lib/fog/hp/requests/compute/change_password_server.rb
- lib/fog/hp/requests/compute/associate_address.rb
- lib/fog/hp/requests/compute/list_images_detail.rb
- lib/fog/hp/requests/compute/list_server_addresses.rb
- lib/fog/hp/requests/compute/list_security_groups.rb
- lib/fog/hp/requests/compute/get_security_group.rb
- lib/fog/hp/requests/compute/get_windows_password.rb
- lib/fog/hp/requests/compute/confirm_resized_server.rb
- lib/fog/hp/requests/compute/set_metadata.rb
- lib/fog/hp/requests/compute/delete_server.rb
- lib/fog/hp/requests/compute/get_meta.rb
- lib/fog/hp/requests/compute/delete_security_group.rb
- lib/fog/hp/requests/compute/create_security_group_rule.rb
- lib/fog/hp/requests/compute/reboot_server.rb
- lib/fog/hp/requests/compute/list_server_volumes.rb
- lib/fog/hp/requests/compute/list_addresses.rb
- lib/fog/hp/requests/compute/delete_meta.rb
- lib/fog/hp/requests/compute/rebuild_server.rb
- lib/fog/hp/requests/compute/update_server.rb
- lib/fog/hp/requests/compute/update_metadata.rb
- lib/fog/hp/requests/compute/list_images.rb
- lib/fog/hp/requests/compute/get_address.rb
- lib/fog/hp/requests/compute/list_metadata.rb
- lib/fog/hp/requests/compute/delete_security_group_rule.rb
- lib/fog/hp/requests/compute/update_meta.rb

### Parent

Object

### Methods

- ::data
- ::new
- ::reset
- #allocate_address
- #associate_address
- #change_password_server
- #confirm_resized_server
- #create_image
- #create_key_pair
- #create_persistent_server
- #create_security_group
- #create_security_group_rule
- #create_server
- #data
- #delete_image
- #delete_key_pair
- #delete_meta
- #delete_security_group
- #delete_security_group_rule
- #delete_server
- #disassociate_address
- #get_address
- #get_console_output
- #get_flavor_details
- #get_image_details
- #get_meta
- #get_security_group
- #get_server_details
- #get_windows_password
- #list_addresses
- #list_flavors
- #list_flavors_detail
- #list_images
- #list_images_detail
- #list_key_pairs
- #list_metadata
- #list_security_groups
- #list_server_addresses
- #list_server_private_addresses
- #list_server_public_addresses
- #list_servers
- #list_servers_detail
- #reboot_server
- #rebuild_server
- #release_address
- #reset_data
- #resize_server
- #revert_resized_server
- #set_metadata
- #update_meta
- #update_metadata
- #update_server

### Included Modules

- Fog::Compute::HP::Utils

### Files

- README_HP.rdoc
- lorem.txt

### Class/Module Index

Quicksearch

- Fog
- Fog::AWS
- Fog::AWS::AutoScaling
- Fog::AWS::AutoScaling::Activities
- Fog::AWS::AutoScaling::Activity
- Fog::AWS::AutoScaling::Configuration
- Fog::AWS::AutoScaling::Configurations
- Fog::AWS::AutoScaling::Group
- Fog::AWS::AutoScaling::Groups
- Fog::AWS::AutoScaling::IdentifierTaken
- Fog::AWS::AutoScaling::Instance
- Fog::AWS::AutoScaling::Instances
- Fog::AWS::AutoScaling::Mock
- Fog::AWS::AutoScaling::Policies
- Fog::AWS::AutoScaling::Policy
- Fog::AWS::AutoScaling::Real
- Fog::AWS::AutoScaling::ResourceInUse
- Fog::AWS::AutoScaling::ValidationError
- Fog::AWS::CloudFormation
- Fog::AWS::CloudFormation::Mock
- Fog::AWS::CloudFormation::Real
- Fog::AWS::CloudWatch
- Fog::AWS::CloudWatch::Alarm
- Fog::AWS::CloudWatch::AlarmData
- Fog::AWS::CloudWatch::AlarmDatum
- Fog::AWS::CloudWatch::AlarmHistories
- Fog::AWS::CloudWatch::AlarmHistory
- Fog::AWS::CloudWatch::Alarms
- Fog::AWS::CloudWatch::Metric
- Fog::AWS::CloudWatch::MetricStatistic
- Fog::AWS::CloudWatch::MetricStatistics
- Fog::AWS::CloudWatch::Metrics
- Fog::AWS::CloudWatch::Mock
- Fog::AWS::CloudWatch::Real
- Fog::AWS::CredentialFetcher
- Fog::AWS::CredentialFetcher::ConnectionMethods
- Fog::AWS::CredentialFetcher::ServiceMethods
- Fog::AWS::DataPipeline
- Fog::AWS::DataPipeline::Mock
- Fog::AWS::DataPipeline::Pipeline
- Fog::AWS::DataPipeline::Pipelines
- Fog::AWS::DataPipeline::Real
- Fog::AWS::DynamoDB
- Fog::AWS::DynamoDB::Mock
- Fog::AWS::DynamoDB::Real
- Fog::AWS::ELB
- Fog::AWS::ELB::DuplicatePolicyName
- Fog::AWS::ELB::IdentifierTaken
- Fog::AWS::ELB::InvalidConfigurationRequest
- Fog::AWS::ELB::InvalidInstance
- Fog::AWS::ELB::Listener
- Fog::AWS::ELB::Listeners
- Fog::AWS::ELB::LoadBalancer
- Fog::AWS::ELB::LoadBalancers
- Fog::AWS::ELB::Mock
- Fog::AWS::ELB::Policies
- Fog::AWS::ELB::Policy
- Fog::AWS::ELB::PolicyNotFound
- Fog::AWS::ELB::PolicyTypeNotFound
- Fog::AWS::ELB::Real
- Fog::AWS::ELB::Throttled
- Fog::AWS::ELB::TooManyPolicies
- Fog::AWS::ELB::ValidationError
- Fog::AWS::EMR
- Fog::AWS::EMR::IdentifierTaken
- Fog::AWS::EMR::Mock
- Fog::AWS::EMR::Real
- Fog::AWS::ElasticBeanstalk
- Fog::AWS::ElasticBeanstalk::Application
- Fog::AWS::ElasticBeanstalk::Applications
- Fog::AWS::ElasticBeanstalk::Environment
- Fog::AWS::ElasticBeanstalk::Environments
- Fog::AWS::ElasticBeanstalk::Event
- Fog::AWS::ElasticBeanstalk::Events
- Fog::AWS::ElasticBeanstalk::InvalidParameterError
- Fog::AWS::ElasticBeanstalk::Mock
- Fog::AWS::ElasticBeanstalk::Real
- Fog::AWS::ElasticBeanstalk::Template
- Fog::AWS::ElasticBeanstalk::Templates
- Fog::AWS::ElasticBeanstalk::Version
- Fog::AWS::ElasticBeanstalk::Versions
- Fog::AWS::Elasticache
- Fog::AWS::Elasticache::Cluster
- Fog::AWS::Elasticache::Clusters
- Fog::AWS::Elasticache::IdentifierTaken
- Fog::AWS::Elasticache::InvalidInstance
- Fog::AWS::Elasticache::Mock
- Fog::AWS::Elasticache::ParameterGroup
- Fog::AWS::Elasticache::ParameterGroups
- Fog::AWS::Elasticache::Real
- Fog::AWS::Elasticache::SecurityGroup
- Fog::AWS::Elasticache::SecurityGroups
- Fog::AWS::Errors
- Fog::AWS::Glacier
- Fog::AWS::Glacier::Archive
- Fog::AWS::Glacier::Archives
- Fog::AWS::Glacier::Job
- Fog::AWS::Glacier::Jobs
- Fog::AWS::Glacier::Mock
- Fog::AWS::Glacier::Real
- Fog::AWS::Glacier::TreeHash
- Fog::AWS::Glacier::Vault
- Fog::AWS::Glacier::Vaults
- Fog::AWS::IAM
- Fog::AWS::IAM::AccessKey
- Fog::AWS::IAM::AccessKeys
- Fog::AWS::IAM::EntityAlreadyExists
- Fog::AWS::IAM::KeyPairMismatch
- Fog::AWS::IAM::LimitExceeded
- Fog::AWS::IAM::MalformedCertificate
- Fog::AWS::IAM::Mock
- Fog::AWS::IAM::Policies
- Fog::AWS::IAM::Policy
- Fog::AWS::IAM::Real
- Fog::AWS::IAM::Role
- Fog::AWS::IAM::Roles
- Fog::AWS::IAM::User
- Fog::AWS::IAM::Users
- Fog::AWS::IAM::ValidationError
- Fog::AWS::Mock
- Fog::AWS::RDS
- Fog::AWS::RDS::AuthorizationAlreadyExists
- Fog::AWS::RDS::IdentifierTaken
- Fog::AWS::RDS::LogFile
- Fog::AWS::RDS::LogFiles
- Fog::AWS::RDS::Mock
- Fog::AWS::RDS::Parameter
- Fog::AWS::RDS::ParameterGroup
- Fog::AWS::RDS::ParameterGroups
- Fog::AWS::RDS::Parameters
- Fog::AWS::RDS::Real
- Fog::AWS::RDS::SecurityGroup
- Fog::AWS::RDS::SecurityGroups
- Fog::AWS::RDS::Server
- Fog::AWS::RDS::Servers
- Fog::AWS::RDS::Snapshot
- Fog::AWS::RDS::Snapshots
- Fog::AWS::RDS::SubnetGroup
- Fog::AWS::RDS::SubnetGroups
- Fog::AWS::SES
- Fog::AWS::SES::InvalidParameterError
- Fog::AWS::SES::MessageRejected
- Fog::AWS::SES::Mock
- Fog::AWS::SES::Real
- Fog::AWS::SNS
- Fog::AWS::SNS::Mock
- Fog::AWS::SNS::Real
- Fog::AWS::SQS
- Fog::AWS::SQS::Mock
- Fog::AWS::SQS::Real
- Fog::AWS::STS
- Fog::AWS::STS::EntityAlreadyExists
- Fog::AWS::STS::Mock
- Fog::AWS::STS::Real
- Fog::AWS::STS::ValidationError
- Fog::AWS::SignatureV4
- Fog::AWS::SimpleDB
- Fog::AWS::SimpleDB::Mock
- Fog::AWS::SimpleDB::Real
- Fog::Account
- Fog::Account::StormOnDemand
- Fog::Account::StormOnDemand::Mock
- Fog::Account::StormOnDemand::Real
- Fog::Account::StormOnDemand::Token
- Fog::Account::StormOnDemand::Tokens
- Fog::Atmos
- Fog::Attributes
- Fog::Attributes::ClassMethods
- Fog::Attributes::InstanceMethods
- Fog::BareMetalCloud
- Fog::Billing
- Fog::Billing::StormOnDemand
- Fog::Billing::StormOnDemand::Invoice
- Fog::Billing::StormOnDemand::Invoices
- Fog::Billing::StormOnDemand::Mock
- Fog::Billing::StormOnDemand::Payment
- Fog::Billing::StormOnDemand::Payments
- Fog::Billing::StormOnDemand::Real
- Fog::Bin
- Fog::Bluebox
- Fog::Bluebox::BLB
- Fog::Bluebox::BLB::LbApplication
- Fog::Bluebox::BLB::LbApplications
- Fog::Bluebox::BLB::LbBackend
- Fog::Bluebox::BLB::LbBackends
- Fog::Bluebox::BLB::LbService
- Fog::Bluebox::BLB::LbServices
- Fog::Bluebox::BLB::Mock
- Fog::Bluebox::BLB::Real
- Fog::Bluebox::DNS
- Fog::Bluebox::DNS::Mock
- Fog::Bluebox::DNS::Real
- Fog::Brightbox
- Fog::Brightbox::Compute
- Fog::Brightbox::Compute::ImageSelector
- Fog::Brightbox::Compute::Shared
- Fog::Brightbox::OAuth2
- Fog::Brightbox::OAuth2::ClientCredentialsStrategy
- Fog::Brightbox::OAuth2::CredentialSet
- Fog::Brightbox::OAuth2::GrantTypeStrategy
- Fog::Brightbox::OAuth2::RefreshTokenStrategy
- Fog::Brightbox::OAuth2::UserCredentialsStrategy
- Fog::CDN
- Fog::CDN::AWS
- Fog::CDN::AWS::Distribution
- Fog::CDN::AWS::DistributionHelper
- Fog::CDN::AWS::Distributions
- Fog::CDN::AWS::DistributionsHelper
- Fog::CDN::AWS::Invalidation
- Fog::CDN::AWS::Invalidations
- Fog::CDN::AWS::Mock
- Fog::CDN::AWS::Real
- Fog::CDN::AWS::StreamingDistribution
- Fog::CDN::AWS::StreamingDistributions
- Fog::CDN::HP
- Fog::CDN::HP::Mock
- Fog::CDN::HP::Real
- Fog::CDN::HP::Utils
- Fog::CDN::Rackspace
- Fog::CDN::Rackspace::Base
- Fog::CDN::Rackspace::Mock
- Fog::CDN::Rackspace::Real
- Fog::Clodo
- Fog::CloudSigma
- Fog::CloudSigma::CloudSigmaConnection
- Fog::CloudSigma::CloudSigmaConnection::Mock
- Fog::CloudSigma::CloudSigmaConnection::Real
- Fog::CloudSigma::CloudsigmaModel
- Fog::CloudSigma::Errors
- Fog::CloudSigma::Errors::Error
- Fog::CloudSigma::Errors::NotFound
- Fog::CloudSigma::Errors::RequestError
- Fog::CloudSigma::Errors::ServerError
- Fog::Cloudstack
- Fog::Collection
- Fog::Compute
- Fog::Compute::AWS
- Fog::Compute::AWS::Address
- Fog::Compute::AWS::Addresses
- Fog::Compute::AWS::DhcpOption
- Fog::Compute::AWS::DhcpOptions
- Fog::Compute::AWS::Flavor
- Fog::Compute::AWS::Flavors
- Fog::Compute::AWS::Image
- Fog::Compute::AWS::Images
- Fog::Compute::AWS::InternetGateway
- Fog::Compute::AWS::InternetGateways
- Fog::Compute::AWS::KeyPair
- Fog::Compute::AWS::KeyPairs
- Fog::Compute::AWS::Mock
- Fog::Compute::AWS::NetworkInterface
- Fog::Compute::AWS::NetworkInterfaces
- Fog::Compute::AWS::Real
- Fog::Compute::AWS::SecurityGroup
- Fog::Compute::AWS::SecurityGroups
- Fog::Compute::AWS::Server
- Fog::Compute::AWS::Servers
- Fog::Compute::AWS::Snapshot
- Fog::Compute::AWS::Snapshots
- Fog::Compute::AWS::SpotRequest
- Fog::Compute::AWS::SpotRequests
- Fog::Compute::AWS::Subnet
- Fog::Compute::AWS::Subnets
- Fog::Compute::AWS::Tag
- Fog::Compute::AWS::Tags
- Fog::Compute::AWS::VPC
- Fog::Compute::AWS::Volume
- Fog::Compute::AWS::Volumes
- Fog::Compute::AWS::Vpcs
- Fog::Compute::BareMetalCloud
- Fog::Compute::BareMetalCloud::Mock
- Fog::Compute::BareMetalCloud::Real
- Fog::Compute::Bluebox
- Fog::Compute::Bluebox::BlockInstantiationError
- Fog::Compute::Bluebox::Flavor
- Fog::Compute::Bluebox::Flavors
- Fog::Compute::Bluebox::Image
- Fog::Compute::Bluebox::Images
- Fog::Compute::Bluebox::Location
- Fog::Compute::Bluebox::Locations
- Fog::Compute::Bluebox::Mock
- Fog::Compute::Bluebox::Real
- Fog::Compute::Bluebox::Server
- Fog::Compute::Bluebox::Servers
- Fog::Compute::Brightbox
- Fog::Compute::Brightbox::Account
- Fog::Compute::Brightbox::Accounts
- Fog::Compute::Brightbox::ApiClient
- Fog::Compute::Brightbox::ApiClients
- Fog::Compute::Brightbox::Application
- Fog::Compute::Brightbox::Applications
- Fog::Compute::Brightbox::CloudIp
- Fog::Compute::Brightbox::CloudIps
- Fog::Compute::Brightbox::Collaboration
- Fog::Compute::Brightbox::Collaborations
- Fog::Compute::Brightbox::FirewallPolicies
- Fog::Compute::Brightbox::FirewallPolicy
- Fog::Compute::Brightbox::FirewallRule
- Fog::Compute::Brightbox::FirewallRules
- Fog::Compute::Brightbox::Flavor
- Fog::Compute::Brightbox::Flavors
- Fog::Compute::Brightbox::Image
- Fog::Compute::Brightbox::Images
- Fog::Compute::Brightbox::LoadBalancer
- Fog::Compute::Brightbox::LoadBalancers
- Fog::Compute::Brightbox::Mock
- Fog::Compute::Brightbox::Real
- Fog::Compute::Brightbox::Server
- Fog::Compute::Brightbox::ServerGroup
- Fog::Compute::Brightbox::ServerGroups
- Fog::Compute::Brightbox::Servers
- Fog::Compute::Brightbox::User
- Fog::Compute::Brightbox::UserCollaboration
- Fog::Compute::Brightbox::UserCollaborations
- Fog::Compute::Brightbox::Users
- Fog::Compute::Brightbox::Zone
- Fog::Compute::Brightbox::Zones
- Fog::Compute::Clodo
- Fog::Compute::Clodo::Image
- Fog::Compute::Clodo::Images
- Fog::Compute::Clodo::Mock
- Fog::Compute::Clodo::Real
- Fog::Compute::Clodo::Server
- Fog::Compute::Clodo::Servers
- Fog::Compute::CloudSigma
- Fog::Compute::CloudSigma::Balance
- Fog::Compute::CloudSigma::CommonMockAndReal
- Fog::Compute::CloudSigma::CurrentUsage
- Fog::Compute::CloudSigma::IP
- Fog::Compute::CloudSigma::IPConf
- Fog::Compute::CloudSigma::Ips
- Fog::Compute::CloudSigma::LibVolume
- Fog::Compute::CloudSigma::LibVolumes
- Fog::Compute::CloudSigma::Mock
- Fog::Compute::CloudSigma::MountPoint
- Fog::Compute::CloudSigma::Nic
- Fog::Compute::CloudSigma::ObjRef
- Fog::Compute::CloudSigma::PriceCalculation
- Fog::Compute::CloudSigma::PriceRecord
- Fog::Compute::CloudSigma::Pricing
- Fog::Compute::CloudSigma::Profile
- Fog::Compute::CloudSigma::Real
- Fog::Compute::CloudSigma::Server
- Fog::Compute::CloudSigma::Servers
- Fog::Compute::CloudSigma::Subscription
- Fog::Compute::CloudSigma::Subscriptions
- Fog::Compute::CloudSigma::UsageRecord
- Fog::Compute::CloudSigma::VLAN
- Fog::Compute::CloudSigma::Vlans
- Fog::Compute::CloudSigma::Volume
- Fog::Compute::CloudSigma::Volumes
- Fog::Compute::Cloudstack
- Fog::Compute::Cloudstack::Address
- Fog::Compute::Cloudstack::BadRequest
- Fog::Compute::Cloudstack::DiskOffering
- Fog::Compute::Cloudstack::DiskOfferings
- Fog::Compute::Cloudstack::Flavor
- Fog::Compute::Cloudstack::Flavors
- Fog::Compute::Cloudstack::Image
- Fog::Compute::Cloudstack::Images
- Fog::Compute::Cloudstack::Job
- Fog::Compute::Cloudstack::Jobs
- Fog::Compute::Cloudstack::Mock
- Fog::Compute::Cloudstack::Real
- Fog::Compute::Cloudstack::SecurityGroup
- Fog::Compute::Cloudstack::SecurityGroupRule
- Fog::Compute::Cloudstack::SecurityGroupRules
- Fog::Compute::Cloudstack::SecurityGroups
- Fog::Compute::Cloudstack::Server
- Fog::Compute::Cloudstack::Servers
- Fog::Compute::Cloudstack::Snapshot
- Fog::Compute::Cloudstack::Snapshots
- Fog::Compute::Cloudstack::Unauthorized
- Fog::Compute::Cloudstack::Volume
- Fog::Compute::Cloudstack::Volumes
- Fog::Compute::Cloudstack::Zone
- Fog::Compute::Cloudstack::Zones
- Fog::Compute::DigitalOcean
- Fog::Compute::DigitalOcean::Flavor
- Fog::Compute::DigitalOcean::Flavors
- Fog::Compute::DigitalOcean::Image
- Fog::Compute::DigitalOcean::Images
- Fog::Compute::DigitalOcean::Mock
- Fog::Compute::DigitalOcean::Real
- Fog::Compute::DigitalOcean::Region
- Fog::Compute::DigitalOcean::Regions
- Fog::Compute::DigitalOcean::Server
- Fog::Compute::DigitalOcean::Servers
- Fog::Compute::DigitalOcean::SshKey
- Fog::Compute::DigitalOcean::SshKeys
- Fog::Compute::Ecloud
- Fog::Compute::Ecloud::AdminOrganization
- Fog::Compute::Ecloud::AdminOrganizations
- Fog::Compute::Ecloud::ApiKey
- Fog::Compute::Ecloud::ApiKeys
- Fog::Compute::Ecloud::Association
- Fog::Compute::Ecloud::Associations
- Fog::Compute::Ecloud::AuthenticationLevel
- Fog::Compute::Ecloud::AuthenticationLevels
- Fog::Compute::Ecloud::BackupInternetService
- Fog::Compute::Ecloud::BackupInternetServices
- Fog::Compute::Ecloud::Catalog
- Fog::Compute::Ecloud::CatalogConfiguration
- Fog::Compute::Ecloud::CatalogConfigurations
- Fog::Compute::Ecloud::CatalogItem
- Fog::Compute::Ecloud::ComputePool
- Fog::Compute::Ecloud::ComputePools
- Fog::Compute::Ecloud::CpuUsageDetail
- Fog::Compute::Ecloud::CpuUsageDetailSummary
- Fog::Compute::Ecloud::DetachedDisk
- Fog::Compute::Ecloud::DetachedDisks
- Fog::Compute::Ecloud::Environment
- Fog::Compute::Ecloud::Environments
- Fog::Compute::Ecloud::Environments::Vdcs
- Fog::Compute::Ecloud::FirewallAcl
- Fog::Compute::Ecloud::FirewallAcls
- Fog::Compute::Ecloud::Group
- Fog::Compute::Ecloud::Groups
- Fog::Compute::Ecloud::GuestProcess
- Fog::Compute::Ecloud::GuestProcesses
- Fog::Compute::Ecloud::HardwareConfiguration
- Fog::Compute::Ecloud::HardwareConfigurations
- Fog::Compute::Ecloud::InternetService
- Fog::Compute::Ecloud::InternetServices
- Fog::Compute::Ecloud::IpAddress
- Fog::Compute::Ecloud::IpAddresses
- Fog::Compute::Ecloud::Layout
- Fog::Compute::Ecloud::Layouts
- Fog::Compute::Ecloud::Location
- Fog::Compute::Ecloud::Locations
- Fog::Compute::Ecloud::LoginBanner
- Fog::Compute::Ecloud::LoginBanners
- Fog::Compute::Ecloud::MemoryUsageDetail
- Fog::Compute::Ecloud::MemoryUsageDetailSummary
- Fog::Compute::Ecloud::Mock
- Fog::Compute::Ecloud::Monitor
- Fog::Compute::Ecloud::Monitors
- Fog::Compute::Ecloud::Network
- Fog::Compute::Ecloud::Networks
- Fog::Compute::Ecloud::Node
- Fog::Compute::Ecloud::Nodes
- Fog::Compute::Ecloud::OperatingSystem
- Fog::Compute::Ecloud::OperatingSystemFamilies
- Fog::Compute::Ecloud::OperatingSystemFamily
- Fog::Compute::Ecloud::OperatingSystems
- Fog::Compute::Ecloud::Organization
- Fog::Compute::Ecloud::Organizations
- Fog::Compute::Ecloud::PasswordComplexityRule
- Fog::Compute::Ecloud::PasswordComplexityRules
- Fog::Compute::Ecloud::PhysicalDevice
- Fog::Compute::Ecloud::PhysicalDevices
- Fog::Compute::Ecloud::PublicIp
- Fog::Compute::Ecloud::PublicIps
- Fog::Compute::Ecloud::Real
- Fog::Compute::Ecloud::Rnat
- Fog::Compute::Ecloud::Rnats
- Fog::Compute::Ecloud::Role
- Fog::Compute::Ecloud::Roles
- Fog::Compute::Ecloud::Row
- Fog::Compute::Ecloud::Rows
- Fog::Compute::Ecloud::Server
- Fog::Compute::Ecloud::ServerConfigurationOption
- Fog::Compute::Ecloud::ServerConfigurationOptions
- Fog::Compute::Ecloud::Servers
- Fog::Compute::Ecloud::Shared
- Fog::Compute::Ecloud::SshKey
- Fog::Compute::Ecloud::SshKeys
- Fog::Compute::Ecloud::StorageUsageDetail
- Fog::Compute::Ecloud::StorageUsageDetailSummary
- Fog::Compute::Ecloud::SupportTicket
- Fog::Compute::Ecloud::SupportTickets
- Fog::Compute::Ecloud::Tag
- Fog::Compute::Ecloud::Tags
- Fog::Compute::Ecloud::Task
- Fog::Compute::Ecloud::Tasks
- Fog::Compute::Ecloud::Template
- Fog::Compute::Ecloud::Templates
- Fog::Compute::Ecloud::TrustedNetworkGroup
- Fog::Compute::Ecloud::TrustedNetworkGroups
- Fog::Compute::Ecloud::User
- Fog::Compute::Ecloud::Users
- Fog::Compute::Ecloud::Vdc
- Fog::Compute::Ecloud::VirtualMachineAssignedIp
- Fog::Compute::Ecloud::VirtualMachineAssignedIps
- Fog::Compute::Glesys
- Fog::Compute::Glesys::Ip
- Fog::Compute::Glesys::Ips
- Fog::Compute::Glesys::Mock
- Fog::Compute::Glesys::Real
- Fog::Compute::Glesys::Server
- Fog::Compute::Glesys::Servers
- Fog::Compute::Glesys::Template
- Fog::Compute::Glesys::Templates
- Fog::Compute::GoGrid
- Fog::Compute::GoGrid::BlockInstantiationError
- Fog::Compute::GoGrid::Image
- Fog::Compute::GoGrid::Images
- Fog::Compute::GoGrid::Mock
- Fog::Compute::GoGrid::Password
- Fog::Compute::GoGrid::Passwords
- Fog::Compute::GoGrid::Real
- Fog::Compute::GoGrid::Server
- Fog::Compute::GoGrid::Servers
- Fog::Compute::Google
- Fog::Compute::Google::Disk
- Fog::Compute::Google::Disks
- Fog::Compute::Google::Flavor
- Fog::Compute::Google::Flavors
- Fog::Compute::Google::Image
- Fog::Compute::Google::Images
- Fog::Compute::Google::Mock
- Fog::Compute::Google::Real
- Fog::Compute::Google::Server
- Fog::Compute::Google::Servers
- Fog::Compute::HP
- Fog::Compute::HP::Address
- Fog::Compute::HP::Addresses
- Fog::Compute::HP::Flavor
- Fog::Compute::HP::Flavors
- Fog::Compute::HP::Image
- Fog::Compute::HP::Images
- Fog::Compute::HP::KeyPair
- Fog::Compute::HP::KeyPairs
- Fog::Compute::HP::Meta
- Fog::Compute::HP::MetaParent
- Fog::Compute::HP::Metadata
- Fog::Compute::HP::Mock
- Fog::Compute::HP::Real
- Fog::Compute::HP::SecurityGroup
- Fog::Compute::HP::SecurityGroups
- Fog::Compute::HP::Server
- Fog::Compute::HP::Servers
- Fog::Compute::HP::Utils
- Fog::Compute::IBM
- Fog::Compute::IBM::Address
- Fog::Compute::IBM::Addresses
- Fog::Compute::IBM::Image
- Fog::Compute::IBM::Images
- Fog::Compute::IBM::InstanceType
- Fog::Compute::IBM::InstanceTypes
- Fog::Compute::IBM::Key
- Fog::Compute::IBM::Keys
- Fog::Compute::IBM::Location
- Fog::Compute::IBM::Locations
- Fog::Compute::IBM::Mock
- Fog::Compute::IBM::Real
- Fog::Compute::IBM::Server
- Fog::Compute::IBM::Servers
- Fog::Compute::IBM::Vlan
- Fog::Compute::IBM::Vlans
- Fog::Compute::Joyent
- Fog::Compute::Joyent::Errors
- Fog::Compute::Joyent::Errors::BadRequest
- Fog::Compute::Joyent::Errors::Conflict
- Fog::Compute::Joyent::Errors::Forbidden
- Fog::Compute::Joyent::Errors::MessageParserMixin
- Fog::Compute::Joyent::Errors::MethodNotAllowed
- Fog::Compute::Joyent::Errors::NotAcceptable
- Fog::Compute::Joyent::Errors::NotFound
- Fog::Compute::Joyent::Errors::PolicyNotForfilled
- Fog::Compute::Joyent::Errors::RequestEntityTooLarge
- Fog::Compute::Joyent::Errors::RetryWith
- Fog::Compute::Joyent::Errors::ServiceUnavailable
- Fog::Compute::Joyent::Errors::Unauthorized
- Fog::Compute::Joyent::Errors::UnsupportedMediaType
- Fog::Compute::Joyent::Flavor
- Fog::Compute::Joyent::Flavors
- Fog::Compute::Joyent::Image
- Fog::Compute::Joyent::Images
- Fog::Compute::Joyent::Key
- Fog::Compute::Joyent::Keys
- Fog::Compute::Joyent::Mock
- Fog::Compute::Joyent::Network
- Fog::Compute::Joyent::Networks
- Fog::Compute::Joyent::Real
- Fog::Compute::Joyent::Server
- Fog::Compute::Joyent::Servers
- Fog::Compute::Joyent::Snapshot
- Fog::Compute::Joyent::Snapshots
- Fog::Compute::Libvirt
- Fog::Compute::Libvirt::Interface
- Fog::Compute::Libvirt::Interfaces
- Fog::Compute::Libvirt::Mock
- Fog::Compute::Libvirt::Network
- Fog::Compute::Libvirt::Networks
- Fog::Compute::Libvirt::Nic
- Fog::Compute::Libvirt::Nics
- Fog::Compute::Libvirt::Node
- Fog::Compute::Libvirt::Nodes
- Fog::Compute::Libvirt::Pool
- Fog::Compute::Libvirt::Pools
- Fog::Compute::Libvirt::Real
- Fog::Compute::Libvirt::Server
- Fog::Compute::Libvirt::Servers
- Fog::Compute::Libvirt::Shared
- Fog::Compute::Libvirt::Volume
- Fog::Compute::Libvirt::Volumes
- Fog::Compute::LibvirtUtil
- Fog::Compute::LibvirtUtil::URI
- Fog::Compute::Linode
- Fog::Compute::Linode::DataCenter
- Fog::Compute::Linode::DataCenters
- Fog::Compute::Linode::Disk
- Fog::Compute::Linode::Disks
- Fog::Compute::Linode::Flavor
- Fog::Compute::Linode::Flavors
- Fog::Compute::Linode::Image
- Fog::Compute::Linode::Images
- Fog::Compute::Linode::Ip
- Fog::Compute::Linode::Ips
- Fog::Compute::Linode::Kernel
- Fog::Compute::Linode::Kernels
- Fog::Compute::Linode::Mock
- Fog::Compute::Linode::Real
- Fog::Compute::Linode::Server
- Fog::Compute::Linode::Servers
- Fog::Compute::Linode::StackScript
- Fog::Compute::Linode::StackScripts
- Fog::Compute::Ninefold
- Fog::Compute::Ninefold::Address
- Fog::Compute::Ninefold::Addresses
- Fog::Compute::Ninefold::Flavor
- Fog::Compute::Ninefold::Flavors
- Fog::Compute::Ninefold::Image
- Fog::Compute::Ninefold::Images
- Fog::Compute::Ninefold::IpForwardingRule
- Fog::Compute::Ninefold::IpForwardingRules
- Fog::Compute::Ninefold::Mock
- Fog::Compute::Ninefold::Real
- Fog::Compute::Ninefold::Server
- Fog::Compute::Ninefold::Servers
- Fog::Compute::OpenStack
- Fog::Compute::OpenStack::Address
- Fog::Compute::OpenStack::Addresses
- Fog::Compute::OpenStack::Flavor
- Fog::Compute::OpenStack::Flavors
- Fog::Compute::OpenStack::Host
- Fog::Compute::OpenStack::Hosts
- Fog::Compute::OpenStack::Image
- Fog::Compute::OpenStack::Images
- Fog::Compute::OpenStack::KeyPair
- Fog::Compute::OpenStack::KeyPairs
- Fog::Compute::OpenStack::MetaParent
- Fog::Compute::OpenStack::Metadata
- Fog::Compute::OpenStack::Metadatum
- Fog::Compute::OpenStack::Mock
- Fog::Compute::OpenStack::Network
- Fog::Compute::OpenStack::Networks
- Fog::Compute::OpenStack::Real
- Fog::Compute::OpenStack::SecurityGroup
- Fog::Compute::OpenStack::SecurityGroups
- Fog::Compute::OpenStack::Server
- Fog::Compute::OpenStack::Servers
- Fog::Compute::OpenStack::Snapshot
- Fog::Compute::OpenStack::Snapshots
- Fog::Compute::OpenStack::Tenant
- Fog::Compute::OpenStack::Tenants
- Fog::Compute::OpenStack::Volume
- Fog::Compute::OpenStack::Volumes
- Fog::Compute::Openvz
- Fog::Compute::Openvz::Mock
- Fog::Compute::Openvz::Real
- Fog::Compute::Openvz::Server
- Fog::Compute::Openvz::Servers
- Fog::Compute::Ovirt
- Fog::Compute::Ovirt::Cluster
- Fog::Compute::Ovirt::Clusters
- Fog::Compute::Ovirt::Interface
- Fog::Compute::Ovirt::Interfaces
- Fog::Compute::Ovirt::Mock
- Fog::Compute::Ovirt::Quota
- Fog::Compute::Ovirt::Quotas
- Fog::Compute::Ovirt::Real
- Fog::Compute::Ovirt::Server
- Fog::Compute::Ovirt::Servers
- Fog::Compute::Ovirt::Shared
- Fog::Compute::Ovirt::Template
- Fog::Compute::Ovirt::Templates
- Fog::Compute::Ovirt::Volume
- Fog::Compute::Ovirt::Volumes
- Fog::Compute::Rackspace
- Fog::Compute::Rackspace::Flavor
- Fog::Compute::Rackspace::Flavors
- Fog::Compute::Rackspace::Image
- Fog::Compute::Rackspace::Images
- Fog::Compute::Rackspace::Mock
- Fog::Compute::Rackspace::Real
- Fog::Compute::Rackspace::Server
- Fog::Compute::Rackspace::Servers
- Fog::Compute::RackspaceV2
- Fog::Compute::RackspaceV2::Attachment
- Fog::Compute::RackspaceV2::Attachments
- Fog::Compute::RackspaceV2::BadRequest
- Fog::Compute::RackspaceV2::Flavor
- Fog::Compute::RackspaceV2::Flavors
- Fog::Compute::RackspaceV2::Image
- Fog::Compute::RackspaceV2::Images
- Fog::Compute::RackspaceV2::InternalServerError
- Fog::Compute::RackspaceV2::InvalidImageStateException
- Fog::Compute::RackspaceV2::InvalidServerStateException
- Fog::Compute::RackspaceV2::InvalidStateException
- Fog::Compute::RackspaceV2::MetaParent
- Fog::Compute::RackspaceV2::Metadata
- Fog::Compute::RackspaceV2::Metadatum
- Fog::Compute::RackspaceV2::Mock
- Fog::Compute::RackspaceV2::Network
- Fog::Compute::RackspaceV2::Networks
- Fog::Compute::RackspaceV2::Real
- Fog::Compute::RackspaceV2::Server
- Fog::Compute::RackspaceV2::Servers
- Fog::Compute::RackspaceV2::ServiceError
- Fog::Compute::Server
- Fog::Compute::Serverlove
- Fog::Compute::Serverlove::Image
- Fog::Compute::Serverlove::Images
- Fog::Compute::Serverlove::Mock
- Fog::Compute::Serverlove::PasswordGenerator
- Fog::Compute::Serverlove::Real
- Fog::Compute::Serverlove::Server
- Fog::Compute::Serverlove::Servers
- Fog::Compute::StormOnDemand
- Fog::Compute::StormOnDemand::Config
- Fog::Compute::StormOnDemand::Configs
- Fog::Compute::StormOnDemand::Image
- Fog::Compute::StormOnDemand::Images
- Fog::Compute::StormOnDemand::Mock
- Fog::Compute::StormOnDemand::Notification
- Fog::Compute::StormOnDemand::Notifications
- Fog::Compute::StormOnDemand::Product
- Fog::Compute::StormOnDemand::Products
- Fog::Compute::StormOnDemand::Real
- Fog::Compute::StormOnDemand::Server
- Fog::Compute::StormOnDemand::Servers
- Fog::Compute::StormOnDemand::Template
- Fog::Compute::StormOnDemand::Templates
- Fog::Compute::Vmfusion
- Fog::Compute::Vmfusion::Mock
- Fog::Compute::Vmfusion::Real
- Fog::Compute::Vmfusion::Server
- Fog::Compute::Vmfusion::Servers
- Fog::Compute::Voxel
- Fog::Compute::Voxel::Image
- Fog::Compute::Voxel::Images
- Fog::Compute::Voxel::Mock
- Fog::Compute::Voxel::Real
- Fog::Compute::Voxel::Server
- Fog::Compute::Voxel::Servers
- Fog::Compute::Vsphere
- Fog::Compute::Vsphere::Cluster
- Fog::Compute::Vsphere::Clusters
- Fog::Compute::Vsphere::Customfield
- Fog::Compute::Vsphere::Customfields
- Fog::Compute::Vsphere::Customvalue
- Fog::Compute::Vsphere::Customvalues
- Fog::Compute::Vsphere::Datacenter
- Fog::Compute::Vsphere::Datacenters
- Fog::Compute::Vsphere::Datastore
- Fog::Compute::Vsphere::Datastores
- Fog::Compute::Vsphere::Folder
- Fog::Compute::Vsphere::Folders
- Fog::Compute::Vsphere::Interface
- Fog::Compute::Vsphere::Interfaces
- Fog::Compute::Vsphere::Mock
- Fog::Compute::Vsphere::Network
- Fog::Compute::Vsphere::Networks
- Fog::Compute::Vsphere::Real
- Fog::Compute::Vsphere::ResourcePool
- Fog::Compute::Vsphere::ResourcePools
- Fog::Compute::Vsphere::Server
- Fog::Compute::Vsphere::Servers
- Fog::Compute::Vsphere::Shared
- Fog::Compute::Vsphere::Template
- Fog::Compute::Vsphere::Templates
- Fog::Compute::Vsphere::Volume
- Fog::Compute::Vsphere::Volumes
- Fog::Compute::XenServer
- Fog::Compute::XenServer::GuestMetrics
- Fog::Compute::XenServer::Host
- Fog::Compute::XenServer::HostCpu
- Fog::Compute::XenServer::HostMetrics
- Fog::Compute::XenServer::Hosts
- Fog::Compute::XenServer::Mock
- Fog::Compute::XenServer::Network
- Fog::Compute::XenServer::Networks
- Fog::Compute::XenServer::PBD
- Fog::Compute::XenServer::PIF
- Fog::Compute::XenServer::Pbds
- Fog::Compute::XenServer::Pifs
- Fog::Compute::XenServer::Pool
- Fog::Compute::XenServer::Pools
- Fog::Compute::XenServer::Real
- Fog::Compute::XenServer::Server
- Fog::Compute::XenServer::Servers
- Fog::Compute::XenServer::StorageRepositories
- Fog::Compute::XenServer::StorageRepository
- Fog::Compute::XenServer::VBD
- Fog::Compute::XenServer::VDI
- Fog::Compute::XenServer::VIF
- Fog::Compute::XenServer::VLAN
- Fog::Compute::XenServer::VbdMetrics
- Fog::Compute::XenServer::Vbds
- Fog::Compute::XenServer::Vdis
- Fog::Compute::XenServer::Vifs
- Fog::Compute::XenServer::Vlans
- Fog::Connection
- Fog::Core
- Fog::Core::Connection
- Fog::Core::DeprecatedConnectionAccessors
- Fog::CurrentMachine
- Fog::DNS
- Fog::DNS::AWS
- Fog::DNS::AWS::Mock
- Fog::DNS::AWS::Real
- Fog::DNS::AWS::Record
- Fog::DNS::AWS::Records
- Fog::DNS::AWS::Zone
- Fog::DNS::AWS::Zones
- Fog::DNS::Bluebox
- Fog::DNS::Bluebox::Mock
- Fog::DNS::Bluebox::Real
- Fog::DNS::Bluebox::Record
- Fog::DNS::Bluebox::Records
- Fog::DNS::Bluebox::Zone
- Fog::DNS::Bluebox::Zones
- Fog::DNS::DNSMadeEasy
- Fog::DNS::DNSMadeEasy::Mock
- Fog::DNS::DNSMadeEasy::Real
- Fog::DNS::DNSMadeEasy::Record
- Fog::DNS::DNSMadeEasy::Records
- Fog::DNS::DNSMadeEasy::Zone
- Fog::DNS::DNSMadeEasy::Zones
- Fog::DNS::DNSimple
- Fog::DNS::DNSimple::Mock
- Fog::DNS::DNSimple::Real
- Fog::DNS::DNSimple::Record
- Fog::DNS::DNSimple::Records
- Fog::DNS::DNSimple::Zone
- Fog::DNS::DNSimple::Zones
- Fog::DNS::Dreamhost
- Fog::DNS::Dreamhost::Mock
- Fog::DNS::Dreamhost::Real
- Fog::DNS::Dreamhost::Record
- Fog::DNS::Dreamhost::Records
- Fog::DNS::Dreamhost::Zone
- Fog::DNS::Dreamhost::Zones
- Fog::DNS::Dynect
- Fog::DNS::Dynect::JobIncomplete
- Fog::DNS::Dynect::Mock
- Fog::DNS::Dynect::Real
- Fog::DNS::Dynect::Record
- Fog::DNS::Dynect::Records
- Fog::DNS::Dynect::Zone
- Fog::DNS::Dynect::Zones
- Fog::DNS::Linode
- Fog::DNS::Linode::Mock
- Fog::DNS::Linode::Real
- Fog::DNS::Linode::Record
- Fog::DNS::Linode::Records
- Fog::DNS::Linode::Zone
- Fog::DNS::Linode::Zones
- Fog::DNS::Rackspace
- Fog::DNS::Rackspace::BadRequest
- Fog::DNS::Rackspace::Callback
- Fog::DNS::Rackspace::CallbackError
- Fog::DNS::Rackspace::Conflict
- Fog::DNS::Rackspace::InternalServerError
- Fog::DNS::Rackspace::Mock
- Fog::DNS::Rackspace::Real
- Fog::DNS::Rackspace::Record
- Fog::DNS::Rackspace::Records
- Fog::DNS::Rackspace::ServiceError
- Fog::DNS::Rackspace::ServiceUnavailable
- Fog::DNS::Rackspace::Zone
- Fog::DNS::Rackspace::Zones
- Fog::DNS::StormOnDemand
- Fog::DNS::StormOnDemand::Domain
- Fog::DNS::StormOnDemand::Domains
- Fog::DNS::StormOnDemand::Mock
- Fog::DNS::StormOnDemand::Real
- Fog::DNS::StormOnDemand::Record
- Fog::DNS::StormOnDemand::Records
- Fog::DNS::StormOnDemand::Reverse
- Fog::DNS::StormOnDemand::Reverses
- Fog::DNS::StormOnDemand::Zone
- Fog::DNS::StormOnDemand::Zones
- Fog::DNS::Zerigo
- Fog::DNS::Zerigo::Mock
- Fog::DNS::Zerigo::Real
- Fog::DNS::Zerigo::Record
- Fog::DNS::Zerigo::Records
- Fog::DNS::Zerigo::Zone
- Fog::DNS::Zerigo::Zones
- Fog::DNSMadeEasy
- Fog::DNSimple
- Fog::Deprecation
- Fog::DigitalOcean
- Fog::Dreamhost
- Fog::Dynect
- Fog::Dynect::Mock
- Fog::Ecloud
- Fog::Ecloud::Collection
- Fog::Ecloud::MockDataClasses
- Fog::Ecloud::MockDataClasses::Base
- Fog::Ecloud::MockDataClasses::MockBackupInternetService
- Fog::Ecloud::MockDataClasses::MockCatalog
- Fog::Ecloud::MockDataClasses::MockCatalogItem
- Fog::Ecloud::MockDataClasses::MockCatalogItemCustomization
- Fog::Ecloud::MockDataClasses::MockCatalogItemVappTemplate
- Fog::Ecloud::MockDataClasses::MockData
- Fog::Ecloud::MockDataClasses::MockFirewallAcls
- Fog::Ecloud::MockDataClasses::MockNetwork
- Fog::Ecloud::MockDataClasses::MockNetworkExtensions
- Fog::Ecloud::MockDataClasses::MockNetworkIp
- Fog::Ecloud::MockDataClasses::MockNetworkIps
- Fog::Ecloud::MockDataClasses::MockOrganization
- Fog::Ecloud::MockDataClasses::MockPublicIp
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetService
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetServiceNode
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetServiceNodes
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetServices
- Fog::Ecloud::MockDataClasses::MockPublicIps
- Fog::Ecloud::MockDataClasses::MockTaskList
- Fog::Ecloud::MockDataClasses::MockVdc
- Fog::Ecloud::MockDataClasses::MockVdcInternetServices
- Fog::Ecloud::MockDataClasses::MockVersion
- Fog::Ecloud::MockDataClasses::MockVirtualMachine
- Fog::Ecloud::MockDataClasses::MockVirtualMachineDisk
- Fog::Ecloud::MockDataClasses::MockVirtualMachineDisks
- Fog::Ecloud::Model
- Fog::Errors
- Fog::Errors::Error
- Fog::Errors::LoadError
- Fog::Errors::MockNotImplemented
- Fog::Errors::NotFound
- Fog::Errors::NotImplemented
- Fog::Errors::TimeoutError
- Fog::Glesys
- Fog::GoGrid
- Fog::Google
- Fog::Google::Mock
- Fog::Google::Storage
- Fog::Google::Storage::Mock
- Fog::Google::Storage::Real
- Fog::HMAC
- Fog::HP
- Fog::HP::BlockStorage
- Fog::HP::BlockStorage::BootableVolumes
- Fog::HP::BlockStorage::Mock
- Fog::HP::BlockStorage::Real
- Fog::HP::BlockStorage::Snapshot
- Fog::HP::BlockStorage::Snapshots
- Fog::HP::BlockStorage::Utils
- Fog::HP::BlockStorage::Volume
- Fog::HP::BlockStorage::Volumes
- Fog::HP::Errors
- Fog::HP::Errors::BadRequest
- Fog::HP::Errors::Conflict
- Fog::HP::Errors::Forbidden
- Fog::HP::Errors::InternalServerError
- Fog::HP::Errors::NotFound
- Fog::HP::Errors::ServiceError
- Fog::HP::Errors::ServiceUnavailable
- Fog::HP::Mock
- Fog::IBM
- Fog::IBM::Connection
- Fog::IBM::Mock
- Fog::Identity
- Fog::Identity::OpenStack
- Fog::Identity::OpenStack::Ec2Credential
- Fog::Identity::OpenStack::Ec2Credentials
- Fog::Identity::OpenStack::Mock
- Fog::Identity::OpenStack::Real
- Fog::Identity::OpenStack::Role
- Fog::Identity::OpenStack::Roles
- Fog::Identity::OpenStack::Tenant
- Fog::Identity::OpenStack::Tenants
- Fog::Identity::OpenStack::User
- Fog::Identity::OpenStack::Users
- Fog::Image
- Fog::Image::OpenStack
- Fog::Image::OpenStack::Image
- Fog::Image::OpenStack::Images
- Fog::Image::OpenStack::Mock
- Fog::Image::OpenStack::Real
- Fog::InternetArchive
- Fog::InternetArchive::Mock
- Fog::InternetArchive::SignatureV4
- Fog::JSON
- Fog::Joyent
- Fog::Libvirt
- Fog::Linode
- Fog::Local
- Fog::Logger
- Fog::Metering
- Fog::Metering::OpenStack
- Fog::Metering::OpenStack::Mock
- Fog::Metering::OpenStack::Real
- Fog::Metering::OpenStack::Resource
- Fog::Metering::OpenStack::Resources
- Fog::Mock
- Fog::Model
- Fog::Monitoring
- Fog::Monitoring::StormOnDemand
- Fog::Monitoring::StormOnDemand::Bandwidth
- Fog::Monitoring::StormOnDemand::Bandwidths
- Fog::Monitoring::StormOnDemand::Load
- Fog::Monitoring::StormOnDemand::Loads
- Fog::Monitoring::StormOnDemand::Mock
- Fog::Monitoring::StormOnDemand::MonitorService
- Fog::Monitoring::StormOnDemand::MonitorServices
- Fog::Monitoring::StormOnDemand::Real
- Fog::Network
- Fog::Network::OpenStack
- Fog::Network::OpenStack::FloatingIp
- Fog::Network::OpenStack::FloatingIps
- Fog::Network::OpenStack::LbHealthMonitor
- Fog::Network::OpenStack::LbHealthMonitors
- Fog::Network::OpenStack::LbMember
- Fog::Network::OpenStack::LbMembers
- Fog::Network::OpenStack::LbPool
- Fog::Network::OpenStack::LbPools
- Fog::Network::OpenStack::LbVip
- Fog::Network::OpenStack::LbVips
- Fog::Network::OpenStack::Mock
- Fog::Network::OpenStack::Network
- Fog::Network::OpenStack::Networks
- Fog::Network::OpenStack::Port
- Fog::Network::OpenStack::Ports
- Fog::Network::OpenStack::Real
- Fog::Network::OpenStack::Router
- Fog::Network::OpenStack::Routers
- Fog::Network::OpenStack::Subnet
- Fog::Network::OpenStack::Subnets
- Fog::Network::StormOnDemand
- Fog::Network::StormOnDemand::Balancer
- Fog::Network::StormOnDemand::Balancers
- Fog::Network::StormOnDemand::Firewall
- Fog::Network::StormOnDemand::Firewalls
- Fog::Network::StormOnDemand::Mock
- Fog::Network::StormOnDemand::NetworkIP
- Fog::Network::StormOnDemand::NetworkIPs
- Fog::Network::StormOnDemand::Pool
- Fog::Network::StormOnDemand::Pools
- Fog::Network::StormOnDemand::PrivateIp
- Fog::Network::StormOnDemand::PrivateIps
- Fog::Network::StormOnDemand::Real
- Fog::Network::StormOnDemand::Ruleset
- Fog::Network::StormOnDemand::Rulesets
- Fog::Network::StormOnDemand::Zone
- Fog::Network::StormOnDemand::Zones
- Fog::Ninefold
- Fog::OpenStack
- Fog::OpenStack::Errors
- Fog::OpenStack::Errors::BadRequest
- Fog::OpenStack::Errors::ServiceError
- Fog::OpenStack::Errors::ServiceUnavailable
- Fog::Openvz
- Fog::Ovirt
- Fog::Ovirt::Errors
- Fog::Ovirt::Errors::NotFound
- Fog::Ovirt::Errors::SecurityError
- Fog::Ovirt::Errors::ServiceError
- Fog::Parsers
- Fog::Parsers::AWS
- Fog::Parsers::AWS::AutoScaling
- Fog::Parsers::AWS::AutoScaling::Basic
- Fog::Parsers::AWS::AutoScaling::DescribeAdjustmentTypes
- Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingGroups
- Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingInstances
- Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingNotificationTypes
- Fog::Parsers::AWS::AutoScaling::DescribeLaunchConfigurations
- Fog::Parsers::AWS::AutoScaling::DescribeMetricCollectionTypes
- Fog::Parsers::AWS::AutoScaling::DescribeNotificationConfigurations
- Fog::Parsers::AWS::AutoScaling::DescribePolicies
- Fog::Parsers::AWS::AutoScaling::DescribeScalingActivities
- Fog::Parsers::AWS::AutoScaling::DescribeScalingProcessTypes
- Fog::Parsers::AWS::AutoScaling::DescribeScheduledActions
- Fog::Parsers::AWS::AutoScaling::DescribeTags
- Fog::Parsers::AWS::AutoScaling::DescribeTerminationPolicyTypes
- Fog::Parsers::AWS::AutoScaling::PutNotificationConfiguration
- Fog::Parsers::AWS::AutoScaling::PutScalingPolicy
- Fog::Parsers::AWS::AutoScaling::TerminateInstanceInAutoScalingGroup
- Fog::Parsers::AWS::CloudFormation
- Fog::Parsers::AWS::CloudFormation::Basic
- Fog::Parsers::AWS::CloudFormation::CreateStack
- Fog::Parsers::AWS::CloudFormation::DescribeStackEvents
- Fog::Parsers::AWS::CloudFormation::DescribeStackResources
- Fog::Parsers::AWS::CloudFormation::DescribeStacks
- Fog::Parsers::AWS::CloudFormation::GetTemplate
- Fog::Parsers::AWS::CloudFormation::ListStackResources
- Fog::Parsers::AWS::CloudFormation::ListStacks
- Fog::Parsers::AWS::CloudFormation::UpdateStack
- Fog::Parsers::AWS::CloudFormation::ValidateTemplate
- Fog::Parsers::AWS::CloudWatch
- Fog::Parsers::AWS::CloudWatch::DeleteAlarms
- Fog::Parsers::AWS::CloudWatch::DescribeAlarmHistory
- Fog::Parsers::AWS::CloudWatch::DescribeAlarms
- Fog::Parsers::AWS::CloudWatch::DescribeAlarmsForMetric
- Fog::Parsers::AWS::CloudWatch::DisableAlarmActions
- Fog::Parsers::AWS::CloudWatch::EnableAlarmActions
- Fog::Parsers::AWS::CloudWatch::GetMetricStatistics
- Fog::Parsers::AWS::CloudWatch::ListMetrics
- Fog::Parsers::AWS::CloudWatch::PutMetricAlarm
- Fog::Parsers::AWS::CloudWatch::PutMetricData
- Fog::Parsers::AWS::CloudWatch::SetAlarmState
- Fog::Parsers::AWS::ELB
- Fog::Parsers::AWS::ELB::ApplySecurityGroupsToLoadBalancer
- Fog::Parsers::AWS::ELB::AttachLoadBalancerToSubnets
- Fog::Parsers::AWS::ELB::ConfigureHealthCheck
- Fog::Parsers::AWS::ELB::CreateLoadBalancer
- Fog::Parsers::AWS::ELB::DeleteLoadBalancer
- Fog::Parsers::AWS::ELB::DeregisterInstancesFromLoadBalancer
- Fog::Parsers::AWS::ELB::DescribeInstanceHealth
- Fog::Parsers::AWS::ELB::DescribeLoadBalancerPolicies
- Fog::Parsers::AWS::ELB::DescribeLoadBalancerPolicyTypes
- Fog::Parsers::AWS::ELB::DescribeLoadBalancers
- Fog::Parsers::AWS::ELB::DetachLoadBalancerFromSubnets
- Fog::Parsers::AWS::ELB::DisableAvailabilityZonesForLoadBalancer
- Fog::Parsers::AWS::ELB::Empty
- Fog::Parsers::AWS::ELB::EnableAvailabilityZonesForLoadBalancer
- Fog::Parsers::AWS::ELB::RegisterInstancesWithLoadBalancer
- Fog::Parsers::AWS::EMR
- Fog::Parsers::AWS::EMR::AddInstanceGroups
- Fog::Parsers::AWS::EMR::AddJobFlowSteps
- Fog::Parsers::AWS::EMR::DescribeJobFlows
- Fog::Parsers::AWS::EMR::ModifyInstanceGroups
- Fog::Parsers::AWS::EMR::RunJobFlow
- Fog::Parsers::AWS::EMR::SetTerminationProtection
- Fog::Parsers::AWS::EMR::TerminateJobFlows
- Fog::Parsers::AWS::ElasticBeanstalk
- Fog::Parsers::AWS::ElasticBeanstalk::BaseParser
- Fog::Parsers::AWS::ElasticBeanstalk::CheckDNSAvailability
- Fog::Parsers::AWS::ElasticBeanstalk::CreateApplication
- Fog::Parsers::AWS::ElasticBeanstalk::CreateApplicationVersion
- Fog::Parsers::AWS::ElasticBeanstalk::CreateConfigurationTemplate
- Fog::Parsers::AWS::ElasticBeanstalk::CreateEnvironment
- Fog::Parsers::AWS::ElasticBeanstalk::CreateStorageLocation
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeApplicationVersions
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeApplications
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeConfigurationOptions
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeConfigurationSettings
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeEnvironmentResources
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeEnvironments
- Fog::Parsers::AWS::ElasticBeanstalk::DescribeEvents
- Fog::Parsers::AWS::ElasticBeanstalk::Empty
- Fog::Parsers::AWS::ElasticBeanstalk::ListAvailableSolutionStacks
- Fog::Parsers::AWS::ElasticBeanstalk::RetrieveEnvironmentInfo
- Fog::Parsers::AWS::ElasticBeanstalk::TerminateEnvironment
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateApplication
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateApplicationVersion
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateConfigurationTemplate
- Fog::Parsers::AWS::ElasticBeanstalk::UpdateEnvironment
- Fog::Parsers::AWS::ElasticBeanstalk::ValidateConfigurationSettings
- Fog::Parsers::AWS::Elasticache
- Fog::Parsers::AWS::Elasticache::AuthorizeCacheSecurityGroupIngress
- Fog::Parsers::AWS::Elasticache::Base
- Fog::Parsers::AWS::Elasticache::CacheClusterParser
- Fog::Parsers::AWS::Elasticache::DescribeCacheClusters
- Fog::Parsers::AWS::Elasticache::DescribeCacheParameters
- Fog::Parsers::AWS::Elasticache::DescribeEngineDefaultParameters
- Fog::Parsers::AWS::Elasticache::DescribeParameterGroups
- Fog::Parsers::AWS::Elasticache::DescribeReservedCacheNodes
- Fog::Parsers::AWS::Elasticache::DescribeSecurityGroups
- Fog::Parsers::AWS::Elasticache::EngineDefaultsParser
- Fog::Parsers::AWS::Elasticache::EventListParser
- Fog::Parsers::AWS::Elasticache::ModifyParameterGroup
- Fog::Parsers::AWS::Elasticache::ParameterGroupParser
- Fog::Parsers::AWS::Elasticache::ResetParameterGroup
- Fog::Parsers::AWS::Elasticache::SecurityGroupParser
- Fog::Parsers::AWS::Elasticache::SingleCacheCluster
- Fog::Parsers::AWS::Elasticache::SingleParameterGroup
- Fog::Parsers::AWS::Elasticache::SingleSecurityGroup
- Fog::Parsers::AWS::IAM
- Fog::Parsers::AWS::IAM::BaseInstanceProfile
- Fog::Parsers::AWS::IAM::Basic
- Fog::Parsers::AWS::IAM::CreateAccessKey
- Fog::Parsers::AWS::IAM::CreateGroup
- Fog::Parsers::AWS::IAM::CreateUser
- Fog::Parsers::AWS::IAM::GetGroup
- Fog::Parsers::AWS::IAM::GetGroupPolicy
- Fog::Parsers::AWS::IAM::GetRolePolicy
- Fog::Parsers::AWS::IAM::GetUser
- Fog::Parsers::AWS::IAM::GetUserPolicy
- Fog::Parsers::AWS::IAM::InstanceProfile
- Fog::Parsers::AWS::IAM::ListAccessKeys
- Fog::Parsers::AWS::IAM::ListAccountAliases
- Fog::Parsers::AWS::IAM::ListGroups
- Fog::Parsers::AWS::IAM::ListGroupsForUser
- Fog::Parsers::AWS::IAM::ListInstanceProfiles
- Fog::Parsers::AWS::IAM::ListPolicies
- Fog::Parsers::AWS::IAM::ListRoles
- Fog::Parsers::AWS::IAM::ListServerCertificates
- Fog::Parsers::AWS::IAM::ListSigningCertificates
- Fog::Parsers::AWS::IAM::ListUsers
- Fog::Parsers::AWS::IAM::LoginProfile
- Fog::Parsers::AWS::IAM::RoleParser
- Fog::Parsers::AWS::IAM::SingleRole
- Fog::Parsers::AWS::IAM::UpdateGroup
- Fog::Parsers::AWS::IAM::UpdateUser
- Fog::Parsers::AWS::IAM::UploadServerCertificate
- Fog::Parsers::AWS::IAM::UploadSigningCertificate
- Fog::Parsers::AWS::RDS
- Fog::Parsers::AWS::RDS::AuthorizeDBSecurityGroupIngress
- Fog::Parsers::AWS::RDS::Base
- Fog::Parsers::AWS::RDS::CreateDBInstance
- Fog::Parsers::AWS::RDS::CreateDBInstanceReadReplica
- Fog::Parsers::AWS::RDS::CreateDBSecurityGroup
- Fog::Parsers::AWS::RDS::CreateDBSnapshot
- Fog::Parsers::AWS::RDS::CreateDBSubnetGroup
- Fog::Parsers::AWS::RDS::CreateDbParameterGroup
- Fog::Parsers::AWS::RDS::DBEngineVersionParser
- Fog::Parsers::AWS::RDS::DbParser
- Fog::Parsers::AWS::RDS::DeleteDBInstance
- Fog::Parsers::AWS::RDS::DeleteDBSecurityGroup
- Fog::Parsers::AWS::RDS::DeleteDBSnapshot
- Fog::Parsers::AWS::RDS::DeleteDbParameterGroup
- Fog::Parsers::AWS::RDS::DescribeDBEngineVersions
- Fog::Parsers::AWS::RDS::DescribeDBInstances
- Fog::Parsers::AWS::RDS::DescribeDBLogFiles
- Fog::Parsers::AWS::RDS::DescribeDBParameterGroups
- Fog::Parsers::AWS::RDS::DescribeDBParameters
- Fog::Parsers::AWS::RDS::DescribeDBReservedInstances
- Fog::Parsers::AWS::RDS::DescribeDBSecurityGroups
- Fog::Parsers::AWS::RDS::DescribeDBSnapshots
- Fog::Parsers::AWS::RDS::DescribeDBSubnetGroups
- Fog::Parsers::AWS::RDS::DownloadDBLogFilePortion
- Fog::Parsers::AWS::RDS::EventListParser
- Fog::Parsers::AWS::RDS::ModifyDBInstance
- Fog::Parsers::AWS::RDS::ModifyDbParameterGroup
- Fog::Parsers::AWS::RDS::RebootDBInstance
- Fog::Parsers::AWS::RDS::RestoreDBInstanceFromDBSnapshot
- Fog::Parsers::AWS::RDS::RestoreDBInstanceToPointInTime
- Fog::Parsers::AWS::RDS::RevokeDBSecurityGroupIngress
- Fog::Parsers::AWS::RDS::SecurityGroupParser
- Fog::Parsers::AWS::RDS::SnapshotParser
- Fog::Parsers::AWS::RDS::SubnetGroupParser
- Fog::Parsers::AWS::RDS::TagListParser
- Fog::Parsers::AWS::SES
- Fog::Parsers::AWS::SES::DeleteVerifiedEmailAddress
- Fog::Parsers::AWS::SES::GetSendQuota
- Fog::Parsers::AWS::SES::GetSendStatistics
- Fog::Parsers::AWS::SES::ListVerifiedEmailAddresses
- Fog::Parsers::AWS::SES::SendEmail
- Fog::Parsers::AWS::SES::SendRawEmail
- Fog::Parsers::AWS::SES::VerifyDomainIdentity
- Fog::Parsers::AWS::SES::VerifyEmailAddress
- Fog::Parsers::AWS::SNS
- Fog::Parsers::AWS::SNS::AddPermission
- Fog::Parsers::AWS::SNS::ConfirmSubscription
- Fog::Parsers::AWS::SNS::CreateTopic
- Fog::Parsers::AWS::SNS::DeleteTopic
- Fog::Parsers::AWS::SNS::GetTopicAttributes
- Fog::Parsers::AWS::SNS::ListSubscriptions
- Fog::Parsers::AWS::SNS::ListTopics
- Fog::Parsers::AWS::SNS::Publish
- Fog::Parsers::AWS::SNS::RemovePermission
- Fog::Parsers::AWS::SNS::SetTopicAttributes
- Fog::Parsers::AWS::SNS::Subscribe
- Fog::Parsers::AWS::SNS::Unsubscribe
- Fog::Parsers::AWS::SQS
- Fog::Parsers::AWS::SQS::Basic
- Fog::Parsers::AWS::SQS::CreateQueue
- Fog::Parsers::AWS::SQS::GetQueueAttributes
- Fog::Parsers::AWS::SQS::ListQueues
- Fog::Parsers::AWS::SQS::ReceiveMessage
- Fog::Parsers::AWS::SQS::SendMessage
- Fog::Parsers::AWS::STS
- Fog::Parsers::AWS::STS::AssumeRole
- Fog::Parsers::AWS::STS::GetSessionToken
- Fog::Parsers::AWS::SimpleDB
- Fog::Parsers::AWS::SimpleDB::Basic
- Fog::Parsers::AWS::SimpleDB::DomainMetadata
- Fog::Parsers::AWS::SimpleDB::GetAttributes
- Fog::Parsers::AWS::SimpleDB::ListDomains
- Fog::Parsers::AWS::SimpleDB::Select
- Fog::Parsers::Base
- Fog::Parsers::CDN
- Fog::Parsers::CDN::AWS
- Fog::Parsers::CDN::AWS::Distribution
- Fog::Parsers::CDN::AWS::GetDistributionList
- Fog::Parsers::CDN::AWS::GetInvalidation
- Fog::Parsers::CDN::AWS::GetInvalidationList
- Fog::Parsers::CDN::AWS::GetStreamingDistributionList
- Fog::Parsers::CDN::AWS::PostInvalidation
- Fog::Parsers::CDN::AWS::StreamingDistribution
- Fog::Parsers::Compute
- Fog::Parsers::Compute::AWS
- Fog::Parsers::Compute::AWS::AllocateAddress
- Fog::Parsers::Compute::AWS::AssociateAddress
- Fog::Parsers::Compute::AWS::AssociateDhcpOptions
- Fog::Parsers::Compute::AWS::AttachInternetGateway
- Fog::Parsers::Compute::AWS::AttachNetworkInterface
- Fog::Parsers::Compute::AWS::AttachVolume
- Fog::Parsers::Compute::AWS::Basic
- Fog::Parsers::Compute::AWS::CancelSpotInstanceRequests
- Fog::Parsers::Compute::AWS::CopyImage
- Fog::Parsers::Compute::AWS::CopySnapshot
- Fog::Parsers::Compute::AWS::CreateDhcpOptions
- Fog::Parsers::Compute::AWS::CreateImage
- Fog::Parsers::Compute::AWS::CreateInternetGateway
- Fog::Parsers::Compute::AWS::CreateKeyPair
- Fog::Parsers::Compute::AWS::CreateNetworkInterface
- Fog::Parsers::Compute::AWS::CreateSecurityGroup
- Fog::Parsers::Compute::AWS::CreateSnapshot
- Fog::Parsers::Compute::AWS::CreateSubnet
- Fog::Parsers::Compute::AWS::CreateVolume
- Fog::Parsers::Compute::AWS::CreateVpc
- Fog::Parsers::Compute::AWS::DeleteDhcpOptions
- Fog::Parsers::Compute::AWS::DeleteInternetGateway
- Fog::Parsers::Compute::AWS::DeleteNetworkInterface
- Fog::Parsers::Compute::AWS::DeleteSubnet
- Fog::Parsers::Compute::AWS::DeleteVpc
- Fog::Parsers::Compute::AWS::DeregisterImage
- Fog::Parsers::Compute::AWS::DescribeAddresses
- Fog::Parsers::Compute::AWS::DescribeAvailabilityZones
- Fog::Parsers::Compute::AWS::DescribeDhcpOptions
- Fog::Parsers::Compute::AWS::DescribeImages
- Fog::Parsers::Compute::AWS::DescribeInstanceStatus
- Fog::Parsers::Compute::AWS::DescribeInstances
- Fog::Parsers::Compute::AWS::DescribeInternetGateways
- Fog::Parsers::Compute::AWS::DescribeKeyPairs
- Fog::Parsers::Compute::AWS::DescribeNetworkInterfaceAttribute
- Fog::Parsers::Compute::AWS::DescribeNetworkInterfaces
- Fog::Parsers::Compute::AWS::DescribePlacementGroups
- Fog::Parsers::Compute::AWS::DescribeRegions
- Fog::Parsers::Compute::AWS::DescribeReservedInstances
- Fog::Parsers::Compute::AWS::DescribeReservedInstancesOfferings
- Fog::Parsers::Compute::AWS::DescribeSecurityGroups
- Fog::Parsers::Compute::AWS::DescribeSnapshots
- Fog::Parsers::Compute::AWS::DescribeSpotPriceHistory
- Fog::Parsers::Compute::AWS::DescribeSubnets
- Fog::Parsers::Compute::AWS::DescribeTags
- Fog::Parsers::Compute::AWS::DescribeVolumeStatus
- Fog::Parsers::Compute::AWS::DescribeVolumes
- Fog::Parsers::Compute::AWS::DescribeVpcs
- Fog::Parsers::Compute::AWS::DetachInternetGateway
- Fog::Parsers::Compute::AWS::DetachNetworkInterface
- Fog::Parsers::Compute::AWS::DetachVolume
- Fog::Parsers::Compute::AWS::GetConsoleOutput
- Fog::Parsers::Compute::AWS::GetPasswordData
- Fog::Parsers::Compute::AWS::ImportKeyPair
- Fog::Parsers::Compute::AWS::MonitorUnmonitorInstances
- Fog::Parsers::Compute::AWS::NetworkInterfaceParser
- Fog::Parsers::Compute::AWS::PurchaseReservedInstancesOffering
- Fog::Parsers::Compute::AWS::RegisterImage
- Fog::Parsers::Compute::AWS::RunInstances
- Fog::Parsers::Compute::AWS::SpotDatafeedSubscription
- Fog::Parsers::Compute::AWS::SpotInstanceRequests
- Fog::Parsers::Compute::AWS::StartStopInstances
- Fog::Parsers::Compute::AWS::TerminateInstances
- Fog::Parsers::Compute::Voxel
- Fog::Parsers::Compute::Voxel::Basic
- Fog::Parsers::Compute::Voxel::DevicesList
- Fog::Parsers::Compute::Voxel::ImagesList
- Fog::Parsers::Compute::Voxel::VoxcloudCreate
- Fog::Parsers::Compute::Voxel::VoxcloudDelete
- Fog::Parsers::Compute::Voxel::VoxcloudStatus
- Fog::Parsers::DNS
- Fog::Parsers::DNS::AWS
- Fog::Parsers::DNS::AWS::ChangeResourceRecordSets
- Fog::Parsers::DNS::AWS::CreateHostedZone
- Fog::Parsers::DNS::AWS::DeleteHostedZone
- Fog::Parsers::DNS::AWS::GetChange
- Fog::Parsers::DNS::AWS::GetHostedZone
- Fog::Parsers::DNS::AWS::ListHostedZones
- Fog::Parsers::DNS::AWS::ListResourceRecordSets
- Fog::Parsers::DNS::Bluebox
- Fog::Parsers::DNS::Bluebox::CreateRecord
- Fog::Parsers::DNS::Bluebox::CreateZone
- Fog::Parsers::DNS::Bluebox::GetRecord
- Fog::Parsers::DNS::Bluebox::GetRecords
- Fog::Parsers::DNS::Bluebox::GetZone
- Fog::Parsers::DNS::Bluebox::GetZones
- Fog::Parsers::DNS::Zerigo
- Fog::Parsers::DNS::Zerigo::CountHosts
- Fog::Parsers::DNS::Zerigo::CountZones
- Fog::Parsers::DNS::Zerigo::CreateHost
- Fog::Parsers::DNS::Zerigo::CreateZone
- Fog::Parsers::DNS::Zerigo::FindHosts
- Fog::Parsers::DNS::Zerigo::GetHost
- Fog::Parsers::DNS::Zerigo::GetZone
- Fog::Parsers::DNS::Zerigo::GetZoneStats
- Fog::Parsers::DNS::Zerigo::ListHosts
- Fog::Parsers::DNS::Zerigo::ListZones
- Fog::Parsers::Storage
- Fog::Parsers::Storage::AWS
- Fog::Parsers::Storage::AWS::AccessControlList
- Fog::Parsers::Storage::AWS::CompleteMultipartUpload
- Fog::Parsers::Storage::AWS::CopyObject
- Fog::Parsers::Storage::AWS::CorsConfiguration
- Fog::Parsers::Storage::AWS::DeleteMultipleObjects
- Fog::Parsers::Storage::AWS::GetBucket
- Fog::Parsers::Storage::AWS::GetBucketLifecycle
- Fog::Parsers::Storage::AWS::GetBucketLocation
- Fog::Parsers::Storage::AWS::GetBucketLogging
- Fog::Parsers::Storage::AWS::GetBucketObjectVersions
- Fog::Parsers::Storage::AWS::GetBucketVersioning
- Fog::Parsers::Storage::AWS::GetBucketWebsite
- Fog::Parsers::Storage::AWS::GetRequestPayment
- Fog::Parsers::Storage::AWS::GetService
- Fog::Parsers::Storage::AWS::InitiateMultipartUpload
- Fog::Parsers::Storage::AWS::ListMultipartUploads
- Fog::Parsers::Storage::AWS::ListParts
- Fog::Parsers::Storage::Google
- Fog::Parsers::Storage::Google::AccessControlList
- Fog::Parsers::Storage::Google::CopyObject
- Fog::Parsers::Storage::Google::GetBucket
- Fog::Parsers::Storage::Google::GetBucketObjectVersions
- Fog::Parsers::Storage::Google::GetBucketVersioning
- Fog::Parsers::Storage::Google::GetRequestPayment
- Fog::Parsers::Storage::Google::GetService
- Fog::Parsers::Storage::InternetArchive
- Fog::Parsers::Storage::InternetArchive::AccessControlList
- Fog::Parsers::Storage::InternetArchive::CompleteMultipartUpload
- Fog::Parsers::Storage::InternetArchive::CopyObject
- Fog::Parsers::Storage::InternetArchive::CorsConfiguration
- Fog::Parsers::Storage::InternetArchive::DeleteMultipleObjects
- Fog::Parsers::Storage::InternetArchive::GetBucket
- Fog::Parsers::Storage::InternetArchive::GetBucketLifecycle
- Fog::Parsers::Storage::InternetArchive::GetBucketLocation
- Fog::Parsers::Storage::InternetArchive::GetBucketLogging
- Fog::Parsers::Storage::InternetArchive::GetBucketWebsite
- Fog::Parsers::Storage::InternetArchive::GetRequestPayment
- Fog::Parsers::Storage::InternetArchive::GetService
- Fog::Parsers::Storage::InternetArchive::InitiateMultipartUpload
- Fog::Parsers::Storage::InternetArchive::ListMultipartUploads
- Fog::Parsers::Storage::InternetArchive::ListParts
- Fog::Parsers::Terremark
- Fog::Parsers::Terremark::Shared
- Fog::Parsers::Terremark::Shared::GetCatalog
- Fog::Parsers::Terremark::Shared::GetCatalogItem
- Fog::Parsers::Terremark::Shared::GetInternetServices
- Fog::Parsers::Terremark::Shared::GetKeysList
- Fog::Parsers::Terremark::Shared::GetNetworkIps
- Fog::Parsers::Terremark::Shared::GetNodeServices
- Fog::Parsers::Terremark::Shared::GetOrganization
- Fog::Parsers::Terremark::Shared::GetOrganizations
- Fog::Parsers::Terremark::Shared::GetPublicIps
- Fog::Parsers::Terremark::Shared::GetTasksList
- Fog::Parsers::Terremark::Shared::GetVappTemplate
- Fog::Parsers::Terremark::Shared::GetVdc
- Fog::Parsers::Terremark::Shared::InstantiateVappTemplate
- Fog::Parsers::Terremark::Shared::InternetService
- Fog::Parsers::Terremark::Shared::Network
- Fog::Parsers::Terremark::Shared::NodeService
- Fog::Parsers::Terremark::Shared::PublicIp
- Fog::Parsers::Terremark::Shared::Task
- Fog::Parsers::Terremark::Shared::Vapp
- Fog::Parsers::XenServer
- Fog::Parsers::XenServer::Base
- Fog::Parsers::XenServer::GetHosts
- Fog::Parsers::XenServer::GetNetworks
- Fog::Parsers::XenServer::GetPools
- Fog::Parsers::XenServer::GetRecords
- Fog::Parsers::XenServer::GetStorageRepositories
- Fog::Parsers::XenServer::GetVBDs
- Fog::Parsers::XenServer::GetVIFs
- Fog::Parsers::XenServer::GetVms
- Fog::Provider
- Fog::Rackspace
- Fog::Rackspace::BlockStorage
- Fog::Rackspace::BlockStorage::BadRequest
- Fog::Rackspace::BlockStorage::IdentifierTaken
- Fog::Rackspace::BlockStorage::InternalServerError
- Fog::Rackspace::BlockStorage::Mock
- Fog::Rackspace::BlockStorage::Real
- Fog::Rackspace::BlockStorage::ServiceError
- Fog::Rackspace::BlockStorage::Snapshot
- Fog::Rackspace::BlockStorage::Snapshots
- Fog::Rackspace::BlockStorage::Volume
- Fog::Rackspace::BlockStorage::VolumeType
- Fog::Rackspace::BlockStorage::VolumeTypes
- Fog::Rackspace::BlockStorage::Volumes
- Fog::Rackspace::Databases
- Fog::Rackspace::Databases::BadRequest
- Fog::Rackspace::Databases::Database
- Fog::Rackspace::Databases::Databases
- Fog::Rackspace::Databases::Flavor
- Fog::Rackspace::Databases::Flavors
- Fog::Rackspace::Databases::Instance
- Fog::Rackspace::Databases::Instances
- Fog::Rackspace::Databases::InternalServerError
- Fog::Rackspace::Databases::Mock
- Fog::Rackspace::Databases::Real
- Fog::Rackspace::Databases::ServiceError
- Fog::Rackspace::Databases::User
- Fog::Rackspace::Databases::Users
- Fog::Rackspace::Errors
- Fog::Rackspace::Errors::BadRequest
- Fog::Rackspace::Errors::Conflict
- Fog::Rackspace::Errors::InternalServerError
- Fog::Rackspace::Errors::ServiceError
- Fog::Rackspace::Errors::ServiceUnavailable
- Fog::Rackspace::Identity
- Fog::Rackspace::Identity::Credential
- Fog::Rackspace::Identity::Credentials
- Fog::Rackspace::Identity::Mock
- Fog::Rackspace::Identity::Real
- Fog::Rackspace::Identity::Role
- Fog::Rackspace::Identity::Roles
- Fog::Rackspace::Identity::ServiceCatalog
- Fog::Rackspace::Identity::Tenant
- Fog::Rackspace::Identity::Tenants
- Fog::Rackspace::Identity::User
- Fog::Rackspace::Identity::Users
- Fog::Rackspace::LoadBalancers
- Fog::Rackspace::LoadBalancers::AccessRule
- Fog::Rackspace::LoadBalancers::AccessRules
- Fog::Rackspace::LoadBalancers::BadRequest
- Fog::Rackspace::LoadBalancers::InternalServerError
- Fog::Rackspace::LoadBalancers::LoadBalancer
- Fog::Rackspace::LoadBalancers::LoadBalancers
- Fog::Rackspace::LoadBalancers::Mock
- Fog::Rackspace::LoadBalancers::Node
- Fog::Rackspace::LoadBalancers::Nodes
- Fog::Rackspace::LoadBalancers::Real
- Fog::Rackspace::LoadBalancers::ServiceError
- Fog::Rackspace::LoadBalancers::Shared
- Fog::Rackspace::LoadBalancers::VirtualIp
- Fog::Rackspace::LoadBalancers::VirtualIps
- Fog::Rackspace::MockData
- Fog::Rackspace::Service
- Fog::Rake
- Fog::Rake::ChangelogTask
- Fog::Rake::TestTask
- Fog::RiakCS
- Fog::RiakCS::MultipartUtils
- Fog::RiakCS::MultipartUtils::Headers
- Fog::RiakCS::Provisioning
- Fog::RiakCS::Provisioning::Mock
- Fog::RiakCS::Provisioning::Real
- Fog::RiakCS::Provisioning::ServiceUnavailable
- Fog::RiakCS::Provisioning::UserAlreadyExists
- Fog::RiakCS::Usage
- Fog::RiakCS::Usage::Mock
- Fog::RiakCS::Usage::Real
- Fog::RiakCS::Usage::Utils
- Fog::RiakCS::UserUtils
- Fog::RiakCS::Utils
- Fog::SCP
- Fog::SCP::Mock
- Fog::SCP::Real
- Fog::SSH
- Fog::SSH::Mock
- Fog::SSH::Real
- Fog::SSH::Result
- Fog::Schema
- Fog::Schema::DataValidator
- Fog::Serverlove
- Fog::Service
- Fog::Service::Collections
- Fog::Service::Error
- Fog::Service::NoLeakInspector
- Fog::Service::NotFound
- Fog::Storage
- Fog::Storage::AWS
- Fog::Storage::AWS::Directories
- Fog::Storage::AWS::Directory
- Fog::Storage::AWS::File
- Fog::Storage::AWS::Files
- Fog::Storage::AWS::GetObjectHttpUrl
- Fog::Storage::AWS::GetObjectHttpsUrl
- Fog::Storage::AWS::GetObjectUrl
- Fog::Storage::AWS::Mock
- Fog::Storage::AWS::PutObjectUrl
- Fog::Storage::AWS::Real
- Fog::Storage::AWS::Utils
- Fog::Storage::AWS::Version
- Fog::Storage::AWS::Versions
- Fog::Storage::Atmos
- Fog::Storage::Atmos::Directories
- Fog::Storage::Atmos::Directory
- Fog::Storage::Atmos::File
- Fog::Storage::Atmos::Files
- Fog::Storage::Atmos::Mock
- Fog::Storage::Atmos::Real
- Fog::Storage::Atmos::Utils
- Fog::Storage::Google
- Fog::Storage::Google::Directories
- Fog::Storage::Google::Directory
- Fog::Storage::Google::File
- Fog::Storage::Google::Files
- Fog::Storage::Google::GetObjectHttpUrl
- Fog::Storage::Google::GetObjectHttpsUrl
- Fog::Storage::Google::Mock
- Fog::Storage::Google::Real
- Fog::Storage::Google::Utils
- Fog::Storage::HP
- Fog::Storage::HP::Directories
- Fog::Storage::HP::Directory
- Fog::Storage::HP::File
- Fog::Storage::HP::Files
- Fog::Storage::HP::Mock
- Fog::Storage::HP::Real
- Fog::Storage::HP::SharedDirectories
- Fog::Storage::HP::SharedDirectory
- Fog::Storage::HP::SharedFile
- Fog::Storage::HP::SharedFiles
- Fog::Storage::HP::Utils
- Fog::Storage::IAAttributes
- Fog::Storage::IAAttributes::ClassMethods
- Fog::Storage::IAAttributes::InstanceMethods
- Fog::Storage::IBM
- Fog::Storage::IBM::Mock
- Fog::Storage::IBM::Offering
- Fog::Storage::IBM::Offerings
- Fog::Storage::IBM::Real
- Fog::Storage::IBM::Volume
- Fog::Storage::IBM::Volumes
- Fog::Storage::InternetArchive
- Fog::Storage::InternetArchive::Directories
- Fog::Storage::InternetArchive::Directory
- Fog::Storage::InternetArchive::File
- Fog::Storage::InternetArchive::Files
- Fog::Storage::InternetArchive::GetObjectHttpUrl
- Fog::Storage::InternetArchive::GetObjectHttpsUrl
- Fog::Storage::InternetArchive::GetObjectUrl
- Fog::Storage::InternetArchive::Mock
- Fog::Storage::InternetArchive::PutObjectUrl
- Fog::Storage::InternetArchive::Real
- Fog::Storage::InternetArchive::Utils
- Fog::Storage::Local
- Fog::Storage::Local::Directories
- Fog::Storage::Local::Directory
- Fog::Storage::Local::File
- Fog::Storage::Local::Files
- Fog::Storage::Local::Mock
- Fog::Storage::Local::Real
- Fog::Storage::Ninefold
- Fog::Storage::Ninefold::Mock
- Fog::Storage::Ninefold::Real
- Fog::Storage::Ninefold::Utils
- Fog::Storage::OpenStack
- Fog::Storage::OpenStack::Directories
- Fog::Storage::OpenStack::Directory
- Fog::Storage::OpenStack::File
- Fog::Storage::OpenStack::Files
- Fog::Storage::OpenStack::Mock
- Fog::Storage::OpenStack::Real
- Fog::Storage::Rackspace
- Fog::Storage::Rackspace::Account
- Fog::Storage::Rackspace::BadRequest
- Fog::Storage::Rackspace::Directories
- Fog::Storage::Rackspace::Directory
- Fog::Storage::Rackspace::File
- Fog::Storage::Rackspace::Files
- Fog::Storage::Rackspace::InternalServerError
- Fog::Storage::Rackspace::Metadata
- Fog::Storage::Rackspace::Mock
- Fog::Storage::Rackspace::Real
- Fog::Storage::Rackspace::ServiceError
- Fog::Storage::Rackspace::Utils
- Fog::Storage::StormOnDemand
- Fog::Storage::StormOnDemand::Cluster
- Fog::Storage::StormOnDemand::Clusters
- Fog::Storage::StormOnDemand::Mock
- Fog::Storage::StormOnDemand::Real
- Fog::Storage::StormOnDemand::Volume
- Fog::Storage::StormOnDemand::Volumes
- Fog::StormOnDemand
- Fog::StormOnDemand::RealShared
- Fog::Support
- Fog::Support::StormOnDemand
- Fog::Support::StormOnDemand::Alert
- Fog::Support::StormOnDemand::Alerts
- Fog::Support::StormOnDemand::Mock
- Fog::Support::StormOnDemand::Real
- Fog::Support::StormOnDemand::Ticket
- Fog::Support::StormOnDemand::Tickets
- Fog::Terremark
- Fog::Terremark::Shared
- Fog::Terremark::Shared::Address
- Fog::Terremark::Shared::Addresses
- Fog::Terremark::Shared::Common
- Fog::Terremark::Shared::Image
- Fog::Terremark::Shared::Images
- Fog::Terremark::Shared::InternetService
- Fog::Terremark::Shared::InternetServices
- Fog::Terremark::Shared::Mock
- Fog::Terremark::Shared::Network
- Fog::Terremark::Shared::Networks
- Fog::Terremark::Shared::NodeService
- Fog::Terremark::Shared::NodeServices
- Fog::Terremark::Shared::Parser
- Fog::Terremark::Shared::Real
- Fog::Terremark::Shared::Server
- Fog::Terremark::Shared::Servers
- Fog::Terremark::Shared::Task
- Fog::Terremark::Shared::Tasks
- Fog::Terremark::Shared::Vdc
- Fog::Terremark::Shared::Vdcs
- Fog::Terremark::Vcloud
- Fog::Terremark::Vcloud::Bin
- Fog::Terremark::Vcloud::Defaults
- Fog::Terremark::Vcloud::Mock
- Fog::Terremark::Vcloud::Real
- Fog::Time
- Fog::ToHashDocument
- Fog::VPN
- Fog::VPN::StormOnDemand
- Fog::VPN::StormOnDemand::Mock
- Fog::VPN::StormOnDemand::Real
- Fog::VPN::StormOnDemand::Vpn
- Fog::VPN::StormOnDemand::Vpns
- Fog::Vcloud
- Fog::Vcloud::Collection
- Fog::Vcloud::Compute
- Fog::Vcloud::Compute::Catalog
- Fog::Vcloud::Compute::CatalogItem
- Fog::Vcloud::Compute::CatalogItems
- Fog::Vcloud::Compute::Catalogs
- Fog::Vcloud::Compute::Helpers
- Fog::Vcloud::Compute::Helpers::Status
- Fog::Vcloud::Compute::Ip
- Fog::Vcloud::Compute::Ips
- Fog::Vcloud::Compute::Mock
- Fog::Vcloud::Compute::Network
- Fog::Vcloud::Compute::Networks
- Fog::Vcloud::Compute::Organization
- Fog::Vcloud::Compute::Organizations
- Fog::Vcloud::Compute::Real
- Fog::Vcloud::Compute::Server
- Fog::Vcloud::Compute::Servers
- Fog::Vcloud::Compute::Shared
- Fog::Vcloud::Compute::Tag
- Fog::Vcloud::Compute::Tags
- Fog::Vcloud::Compute::Task
- Fog::Vcloud::Compute::Tasks
- Fog::Vcloud::Compute::Vapp
- Fog::Vcloud::Compute::Vapps
- Fog::Vcloud::Compute::Vdc
- Fog::Vcloud::Compute::Vdcs
- Fog::Vcloud::Model
- Fog::Vmfusion
- Fog::Volume
- Fog::Volume::OpenStack
- Fog::Volume::OpenStack::Mock
- Fog::Volume::OpenStack::Real
- Fog::Volume::OpenStack::Volume
- Fog::Volume::OpenStack::Volumes
- Fog::Voxel
- Fog::Vsphere
- Fog::Vsphere::Errors
- Fog::Vsphere::Errors::NotFound
- Fog::Vsphere::Errors::SecurityError
- Fog::Vsphere::Errors::ServiceError
- Fog::XML
- Fog::XML::SAXParserConnection
- Fog::XenServer
- Fog::XenServer::Connection
- Fog::XenServer::InvalidLogin
- Fog::XenServer::NokogiriStreamParser
- Fog::XenServer::NotFound
- Fog::XenServer::RequestFailed
- Fog::Zerigo
- AWS
- Atmos
- BareMetalCloud
- Bluebox
- Brightbox
- Clodo
- CloudSigma
- Cloudstack
- DNSMadeEasy
- DNSimple
- DigitalOcean
- Dreamhost
- Dynect
- Ecloud
- Glesys
- GoGrid
- Google
- HP
- Hash
- IBM
- IPAddr
- InternetArchive
- Joyent
- Libvirt
- Linode
- Local
- Ninefold
- Object
- OpenStack
- Openvz
- Ovirt
- Rackspace
- RiakCS
- Serverlove
- StormOnDemand
- String
- Terremark
- TerremarkParser
- VAppStatus
- Vcloud
- Vmfusion
- Voxel
- Vsphere
- XenServer
- Zerigo

No matching classes.

# Fog::Compute::HP::Mock

### Public Class Methods

data() click to toggle source

    # File lib/fog/hp/compute.rb, line 130
    def self.data
      @data ||= Hash.new do |hash, key|
        hash[key] = {
          :last_modified => {
            :images  => {},
            :key_pairs => {},
            :security_groups => {},
            :servers => {},
            :addresses => {}
          },
          :images  => {},
          :key_pairs => {},
          :security_groups => {},
          :servers => {},
          :addresses => {}
        }
      end
    end

new(options={}) click to toggle source

    # File lib/fog/hp/compute.rb, line 153
    def initialize(options={})
      # deprecate hp_account_id
      if options[:hp_account_id]
        Fog::Logger.deprecation(":hp_account_id is deprecated, please use :hp_access_key instead.")
        @hp_access_key = options.delete(:hp_account_id)
      end
      @hp_access_key = options[:hp_access_key]
      unless @hp_access_key
        raise ArgumentError.new("Missing required arguments: hp_access_key. :hp_account_id is deprecated, please use :hp_access_key instead.")
      end
    end

reset() click to toggle source

    # File lib/fog/hp/compute.rb, line 149
    def self.reset
      @data = nil
    end

### Public Instance Methods

allocate_address() click to toggle source

    # File lib/fog/hp/requests/compute/allocate_address.rb, line 30
    def allocate_address
      response = Excon::Response.new
      response.status = 200
      data = {
        'instance_id' => Fog::HP::Mock.instance_id.to_i,
        'ip'          => Fog::HP::Mock.ip_address,
        'fixed_ip'    => Fog::HP::Mock.ip_address,
        'id'          => Fog::Mock.random_numbers(3).to_i
      }
      self.data[:last_modified][:addresses][data['id']] = Time.now
      self.data[:addresses][data['id']] = data

      response.body = { 'floating_ip' => data }
      response
    end

associate_address(server_id, ip_address) click to toggle source

    # File lib/fog/hp/requests/compute/associate_address.rb, line 21
    def associate_address(server_id, ip_address)
      response = Excon::Response.new
      if server = self.data[:servers][server_id]
        data = {"version"=>4, "addr"=>"#{ip_address}"}
        if server['addresses']['private']
          server['addresses']['private'] << data
        else
          server['addresses']['private'] = data
        end
        response.status = 202
      else
        #raise Fog::Compute::HP::NotFound
        response.status = 500
        raise(Excon::Errors.status_error({:expects => 200}, response))
      end
      response
    end

change_password_server(server_id, admin_password) click to toggle source

    # File lib/fog/hp/requests/compute/change_password_server.rb, line 15
    def change_password_server(server_id, admin_password)
      response = Excon::Response.new
      if list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        if admin_password
          response.body = { 'changePassword' => { 'adminPass' => admin_password }}
        end
        response.status = 202
      else
        #raise Fog::Compute::HP::NotFound
        response.status = 500
        raise(Excon::Errors.status_error({:expects => 200}, response))
      end
      response
    end

confirm_resized_server(server_id) click to toggle source

    # File lib/fog/hp/requests/compute/confirm_resized_server.rb, line 20
    def confirm_resized_server(server_id)
      response = Excon::Response.new
      response.status = 204

      self.data[:servers][server_id].delete('old_flavorId')
      self.data[:last_modified][:servers][server_id] = Time.now
      self.data[:servers][server_id]['status'] = 'ACTIVE'

      response
    end

create_image(server_id, name, metadata = {}) click to toggle source

    # File lib/fog/hp/requests/compute/create_image.rb, line 31
    def create_image(server_id, name, metadata = {})
      response = Excon::Response.new
      response.status = 202

      image_id = Fog::Mock.random_numbers(6).to_s

      data = {
        'id'        => image_id,
        'server'    => {"id"=>server_id, "links"=>[{"href"=>"http://nova1:8774/v1.1/servers/#{server_id}", "rel"=>"bookmark"}]},
        'links'     => [{"href"=>"http://nova1:8774/v1.1/tenantid/images/#{image_id}", "rel"=>"self"}, {"href"=>"http://nova1:8774/tenantid/images/#{image_id}", "rel"=>"bookmark"}],
        'metadata'  => metadata || {},
        'name'      => name || "image_#{rand(999)}",
        'progress'  => 0,
        'status'    => 'SAVING',
        'updated'   => "2012-01-01T13:32:20Z",
        'created'   => "2012-01-01T13:32:20Z"
      }

      self.data[:last_modified][:images][data['id']] = Time.now
      self.data[:images][data['id']] = data
      response.headers = {'Content-Length' => '0', 'Content-Type' => 'text/html; charset=UTF-8', 'Date' => Time.now, 'Location' => "http://nova1:8774/v1.1/images/#{image_id}"}
      response.body = "" # { 'image' => data } no data is sent
      response
    end

create_key_pair(key_name, public_key = nil) click to toggle source

    # File lib/fog/hp/requests/compute/create_key_pair.rb, line 51
    def create_key_pair(key_name, public_key = nil)
      response = Excon::Response.new
      unless self.data[:key_pairs][key_name]
        response.status = 200
        private_key, new_public_key = Fog::HP::Mock.key_material
        new_public_key = public_key if public_key  # if public key was passed in
        data = {
          'public_key'   => new_public_key,
          'fingerprint'  => Fog::HP::Mock.key_fingerprint,
          'name'         => key_name
        }
        self.data[:last_modified][:key_pairs][key_name] = Time.now
        self.data[:key_pairs][key_name] = { 'keypair' => data }
        if public_key
          response.body = { 'keypair' => data.merge({'user_id' => Fog::HP::Mock.user_id,}) }
        else
          response.body = { 'keypair' => data.merge({'private_key'  => private_key, 'user_id' => Fog::HP::Mock.user_id,}) }
        end
      else
        #raise Fog::Compute::HP::NotFound
        response.status = 400
        raise(Excon::Errors.status_error({:expects => 200}, response))
      end
      response
    end

create_persistent_server(name, flavor_id, block_device_mapping = [], options = {}) click to toggle source

    # File lib/fog/hp/requests/compute/create_persistent_server.rb, line 121
    def create_persistent_server(name, flavor_id, block_device_mapping = [], options = {})
      response = Excon::Response.new

      if block_device_mapping && !block_device_mapping.empty?

        if options['security_groups']
          sec_group_name = options['security_groups'][0]
        else
          sec_group_name = "default"
        end

        data = {
          'addresses' => { "private"=>[{"version"=>4, "addr"=>Fog::HP::Mock.ip_address}] },
          'flavor'    => {"id"=>"#{flavor_id}", "links"=>[{"href"=>"http://nova1:8774/admin/flavors/#{flavor_id}", "rel"=>"bookmark"}]},
          'id'        => Fog::Mock.random_numbers(6).to_i,
          'links'     => [{"href"=>"http://nova1:8774/v1.1/admin/servers/5", "rel"=>"self"}, {"href"=>"http://nova1:8774/admin/servers/5", "rel"=>"bookmark"}],
          'hostId'    => "123456789ABCDEF01234567890ABCDEF",
          'metadata'  => options['metadata'] || {},
          'name'      => name || "server_#{rand(999)}",
          'accessIPv4'  => options['accessIPv4'] || "",
          'accessIPv6'  => options['accessIPv6'] || "",
          'progress'  => 0,
          'status'    => 'BUILD',
          'created'   => "2012-01-01T13:32:20Z",
          'updated'   => "2012-01-01T13:32:20Z",
          'user_id'   => Fog::HP::Mock.user_id.to_s,
          'tenant_id' => Fog::HP::Mock.user_id.to_s,
          'uuid'      => "95253a45-9ead-43c6-90b3-65da2ef048b3",
          'config_drive' => "",
          'security_groups' => [{"name"=>"#{sec_group_name}", "links"=>[{"href"=>"http://nova1:8774/v1.1/admin//os-security-groups/111", "rel"=>"bookmark"}], "id"=>111}],
          'key_name'  => options['key_name'] || ""
        }
        self.data[:last_modified][:servers][data['id']] = Time.now
        self.data[:servers][data['id']] = data
        response.body = { 'server' => data.merge({'adminPass' => 'password'}) }
        response.status = 200
        response
      else
        response.status = 400
        raise(Excon::Errors::BadRequest, "No boot volume or boot image specified")
      end

    end

create_security_group(name, description) click to toggle source

    # File lib/fog/hp/requests/compute/create_security_group.rb, line 52
    def create_security_group(name, description)
      # all spaces are removed
      name = name.strip
      description = description.strip

      response = Excon::Response.new
      if self.data[:security_groups].detect {|_,v| v['name'] == name}
        response.status = 400
        response.body = { "badRequest" => {"message" => "Security group #{name} already exists", "code" => 400}}
        raise(Excon::Errors.status_error({:expects => 200}, response))
      else
        response.status = 200
        data = {
          'rules'        => [],
          'id'           => Fog::Mock.random_numbers(3).to_i,
          'tenant_id'    => Fog::HP::Mock.user_id.to_s,
          'name'         => name,
          'description'  => description
        }
        self.data[:last_modified][:security_groups][data['id']] = Time.now
        self.data[:security_groups][data['id']] = data

        response.body = { 'security_group' => data }
      end
      response
    end

create_security_group_rule(parent_group_id, ip_protocol, from_port, to_port, cidr, group_id=nil) click to toggle source

    # File lib/fog/hp/requests/compute/create_security_group_rule.rb, line 45
    def create_security_group_rule(parent_group_id, ip_protocol, from_port, to_port, cidr, group_id=nil)
      response = Excon::Response.new
      group = self.data[:security_groups][parent_group_id]
      if group
        group['rules'] ||= []
        response.status = 200
        data = {
          'from_port'       => from_port.to_i,
          'group'           => {},
          'ip_protocol'     => ip_protocol,
          'to_port'         => to_port.to_i,
          'parent_group_id' => parent_group_id,
          'ip_range'        => {
            'cidr' => cidr
          },
          'id'              => Fog::Mock.random_numbers(3).to_i
        }
        group['rules'][data['id']] = data

        response.body = { 'security_group_rule' => data }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

create_server(name, flavor_id, image_id, options = {}) click to toggle source

    # File lib/fog/hp/requests/compute/create_server.rb, line 106
    def create_server(name, flavor_id, image_id, options = {})
      response = Excon::Response.new
      response.status = 202

      if options['security_groups']
        sec_group_name = options['security_groups'][0]
      else
        sec_group_name = "default"
      end
      data = {
        'addresses' => { "private"=>[{"version"=>4, "addr"=>Fog::HP::Mock.ip_address}] },
        'flavor'    => {"id"=>"#{flavor_id}", "links"=>[{"href"=>"http://nova1:8774/admin/flavors/#{flavor_id}", "rel"=>"bookmark"}]},
        'id'        => Fog::Mock.random_numbers(6).to_i,
        'image'     => {"id"=>"#{image_id}", "links"=>[{"href"=>"http://nova1:8774/admin/images/#{image_id}", "rel"=>"bookmark"}]},
        'links'     => [{"href"=>"http://nova1:8774/v1.1/admin/servers/5", "rel"=>"self"}, {"href"=>"http://nova1:8774/admin/servers/5", "rel"=>"bookmark"}],
        'hostId'    => "123456789ABCDEF01234567890ABCDEF",
        'metadata'  => options['metadata'] || {},
        'name'      => name || "server_#{rand(999)}",
        'accessIPv4'  => options['accessIPv4'] || "",
        'accessIPv6'  => options['accessIPv6'] || "",
        'progress'  => 0,
        'status'    => 'BUILD',
        'created'   => "2012-01-01T13:32:20Z",
        'updated'   => "2012-01-01T13:32:20Z",
        'user_id'   => Fog::HP::Mock.user_id.to_s,
        'tenant_id' => Fog::HP::Mock.user_id.to_s,
        'uuid'      => "95253a45-9ead-43c6-90b3-65da2ef048b3",
        'config_drive' => "",
        'security_groups' => [{"name"=>"#{sec_group_name}", "links"=>[{"href"=>"http://nova1:8774/v1.1/admin//os-security-groups/111", "rel"=>"bookmark"}], "id"=>111}],
        'key_name'  => options['key_name'] || ""
      }
      self.data[:last_modified][:servers][data['id']] = Time.now
      self.data[:servers][data['id']] = data
      response.body = { 'server' => data.merge({'adminPass' => 'password'}) }
      response
    end

data() click to toggle source

    # File lib/fog/hp/compute.rb, line 165
    def data
      self.class.data[@hp_access_key]
    end

delete_image(image_id) click to toggle source

    # File lib/fog/hp/requests/compute/delete_image.rb, line 23
    def delete_image(image_id)
      response = Excon::Response.new
      if image = list_images_detail.body['images'].detect {|_| _['id'] == image_id}
        if image['status'] == 'SAVING'
          response.status = 409
          raise(Excon::Errors.status_error({:expects => 202}, response))
        else
          self.data[:last_modified][:images].delete(image_id)
          self.data[:images].delete(image_id)
          response.status = 202
        end
        response
      else
        response.status = 500
        raise(Excon::Errors.status_error({:expects => 202}, response))
      end

    end

delete_key_pair(key_name) click to toggle source

    # File lib/fog/hp/requests/compute/delete_key_pair.rb, line 23
    def delete_key_pair(key_name)
      response = Excon::Response.new
      if self.data[:key_pairs][key_name]
        self.data[:last_modified][:key_pairs].delete(key_name)
        self.data[:key_pairs].delete(key_name)
        response.status = 202
        response.body = "202 Accepted\n\nThe request is accepted for processing.\n\n   "
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

delete_meta(collection_name, parent_id, key) click to toggle source

    # File lib/fog/hp/requests/compute/delete_meta.rb, line 29
    def delete_meta(collection_name, parent_id, key)
      if collection_name == "images" then
        if get_image_details(parent_id)
          self.data[:images][parent_id]['metadata'].delete(key)
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      if collection_name == "servers" then
        if get_server_details(parent_id)
          self.data[:servers][parent_id]['metadata'].delete(key)
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      response = Excon::Response.new
      response.status = 204
      response
    end

delete_security_group(security_group_id) click to toggle source

    # File lib/fog/hp/requests/compute/delete_security_group.rb, line 25
    def delete_security_group(security_group_id)
      response = Excon::Response.new
      if self.data[:security_groups][security_group_id]
        self.data[:last_modified][:security_groups].delete(security_group_id)
        self.data[:security_groups].delete(security_group_id)
        response.status = 202
        response.body = "202 Accepted\n\nThe request is accepted for processing.\n\n   "
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

delete_security_group_rule(security_group_rule_id) click to toggle source

    # File lib/fog/hp/requests/compute/delete_security_group_rule.rb, line 24
    def delete_security_group_rule(security_group_rule_id)
      response = Excon::Response.new

      sg_rule = nil

      self.data[:security_groups].each do |_, sgv|
        if sgv['rules']
          sg_rule = sgv['rules'].delete_if { |r| !r.nil? && r['id'] == security_group_rule_id }
          break if sg_rule
        end
      end

      if sg_rule && !sg_rule.empty?
        response.status = 202
        response.body = "202 Accepted\n\nThe request is accepted for processing.\n\n   "
        response
      else
        raise Fog::Compute::HP::NotFound
      end

    end

delete_server(server_id) click to toggle source

    # File lib/fog/hp/requests/compute/delete_server.rb, line 23
    def delete_server(server_id)
      response = Excon::Response.new
      if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        if server['status'] == 'BUILD'
          response.status = 409
          raise(Excon::Errors.status_error({:expects => 202}, response))
        else
          self.data[:last_modified][:servers].delete(server_id)
          self.data[:servers].delete(server_id)
          response.status = 204
        end
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

disassociate_address(server_id, ip_address) click to toggle source

    # File lib/fog/hp/requests/compute/disassociate_address.rb, line 21
    def disassociate_address(server_id, ip_address)
      response = Excon::Response.new
      if server = self.data[:servers][server_id]
        data = server['addresses']['private'].reject {|a| a['addr'] == ip_address}
        self.data[:servers][server_id]['addresses']['private'] = data

        response.status = 202
      else
        #raise Fog::Compute::HP::NotFound
        response.status = 500
        raise(Excon::Errors.status_error({:expects => 200}, response))
      end
      response
    end

get_address(address_id) click to toggle source

    # File lib/fog/hp/requests/compute/get_address.rb, line 31
    def get_address(address_id)
      response = Excon::Response.new
      if address = self.data[:addresses][address_id]
        response.status = 200
        response.body = { 'floating_ip' => address }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

get_console_output(server_id, num_lines) click to toggle source

    # File lib/fog/hp/requests/compute/get_console_output.rb, line 27
    def get_console_output(server_id, num_lines)
      output = ""
      response = Excon::Response.new
      if list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        (1..num_lines).each {|i| output += "Console Output Line #{i} \r\n"}
        response.body = { 'output' => output }
        response.status = 200
      else
        raise Fog::Compute::HP::NotFound
      end
      response
    end

get_flavor_details(flavor_id) click to toggle source

    # File lib/fog/hp/requests/compute/get_flavor_details.rb, line 27
    def get_flavor_details(flavor_id)
      response = Excon::Response.new
      flavor = {
        1 => { 'name' => 'standard.xsmall',  'ram' => 1024,    'disk' => 30,   'id' => 1, 'rxtx_quota' => 0, 'vcpus' => 1, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/1", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/1", "rel"=>"bookmark"}] },
        2 => { 'name' => 'standard.small',   'ram' => 2048,    'disk' => 60,   'id' => 2, 'rxtx_quota' => 0, 'vcpus' => 2, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/2", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/2", "rel"=>"bookmark"}] },
        3 => { 'name' => 'standard.medium',  'ram' => 4096,    'disk' => 120,  'id' => 3, 'rxtx_quota' => 0, 'vcpus' => 2, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/3", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/3", "rel"=>"bookmark"}] },
        4 => { 'name' => 'standard.large',   'ram' => 8192,    'disk' => 240,  'id' => 4, 'rxtx_quota' => 0, 'vcpus' => 4, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/4", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/4", "rel"=>"bookmark"}] },
        5 => { 'name' => 'standard.xlarge',  'ram' => 16384,   'disk' => 480,  'id' => 5, 'rxtx_quota' => 0, 'vcpus' => 4, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/5", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/5", "rel"=>"bookmark"}] },
        6 => { 'name' => 'standard.2xlarge', 'ram' => 32768,   'disk' => 960,  'id' => 6, 'rxtx_quota' => 0, 'vcpus' => 8, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/6", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/6", "rel"=>"bookmark"}] }
      }[flavor_id]
      if flavor
        response.status = 200
        response.body = {
          'flavor' => flavor
        }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

get_image_details(image_id) click to toggle source

    # File lib/fog/hp/requests/compute/get_image_details.rb, line 28
    def get_image_details(image_id)
      response = Excon::Response.new
      if image = list_images_detail.body['images'].detect {|_| _['id'] == image_id}
        response.status = [200, 203][rand(1)]
        response.body = { 'image' => image }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

get_meta(collection_name, parent_id, key) click to toggle source

    # File lib/fog/hp/requests/compute/get_meta.rb, line 30
    def get_meta(collection_name, parent_id, key)
      if collection_name == "images" then
        if get_image_details(parent_id)
          raise Fog::Compute::HP::NotFound unless midata = self.data[:images][parent_id]['metadata'].fetch(key, nil)
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      if collection_name == "servers" then
        if get_server_details(parent_id)
          raise Fog::Compute::HP::NotFound unless midata = self.data[:servers][parent_id]['metadata'].fetch(key, nil)
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      response = Excon::Response.new
      response.status = 200
      response.body = { 'meta' => { key => midata } }
      response
    end

get_security_group(security_group_id) click to toggle source

    # File lib/fog/hp/requests/compute/get_security_group.rb, line 43
    def get_security_group(security_group_id)
      response = Excon::Response.new
      if sec_group = self.data[:security_groups][security_group_id]
        response.status = 200
        response.body = { 'security_group' => sec_group }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

get_server_details(server_id) click to toggle source

    # File lib/fog/hp/requests/compute/get_server_details.rb, line 38
    def get_server_details(server_id)
      response = Excon::Response.new
      if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        response.status = [200, 203][rand(1)]
        response.body = { 'server' => server }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

get_windows_password(server_id) click to toggle source

    # File lib/fog/hp/requests/compute/get_windows_password.rb, line 25
    def get_windows_password(server_id)
      # need to mock out the private key as well
      private_key = OpenSSL::PKey::RSA.generate(1024)
      public_key = private_key.public_key
      ### The original password is Passw0rd
      encoded_password = encrypt_using_public_key("Passw0rd", public_key)

      if list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        # mock output for this call get_console_output(server_id, 400).body['output']
        log_output = "start junk [cloud-init] Encrypt random password\n-----BEGIN BASE64-ENCODED ENCRYPTED PASSWORD-----\n#{encoded_password}-----END BASE64-ENCODED ENCRYPTED PASSWORD-----\nend junk [cloud-init] Done\n"
        encrypted_password = extract_password_from_log(log_output)
      else
        raise Fog::Compute::HP::NotFound
      end
    end

list_addresses() click to toggle source

    # File lib/fog/hp/requests/compute/list_addresses.rb, line 28
    def list_addresses
      response = Excon::Response.new
      addresses = []
      addresses = self.data[:addresses].values unless self.data[:addresses].nil?

      response.status = 200
      response.body = { 'floating_ips' => addresses }
      response
    end

list_flavors() click to toggle source

    # File lib/fog/hp/requests/compute/list_flavors.rb, line 25
    def list_flavors
      response = Excon::Response.new
      response.status = 200
      response.body = {
        'flavors' => [
          { 'name' => 'standard.xsmall',   'id' => 1, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/1", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/1", "rel"=>"bookmark"}] },
          { 'name' => 'standard.small',    'id' => 2, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/2", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/2", "rel"=>"bookmark"}] },
          { 'name' => 'standard.medium',   'id' => 3, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/3", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/3", "rel"=>"bookmark"}] },
          { 'name' => 'standard.large',    'id' => 4, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/4", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/4", "rel"=>"bookmark"}] },
          { 'name' => 'standard.xlarge',   'id' => 5, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/5", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/5", "rel"=>"bookmark"}] },
          { 'name' => 'standard.2xlarge',  'id' => 6, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/6", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/6", "rel"=>"bookmark"}] }
        ]
      }
      response
    end

list_flavors_detail() click to toggle source

    # File lib/fog/hp/requests/compute/list_flavors_detail.rb, line 27
    def list_flavors_detail
      response = Excon::Response.new
      response.status = 200
      response.body = {
        'flavors' => [
          { 'name' => 'standard.xsmall',  'ram' => 1024,    'disk' => 30,   'id' => 1, 'rxtx_quota' => 0, 'vcpus' => 1, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/1", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/1", "rel"=>"bookmark"}] },
          { 'name' => 'standard.small',   'ram' => 2048,    'disk' => 60,   'id' => 2, 'rxtx_quota' => 0, 'vcpus' => 2, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/2", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/2", "rel"=>"bookmark"}] },
          { 'name' => 'standard.medium',  'ram' => 4096,    'disk' => 120,  'id' => 3, 'rxtx_quota' => 0, 'vcpus' => 2, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/3", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/3", "rel"=>"bookmark"}] },
          { 'name' => 'standard.large',   'ram' => 8192,    'disk' => 240,  'id' => 4, 'rxtx_quota' => 0, 'vcpus' => 4, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/4", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/4", "rel"=>"bookmark"}] },
          { 'name' => 'standard.xlarge',  'ram' => 16384,   'disk' => 480,  'id' => 5, 'rxtx_quota' => 0, 'vcpus' => 4, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/5", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/5", "rel"=>"bookmark"}] },
          { 'name' => 'standard.2xlarge', 'ram' => 32768,   'disk' => 960,  'id' => 6, 'rxtx_quota' => 0, 'vcpus' => 8, 'rxtx_cap' => 0, 'swap' => 0, 'links' => [{"href"=>"http://nova1:8774/v1.1/admin/flavors/6", "rel"=>"self"}, {"href"=>"http://nova1:8774admin/flavors/6", "rel"=>"bookmark"}] }
        ]
      }
      response
    end

list_images() click to toggle source

    # File lib/fog/hp/requests/compute/list_images.rb, line 25
    def list_images
      response = Excon::Response.new
      data = list_images_detail.body['images']
      images = []
      for image in data
        images << image.reject { |key, value| !['id', 'name'].include?(key) }
      end
      response.status = [200, 203][rand(1)]
      response.body = { 'images' => images }
      response
    end

list_images_detail() click to toggle source

    # File lib/fog/hp/requests/compute/list_images_detail.rb, line 28
    def list_images_detail
      response = Excon::Response.new

      images = self.data[:images].values
      for image in images
        case image['status']
        when 'SAVING'
          if Time.now - self.data[:last_modified][:images][image['id']] >= Fog::Mock.delay
            image['status'] = 'ACTIVE'
          end
        end
      end

      response.status = [200, 203][rand(1)]
      response.body = { 'images' => images.map {|image| image.reject {|key, value| !['id', 'name', 'links', 'metadata', 'progress' ,'status', 'created', 'updated'].include?(key)}} }
      response
    end

list_key_pairs() click to toggle source

    # File lib/fog/hp/requests/compute/list_key_pairs.rb, line 30
    def list_key_pairs
      response = Excon::Response.new

      key_pairs = []
      key_pairs = self.data[:key_pairs].values unless self.data[:key_pairs].nil?

      response.status = [200, 203][rand(1)]
      response.body = { 'keypairs' => key_pairs }
      response
    end

list_metadata(collection_name, parent_id) click to toggle source

    # File lib/fog/hp/requests/compute/list_metadata.rb, line 29
    def list_metadata(collection_name, parent_id)
      mdata = {}
      if collection_name == "images" then
        if get_image_details(parent_id)
          mdata = self.data[:images][parent_id]['metadata']
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      if collection_name == "servers" then
        if get_server_details(parent_id)
          mdata = self.data[:servers][parent_id]['metadata']
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      response = Excon::Response.new
      response.status = 200
      response.body = {'metadata' => mdata}
      response
    end

list_security_groups() click to toggle source

    # File lib/fog/hp/requests/compute/list_security_groups.rb, line 40
    def list_security_groups
      response = Excon::Response.new

      sec_groups = []
      sec_groups = self.data[:security_groups].values unless self.data[:security_groups].nil?

      response.status = 200
      response.body = { 'security_groups' => sec_groups }
      response
    end

list_server_addresses(server_id) click to toggle source

    # File lib/fog/hp/requests/compute/list_server_addresses.rb, line 28
    def list_server_addresses(server_id)
      response = Excon::Response.new
      if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        response.status = 200
        response.body = { 'addresses' => server['addresses'] }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

list_server_private_addresses(server_id, network_name) click to toggle source

    # File lib/fog/hp/requests/compute/list_server_private_addresses.rb, line 37
    def list_server_private_addresses(server_id, network_name)
      response = Excon::Response.new
      if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        private_address = []
        data = nil
        data = server['addresses']["#{network_name}"][0] if server['addresses']["#{network_name}"]
        if data
          private_address << data
        end

        response.status = 200
        response.body = { 'private' => private_address }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

list_server_public_addresses(server_id, network_name) click to toggle source

    # File lib/fog/hp/requests/compute/list_server_public_addresses.rb, line 37
    def list_server_public_addresses(server_id, network_name)
      response = Excon::Response.new
      if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        # return everything except the first address
        data = server['addresses']["#{network_name}"]
        if data
          data.delete_at(0)
          public_address = data
        end

        response.status = 200
        response.body = { 'public' => public_address }
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

list_servers() click to toggle source

    # File lib/fog/hp/requests/compute/list_servers.rb, line 26
    def list_servers
      response = Excon::Response.new
      data = list_servers_detail.body['servers']
      servers = []
      for server in data
        servers << server.reject { |key, value| !['id', 'name', 'links', 'uuid'].include?(key) }
      end
      response.status = [200, 203][rand(1)]
      response.body = { 'servers' => servers }
      response
    end

list_servers_detail() click to toggle source

    # File lib/fog/hp/requests/compute/list_servers_detail.rb, line 35
    def list_servers_detail
      response = Excon::Response.new

      servers = self.data[:servers].values
      for server in servers
        case server['status']
        when 'BUILD'
          if Time.now - self.data[:last_modified][:servers][server['id']] > Fog::Mock.delay * 2
            server['status'] = 'ACTIVE'
          end
        end
      end

      response.status = [200, 203][rand(1)]
      response.body = { 'servers' => servers }
      response
    end

reboot_server(server_id, type = 'SOFT') click to toggle source

    # File lib/fog/hp/requests/compute/reboot_server.rb, line 21
    def reboot_server(server_id, type = 'SOFT')
      response = Excon::Response.new
      if list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        response.status = 202
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

rebuild_server(server_id, image_ref, name, admin_pass=nil, metadata=nil, personality=nil) click to toggle source

    # File lib/fog/hp/requests/compute/rebuild_server.rb, line 22
    def rebuild_server(server_id, image_ref, name, admin_pass=nil, metadata=nil, personality=nil)
      response = get_server_details(server_id)
      response.body['server']['status'] = "REBUILD"
      response.status = 202
      response
    end

release_address(address_id) click to toggle source

    # File lib/fog/hp/requests/compute/release_address.rb, line 23
    def release_address(address_id)
      response = Excon::Response.new
      if self.data[:addresses][address_id]
        self.data[:last_modified][:addresses].delete(address_id)
        self.data[:addresses].delete(address_id)
        response.status = 202
        response.body = "202 Accepted\n\nThe request is accepted for processing.\n\n   "
      else
        raise Fog::Compute::HP::NotFound
      end
      response
    end

reset_data() click to toggle source

    # File lib/fog/hp/compute.rb, line 169
    def reset_data
      self.class.data.delete(@hp_access_key)
    end

resize_server(server_id, flavor_id) click to toggle source

FIXME: should probably transition instead of skipping to VERIFY_RESIZE

    # File lib/fog/hp/requests/compute/resize_server.rb, line 22
    def resize_server(server_id, flavor_id)
      response = Excon::Response.new
      response.status = 202

      # keep track of this for reverts
      self.data[:servers][server_id]['old_flavorId'] = self.data[:servers][server_id]['flavorId']

      self.data[:servers][server_id]['flavorId'] = flavor_id
      self.data[:last_modified][:servers][server_id] = Time.now
      self.data[:servers][server_id]['status'] = 'VERIFY_RESIZE'

      response
    end

revert_resized_server(server_id) click to toggle source

    # File lib/fog/hp/requests/compute/revert_resized_server.rb, line 20
    def revert_resized_server(server_id)
      response = Excon::Response.new
      response.status = 202

      self.data[:servers][server_id]['flavorId'] = self.data[:servers][server_id]['old_flavorId']
      self.data[:servers][server_id].delete('old_flavorId')
      self.data[:last_modified][:servers][server_id] = Time.now
      self.data[:servers][server_id]['status'] = 'ACTIVE'

      response
    end

set_metadata(collection_name, parent_id, metadata = {}) click to toggle source

    # File lib/fog/hp/requests/compute/set_metadata.rb, line 31
    def set_metadata(collection_name, parent_id, metadata = {})

      if collection_name == "images" then
        if get_image_details(parent_id)
          self.data[:images][parent_id]['metadata'] = metadata
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      if collection_name == "servers" then
        if get_server_details(parent_id)
          self.data[:servers][parent_id]['metadata'] = metadata
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      response = Excon::Response.new
      response.body = { "metadata" => metadata }
      response.status = 200
      response

    end

update_meta(collection_name, parent_id, key, value) click to toggle source

    # File lib/fog/hp/requests/compute/update_meta.rb, line 32
    def update_meta(collection_name, parent_id, key, value)

      if collection_name == "images" then
        if get_image_details(parent_id)
          self.data[:images][parent_id]['metadata'][key] = value
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      if collection_name == "servers" then
        if get_server_details(parent_id)
          self.data[:servers][parent_id]['metadata'][key] = value
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      response = Excon::Response.new
      response.body = { "meta" => { key => value } }
      response.status = 200
      response

    end

update_metadata(collection_name, parent_id, metadata = {}) click to toggle source

    # File lib/fog/hp/requests/compute/update_metadata.rb, line 31
    def update_metadata(collection_name, parent_id, metadata = {})

      if collection_name == "images" then
        if get_image_details(parent_id)
          newmetadata = self.data[:images][parent_id]['metadata'].merge!(metadata)
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      if collection_name == "servers" then
        if get_server_details(parent_id)
          newmetadata = self.data[:servers][parent_id]['metadata'].merge!(metadata)
        else
          raise Fog::Compute::HP::NotFound
        end
      end

      response = Excon::Response.new
      response.body = { "metadata" => newmetadata }
      response.status = 200
      response

    end

update_server(server_id, options) click to toggle source

    # File lib/fog/hp/requests/compute/update_server.rb, line 26
    def update_server(server_id, options)
      response = Excon::Response.new
      if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id}
        if options['name']
          server['name'] = options['name']
        end
        response.status = 200
        response
      else
        raise Fog::Compute::HP::NotFound
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.