Forum Discussion
Jason_Andres_40
Nimbostratus
Sep 27, 2007iRule Manual
Does anyone know of an iRule manual or basic instructions for creating iRules?
I've been through all the samples and irules reference but still having trouble with syntax, open close brackets etc..
2 Replies
- Rumor has it there is something like this in the works but I don't know the status of it. In the mean time, we are starting to put on steam with our 101 series of tech tips and this one is a pretty good one to start with. How about for my next tech tip (by the latest of next Thursday), I'll do a write-up on iRule Syntax. If you have any other ideas, please let us know and we'll get them in the pipeline for upcoming tech tips.
-Joe - Andy_Herrman_22
Nimbostratus
If it's brackets and such that you're having problems with then you should look for TCL references, not iRule ones. iRules are built in the TCL language, and it sounds like the problems you're having are language related.
TCL is (as I like to put it) "simply complex". The actual rules behind the language are incredibly simple, and there's really very little to them. However, they interact in some quite complex ways.
Usually I use the TCL reference liked to by the iRule editor:
http://tmml.sourceforge.net/doc/tcl/index.html
Click here
The basic rules of the language as far as what the different kinds of brackets do are here:
http://tmml.sourceforge.net/doc/tcl/Tcl.html
Click here
I'd suggest giving that a read (or maybe 3), and also looking at some of the control construct documentation. It's helped me a lot (though I still get easily confused).
EDIT: Finally figured out how to make links clickable!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
