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 contents:address and the external file location/name is /var/class/blacklist. I basically copy the blacklisted file to bipip and would like a way to activate rather than using 'b load'
I can see how to use 'get' using pycontrol but can't figure out how to reload the class file:
b.LocalLB_Class.get_external_class_file_name(class_names = ['blacklisttest'])
{'return': ['/var/class/blacklist']}
Thank you for any 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