Displaying 3 results from an estimated 3 matches for "hwpool".
Did you mean:
dpool
2009 Sep 08
1
[PATCH server] fix live migration
...;
<% pool_controller = 'hardware' unless (defined? pool_controller) and !(pool_controller.nil?) %>
-<% hosts_per_page.nil? ? hosts_per_page = 40: hosts_per_page = hosts_per_page %>
+<% hosts_per_page = 40 if !defined?(hosts_per_page) or hosts_per_page.nil? %>
<% if (hwpool.nil? or
((hwpool.is_a? HardwarePool) and (hwpool.hosts.size > hosts_per_page)) or
((hwpool.is_a? SmartPool) and (hwpool.tagged_hosts.size > hosts_per_page)))
diff --git a/src/app/views/vm/migrate.rhtml b/src/app/views/vm/migrate.rhtml
index f94723a..9165425 100644
--- a/src/ap...
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
...rl_for :action => 'vm_action' %>">
+ <div class="dialog_form">
+ <%= error_messages_for 'start_vm' %>
+
+ <%= render :partial => '/host/grid', :locals => {
+ :table_id => 'start_vm_grid',
+ :hwpool => @vm.get_hardware_pool,
+ :exclude_pool => nil,
+ :exclude_host => nil,
+ :is_popup => true,
+ :checkboxes => false,
+ :on_select => 'start_vm_select',
+ :on_deselect => 'start_vm_deselect',...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...lt;%- end -%>
<div id="dialog-content-area">
<div class="dialog_body_small">
<div class="panel_header"></div>
<%= render :partial => "/host/grid", :locals => { :table_id => "addhosts_grid",
:hwpool => nil,
- :exclude_pool => @hardware_pool.id,
+ :exclude_pool => @pool.id,
:exclude_host => nil,
:checkboxes => true,
:on_select => "load_widget_select",
@@ -20,8 +20,8 @@
:hosts_per_page =&g...