Forum Discussion
5 Replies
Sort By
- uniAltostratus
Unfortunately, no
- Kevin_Davies_40Nacreous
You can simulate reusable code by separating it into different iRules. You can have multiple iRules of the same event and order them using priority. Then whenever you need to update your iRule, all the virtual's using it will update themselves when you save the changes.
when HTTP_REQUEST priority 300 { reusable code } when HTTP_REQUEST priority 500 { normal code }
- Frank_30530Altocumulus
As of 11.3 you can you functions as I recall. Functions are globally available, so you can have one iRule where functions are defined.
- nitassEmployee
you know irule procedure is available in 11.4.0, don't you? :-)
Procedures/Subroutines for iRules have arrived in 11.4.0!
- Colin_Walker_12Historic F5 Account
Procs are indeed how you would do this, and are new and awesome as of v11.4:
There will be lots more information and examples in coming weeks, so keep an eye out. ;)