Hey Pablo,
Just wanted to let you know that I have added an example script to the Web Services Samples out on GitHub.
https://github.com/NetApp/webservices-samples/commit/012315abeca27c5018c068386bb3f32ef04f2f4e
This is a simple example, but it does 3 things:
1. Runs the same health check that we run when intiating an upgrade operation from the GUI interface[s].
2. Takes a firmware file from the user's local filesystem and uploads it, telling the controller[s] to activate it immediately.
3. Waits for the controllers to reboot and become active again.
I can elaborate on any portions that are unclear, and this may be the subject of a future article out on The Pub. I know you aren't the only one interested in how to do this, and I think a more general explanation would be helpful.
Thanks,
Michael