Ben_Wilson_2412
Nov 06, 2013Cirrus
Bunch of similar iRules
We have a bunch of similar iRules that only differ in a few properties. Rather than create separate rules for each VIP, I'd rather server of couple "VIP environment variables" that can be referenced by the same rules.
What would be a reasonable approach?
- Use data classes for each variable and look them up based on the VIP name (bleh)
- Have the first rule set the variables referenced by subsequent rules
- Have 1 rule that sets the environment and "calls" the rest of the rules
I'm pretty sure 1 can be done, I'd prefer 2 and 3 could work.
Any suggestions or caveats?
Thanks! Ben