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

Don Dupuis dondster at gmail.com
Tue Sep 25 14:49:21 UTC 2012


Steve

That is exactly the same outcome that I was getting.

Don

On Tue, Sep 25, 2012 at 9:44 AM, Steve Gordon <sgordon at redhat.com> wrote:
> ----- 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