Workflow to Run Process Scripts
Complete the following tasks to provision process scripts:
Download the script—Store the script on an HTTP server or copy to the hard disk of the router. Add the script from the HTTP server or hard disk to the script management repository on the router using the
script add process
command.Configure the checksum—Check script integrity and authenticity using the
script process <script.py> checksum
command.Register the script—Register the script as an application in the app manager using
appmgr process-script
command.Activate the script—Activate the registered application using
appmgr process-script activate
command.View the script execution details—Retrieve the operational data using the
show appmgr process-script
command.
The following image shows the workflow diagram representing the steps that are involved in using a process script:
For more information about performing the workflow, managing Process scripts, and viewing examples, see the Automation Scripts chapter based on the platform:
- Programmability Configuration Guide for Cisco 8000 Series Routers, IOS XR Release 7.3.x and later versions
- Programmability Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 7.3.x and later versions
- Programmability Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 7.3.x and later versions
- Programmability Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 7.3.x and later versions