lib/testlab.rb in testlab-1.19.0 vs lib/testlab.rb in testlab-1.20.0
- old
+ new
@@ -329,12 +329,12 @@
#
# Attempts to build our lab topology. This calls various methods on
# all of our nodes, networks and containers.
#
# @return [Boolean] True if successful.
- def build
- method_proxy(:build)
+ def build(force=false)
+ method_proxy(:build, force)
true
end
# Test Lab Demolish
@@ -366,12 +366,12 @@
#
# Attempts to recycle our lab topology. This calls various methods on
# all of our nodes, networks and containers.
#
# @return [Boolean] True if successful.
- def recycle
+ def recycle(force=false)
self.demolish
- self.build
+ self.build(force)
true
end
# Test Lab Doctor