search for: pool_hash

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

2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
...b 100644 --- a/src/app/services/hardware_pool_service.rb +++ b/src/app/services/hardware_pool_service.rb @@ -43,8 +43,8 @@ module HardwarePoolService # +parent_id+ # === Required permissions # [<tt>Privilege::MODIFY</tt>] for the parent pool - def svc_create(pool_hash, other_args) - svc_new(other_args[:parent_id], pool_hash) + def svc_create(pool_hash, parent_id, other_args) + svc_new(parent_id, pool_hash) Pool.transaction do @pool.create_with_parent(@parent) diff --git a/src/app/services/smart_pool_service.rb b/src/app/services/smart_pool_s...
2009 Jul 23
0
[PATCH server] Add network QMF apis.
...ntroller.rb b/src/ovirt-agent/lib/ovirt/controllers/hardwarepool_controller.rb index b7ea3f2..fc5c198 100644 --- a/src/ovirt-agent/lib/ovirt/controllers/hardwarepool_controller.rb +++ b/src/ovirt-agent/lib/ovirt/controllers/hardwarepool_controller.rb @@ -35,7 +35,7 @@ module Ovirt puts "pool_hash: #{pool_hash.inspect}" svc_create(pool_hash, id, {}) - args['vm_pool'] = encode_id(@pool.id) + args['vm_pool'] = @agent.encode_id(VmResourcePoolService.schema_class.id, @pool.id) end end end diff --git a/src/ovirt-agent/lib/ovirt/controllers/network_...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...rvice.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_service.rb +++ b/sr...