Forum Discussion
Alex_Chan_88951
Nimbostratus
Jul 21, 2008Add data in the class
I have create a class "rate_limit_black_list" in the gui, this class store the black list host. But when i cannot use irule to insert data in the group. is my irule syntax problem or what makes me can...
hoolio
Cirrostratus
Jul 21, 2008I thought you could add to a datagroup with lappend, but the change couldn't be saved to file and wouldn't be persisted through a reload of the configuration. I don't remember the exact details from the last time this came up and couldn't find the post I was thinking of.
nmenant's right though, an array would be better to handle this. The downside is that if the config is reloaded or a new unit goes active, the existing data would be lost.
If you need to make permanent changes to a datagroup, you'd need to use an iControl app to do this. It might be tricky though trying to take data generated from an iRule and use that as input for an iControl script.
Aaron
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