Forum Discussion
gerald_wegener_
Nimbostratus
Sep 23, 2008pycontrol - upload data group external file
I am a pycontrol newbie and have been unable to figure out how to reload a data group list (external) file once it has be edited. The name of the data group is 'blacklisttest' type:external con...
gerald_wegener_
Nimbostratus
Sep 25, 2008
I wasn't able to get the 'b load' to work properly using pycontrol. I was using the following syntax.
b.System_ConfigSync.load_configuration(filename = ['bigip.conf'] , load_flag = 'LOAD_HIGH_LEVEL_CONFIG')
After executing this I would get intermittant connectivity to the box and it would lose at least part of it's config. It recovered after a reboot
****************
I did get the data group list reload working using:
b.LocalLB_Class.set_external_class_file_mode(class_names = ['blacklisttest'] , file_modes = 'FILE_MODE_TYPE_READ_WRITE')
When loading large lists (e.g. an external address list with 50k hosts) the impact on the CPU seems to be the same for 'b load' or when using the pycontrol method to reset the file mode.
I was hoping it would have less CPU impact that using the 'b load'. I'm running 6800's so CPU0 is the one hit. Loading 50k hosts will drive it up to 90%
Thanks for your help.
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