Displaying 1 result from an estimated 1 matches for "schema_class".
2009 Jul 23
0
[PATCH server] Add network QMF apis.
...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_controller.rb b/src/ovirt-agent/lib/ovirt/controllers/network_controller.rb
new file mode 100644
index 0000000..1a8ffd1
--- /dev/null
+++ b/src/ovirt-agent/lib/ovirt/controllers/network_controller.rb
@@ -0...