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

Steve Gordon sgordon at redhat.com
Tue Sep 25 10:44:31 EDT 2012


----- Original Message -----
> From: "Don Dupuis" <dondster at gmail.com>
> To: "Itamar Heim" <iheim at redhat.com>
> Cc: users at ovirt.org
> Sent: Monday, September 24, 2012 8:08:40 PM
> Subject: Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the python sdk.
> 
> I know the layout of the xml stuff, but I am trying to use the python
> sdk code such as an example
> 
> vm_os = params.OperatingSystems(boot=[params.Boot(dev="hd")])
> 
> Don

I think you want params.CpuTopology. I can't work out how to actually add that to the VM creation request though, I assigned it to the cpu parameter and didn't get an error but I also didn't get a VM with the assigned number of cores/sockets.

Steve



More information about the Users mailing list