Software Development Kit (SDK) and API Discussions

Beginner question - CG Snapshots with Python

alexj

Does anyone have a good tutorial or code example of taking a CG snapshot across multiple volumes with the SDK for Python? I'm most curious about how you go about building the XML for cg-start and sending it with invoke. So far I have only retrieved data via the APIs.

 

Thanks!

1 ACCEPTED SOLUTION

alexj

Figured it out - you construct the NaElement and send that with invoke_elem. NaElement is constructed using NaElement(), element.child_add_string(), and element.child_add().

View solution in original post

1 REPLY 1

alexj

Figured it out - you construct the NaElement and send that with invoke_elem. NaElement is constructed using NaElement(), element.child_add_string(), and element.child_add().

View solution in original post

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