Enabling Ballooing device on templates from Python SDK

20 Jun
2016
20 Jun
'16
5:50 p.m.
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 bkorren@redhat.com RHEV-CI Team
3373
Age (days ago)
3373
Last active (days ago)
0 comments
1 participants
participants (1)
-
Barak Korren