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...
nitass
Mar 14, 2015Employee
and this is what kunjan suggested.
[root@ve11c:Active:In Sync] config cat /var/tmp/data2.txt
key_1,
key_2,
key_3,
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) create sys file data-group test2 source-path file:///var/tmp/data2.txt type string
Copying file "file:///var/tmp/data2.txt" ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 21 0 21 0 0 27096 0 --:--:-- --:--:-- --:--:-- 0
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos)
root@(ve11c)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys file data-group test2
sys file data-group test2 {
checksum SHA1:21:4458a854a85b22dd0dc8df590d5d65c5f4231f79
create-time 2015-03-14:09:02:19
created-by root
last-update-time 2015-03-14:09:02:19
mode 33152
revision 1
size 21
source-path file:///var/tmp/data2.txt
type string
updated-by root
}
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