Forum Discussion
TimRiker
Cirrocumulus
Feb 08, 2019iControlREST replace iRule references on all virtual servers
I'm looking for a way to replace one iRule with another across all Virtual Servers on a given F5. The rule should preserve the order of the irules ie:
vs_example.com_HTTPS
irules before:
r...
Lee_Sutcliffe
Nacreous
Feb 08, 2019Take a look at the iControl cheat sheet, there's an example on how to update the iRules applied to a virtual server.
curl -sku admin:admin https:///mgmt/tm/ltm/virtual/ \
-X PATCH -H "Content-Type: application/json" \
If the order of the iRules is important I would edit the iRules ensuring the events have an appropriate priority, this dictates the execution order. This way you do not need to worry about the order
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
