Heatmaps, iRules Style: Part2
Last week I talked about generating a heat map 100% via iRules, thanks to the geolocation magic in LTM systems, and the good people over at Google letting us use their charting API. This was an outst...
Published Jul 08, 2010
Version 1.0Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
Charles_Roth_79
Sep 15, 2011Nimbostratus
Colin, has anyone actually tried to do unit-testing on iRules? You know, putting some sort of Junit-like test framework around the iRules interpreter?
Brainstorming with some folks at dinner after an F5-training session at Milestones, we convinced ourselves that it, in theory, ought to be possible to build a fairly simple simulator for that part of a BIG-IP that handles iRules, and allow for test data input feeds (simulating received events) and a set of assertions that would fully test any given set of iRules.
Has anybody thought about this, or am I blowing smoke? Otherwise it seems like the process of building and debugging complex iRules is basically straight out of the 1980's... (?)