Forum Discussion

bradvoth_189339's avatar
bradvoth_189339
Icon for Nimbostratus rankNimbostratus
Mar 06, 2015

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 MyiRule
    

    Running 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.