Displaying 2 results from an estimated 2 matches for "217a89c".
Did you mean:
21789
2009 Aug 05
1
[PATCH server] associated nics w/ network base class as it is in the db
...twork.rb
+++ b/src/app/models/physical_network.rb
@@ -17,8 +17,6 @@
# also available at http://www.gnu.org/copyleft/gpl.html.
class PhysicalNetwork < Network
- has_many :nics
-
def is_destroyable?
nics.empty?
end
diff --git a/src/app/models/vlan.rb b/src/app/models/vlan.rb
index 217a89c..e34dddc 100644
--- a/src/app/models/vlan.rb
+++ b/src/app/models/vlan.rb
@@ -19,8 +19,6 @@
class Vlan < Network
has_many :bondings
- has_many :nics
-
validates_presence_of :number,
:message => 'A number must be specified.'
--
1.6.0.6
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with
multiple networks and vice-versa. updated patchset so
as to be applicable against current oVirt server HEAD
these patches may be applied in any order, they all
need to be pushed together