lib/testlab/network/lifecycle.rb in testlab-0.8.5 vs lib/testlab/network/lifecycle.rb in testlab-0.8.6

- old
+ new

@@ -11,11 +11,11 @@ (self.state == :not_created) and return false please_wait(:ui => @ui, :message => format_object_action(self, 'Setup', :green)) do self.network_provisioners.each do |provisioner| - @ui.logger.info { ">>>>> NETWORK PROVISIONER SETUP: #{provisioner} <<<<<" } + @ui.logger.info { ">>>>> NETWORK PROVISIONER SETUP: #{provisioner} (#{self.bridge}) <<<<<" } p = provisioner.new(self.config, @ui) p.respond_to?(:on_network_setup) and p.on_network_setup(self) end end @@ -31,10 +31,10 @@ (self.state == :not_created) and return false please_wait(:ui => @ui, :message => format_object_action(self, 'Teardown', :red)) do self.network_provisioners.each do |provisioner| - @ui.logger.info { ">>>>> NETWORK PROVISIONER TEARDOWN: #{provisioner} <<<<<" } + @ui.logger.info { ">>>>> NETWORK PROVISIONER TEARDOWN: #{provisioner} (#{self.bridge}) <<<<<" } p = provisioner.new(self.config, @ui) p.respond_to?(:on_network_teardown) and p.on_network_teardown(self) end end