Forum Discussion

Alex_L's avatar
Alex_L
Icon for Altostratus rankAltostratus
Apr 07, 2026
Solved

Managing iRules configuration

Hi everyone, 

I was searching on documentation on using Github to deploy iRules as it feels inpractical to manually configured iRules 1 by 1 if you had lets say 35 of them.

 

I noticed an article in 2016 however I have not seen much more details on this?

Is this something that has been done by many of you with different tools other than GitHub?

Any information would be very helpful.

Have a good one,

 

  • Hi AL,

    I know no open project that does iRule templating.

    GitHub itself is only a code hosting plattform. You must write your own pipeline actions and templating to do this. 

    I myself have production ready iRule templating with CI/CD pipelines implemented for GitLab pipelines. It is also do-able and it works like a charm. I use gpp as template processor as it integrates well with iRule syntax.

    In my dayjob I do a lots of automation for F5 with GitLab. It is a perfect way to automate F5's.

5 Replies

  • You want to create / update / download iRules in batch? I wrote Restsh to do such things in a CLI. It also possible to integrate it in CI/CD pipelines. The functions you want could be: f5.ltm.irule.batch

    • Alex_L's avatar
      Alex_L
      Icon for Altostratus rankAltostratus

      Hi Juergen,

       

      thank you for your information.

      I am doing research on a better way to manage iRules that would be closer to Infrastructure as Code as I would liek for iRules to be created based on a template but also for users to not directly modify it as it promotes a better separation of duties and change management. That was the reason I was curious about gitHub.

      Regards,

      AL

      • you should try the graphical local traffic policy in the bigip webgui.
        it's also has more performance than irule script.

        the docs seem complex but it's actually simple

        https://techdocs.f5.com/en-us/bigip-15-0-0/big-ip-local-traffic-management-getting-started-with-policies/introducing-local-traffic-policies.html

  • Hi AL,

    I know no open project that does iRule templating.

    GitHub itself is only a code hosting plattform. You must write your own pipeline actions and templating to do this. 

    I myself have production ready iRule templating with CI/CD pipelines implemented for GitLab pipelines. It is also do-able and it works like a charm. I use gpp as template processor as it integrates well with iRule syntax.

    In my dayjob I do a lots of automation for F5 with GitLab. It is a perfect way to automate F5's.

  • Hi Jurgen, 

    thank you for this information.

    I will look up the information on this.

    Have a good one!

    AL