Class: ForemanOpennebula::HostsController

Inherits:
HostsController
  • Object
show all
Defined in:
app/controllers/foreman_opennebula/hosts_controller.rb

Instance Method Summary collapse

Instance Method Details

#scheduler_hint_filter_selectedObject



13
14
15
16
17
18
19
# File 'app/controllers/foreman_opennebula/hosts_controller.rb', line 13

def scheduler_hint_filter_selected
  return not_found unless params[:host]
  refresh_host
  Taxonomy.as_taxonomy @organization, @location do
    render :partial => 'compute_resources_vms/form/opennebula/scheduler_hint_data'
  end
end

#vmgroup_selectedObject



5
6
7
8
9
10
11
# File 'app/controllers/foreman_opennebula/hosts_controller.rb', line 5

def vmgroup_selected
  return not_found unless params[:host]
  refresh_host
  Taxonomy.as_taxonomy @organization, @location do
    render :partial => 'compute_resources_vms/form/opennebula/vmgroup_role'
  end
end