Forum Discussion
Justin_Adrian_3
Nimbostratus
Mar 09, 2010iRule to check for iRules
Bit of a strange request but I am at a loss.
I am looking for any syntax that I can use that would allow me to check for the number of irules assigned to a VIP.
For instance.
...
hoolio
Cirrostratus
Mar 09, 2010I don't think you can get a count of iRules enabled on the VIP from an iRule. But maybe you could set a variable in the first rule that the second one references to know it doesn't need to run a specific block of code?
You can check whether a variable has been set using [info exists rule1_var].
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects