Software Development Kit (SDK) and API Discussions

snapmirror show

jj_netapp1

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

mjdalton1

Have you joined here?

https://github.com/NetApp/ansible

 

jj_netapp1

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!

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public