Forum Discussion
cdougall_14195
Jul 12, 2016Cirrus
Datagroup audit through VIP
Long and short is that we have an external address datagroup that we interrogate from a VIP for auditing.
Datagroup:
host x.x.x.x := "blah",
network y.y.y.0/20 := "blah blah,",
...
- Jul 12, 2016
try something like
[string map { " " "\n" } [lsearch -all -inline -not [class name penaltybox-dg] */32]]
boneyard
Jul 12, 2016MVP
i was thinking a
class match
might help but i don't see how exactly.
your doing it in one nice line now, but i would split it up in a loop through the datagroup and only add lines to a variable which don't match /32. then use that variable in the
HTTP::respond
if you want to stick with one line another string map might work, but that will take some testing or another contributor who can do it by hard.
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