----- Original Message -----
From: "Don Dupuis" <dondster(a)gmail.com>
To: "Steve Gordon" <sgordon(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Tuesday, September 25, 2012 11:03:44 AM
Subject: Re: [Users] How to change number of cpu cores in Ovirt 3.1 with the python sdk.
Steve
THANKS!!! That did the trick.
I was originally trying it like this
vm_cpu = params.CPU(topology=[params.CpuTopology(cores=4,
sockets=1)])
Don
In the params.OperatingSystem(boot=[params.Boot(dev="hd")]) example the reason
you pass a list (denoted by the square brackets) is that the VM can have a number of boot
devices which will be tried in order. A VM can only have one CPU topology though which is
why the topology argument shouldn't be a list. That is my understanding anyway ;).
Steve