Commvault / cvpysdk

Developer SDK - Python
https://commvault.github.io/cvpysdk/
Apache License 2.0
54 stars 41 forks source link

The Subclient default is configured to show all unprotected VMs in the / folder from vmware. #138

Closed pertoft closed 2 years ago

pertoft commented 3 years ago

The Subclient default is configured to show all unprotected VMs in the / folder from vmware.

However, when I access the folder using the SDK with:

self.__subclient = self.__commcell.clients.get(self.__config['vmware']['vcenter']).agents.get('virtual server').instances.get('vmware').backupsets.get(self.__config['vm']['backupset']).subclients.get("default")
ids, vmproperties = self.__subclient.browse()

The response (ids, vmproperties) are empty. How is it possible to list all VMs from the client (like the preview button in commvault)?

spakhare commented 2 years ago

Please try with the latest changes