irulemaker_1057
Oct 13, 2014Nimbostratus
Enable pool member in Python/Bigsuds
Hi, My request is simple. I just want to enable pool with Python/Bigsuds on a BigIP 6800 V10.2.3.
This is my connection in bigsuds :
b = bigsuds.BIGIP(hostname = 'mybigip.local', username = 'myuser', password = 'mypass')
This code work to disable pool member :
b.LocalLB.PoolMember.set_monitor_state(['mypool'], [[{'member': {'address' : '192.168.X.X', 'port': 443}}]]), [[{'monitor_state': 'STATE_DISABLED'}]]
But if replace [[{'monitor_state': 'STATE_DISABLED'}]] by [[{'monitor_state': 'STATE_ENABLED'}]], i've no action...
Do you have an idea please ?
Thanks