Forum Discussion
Krishna_251070
Nimbostratus
Oct 17, 2017Bigsuds: How to use set_member_monitor_state?
Hi Experts,
Can anyone please guide me what is the right syntax to use 'set_member_monitor_state' in bigsuds?
>>> nodes=[[{'port':80, 'address': 'TEST'}]]
>>> state=[['STATE_DISABLED']]
>>> pool=['Test']
>>>
>>>
>>>
>>>
>>> b.LocalLB.Pool.set_member_monitor_state(pool,nodes,state)
Traceback (most recent call last):
File "", line 1, in
File "bigsuds.py", line 416, in wrapped_method
result = method(*args, **kwargs)
File "/usr/local/lib/python2.6/site-packages/suds/client.py", line 542, in __call__
return client.invoke(args, kwargs)
File "/usr/local/lib/python2.6/site-packages/suds/client.py", line 602, in invoke
result = self.send(soapenv)
File "/usr/local/lib/python2.6/site-packages/suds/client.py", line 649, in send
result = self.failed(binding, e)
File "/usr/local/lib/python2.6/site-packages/suds/client.py", line 702, in failed
r, p = binding.get_fault(reply)
File "/usr/local/lib/python2.6/site-packages/suds/bindings/binding.py", line 265, in get_fault
raise WebFault(p, faultroot)
bigsuds.ServerError: Server raised fault: 'Exception caught in LocalLB::urn:iControl:LocalLB/Pool::set_member_monitor_state()
Exception: Common::OperationFailed
primary_error_code : 16908342 (0x01020036)
secondary_error_code : 0
error_string : 01020036:3: The requested Pool Member (/Internal/Test /Internal/TEST 80) was not found.'
>>>
- Krishna_251070
Nimbostratus
Ignore!
I figured out what the mistake is.
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