Specifications

Ridgeline Concepts and Solutions Guide
229
CHAPTER
16
Creating and Running Ridgeline
Scripts
This chapter describes how you can use to create and edit Ridgeline scripts, then run them on managed
devices. Topics include:
An overview of Ridgeline scripts
Information about the Ridgeline script interface
How to create, edit, and run Ridgeline scripts
Using the Ridgeline Audit Log to troubleshoot and rerun scripts
An overview of ExtremeXOS scripts
About Ridgeline Scripts
Ridgeline scripts are files containing CLI commands, control structures, and data manipulation
functions. Ridgeline scripts can be executed on one or more devices: simultaneously on multiple
devices, or on one device at a time.
You can schedule Ridgeline scripts to run on specified devices at specified times, either on a one-time or
recurring basis. Scripts can be designated as script tasks that can be executed according to a pre-set
schedule.
Ridgeline scripts are similar to ExtremeXOS scripts in that they are collections of ExtremeXOS CLI
commands and control structures. Ridgeline scripts add some additional commands that are specific to
Ridgeline.
In general, Ridgeline scripts support syntax and constructs from the following sources:
ExtremeXOS 12.1 CLI commands
ExtremeXOS CLI commands in an Ridgeline script are sent to the device, and the response can be
used by the script.
ExtremeXOS 12.1 CLI scripts
Control structures such as
IF..ELSE and DO..WHILE can be used in Ridgeline scripts. See the “CLI
Scripting” chapter in the ExtremeXOS Concepts Guide for more information on ExtremeXOS script
functionality and syntax.
The Tcl scripting language version 8.1