Hello-
I have a question about querying a device configuration with JUNOScript and having it include any changes made to the configuration by commit-scripts (equivalent to "show | display commit-scripts" CLI command). Is it possible to do this, and if so is it documented anywhere?
The latest available (9.6) JUNOScript API documentation does not contain any references to "commit-scripts", and so if it IS supported it's definitely not documented there.
Currently I use the following command to fetch a configuration with apply-group inheritances:
<get-configuration database="committed" inherit="inherit"/>
My Juniper rep suggested I try this based on an educated guess:
<get-configuration database="committed" commit-scripts="commit-scripts"/>
Which was accepted by the device without errors, but did not change the output. The output was the same as if I had passed inherit="inherit". So the verdict is still out... Is it possible, and if so, how do we call it?
Any assistance on this is appreciated!
#junoscript#get-configuration#xml#commit-scripts