Forum Discussion
Pepi_71346
Nimbostratus
May 17, 2010Call a code or other irule from an irule
Hi all,
I need your help :-).
I need to use an irule from other irule. I know that it's not possible to call an irule from other but I don't know if there is a way to create a code block like a function, so I can call this function from my irule.
Thanks in advance,
Pepi
2 Replies
- The_Bhattman
Nimbostratus
Hi Pepi,
Irules is locked down so you can not make function calls from iRules. However, it's possible to pass variables from one event to another but within the connection via Global variables. Another method which I remember is that if you are running core 9.4 or higher you can use the virtual which can send the request to another virtual that contains another iRule.
I hope this helps,
Bhattman - hoolio
Cirrostratus
There has been talk of user-defined functions, but it hasn't happened yet. See this post for details:
CR96170 - Support for user defined functions
http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/aff/5/aft/21564/afv/topic/Default.aspx
Aaron
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
