Which scripting language we must know for iRule?

To understand or to write the iRule which scripting language we must know, is it TCL, python or some other & how we should start with it any URL/book or videos. Also what role does CHEF, Puppet & other plays in F5 automation.

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

Please visit below websites for more TCL help: DevCentral - An F5 Technical Community 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)

http://wiki.tcl.tk/

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