Revision c6e02bd3
Added by Joseph Magen over 10 years ago
app/models/compute_resources/foreman/model/ovirt.rb | ||
---|---|---|
self.attrs[:ovirt_quota_id]
|
||
end
|
||
|
||
def hardware_profiles(opts={})
|
||
def templates(opts={})
|
||
client.templates
|
||
end
|
||
|
||
def hardware_profile(id)
|
||
def template(id)
|
||
client.templates.get(id) || raise(ActiveRecord::RecordNotFound)
|
||
end
|
||
|
Also available in: Unified diff
fixes #3178 - add feature for compute profiles for hostgroups and hosts