Forum Discussion
William_Benett1
Nimbostratus
Mar 28, 2007TCL capabilities in iRules
So i'm working on an iRule that will require me to do bitwise math in order to determine if the port number is odd or even. I believe I looked up the operator (&) but the iRuler gives me a syntax err...
William_Benett1
Nimbostratus
Mar 30, 2007Heh, so I couldn't get the information out of the persistence table, as I described above. I do realize looking at this that I didn't quite follow through on Spark's idea. That said, I found a way to make it work. I initialized an array in RULE_INIT and then I store the load balancing decisions in that array, with the key being the client IP:socket pair. It works currently. If anyone is interested in this, let me know and I'll post a copy of it.
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