--_=__=_XaM3_.1418227873.2A.366751.42.13104.52.42.007.806599816
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=0A Hello all,=0A I'm trying to create a new VM using python sdk with=
it's disks cloned/independent and not on thin provisioning, when I creat=
e vm I use template (that has a preallocated disks), and I use this code =
to create a vm:=0A api.vms.add(params.VM(name=3DVMNAME, memory=3DMEM*GB=
, cluster=3Dapi.clusters.get(CLUSTER),=0A =
template=3Dapi.templates.get(templatename), description=3D'PROVA' ))=0A =
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 sam=
e operations on python sdk...=0A someone can let me know what params I =
should pass to api.vms.add to clone disks?=0A Best regards=0A Amedeo =
Salvati=0A
--_=__=_XaM3_.1418227873.2A.366751.42.13104.52.42.007.806599816
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=0A<div class=3D"xam_msg_class">=0A=0A =0A<div
class=3D"xam_msg_class">=
=0A=0A<div class=3D"xam_msg_class">=0A=0A <font
size=3D"2">Hello all,<b=
r /><br />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 t=
emplate (that has a preallocated disks), and I use this code to create a =
vm:<br /><br />api.vms.add(params.VM(name=3DVMNAME, memory=3DMEM*GB, clus=
ter=3Dapi.clusters.get(CLUSTER), <br />=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 template=3D=
api.templates.get(templatename), description=3D'PROVA' ))<br /><br
/>if I=
use web portal I'm able to preallocate/clone disks under resource alloca=
tion tab (New VM -> resource allocation), instead I can't found same o=
perations on python sdk... <br /><br />someone can let me know what param=
s I should pass to api.vms.add to clone disks?<br /><br />Best regards<br=
/>Amedeo
Salvati</font>=0A =0A</div>=0A=0A=0A</div>=0A=0A =0A</div>=0A=
--_=__=_XaM3_.1418227873.2A.366751.42.13104.52.42.007.806599816--