Forum Discussion
gerald_wegener_
Nimbostratus
Feb 11, 2009Writing to an external class file
I've been able to write using the pyControl API to an internal address data group. However when I use the same syntax and substitute a datagroup that uses an external file I don't see any error...
gerald_wegener_
Nimbostratus
Feb 11, 2009After some addtional testing I can see that the entries are being added somewhere but not to the external file. Once I do a 'b load' only the entries in the hard file remain (the ones I added via the API are gone). Is there someway to force a write to the external file?
Basically what I'm trying to do is build a bot blocker to block ten of thousands discrete IPs. To reach these large numbers I needed to use and external class file.
I can manually update the file on disk with new IPs and do a 'b load' to load the new file - but I'm trying to accomplish this using the API.
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