Forum Discussion
Andrew_L
Jun 28, 2021Nimbostratus
Issue with implementing an irule through a script.
I'm currently trying to implement an iRule using tmsh from within a bash script, but this results in an error that I've not been able to find information on. The scripted command: tmsh cr...
Nikoolayy1
Jun 28, 2021MVP
You may try a cli tmsh script and trigger the cli script from REST-API external script or bash script:
https://clouddocs.f5.com/cli/tmsh-reference/v14/modules/cli/cli_script.html
https://clouddocs.f5.com/api/tmsh/
https://clouddocs.f5.com/api/tmsh/script__run.html
Also you may use the REST-API and add the irule from system like Ansible without any local cli or bash scripts at all:
https://docs.ansible.com/ansible/latest/collections/f5networks/f5_modules/bigip_irule_module.html
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