Forum Discussion
Robert_47833
Altostratus
Aug 01, 2012lb::select question
in the irule
if { xxxx} {
pool cjj$env
}
I want to define this $env at the top of this irule,however it should know which pool the traffic is sent,in my case it is cjjsomething.
can I use LB::select to firstly make sure which pool it use and then define the $env
?
if it can be done so,how to write irule
1 Reply
- bongshanks
Nimbostratus
I'll try that in the next change window in a week
This is my first iteration that I wanted to try
when CLIENTSSL_DATA { set payload [SSL::payload] set combo "" set tid "" set mid "" regexp ([0-9]{8}[0-9]{15}){1} $payload combo set tid [string range $combo 0 7] set mid [string range $combo 8 end]