search for: vm_actions

Displaying 10 results from an estimated 10 matches for "vm_actions".

Did you mean: vm_action
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...tance variables + # * <tt>@vms</tt> VMs identified by +vm_ids+ + # === Required permissions + # permission is action-specific as determined by + # <tt>VmTask.action_privilege(@action)</tt> + # This method can be called to initiate an action on one or more vms + def svc_vm_actions(vm_ids, vm_action, action_args) + vm_ids = [vm_ids] unless vm_ids.is_a?(Array) + successful_vms = [] + failed_vms = {} + vm_ids.each do |vm_id| + begin + successful_vms << svc_vm_action(vm_id, vm_action, action_args) + rescue Exception => ex + failed_vms...
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order: * [PATCH server] Add svc_vm_actions method to VmService. * [PATCH server] Cloud UI layer to initiate actions on vms. The service layer patch should work fine on its own (and not break anything), but cloud patch relies on service being there.
2009 Sep 16
2
[Fwd: Re: [PATCH node-image] keep NIC and HBA firmwares]
Forwarding to the list for Jay or Scott to have a look. Ignazio, do you see any more details (traceback or something) in the rails log? -------------- next part -------------- An embedded message was scrubbed... From: ignazio.cassano at provincia.torino.it Subject: Re: [Ovirt-devel] [PATCH node-image] keep NIC and HBA firmwares Date: Wed, 16 Sep 2009 16:48:47 +0200 Size: 4031 URL:
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
Signed-off-by: Simon COURTOIS <scourtois at linagora.com> --- src/app/controllers/vm_controller.rb | 5 ++ src/app/models/vm_task.rb | 4 +- src/app/views/vm/start.rhtml | 77 ++++++++++++++++++++++++++++++++++ src/task-omatic/taskomatic.rb | 7 +++- 4 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 src/app/views/vm/start.rhtml diff
2010 Sep 21
1
[PATCH] Fixing a loading issue with the Start On form
Signed-off-by: Simon COURTOIS <scourtois at linagora.com> --- src/app/views/vm/start.rhtml | 76 +++++++++++++++++++++-------------------- 1 files changed, 39 insertions(+), 37 deletions(-) diff --git a/src/app/views/vm/start.rhtml b/src/app/views/vm/start.rhtml index bed1d2d..f80cf70 100644 --- a/src/app/views/vm/start.rhtml +++ b/src/app/views/vm/start.rhtml @@ -4,6 +4,45 @@ <%-
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...ex 00cf982..8930a4b 100644 --- a/src/app/services/vm_resource_pool_service.rb +++ b/src/app/services/vm_resource_pool_service.rb @@ -73,7 +73,6 @@ module VmResourcePoolService # permission is action-specific as determined by # <tt>VmTask.action_privilege(@action)</tt> def svc_vm_actions(pool_id, vm_action, vm_ids) - # from before_filter @pool = VmResourcePool.find(pool_id) @parent = @pool.parent @action = vm_action diff --git a/src/app/services/vm_service.rb b/src/app/services/vm_service.rb index fb58b51..4c29bcf 100644 --- a/src/app/services/vm_service.rb +++ b/...
2009 May 21
1
[PATCH server] Updated look and feel for empty grid views
...39;<div id="vm_action_results">'); - $('#vm_action_results').load('<%= url_for :controller => "resources", + $('#vm_action_results').load('<%= url_for :controller => "resources", :action => "vm_actions", :id => @pool %>', { vm_ids: vms.toString(), vm_action: action }); } @@ -89,7 +89,7 @@ function vms_select(selected_rows) { var selected_ids = new Array(); - for(i=0; i<selected_rows.length; i++) { + for(i=0; i<selected_rows.length; i++) {...
2009 May 13
1
[PATCH server] Cloud UI V1 (readonly).
..._perms(@user, + Privilege::VIEW, + # NOTE: maybe this ^^ part could be taken care of behind the scenes? + # Also, needs to be changed to a cloud priv + page, order) + @actions = VmTask.get_vm_actions + show + end + + def show + ids = params[:ids] + task_page = find_in_params_or_default(:task_page, 1) + task_order = find_in_params_or_default(:task_order, "tasks.id") + @vm_details = Vm.find(ids) if ids + if @vm_details + @tasks = VmTask.paginate(:conditions =&gt...