Forum Discussion
dragonflymr
Dec 14, 2015Cirrostratus
Append to list stored in table key
Hi,
First of all I wonder if this is good idea to store list in sub/table key - considering performance nad memory consummatum. Let's say it could be list containing no more that 10 IPs.
Second I...
Kai_Wilke
Dec 14, 2015MVP
Hi Piotr,
there is a better way to append a list entry to an existing table...
[table append -subtable ip " [IP::client_addr]"
Note: A list is "SPACE" seperated string. So lappend var_name newentry is basicaly the same as append var_name " newentry"
BTW: But you may still want to consolidate the subtables into classic tables as explained by Stanislas.
Cheers, Kai
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