Software Development Kit (SDK) and API Discussions

snapmirror show

Hi,

 

I just started to setup ansible for netapp snapmirror automation. My ansible version is 2.7.5, Python is 2.7 and netapp is 9.6.

 

I am currently translating all the snapmirror raw command in current bash script into ansible na_ontap_snapmirror module call. For example:

 

"snapmirror show -fields state,status,last-transfer-error -source-path vserver_name:trident_persistent_claim_3884e"

 

Can you please tell me if ansible netapp snapmirror has something equivalent?

 

Thanks!

2 REPLIES 2

Re: snapmirror show

Have you joined here?

https://github.com/NetApp/ansible

 

Re: snapmirror show

Thanks for your help. I have not joined the github project, and I could view the source code. Do you think I can find answer for my question from the source code? na_ontap_gather_facts will give me the result which is equivalent to "snapmirror show" command returns?

 

Thanks!

Forums