I have a task of implementing a basic backup and recovery system within a django app. I have heard of pyvmomi, but never used it before. My specific tasks at hand is:
1) make a call to a vCenter, pass the vm name, and request to make a snapshot 2) obtain the file location of the snapshot 3) and upload the snapshot file into an OpenStack Swift object store
What is the actual syntax of creating a vm snapshot using pyvmomi? Also - what is the syntax to request the actual snapshot file from vCenter?