Class: VirtualMonkey::ELBRunner

Inherits:
Object
  • Object
show all
Includes:
Application, DeploymentRunner, UnifiedApplication
Defined in:
lib/virtualmonkey/elb_runner.rb

Constant Summary collapse

ELB_PORT =
80
ELB_PORT_FORWARD =
8000
ELB_PREFIX =
"MONKEY-TEST-ELB"
AWS_ID =
ENV['AWS_ACCESS_KEY_ID']
AWS_KEY =
ENV['AWS_SECRET_ACCESS_KEY']
ELBS =
{ 1 => { 
      :endpoint => "https://elasticloadbalancing.us-east-1.amazonaws.com",
      :azs => [ "us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d" ]
      },
   2 => {
      :endpoint => "https://elasticloadbalancing.eu-west-1.amazonaws.com",
      :azs => [ "eu-west-1a", "eu-west-1b" ] 
      },
   3 => {
      :endpoint => "https://elasticloadbalancing.us-west-1.amazonaws.com",
      :azs => [ "us-west-1a", "us-west-1b" ] 
      },
   4 => {
      :endpoint => "https://elasticloadbalancing.ap-southeast-1.amazonaws.com",
      :azs => [ "ap-southeast-1a", "ap-southeast-1a" ] 
      }
}

Instance Attribute Summary

Attributes included from DeploymentRunner

#deployment, #scripts_to_run, #servers

Method Summary

Methods included from UnifiedApplication

#run_unified_application_check, #run_unified_application_checks, #test_http_response

Methods included from Application

#app_servers, #get_tester_ip_addr, #run_app_tests, #run_rails_demo_application_checks, #set_lb_hostname, #startup, #test_http_response

Methods included from TestCaseInterface

#behavior, #probe, #set_var, #verify