Question

I have a requirement to create a number of virtual machines on an ESXi host from a list contained in a CSV file which contains the number of processors, disk space, RAM etc. In order to do this it is required that I use the Mule ESB and the VMWare API.

I am new to Mule and Mule Studio but I can make Mule parse the CSV (using info from How to read CSV file and insert data into PostgreSQL using Mule ESB, Mule Studio) and I have the WSDL for the VMware API (http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2010507) but I can't connect the two.

The CSV format is not defined yet so anything suitable is fine. Any help is greatly appreciated.

Was it helpful?

Solution 2

why not try with Perl, its simple, vSphere SDK avail at free , We can extract values from csv files and send them to vSphere API.

http://www.vmware.com/support/developer/viperltoolkit/index.html

here they gave how to connect to vsphere, we can use web services calls to connect to vsphere. all the need is to open https port.

We can play left and right with vSphere using perl.

OTHER TIPS

You need a file inbound endpoint to pick up the CSV files, see: http://www.mulesoft.org/documentation/display/current/File+Transport+Reference

And also need a CXF client with an HTTP outbound endpoint to connect to the VMWare web service, see: http://www.mulesoft.org/documentation/display/current/Consuming+Web+Services+with+CXF

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top