Download This Guide
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- Summary of Extension Functions in the jcs and slax Namespaces
- get-input() Function (jcs and slax Namespaces)
- get-secret() Function (jcs and slax Namespaces)
- output() Function (jcs and slax Namespaces)
- printf() Function (jcs and slax Namespaces)
- syslog() Function (jcs and slax Namespaces)
- trace() Function (jcs and slax Namespaces)
- ACX, EX, M, MX, SRX, T Series
- Junos Script Automation: Understanding Extension Functions in the jcs and slax Namespaces
progress() Function (jcs and slax Namespaces)
Namespaces
SLAX Syntax
XSLT Syntax
Release Information
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.
Description
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.
Parameters
string | — | Text output to CLI session |
Usage Examples
SLAX syntax:
expr jcs:progress('Working...');
XSLT syntax:
<xsl:value-of select="jcs:progress('Working...')"/>
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'
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- Summary of Extension Functions in the jcs and slax Namespaces
- get-input() Function (jcs and slax Namespaces)
- get-secret() Function (jcs and slax Namespaces)
- output() Function (jcs and slax Namespaces)
- printf() Function (jcs and slax Namespaces)
- syslog() Function (jcs and slax Namespaces)
- trace() Function (jcs and slax Namespaces)
- ACX, EX, M, MX, SRX, T Series
- Junos Script Automation: Understanding Extension Functions in the jcs and slax Namespaces
Published: 2013-03-05
Download This Guide
Supported Platforms
Related Documentation
- ACX, EX, M, MX, PTX, SRX, T Series
- Summary of Extension Functions in the jcs and slax Namespaces
- get-input() Function (jcs and slax Namespaces)
- get-secret() Function (jcs and slax Namespaces)
- output() Function (jcs and slax Namespaces)
- printf() Function (jcs and slax Namespaces)
- syslog() Function (jcs and slax Namespaces)
- trace() Function (jcs and slax Namespaces)
- ACX, EX, M, MX, SRX, T Series
- Junos Script Automation: Understanding Extension Functions in the jcs and slax Namespaces