Forum Discussion
Brian_Thompson
Nimbostratus
Oct 03, 2007How can I add values to a data group within an irule
I'm doing reverse lookups on IP's that come in, and if they match a certain DNS I would like to append a data group that I have so that I can build a list of servers.
linsert is not working for me-
linsert $::akamai_edge2 $new_index $mask_clientIP
Anyone have any suggestions? Is this possible?
3 Replies
- hoolio
Cirrostratus
Using the list functions modifies what is running in memory, but the changes aren't written to the bigip.conf config file. Similarly, using an array would allow you build a set of items, but not save it to file.
I think you'd need to use iControl to persist the changes through a restart.
Anyone have other ideas?
Aaron - Brian_Thompson
Nimbostratus
does anyone have an example of using icontrol to manipulate external variables?? i'm trying to build up a cache/list of Akamai edge servers so I can throttle them when they do origin calls
Akamai will not provide a list of edge servers because its so dynamic, so I figured I would have the load balancer generate a list and self-learn. - Deb_Allen_18Historic F5 AccountI'd try a search in the iControl codeshare & forum for an example, or post a new question on the iControl forum if nothing was found.
iControl 9.x forum: Click here
iControl codeshare: Click here
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
