can someone help me?

2017-03-07 16:25 GMT-03:00 Marcelo Leandro <marceloltmm@gmail.com>:
Hello ,

I am have an script that create VM , after upgrade to 4.1 I have this erro when trying create a new VM:

detail: Cannot add VM. Memory size (20480MB) cannot exceed maximum memory size (4096MB).

my commando fore create VM :

api.vms.add(params.VM(name="teste", memory=memo , cpu=cpu, cluster=api.clusters.get(cluster), template=api.templates.get('Blank'), type_="server"))

I dont how specific  the maximum memory size.

Thanks

Marcelo Leandro