Forum Discussion
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