progress() Function (Python, SLAX, and XSLT)
Function introduced in Junos OS Release 7.6.
Support for the slax namespace http://xml.libslax.org/slax added in Junos OS Release 12.2.
Support for Python added in Junos OS Release 16.1R1 on QFX Series switches and ACX Series, MX Series, PTX Series, and T Series routers.
Support for Python added in Junos OS Release 17.1R1 on ACX500, ACX1000, ACX1100, ACX2000, ACX2100, ACX2200, and ACX4000 routers, and EX Series switches.
Support for Python added in Junos OS Release 17.3R1 on SRX1500, SRX4100, SRX4200, SRX5400, SRX5600, and SRX5800 devices and vSRX instances.
Support for Python added in Junos OS Release 18.3R1 on ACX5048 and ACX5096 routers.
Issue a progress message containing the single argument immediately to the CLI session provided that the detail flag was specified when the script was invoked.
The prefix associated with the namespace URI should be defined in the prefix-to-namespace mapping in the style sheet.
string—Text that is output to CLI session.
The script must be invoked with the detail flag in order for the progress message to appear in the CLI session.
user@host> op script1.slax detail
2010-10-01 16:27:54 PDT: running op script 'script1.slax' 2010-10-01 16:27:54 PDT: opening op script '/var/db/scripts/op/script1.slax' 2010-10-01 16:27:54 PDT: reading op script 'script1.slax' 2010-10-01 16:27:54 PDT: Working... 2010-10-01 16:28:14 PDT: inspecting op output 'script1.slax' 2010-10-01 16:28:14 PDT: finished op script 'script1.slax'