One more question. Is there another API that I can use to export a device configuration at the moment in which I do a commit, with a post-commit script?
I would like to do the following:
Some changes are done on one or more devices, due to a manual configuration on the device on the nso cli
After the commit is executed I want to execute a post-commit script that saves the configuration of the changed devices in the file systems, in xml format (like when we execute the command ‘show full-configuration devices device <device_name> | display xml | save <file_name>.xml
So the post-commit script must have an API to get the list of devices whose configuration has changed by the commit and another API to export the configuration of those devices into an xml file. Is this possible?