Forum Discussion
Brad_Stapleton
Nimbostratus
Sep 02, 2021irule to call other irules?
Is it possible to have a master irule call other irules based on URI? Our dev teams want to control their own routing and not run the risk of breaking other apps. Example: We have three application...
Dario_Garrido
Noctilucent
Sep 04, 2021Hello Brad.
Actually, only iRule assigned to VS could be executed. So your idea of calling another iRules from a main iRule is not possible.
Anyway, there is a way to isolate virtual hosts (app1, app2, ...) using VIP-targeting-VIP.
The idea is to have a main VS which catches all the requests and redirects each request by app to another VS (using the "virtual" command).
In this "new" virtual, you could assign another iRules that won't interfere with the rest of the VS.
REF - https://clouddocs.f5.com/api/irules/virtual.html
Regards,
Dario.
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