Forum Discussion
irulemaker_1057
Nimbostratus
May 06, 2014Disable all pool member Pycontrol
Hello,
to quickly introduce my problem,i just want to enable and disable member in pool.
This is what i try :
r = bigipt_obj.set_member_monitor_state(['/Common/mypool'], [[{'member': '192.168....
irulemaker_1057
Nimbostratus
May 07, 2014Thanks for your help.
But always this same error message :
In [12]: bigipt_obj.set_member_monitor_state(['mypool'], [[{'address': '192.168.239.237', 'port': 80}]], [['STATE_DISABLED']])
---------------------------------------------------------------------------
WebFault Traceback (most recent call last)
/root/ in ()
----> 1 bigipt_obj.set_member_monitor_state(['mypool'], [[{'address': '192.168.239.237', 'port': 80}]], [['STATE_DISABLED']])
/usr/local/lib/python2.7/dist-packages/suds-0.4-py2.7.egg/suds/client.pyc in __call__(self, *args, **kwargs)
540 return (500, e)
541 else:
--> 542 return client.invoke(args, kwargs)
543
544 def faults(self):
/usr/local/lib/python2.7/dist-packages/suds-0.4-py2.7.egg/suds/client.pyc in invoke(self, args, kwargs)
600 timer)
601 timer.start()
--> 602 result = self.send(soapenv)
603 timer.stop()
604 metrics.log.debug(
/usr/local/lib/python2.7/dist-packages/suds-0.4-py2.7.egg/suds/client.pyc in send(self, soapenv)
647 else:
648 log.error(self.last_sent())
--> 649 result = self.failed(binding, e)
650 return result
651
/usr/local/lib/python2.7/dist-packages/suds-0.4-py2.7.egg/suds/client.pyc in failed(self, binding, error)
700 if status == 500:
701 if len(reply) > 0:
--> 702 r, p = binding.get_fault(reply)
703 self.last_received(r)
704 return (status, p)
/usr/local/lib/python2.7/dist-packages/suds-0.4-py2.7.egg/suds/bindings/binding.pyc in get_fault(self, reply)
263 p = unmarshaller.process(fault)
264 if self.options().faults:
--> 265 raise WebFault(p, faultroot)
266 return (faultroot, p.detail)
267
WebFault: Server raised fault: 'Could not find element by name: address'
However I note that if i change the name of 'mypool' with an other pool who don't exist, i've the same error message.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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