salt-ext-modules-vmware
salt-ext-modules-vmware copied to clipboard
update get_datastores to work with recursive folders
utils/vmware.py::get_datastore
uses some fancy traversal to make finding datastores more efficient.
Unfortunately, when searching "everywhere" it doesn't search nested folders.
This should probably be made to work with nested folders. In the meantime, modules/datastore.py
is using a wrapper function that gets all datastores and searches by name if nothing exists. This should work but be less efficient.