Software Development Kit (SDK) and API Discussions

Beginner question - CG Snapshots with Python

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 REPLY 1
Highlighted

Re: Beginner question - CG Snapshots with Python

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

Check out the KB!
Knowledge Base
All Community Forums
Public