[ovirt-users] Enabling Ballooing device on templates from Python SDK

Barak Korren bkorren at redhat.com
Mon Jun 20 15:46:48 UTC 2016


Hi there,

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

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
...

vmpool = ovirt.vmpools.add(
vmpool=oVirtParams.VmPool(


-- 
Barak Korren
bkorren at redhat.com
RHEV-CI Team



More information about the Users mailing list