Hello @rpotru,
While the use of ZAPI (via NMSDK) is the same between the versions, unfortunatley there are a lot of differences between 7-mode and clustered Data ONTAP.
Firstly, the presence of SVMs in clustered means that the API calls need to be targeted at either the cluster or SVM, depending on which "owns" the action, e.g. aggregate operations happen at the cluster level, volume operations happen at the SVM level.
Beyond that, clustered ONTAP simply has more features, which means that the APIs will have more, and sometimes different, options.
Unfortunately, I think this means that you will probably need to have functions in your framework to accomodate both operational modes for ONTAP. I know this is not optimal, but it is the safest way to ensure that functionality won't be lost by having to hope that ZAPI will fail gracefully.
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.