Procedures/Subroutines for iRules have arrived in 11.4.0!
Everyone break out the celebratory champagne.
A long-requested feature for iRules has been support for procedures/subroutines. There have always been some issues with using the "proc" command directly - mainly related to how TMOS processes the events and how iRules plugs into how TCL procedures would work. But in 11.4.0 we can now write procedures to our hearts' content:
https://devcentral.f5.com/wiki/irules.call.ashx
What was delivered in 11.4 was a little more than JUST procedure support for a local iRule -- it allows you to create and call a procedure that exists in another iRule entirely, even without attaching that other iRule to your virtual server. This allows you to create a library of subroutines in one consolidated rule that can be called by other rules!
You'll hear more about this via DevCentral staff soon.
Read up on this new functionality -- iRules just got a whole lot more flexible than they already are.
Joel