vmware/pyvmomi-community-samples

Sample: find a VM using FindByDatastorePath

Open

#48 opened on Jun 2, 2014

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (972 stars) (914 forks)batch import
OpenStackhelp wantedsample request

Description

Demonstrate how to figure out a Virtual Machine's datastore path during create, save the path, and then use that path to find the VM again later. This can be a valuable tool in systems that are focused on Datastore and storage as their primary focus in creating, managing, and moving around Virtual Machines.

In particular the Nova driver on OpenStack does this a lot and could use some clean samples around that work flow.

Contributor guide