Code using VMware vSphere API (python and perl)