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 <[email protected]> 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> > _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

