Class: TestLab::Provider

Inherits:
Object
  • Object
show all
Defined in:
lib/testlab/provider.rb,
lib/testlab/providers/aws.rb,
lib/testlab/providers/local.rb,
lib/testlab/providers/vagrant.rb,
lib/testlab/providers/bare_metal.rb,
lib/testlab/providers/open_stack.rb

Overview

Provider Class

Author:

  • Zachary Patten <zachary AT jovelabs DOT com>

Defined Under Namespace

Classes: AWS, AWSError, BareMetal, BareMetalError, Local, LocalError, OpenStack, OpenStackError, Vagrant, VagrantError

Constant Summary collapse

PROXY_METHODS =
%w(instance_id state user identity ip port create destroy up down export import reload status alive? dead? exists?).map(&:to_sym)

Class Method Summary collapse

Class Method Details

.template_dirObject

Returns the path to the gems provider templates



21
22
23
# File 'lib/testlab/provider.rb', line 21

def template_dir
  File.join(TestLab.gem_dir, "lib", "testlab", "providers", "templates")
end