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_list]
For simplicity, I'd like to structure my data-group like this :
"key_1",
"key_2",
"key_3",
"key_4",
"key_5",
But because the
[class match]
command apparently was designed for the primary use-case of matching against key-value-pairs ( match key , return value ), I must structure my data-group like this :
"key_1" := "key_1",
"key_2" := "key_2",
"key_3" := "key_3",
"key_4" := "key_4",
"key_5" := "key_5",
Am I understanding this correctly ? Or is there an alternate mechanism that would allow me to format my list in the simple manner ?
Admin browser > System > File Management > Data Group File List > Import...
File Contents = string
For "Key / Value Pair Separator" , if I enter a blank value , I receive error :
0107169a:3: The data group external file (/config/filestore/.stage_d/5955941_d/Common_d/data_group_d/:Common:data-group-test_87302_1) has an invalid format, line: 2.