Pyvix is a project mainly written in C and PYTHON, it's free.
python bindings for vmware vix api
pyvix is a Python wrapper for the VMWare VIX C API that allows Python to programmatically control VMWare virtual machines.
Example operations include:
= Build and install = rm -rdf build/; python setup.py build; python setup.py install
Note that python setup.py build
will call gcc to build the Python
extension module and link it to libvmware-vix.so. Make sure you use
the same compiler version for both libvmware-vix.so and the extension.
I "solved" some Segmentation Faults by matching the compiler versions.
= Run tests = a) /usr/bin/py.test
b) gdb --args /usr/bin/python /usr/bin/py.test tests/test_vm.py -s -v