Forum Discussion
Sarvjit_81591
Nimbostratus
Jul 14, 2008Programmatically select iRule
Is there any way to Programmatically select an existing iRule.
Assuming we have one iRule attached to a virtual server, I would like to (based on URI/host/whatever) select an ex...
Colin_Walker_12
Jul 14, 2008Historic F5 Account
Right now there isn't a way to next iRules like this. The closest you could probably come right now is to set up a second virtual with the iRule enabled that you want to programmatically select, then select that virtual as a target in the case you want that iRule enabled.
That is a pretty kludgey kludge, though, and would result in a bunch of nearly identical Virtuals, assuming you want to programmatically select more than one iRule.
Colin
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
