Specifications
Creating and Running Ridgeline Scripts
Ridgeline Concepts and Solutions Guide
230
See http://www.tcl.tk for a list of Tcl commands supported in Ridgeline scripts. Some Tcl commands
are not supported in Ridgeline scripts. See “Tcl Support in Ridgeline Scripts” in the Ridgeline
Reference Guide for a list of blocked Tcl commands.
Syntax and constructs from these sources work seamlessly within Ridgeline scripts. For example, the
response from a switch to an ExtremeXOS CLI command issued from a script can be processed using
Tcl func t i o n s .
Bundled Ridgeline Scripts
Ridgeline includes a number of sample scripts that you can use as templates for your own Ridgeline
scripts. These scripts perform such tasks as downloading firmware, uploading/downloading
configuration files, and configuring VLANs.
The sample scripts included with Ridgeline are available to users with an Administrator role. The XML
source files for the scripts are located in the
<Ridgeline_install_dir>/user/scripting/
bundled_scripts/xml
directory.
The Ridgeline Script Interface
To display the scripts configured in Ridgeline, expand the list of items in the Network Administration
folder, and click Scripts. Figure 174 shows the Scripts View.