lib/testlab.rb in testlab-0.6.8 vs lib/testlab.rb in testlab-0.6.9
- old
+ new
@@ -217,26 +217,10 @@
# 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
- nodes.each do |node|
- node.create
- node.up
- node.setup
-
- node.networks.each do |network|
- network.create
- network.up
- network.setup
- end
-
- node.containers.each do |container|
- container.create
- container.up
- container.setup
- end
- end
+ method_proxy(:build)
true
end
# Node Method Proxy