From ONTAPI 1.5 onwards, the "volume" input parameter of snapshot-list-info has description as follows:
"Name of the volume on which to list the snaplist information. It is for backward compatibility. The recommended usage is to use arguments ("target-name", "target-type") pair."
We have some code written a while back that invokes snapshot-list-info with the volume parameter. We would like to know:
1) Is this volume parameter going to be obsoleted at some point?
2) If the above is true, then we would need to add logic to invoke snapshot-list-info with either target-name/target-type or volume parameter depending on what the filer supports. What would be the best way to make such a determination? Version check or is there a way to describe snapshot-list-info specification on a system to get valid input parameter names?
Thanks.