Forum Discussion
Mar 13, 2015
data-group format for irule match against simple list
F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi
My iRule needs to match a variable against a simple list of values :
set found_match [class match $lookup_key eq data_group_simple_l...
kunjan_118660
Cumulonimbus
Hi, you can leave the value field empty can do something like this
when CLIENT_ACCEPTED {
if { [class match $lookup_key eq data_group_simple_list]} {
pool poola
} else {
pool poolb
}
}
You can refer to the prebuilt datagroup 'private_net' under iRules tab.
Mar 14, 2015
ok but how to load a data-group-file in simple list format ? ( please see my amended question )
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