Forum Discussion
BigSuds and get_destination_v2
I am trying to retrieve the IP and port of our VIPs. In 11.X this is done using the get_destination_v2 method. However when I test the method in Idle I get the following.
host.LocalLB.VirtualServer.get_destination_v2('VIP_name') Traceback (most recent call last): File quot;", line 1, in host.LocalLB.VirtualServer.get_destination_v2('VIP_name')
File "/usr/lib/python2.6/site-packages/bigsuds-1.0.1-py2.6.egg/bigsuds.py", line 364, in getattr method = getattr(self._client.service, attr)
File "/usr/lib/python2.6/site-packages/suds/client.py", line 299, in getattr return getattr(port, name)
File "/usr/lib/python2.6/site-packages/suds/client.py", line 403, in getattr return getattr(m, name)
File "/usr/lib/python2.6/site-packages/suds/client.py", line 494, in getattr return self[name]
File "/usr/lib/python2.6/site-packages/suds/client.py", line 507, in getitem raise MethodNotFound, qn MethodNotFound: Method not found: 'LocalLB.VirtualServer.LocalLB.VirtualServerPort.get_destination_v2'
I am able to do other stuff like get_list() with no problem. Is this call not supported in bigsuds?
3 Replies
- JRahm
Admin
Working ok for me on python 2.7.3
>>> b.LocalLB.VirtualServer.get_destination_v2(b.LocalLB.VirtualServer.get_list()) [{'port': 443, 'address': '/Common/172.16.1.46'}, {'port': 0, 'address': '/Common/192.168.22.101'}] - Brian_Gibson_30
Nimbostratus
I'm a moron, Jason. All of our production and UAT ltms are 11.4 but the Lab LTM I'm using is 10.2.
Thanks for the response.
- JRahm
Admin
lol, no worries. sometimes confirmation from an external party is the best medicine to digging into the solution.
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