Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying a pool member state through the SDK - Big IP

Foxmc
Nimbostratus
Nimbostratus

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.

1 REPLY 1

Foxmc
Nimbostratus
Nimbostratus

Just solved this problem, it was the syntax, I should have used "user-down".