[Users] How to change number of cpu cores in Ovirt 3.1 with the python sdk.

Itamar Heim iheim at redhat.com
Mon Sep 24 21:40:52 UTC 2012


On 09/24/2012 09:56 PM, Don Dupuis wrote:
> I am using Ovirt 3.1 with the ovirt-engine-sdk. I have written a
> python script using this sdk but I can't seem to get the
> parameters right to change the cpu cores when creating the vm.  All
> the other parameters I want to change works just fine. Does anyone
> have an example on how to do this.

any reason you are trying to change number of cores per socket and not 
just the number of sockets?

the API has:
     <cpu>
         <topology cores="1" sockets="1"/>
     </cpu>




More information about the Users mailing list