Hello all,
   I'm trying to create a new VM using python sdk with it's disks 
cloned/independent and not on thin provisioning, when I create vm I use 
template (that has a preallocated disks), and I use this code to create a vm:
   api.vms.add(params.VM(name=VMNAME, memory=MEM*GB, 
cluster=api.clusters.get(CLUSTER),
                                 template=api.templates.get(templatename), 
description='PROVA' ))
   if I use web portal I'm able to preallocate/clone disks under resource 
allocation tab (New VM -> resource allocation), instead I can't found same 
operations on python sdk...
   someone can let me know what params I should pass to api.vms.add to clone 
disks?
   Best regards
   Amedeo Salvati
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to