lib/testlab/node.rb in testlab-0.2.1 vs lib/testlab/node.rb in testlab-0.3.0

- old
+ new

@@ -5,11 +5,11 @@ # Node Class # # @author Zachary Patten <zachary@jovelabs.net> class Node < ZTK::DSL::Base - STATUS_KEYS = %w(id instance_id state user ip port provider con net rtr).map(&:to_sym) + STATUS_KEYS = %w(id instance_id state user ip port provider con net).map(&:to_sym) # Sub-Modules autoload :Actions, 'testlab/node/actions' autoload :Bind, 'testlab/node/bind' autoload :ClassMethods, 'testlab/node/class_methods' @@ -34,10 +34,9 @@ include TestLab::Utility::Misc # Associations and Attributes belongs_to :labfile, :class_name => 'TestLab::Lab' - has_many :routers, :class_name => 'TestLab::Router' has_many :containers, :class_name => 'TestLab::Container' has_many :networks, :class_name => 'TestLab::Network' attribute :provider attribute :config