Forum Discussion
Method not found: 'LocalLB.Pool.LocalLB.PoolPort.MonitorAssociation
I'm hitting a weird error when using bigsuds and performing a monitor association for a pool.
>>> api = bigsuds.BIGIP(hostname='myhost', username='myuser', password='mypass')
>>> api.LocalLB.Pool.MonitorAssociation(pool_name='/mhite/matthite-pool4', monitor_rule={'type': 'MONITOR_RULE_TYPE_SINGLE', 'quorum': 0, 'monitor_templates': 'http_special'})
Traceback (most recent call last):
File "", line 1, in
File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/bigsuds.py", line 296, in __getattr__
method = getattr(self._client.service, attr)
File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 299, in __getattr__
return getattr(port, name)
File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 403, in __getattr__
return getattr(m, name)
File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 494, in __getattr__
return self[name]
File "/Users/mhite/virtualenv/zcloud/lib/python2.7/site-packages/suds/client.py", line 507, in __getitem__
raise MethodNotFound, qn
bigsuds.MethodNotFound: Method not found: 'LocalLB.Pool.LocalLB.PoolPort.MonitorAssociation'
What's up with the mangled method name? (Where did this LocalLB.PoolPort stuff come from?)
Thanks!
-M
2 Replies
- mhite_60883
Cirrocumulus
PS. monitor_templates': 'http_special'} should read monitor_templates': ['http_special']}
Same error, though. - mhite_60883
Cirrocumulus
Figured out my problem -- problem existed between keyboard and chair! Can ignore this thread.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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