Forum Discussion
Foxmc
Nimbostratus
Apr 30, 2021Modifying a pool member state through the SDK - Big IP
Hi everyone, as the title says I am trying to modify a pool member state through the SDK with a script.
However, I am having trouble to modify its state, I am running the following commands after loading the pool member:
member.update(description='new description', state='down')
print(member.raw)
print(member.description)
The description is update, however, the state shows 'up'. Any leads what I am doing wrong?
Thanks in advance, and I am sorry if this is a very basic question.
- Foxmc
Nimbostratus
Just solved this problem, it was the syntax, I should have used "user-down".
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