Forum Discussion
Aaron_Murray_22
Nimbostratus
Oct 05, 2017Help updating GTM pool member status
I have searched this forum and the internet and I can not figure out how to use the F5 SDK for Python to modify the status of a GTM pool member. I need to be able to enable and disable pool members ...
Aaron_Murray_22
Nimbostratus
Oct 06, 2017I found the answer to this question through trial and error. So for those who stumble on this in the future. You have to set the current state to false to get the desired state. In other words if the current state is disabled then you have to set disabled=False to get it to be enabled as shown below:
member.disabled = False member.update(disabled=False)
or
member.enabled = False member.update(enabled=False)
Thanks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
