lib/testlab.rb in testlab-0.9.1 vs lib/testlab.rb in testlab-1.0.0
- old
+ new
@@ -7,12 +7,12 @@
require 'testlab/monkeys'
# TestLab - A framework for building lightweight virtual infrastructure using LXC
#
# The core concept with the TestLab is the *Labfile*. This file dictates the
-# topology of your virtual infrastructure. With simple commands you can setup
-# and teardown this infrastructure on the fly for all sorts of purposes from
+# topology of your virtual infrastructure. With simple commands you can build
+# and demolish this infrastructure on the fly for all sorts of purposes from
# automating infrastructure testing to testing new software to experimenting
# in general where you want to spin up alot of servers but do not want the
# overhead of virtualization. At it's core TestLab uses Linux Containers (LXC)
# to accomplish this.
#
@@ -271,29 +271,29 @@
reverse_method_proxy(:down)
true
end
- # Test Lab Setup
+ # Test Lab Provision
#
- # Attempts to setup our lab topology. This calls the setup method on all of
- # our nodes.
+ # Attempts to provision our lab topology. This calls the provision method on
+ # all of our nodes.
#
# @return [Boolean] True if successful.
- def setup
- method_proxy(:setup)
+ def provision
+ method_proxy(:provision)
true
end
- # Test Lab Teardown
+ # Test Lab Deprovision
#
- # Attempts to tearddown our lab topology. This calls the teardown method on
- # all of our nodes.
+ # Attempts to tearddown our lab topology. This calls the deprovision method
+ # on all of our nodes.
#
# @return [Boolean] True if successful.
- def teardown
- reverse_method_proxy(:teardown)
+ def deprovision
+ reverse_method_proxy(:deprovision)
true
end
# Test Lab Build