Revision 9bb4e25f
Added by Ohad Levy about 12 years ago
- ID 9bb4e25f77db6771096a83185dc6ce41c8be9e7f
app/models/orchestration/dhcp.rb | ||
---|---|---|
module InstanceMethods
|
||
|
||
def dhcp?
|
||
!subnet.nil? and subnet.dhcp?
|
||
!subnet.nil? and subnet.dhcp? and managed?
|
||
end
|
||
|
||
def sp_dhcp?
|
Also available in: Unified diff
fixes #1600 - records are deleted even though host is not Managed