lib/testlab/network.rb in testlab-0.2.1 vs lib/testlab/network.rb in testlab-0.3.0
- old
+ new
@@ -25,13 +25,14 @@
include TestLab::Utility::Misc
# Associations and Attributes
belongs_to :node, :class_name => 'TestLab::Node'
+ has_many :interfaces, :class_name => 'TestLab::Interface'
+ attribute :address
attribute :bridge
- attribute :ip
attribute :config
def initialize(*args)
super(*args)