Gordon_Wong_347
Jul 19, 2006Nimbostratus
Newbie to irules
Gents,
I am a total newbie to irules and my boss has asked me to convert our production bigip 4.5 irules to our lab bigip 9.2 irules...I searched this forum and saw a thread that no conversion tool exists. So if you can point me in the right direction with the rule below...I will attempt to convert the other rules myself.
Here is one of the rule I need to convert,
if (client_addr == 1.2.3.4 netmask 255.255.255.255) {
use pool CMS_GOOGLE_HTTP
}
else if (http_cookie("author") == "true") {
use pool CMS_AUTHOR_HTTP
}
else {
use pool CMS_HTTP
}
Note the client addr is not what we are using but set to 1.2.3.4 for security reasons.
Thanks,
Gord.