search for: edit_vmpool

Displaying 3 results from an estimated 3 matches for "edit_vmpool".

2010 Sep 01
1
[PATCH 1/3] Adding the VM Pool migration for vms
Signed-off-by: Simon COURTOIS <scourtois at linagora.com> --- src/app/controllers/vm_controller.rb | 16 ++++++++++++++ src/app/views/vm/edit_vmpool.rhtml | 36 ++++++++++++++++++++++++++++++++ src/app/views/vm/show.rhtml | 3 ++ src/public/images/icon_vmpool_11px.png | Bin 0 -> 542 bytes 4 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 src/app/views/vm/edit_vmpool.rhtml create mode 100644 src/publ...
2010 Aug 25
0
[PATCH] Adding the VM Pool migration for vms
Signed-off-by: Simon COURTOIS <scourtois at linagora.com> --- src/app/controllers/vm_controller.rb | 16 +++++++++++++ src/app/views/vm/edit_vmpool.rhtml | 39 ++++++++++++++++++++++++++++++++ src/app/views/vm/show.rhtml | 3 ++ src/public/images/icon_vmpool_11px.png | Bin 0 -> 542 bytes 4 files changed, 58 insertions(+), 0 deletions(-) create mode 100644 src/app/views/vm/edit_vmpool.rhtml create mode 100644 src/publ...
2010 Aug 25
2
[PATCH] Virtio support
.../controllers/vm_controller.rb b/src/app/controllers/vm_controller.rb index 9860843..bc01a8c 100644 --- a/src/app/controllers/vm_controller.rb +++ b/src/app/controllers/vm_controller.rb @@ -146,6 +146,18 @@ class VmController < ApplicationController render :layout => false end + def edit_vmpool + svc_modify(params[:id]) + @vm = Vm.find(params[:id]) + render :layout => 'popup' + end + + def update_vmpool + svc_modify(params[:id]) + @vm = Vm.find(params[:id]) + # TODO + end + protected def _setup_provisioning_options @provisioning_options = [[Vm::P...