Forum Discussion

Foxmc's avatar
Foxmc
Icon for Nimbostratus rankNimbostratus
Apr 30, 2021

Modifying 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.