gurrish_132043
Sep 23, 2013Nimbostratus
Import iRule from iRule
Hi!
I wonder if anyone knows if it's possible to import an iRule depending on incoming parameters?
My case is that I don't want to have to complicated iRules with lots of "ifs" in them.
I want to have a "master" iRule which can select the correct iRule depending on which SSL profile that was selected.
For example:
when CLIENTSSL_CLIENTHELLO {
if {[PROFILE::clientssl name] == "/Common/default" } {
"Import and use iRule default"
}
if {[PROFILE::clientssl name] == "/Common/second" } {
"Import and use iRule second"
}
}