Hi there,

I'm trying to create a VM pool from the Python SDK with the Ballooning
device enabled.

(Sorry for miss-sending earlier)

My code does something like:

mp = ovirtsdk.infrastructure.brokers.MemoryPolicy()
mp.ballooning = true
...

vm_params = ovirtsdk.infrastructure.brokers.VM()
vm_params.memory_policy = mem_policy
...

vmppp=ovirtsdk.infrastructure.brokers.VmPool(vm=vm_params, ...)
vmpool = ovirt.vmpools.add(vmppp)


The pool gets created fine, but it seems the ballooning device remains
disabled for the VMs

What am I doing wrong?

Thanks,

-- 
Barak Korren
[email protected]
RHEV-CI Team
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to