Forum Discussion
Automatic deployment of IRULES
Dear Team, we are running up to 6 instances of LB's from F5. Our plan is to centralize the configuration in our SVN.
Every change should be done via a "SSH" comand in tmsh directly on the LB-Instance. This works fine for everything except incerting IRULES.
Do you have any Idea how we could add IRULES via tmsh or directly into the LB? [I-CONTROL is not the best option]
Thank you in advance.
Cheers Matthias
1 Reply
- Kevin_Stewart
Employee
There is a way. If doing this from the Bash command line, you need to first create a local environment variable, and then assign that variable to the TMSH iRule creation command line. Example:
rule="when HTTP_REQUEST { log local0. \"Hello World\" }" tmsh create / ltm rule "test-rule-2" $rule
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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