Isaac_38899
Feb 12, 2012Nimbostratus
adding iRules
Hi all
I am writing a script to add an existing iRule to a virtual, which is fine using LocalLBVirtualServer.add_rule
The existing iRules dont have a priority specifically set and the rule I am adding has a priority set to 900, when I add the rule I need to specify a priority value or an error is thrown, I have set this to 4 in my script which works, the existing 4 rules return 0,1,2 and 3 as priorities when I run LocalLBVirtualServer.get_rule so the rule that I am adding is at the bottom of the list.
is there any way that I can force the rule that I am adding to the top of the list of iRules?