Forum Discussion
KingMeow_3883
Altostratus
Apr 01, 2015Calling commands by string / reflection
Hi,
Is there any way to call iRule commands by string? For example, can I turn the string "starts_with" into a variable which calls the command 'starts_with'?. I'm trying to make an iRule that inte...
Hannes_Rapp
Nimbostratus
Apr 01, 2015Hi,
As far as I'm aware, no. The TCL
exec command which could otherwise be used for such purpose is excluded from the available iRule commands. Can you perhaps explain a bit what you'd like to do?
Do you want to select a specific pool or initiate a redirect, based on HTTP URI value? It also appears you want to manage all updates via an LTM data-group instead of iRule. Please give a few samples of condition/action in iRule format.
Regards,
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