Learn OpenScript

LEARN Brocade ADX OpenScript

by JoeZ on ‎12-13-2011 02:41 PM (487 Views)

New to PERL?

Getting Started on OpenScript.

Background

The Application Delivery environment requires more than simple CLI commands for managing Application traffic. Often, an operator wants to make packet forwarding decisions based on real-time events such as layer-3, layer-4, layer-7 data or server metrics such as current server load statistics. These situations require a more dynamically programmable environment than traditionally offered through built-in CLI commands. In essence, the operators prefer programming the Application Forwarding Behavior rather than statically provisioning it. The flexibility of programming the data-plane at layer-7 is invaluable in dynamic data center environments as new applications come online. The CLI-based interface of ServerIron ADX currently consists of a list of policy, rule, and configuration commands that can be used to configure the application delivery switch for such tasks as real server configuration, load-balancing metrics, as well as for traffic redirection and transformation operations.

What is OpenScript
Where the ServerIron ADX has always supported CLI-based configuration, OpenScript provides a Perl-based scripting environment to create event-driven configurations that can adapt to a real-time network environment. This Perl-based environment provides the functionality of the Perl scripting language with a series of extensions that mirror much of the capability provided by the CLI interface. Consequently, the OpenScript environment allows you to create configurations using scripts written in Perl to obtain traffic information from the ServerIron ADX and react to that information by making changes to the application switch and then respond through changes in operation. A simple example of this process could be an script that enables load-balancing based on a URL match in an HTTP request.