python sdk create vm to specific target storage domain from template

Hi, Here is one of my system setup: Data Centers dc01 Storage storagedomain01 storagedomain02 storagedomain03 Clusters cl01 When i making vm from template on webgui, under the resource allocation i can choose which target storagedomain like to provision. The question is how can i set this target parameter when i'm using python sdk for vm creation? regards enax

On 03/22/2016 02:41 PM, Dobó László wrote:
Hi,
Here is one of my system setup:
Data Centers dc01 Storage storagedomain01 storagedomain02 storagedomain03 Clusters cl01
When i making vm from template on webgui, under the resource allocation i can choose which target storagedomain like to provision. The question is how can i set this target parameter when i'm using python sdk for vm creation?
regards enax
There is an example of how to do that in this message: http://lists.ovirt.org/pipermail/devel/2015-June/010789.html -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
participants (2)
-
Dobó László
-
Juan Hernández