cvpysdk
cvpysdk copied to clipboard
Developer SDK - Python
On newer python versions (3.12.2+) some of the comments in the code trigger warnings. These warnings will become errors in the future. ``` e5b1bd7a9a60:~# python Python 3.12.2 (main, Feb 7...
Hello, into workflow.py , the workflow_xml parameter of import_workflow method need to be a str since SP30 (rev 9fe1e32161e3feaf58085cf77df6ab322a8dca8b ) instead of basestring in the past. It is an issue...
Please add a method for clientgroup class for manualy resync clients in clientgroup Reason: ``` def sync(group_name: str) -> None: target_group = ClientGroup(commcell, group_name) target_group.update_properties({'syncStatus': 1}) print('NEW Sync Status:', target_group.properties['discoverRulesInfo']['syncStatus'])...
Hi, The `add_virtual_server_subclient` function in `subclient.py` has different input options/validation as the `content` function in subclients/vssubclient.py`. Could you please abstract the handling of virtual server content in a generic function...
We are trying to create mysql instance @ 11.32 commserve: ``` >>> restore_from = 'a-o0' >>> client_to_restore = commcell.clients.get(restore_from) >>> agent = client.agents.get('mysql') >>> print(agent) "Mysql" Agent instance for Client:...
instances\vsinstance.py Is missing entry in dict for 201: "xen"
Hi while modifying a storage policy association that contains uppercase letters in the name, it happens that after the update all letters are lower case. The schedule policy names are...
The feed-back from CV support on issue 251031-332 confirm that the API POST for releasing all licenses don't work with the current call even there are not error. The request...
https://github.com/Commvault/cvpysdk/blob/ea91a066142891bda56e306b0d908d78d05d45fc/cvpysdk/organization.py#L1222 Deprecated: https://api.commvault.com/docs/SP42/api/cv/Organizationoperations/delete-a-company/ Corect one: https://api.commvault.com/docs/SP42/api/cv/OpenAPI3/delete-company/ Can you please update the SDK to use the correct API?
in the SP40 version, the line 5902 seems to make no sense and generates a runtime error : request_json = { "clientProperties": {}, "association": { "entity": [ { "clientName": self.client_name...