search for: svc_update

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

Did you mean: evo_update
2009 Aug 21
0
Unable to assign cobbler image as boot device
...c' /usr/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2' /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call' cobbler (0.1.3) lib/cobbler/base.rb:127:in `make_call' (eval):4:in `find_one' app/services/vm_service.rb:291:in `vm_provision' app/services/vm_service.rb:164:in `svc_update' app/services/vm_service.rb:159:in `svc_update' app/controllers/vm_controller.rb:81:in `update' The image is an iso on an nfs mount set up using the cobbler gui. Cheers, Justin.
2010 Sep 09
1
Provisioning Windows
How do I go about provisioning a windows VM? I've added the iso to cobbler using the following command. cobbler image add --name=W2k8Prov --file=nfs://192.168.50.190/ovirt/w2k8.iso The image then appears in the list of Operating Systems to choose when creating a VM. I select the image when I create the VM but then when I go to save I get the error: undefined method `keys' for
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with multiple networks and vice-versa. updated patchset so as to be applicable against current oVirt server HEAD these patches may be applied in any order, they all need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server frontend, backend, and tests components, permitting vms to be associated with multiple networks and vice versa. Also included are two patches which are required for the frontend bits; a patch adding collapsable sections to the vm form, which in itself depends on the second patch that provides default values for the cpu and memory vm table fields
2009 Sep 23
0
[PATCH server] consolidated network & routing info ui's
...IpAddress.new(params[:ip_address]) ] + end + alert = svc_create(params[:network]) render :json => { :object => "network", :success => true, :alert => alert } end @@ -68,6 +74,21 @@ class NetworkController < ApplicationController def update alert = svc_update(params[:id], params[:network]) + + # create or update the ip address if specified + address = params[:ip_address][:address] + if !address.nil? && address != "" + if params[:ip_address][:id].nil? + svc_create_ip_address(params[:ip_address]) + else +...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...ervices/pool_service.rb b/src/app/services/pool_service.rb index c05b0dc..02c63f5 100644 --- a/src/app/services/pool_service.rb +++ b/src/app/services/pool_service.rb @@ -55,7 +55,6 @@ module PoolService # === Required permissions # [<tt>Privilege::MODIFY</tt>] for the pool def svc_update(id, pool_hash) - # from before_filter svc_modify(id) Pool.transaction do additional_update_actions(@pool, pool_hash) diff --git a/src/app/services/smart_pool_service.rb b/src/app/services/smart_pool_service.rb index 67adfe0..28bdaf3 100644 --- a/src/app/services/smart_pool_servi...
2009 May 15
0
[PATCH server] use service layer for Network controller.
...rams[:id]) - if @network.type == 'PhysicalNetwork' - @network = PhysicalNetwork.find(params[:id]) - else - @network = Vlan.find(params[:id]) - end + end - @network.usages.delete_all - @network.update_attributes!(params[:network]) + def update + alert = svc_update(params[:id], params[:network]) + render :json => { :object => "network", :success => true, :alert => alert } + end - alert = "Network was successfully updated." - render :json => { :object => "network", :success => true, -...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
..._setup_network_options @storage_tree = @vm.vm_resource_pool.get_hardware_pool.storage_tree(:vm_to_include => @vm).to_json render :layout => 'popup' end def update params[:vm][:forward_vnc] = params[:forward_vnc] + _parse_network_params(params) alert = svc_update(params[:id], params[:vm], params[:start_now], - params[:restart_now]) + params[:restart_now], params[:nics]) render :json => { :object => "vm", :success => true, :alert => alert } end @@ -164,4 +166,48 @@ class VmControlle...
2009 Jul 23
0
[PATCH server] Add network QMF apis.
...69a4..38e3694 100644 --- a/src/ovirt-agent/lib/ovirt/controllers/vmdef_controller.rb +++ b/src/ovirt-agent/lib/ovirt/controllers/vmdef_controller.rb @@ -3,6 +3,11 @@ module Ovirt include VmService + def description(desc) + puts "description property set for vmdef." + svc_update(id, { :description => desc }, false, false) + end + def find(id) svc_show(id) render(@vm) diff --git a/src/ovirt-agent/ovirt-agent.rb b/src/ovirt-agent/ovirt-agent.rb index 62834b0..425699b 100755 --- a/src/ovirt-agent/ovirt-agent.rb +++ b/src/ovirt-agent/ovirt-agent.rb @@...
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...create(params[:vm], params[:start_now]) render :json => { :object => "vm", :success => true, :alert => alert } end @@ -75,7 +74,6 @@ class VmController < ApplicationController end def update - params[:vm][:forward_vnc] = params[:forward_vnc] alert = svc_update(params[:id], params[:vm], params[:start_now], params[:restart_now]) render :json => { :object => "vm", :success => true, :alert => alert } diff --git a/src/app/models/host.rb b/src/app/models/host.rb index 588137b..4975205 100644 --- a/src/app/mod...