Skip to content

Commit

Permalink
Merge pull request #15400 from agrare/add_miq_templates_to_infra_mana…
Browse files Browse the repository at this point in the history
…ger_ic

Add MiqTemplate to InfraManager InventoryCollection
  • Loading branch information
blomquisg authored Jun 28, 2017
2 parents 7bbd86d + f76444c commit ed6f7be
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ def vms(extra_attributes = {})
attributes.merge!(extra_attributes)
end

def miq_templates(extra_attributes = {})
attributes = {
:model_class => ::ManageIQ::Providers::InfraManager::Template,
:association => :miq_templates,
}

attributes.merge!(extra_attributes)
end

def disks(extra_attributes = {})
attributes = {
:model_class => ::Disk,
Expand Down

0 comments on commit ed6f7be

Please sign in to comment.