Forum Discussion
iRule development
I'm currently running into issues with iRule development where I get a TCL error when running a CRYPTO::decrypt command. The command itself is largely irrelevant to this question. Basically is there a way to drop into a TCL shell on the F5 that has access to the F5 specific commands like CRYPTO:: ?
As a software developer this is one of the most frustrating things about dealing with the F5s is the complete lack of concern that is given to actually testing iRule code.
1 Reply
I recommend checking out the iRule editor. It may be able to help you with the problem. https://devcentral.f5.com/d/irule-editor I'll admit that I haven't used it much, so I'm not 100% sure it can do what you are after.
Unfortunately there is no built-in interactive TCL shell (that I know of).
One option that may be a bit easier to bear with is using the edit command.
edit ltm rule MyiRuleRunning this command will execute the vim editor, editing a temporary version of the irule. It will catch compilation errors and give you the option to re-edit the file.
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