Brocade Communications Systems ServerIron ADX 12.4.00 Service Manual Page 5

  • Download
  • Add to my manuals
  • Print
  • Page
    / 34
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 4
ServerIron ADX OpenScript Guide v
53-1002445-01
Contents
About This Document
Supported hardware and software . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Document conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Text formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Notes, cautions, and danger notices . . . . . . . . . . . . . . . . . . . . . vii
Notice to the reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .viii
Related publications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .viii
Getting technical help or reporting errors. . . . . . . . . . . . . . . . . . . . . .ix
Web access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix
E-mail and telephone access . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix
Chapter 1 Overview of OpenScript
What is OpenScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Why OpenScript uses Perl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Why OpenScript uses Perl instead of TCL . . . . . . . . . . . . . . . . . .2
The OpenScript Engine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Capabilities provided by the Brocade OpenScript engine. . . . . .3
Architecture of the OpenScript engine . . . . . . . . . . . . . . . . . . . . .4
Performance estimator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Using Perl on the ServerIron ADX. . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Perl variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Chapter 2 OpenScript Fundamentals
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Structure of a ServerIron ADX Perl script. . . . . . . . . . . . . . . . . . . . . . .7
Basic anatomy of a script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Sample scripts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
High readability script example. . . . . . . . . . . . . . . . . . . . . . . . . .10
Power-user script example . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
Chapter 3 Managing Scripts on a ServerIron ADX
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Importing and exporting scripts. . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Script name size limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Importing and exporting scripts through TFTP. . . . . . . . . . . . . .14
Page view 4
1 2 3 4 5 6 7 8 9 10 ... 33 34

Comments to this Manuals

No comments