Steve Thanks for explaining it. I am still new to python.
Don On Tue, Sep 25, 2012 at 10:32 AM, Steve Gordon <[email protected]> wrote: > ----- Original Message ----- >> From: "Don Dupuis" <[email protected]> >> To: "Steve Gordon" <[email protected]> >> Cc: [email protected] >> 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 _______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

