pysphere
pysphere copied to clipboard
New features
I saw NOT LONGER MAINTAINING notice, but I'll live this here anyway to let people know.
I added these features in 2014 for my own needs, and I don't use VSphere now either.
- Able to login using OS session credentials on both Windows (SSPI) and Linux (MIT Kerberos), #17
from pysphere import VIServer
server = VIServer()
server.connect("esxi.domain.local", passthrough=True)
- Able to rename VM snapshots (
rename_current_snapshot,rename_named_snapshot,rename_snapshot_by_pathmethods ofVIVirtualMachine) (#56) - Able to
registerandunregisterVM (add/remove existingvmxto inventory) VIFileManager, manipulates files on datastores (list files, create folder, upload, download, move, copy, delete)- Added
_create_filter,_wait_for_updatesmethods toVIServer VIVirtualMachine.list_processes()can filter processes by PIDs.