Perl Local Lb Rule iControl script to manage iRules
Hello Guys,
I've been trying to find an iControl script that I can use to modify iRules.
So I found the one from the F5 wiki (link provided bellow) that handles the job quite good with one exception, I cannot modify existing iRules on the F5 BigIP LTM. I can list, add or delete iRules but what is import for me is to be able to change the default pool within an existng iRule itself. When I try doing this with the script bellow I get the following error: The requested iRule (/Common/test_iRule) already exists in partition Common.
My syntax is: LocalLBRule.pl host uid pwd load test_iRule Where the test_iRule is save locally with modified default pool and the same iRule is presented on the F5 with default pool different than the one saved locally.
I would appreciate any help with this script or any other script that could do the same job.
https://devcentral.f5.com/wiki/iControl.PerlLocalLbRule.ashx