Workflow to Run Process Scripts

Complete the following tasks to provision process scripts:

  1. 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.

  2. Configure the checksum—Check script integrity and authenticity using the script process <script.py> checksum command.

  3. Register the script—Register the script as an application in the app manager using appmgr process-script command.

  4. Activate the script—Activate the registered application using appmgr process-script activate command.

  5. 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: