For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

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.

1 Reply

  • Foxmc's avatar
    Foxmc
    Icon for Nimbostratus rankNimbostratus

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