Kaspersky SD-WAN

Additional configuration of CPE devices using scripts

17 April 2024

ID 244549

You can use scripts for additional configuration of CPE devices. To have a script automatically added to all devices that use a CPE template, you can add the script to the template. Added scripts can be run automatically or manually. Scripts are run automatically when the conditions specified in the script settings are satisfied, for example, when a CPE device is registered.

Running scripts is the responsibility of VNFM, so network connectivity between VNFM and CPE devices must be ensured before you begin working with scripts. By default, the CPE template specifies the port number that VNFM uses to connect to the device and the name of the user on whose behalf VNFM must run scripts. You can change the port number and user name if necessary.

The table of scripts is displayed in the CPE template and on the device:

  • To display the table of scripts in a CPE template, go to the SD-WAN → CPE templates menu section, click the template, and in the displayed settings area, select the Scripts tab.
  • To display the table of scripts on a CPE device, go to the SD-WAN → CPE menu section, click the device, and in the displayed settings area, select the Scripts tab.

Information about scripts is displayed in the following columns of the table:

  • Name is the script name.
  • Executor is the interpreter.
  • Authentication is the type of VNFM authentication in the CPE device.
  • Custom executor is the path to the custom interpreter.
  • Timeout (sec.) is the time in seconds after which VNFM stops attempting to run a script that could not run the first time.
  • Repeat execution specifies whether or not the script must be run again:
    • Yes
    • No
  • Stage is the stage of the CPE device operation at which VNFM must run the script.
  • Script is name of the script file or the Ansible playbook file.
  • File is the name of the archive with additional files that the script requires to run.
  • Actions contains the actions that can be performed with the script.

In this section

Adding a script

Manually running scripts

Scheduling scripts

Editing a script

Deleting a script

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.