Forum Discussion
Sam_Hall
Nimbostratus
Aug 29, 2013Is there some sort of an iRule "include" statement?
What I'm looking for is a way to include library style iRules so I can maintain changes to reused iRule code in a single place.
Kevin_Davies_40
Nacreous
Aug 29, 2013You 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
} 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