Forum Discussion
yairsh_310893
Apr 23, 2017Nimbostratus
Call an iRule from another iRule
Hey there
I'm trying to write an iRule that will do the following:
create an event that will match by the client source ip address and if i come from a specific source ip address range then th...
Ryan77777
Apr 24, 2017Altocumulus
Checkout the call function.
For example, I use one to call an HTML page when the server farm is in "maintenance" mode.
example_include.irule
proc display_page {} {
HTTP::respond 200 content {
HTML code to return here
then call it via the irule you have assigned to the VS.
main.irule
if { conditional_here } {
call example_include.irule::display_page
}
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