Ethan_Erchinger
Mar 10, 2006Nimbostratus
Passing arguments or iRule introspection
Hello again,
Is there a way to pass an argument to an iRule? Such as in a virtual call "rule my_irule 1". Then in my_irule reference argv[1] or such.
If not, how about being able to determine who called this iRule, like $::Parent or something would be the name of a virtual that called this iRule.
Any ideas?
I'd like to reuse an iRule with multiple virtuals, but use different snatpools based on who's calling the iRule. Maybe I should simply base it off of IP::server_addr, which should differ between two different virtuals.
Thanks,
Ethan