Forum Discussion
Ethan_Erchinger
Nimbostratus
Mar 10, 2006Passing 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 ...
Mar 10, 2006
we currently don't support the ability to call rules from other rules. You can use variables to allow to to move context from one rule to another though. In your case, if you want to know which virtual the rule is run under, you can use the "virtual name" command.
when HTTP_REQUEST {
log local0. "Virtual name: [virtual name]"
}
-Joe
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