Forcing a reload of External Data Groups within an iRule
This article shows how to use iControl to force an iRule to reload external configuration data when that data has changed. Background One of the more common uses of iRules is to extract part of...
Published Feb 07, 2007
Version 1.0Jorge_Cabanilla
Mar 15, 2011Nimbostratus
HI all,
I just resolve this problem for my tests, maybe some variations will be needed for each particular irule, but this is the general idea:
1.- Put the statement that assigns the variable value from the class, in a place were the value needs to be utilized.
Put the statement inside other event that will use that variable other than "when RULE_INIT"
2.- Save the Irule
3.-Run your test. Run the scenario that will force to re-read the variable (in the new place). This action will force to assign the new value to the variable when needed in the particular event, example in "when HTTP_REQUEST" or "when HTTP_REQUEST_DATA "
4.- The new value will be the F5 memory
5.- Remove the statement from that place and leave your irule as before.
6.- Save the irule
7.-Done