Commvault / cvpysdk

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

finding the global filter status of subclient #50

Closed shruthijanakiram closed 6 years ago

shruthijanakiram commented 6 years ago

Can I know the python SDK command to find the global filter status and to enable it?

GoelJatin commented 6 years ago

Hi @shruthijanakiram ,

You can select the Global filters from the Commcell object: >>> commcell.global_filters

You can find more details for the global filters supported operations here: Global Filters

shruthijanakiram commented 6 years ago

commcell.global_filters

The above command will provide comcell level global filter status. But how can we get the subclient level global filter status.

GoelJatin commented 6 years ago

@spakhare ,

Sachin, can you please help Shruthi here.

spakhare commented 6 years ago

Hi @shruthijanakiram

As of now we don't have support for this. Will update here, once we add the support for this.

shruthijanakiram commented 6 years ago

But i see global filter module. What operation does that module perform

spakhare commented 6 years ago

That module is to add filters at global level (commcell level).

GoelJatin commented 6 years ago

Hi @shruthijanakiram ,

We've added support for global filters at Subclient level for File System.

GET Global filter status value

SET Global filter status value

The code is updated on the dev branch.

Please give it a try, and let us know if you see any issues.

GoelJatin commented 6 years ago

Closing the issue, assuming this worked as expected.