Questions tagged [pysphere]

Python API for interaction with the vSphere Web Services SDK.

It's built upon a slightly modified version of ZSI (that comes bundled-in) which makes it really fast in contrast to other python SOAP libraries that don't provide code generation.

link: https://code.google.com/p/pysphere/

18 questions
0
votes
1 answer

PySphere send_file HTTP 500 error

I am using pysphere to interface with my esxi server. One of the functions I am trying to use is send_file (Explained here). That results in the following exception: File "/usr/local/lib/python2.7/dist-packages/pysphere/vi_virtual_machine.py",…
Inbar Rose
  • 41,843
  • 24
  • 85
  • 131
0
votes
1 answer

How to clone a VM to a specific Datastore?

I would like to use pyvmomi to clone VMs and attach it to specific datastore (specifically with most free space). I couldn't find a solution for this in pysphere therefore I trying luck with pyvmomi but the it seems that learning curve for this…
Patryk
  • 22,602
  • 44
  • 128
  • 244
-1
votes
1 answer

Ansible vsphere_guest error

I try to auto create some VM i can say the CODE was working as it was ... I was able to create 20 VM on the fly! Now I upgrade my Ansible from Ansible 1.8.4 configured module search path = None TO Ansible 1.9.0.1 configured module search path…
Noam Greenberg
  • 111
  • 1
  • 1
  • 7
1
2