lib/testlab/network.rb in testlab-0.7.6 vs lib/testlab/network.rb in testlab-0.8.0
- old
+ new
@@ -5,11 +5,11 @@
# Network Class
#
# @author Zachary Patten <zachary AT jovelabs DOT com>
class Network < ZTK::DSL::Base
- STATUS_KEYS = %w(node_id id state interface network netmask broadcast provisioners).map(&:to_sym)
+ STATUS_KEYS = %w(id node_id state interface network netmask broadcast provisioners).map(&:to_sym)
# Sub-Modules
autoload :Actions, 'testlab/network/actions'
autoload :Bind, 'testlab/network/bind'
autoload :ClassMethods, 'testlab/network/class_methods'
@@ -38,9 +38,11 @@
def initialize(*args)
@ui = TestLab.ui
super(*args)
+
+ @ui.logger.info { "Network '#{self.id}' Loaded" }
end
end
end