I’m curious to know if there is any possibility for supporting user-defined functions. I know that you can’t do this currently, but I think it might be helpful. The current issue I’m running into is that I need to copy/paste the same section of code for encrypting, base64 encoding and then URI encoding response headers and content. Then I need to do the opposite on requests. If I could create an encrypt and a decrypt function which handles errors and optimizes the existing functions for this specific implementation, it would save a considerable amount of repetition and simplify writing and maintaining the iRule.
There have been a few related requests on DC for function support, so I think other people see value in this.
I can submit a case for a feature request, but I figure I would check here first to see if there is any chance of it being implemented.
Thanks Aaron…I have been screaming for this as well. The only problem is that it will be likely added to the feature release of BIGIP rather then the maintainence release. Some people don’t have the luxary of upgrading to feature release, because…well it’s not truly geared for stability.
I created a case requesting a CR. I’ll post the CR once I find/get it so other people can open cases requesting this functionality.
I’m still curious to know whether this is likely to be supported in a future version. Does anyone know what the current thinking on user-defined procedures is?
F5 created a CR noting this feature request. It’s CR96170. If you would like to see this functionality added it would help the cause to open a case with support (https://websupport.f5.com) asking for your request to be attached to the CR.
Also, can anyone in Development provide any info on whether this is likely to be added in a future version?
Well add my name to the list of customers who would like to see this feature added. Well actualy I would be happy with a include option, but being able to create functions would be really benificial as well.
Anotherwards: we’ve figured out how to do it, we just need the time and release to get it done! (And you’re absolutely right cmbhatt - it’ll be a feature release, not a maintenance release).
And yes, I’m still here, but just occasionally checking in on DC. With Colin and team doing such an amazing job, I’ve been able to focus on all the other new things (like VIPRION & CMP) that we’ve been doing. With that stuff now pushing out to the field, I’m now able to focus more on iRule enhancements.
I’ve already got a couple of big enhancements coming in the next feature. I’ll be posting more on those as the release gets more imminent.
Any updates on CR96170 which requests the ability to define/use user-defined functions in an iRule? I assume it’s not in 10.1 beta. Is it targeted for any specific version?
We have a solid design that we’re happy with, and are working hard on getting this done for the next major release. It will probably be there. There’s still a lot that could go wrong, though, so no promises.