Forum Discussion
hoolio
Cirrostratus
Mar 12, 2008Support for user-defined functions?
Hello,
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
13 Replies
- The_Bhattman
Nimbostratus
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. - David_Remington
Employee
good idea
/signed - hoolio
Cirrostratus
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?
Thanks,
Aaron - hoolio
Cirrostratus
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?
Thanks,
Aaron - hoolio
Cirrostratus
Thanks for the background info, Spark. I assumed it wouldn't be a simple task, but it's worth asking for.
Aaron - CraigM_17826
Altocumulus
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.
Craig - hoolio
Cirrostratus
That's great to hear, Colin. Do you have any details on the implementation?
Thanks,
Aaron - unRuleY_95363Historic F5 AccountIt's not too far off... ha ha.. ho ho.. he he...
However, you'll have to still be patient.
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. - hoolio
Cirrostratus
Hi unRuleY/Colin/Spark,
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?
Thanks,
Aaron - Yepher_100160
Nimbostratus
Any update on this feature yet?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
