Sha256: f8da25dfdf036afb882c2873ae64070c4aaace7c4caf736995c81b509b0751cd

Contents?: true

Size: 372 Bytes

Versions: 7

Compression:

Stored size: 372 Bytes

Contents

class TestLab
  class Network

    module Lifecycle

      # Network Setup
      def setup
        @ui.logger.debug { "Network Setup: #{self.id} " }

        self.create
        self.up
      end

      # Network Teardown
      def teardown
        @ui.logger.debug { "Network Teardown: #{self.id} " }

        self.down
        self.destroy
      end

    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
testlab-0.4.0 lib/testlab/network/lifecycle.rb
testlab-0.3.1 lib/testlab/network/lifecycle.rb
testlab-0.3.0 lib/testlab/network/lifecycle.rb
testlab-0.2.1 lib/testlab/network/lifecycle.rb
testlab-0.2.0 lib/testlab/network/lifecycle.rb
testlab-0.1.0 lib/testlab/network/lifecycle.rb
testlab-0.0.4 lib/testlab/network/lifecycle.rb