Method: TestLab::Network::Actions#up
- Defined in:
- lib/testlab/network/actions.rb
#up ⇒ Object
Start the network
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/testlab/network/actions.rb', line 59 def up @ui.logger.debug { "Network Up: #{self.id} " } self.node.alive? or return false please_wait(:ui => @ui, :message => format_object_action(self, 'Up', :green)) do self.node.bootstrap(<<-EOF, :ignore_exit_status => true) set -x ifconfig #{self.bridge} #{self.ip} netmask #{self.netmask} broadcast #{self.broadcast} up EOF do_provisioner_callbacks(self, :up, @ui) end true end |