Forum Discussion
3 Replies
- Lee_SutcliffeNacreous
TCL is all you really need to know for writing iRules - that and the custom F5 iRule functions such as [HTTP::path] for example. As for teaching yourself, the best way is to try and write iRules based on a requirement. Knowing TCL helps but there are restrictions with TCL on F5 (Namespace command for example). But generally the format ans syntax are the same
Puppet can help automate F5 builds, ensuring configuration is consistent, a good intro can be found here:
https://devcentral.f5.com/articles/automate-big-ip-with-puppet-28130
- RaghavendraSYAltostratus
Please visit below websites for more TCL help: https://devcentral.f5.com/articles/irules-101-01-introduction-to-irules http://www.tcl.tk/man/tcl8.4/TclCmd/contents.htm
Hi bbukane,
If you need some good iRule ressources to begin with, then check out the links below...
DevCentral Article: The iRule 101 Series (to understand the concept of iRules)
https://devcentral.f5.com/articles/irules-101-01-introduction-to-irules
DevCentral Article: 20 Lines or less Series (to get some creative ideas)
https://devcentral.f5.com/wiki/iRules.20LinesOrLess.ashx
DevCentral Site: iRules Wiki Home (access to the F5 specific command reference)
https://devcentral.f5.com/wiki/iRules.HomePage.ashx
Developer Site: TCL v8.4 Documentation (access to the TCL specific command reference)
https://www.tcl.tk/man/tcl8.4/
Developer Site: TCL Wiki Site (access to the TCL developer community with lot of background informations)
F5 Ressource: iRule Editor (must have ISE for developing iRules!)
https://devcentral.f5.com/d/tag/irules%20editor
Community Project: iRule Editor Web Edition (in the case you don't have access to Windows)
https://devcentral.f5.com/questions/online-irule-editor-mac-windows-linux-compatible
Cheers, Kai