[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 00:08:40 UTC 2012


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

On Mon, Sep 24, 2012 at 4:40 PM, Itamar Heim <iheim at redhat.com> wrote:
> 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