Forum Discussion
andy_12_5042
Jan 03, 2011Nimbostratus
f5 connection string with pycontrol
I have written a class and defined some methods that work great so far. I am wondering however how I can get around having to pass in the connection string for wsdls on every call though??let me try t...
L4L7_53191
Jan 06, 2011Nimbostratus
The location option is tied to the endpoint (bigip) that you call methods against, and you change it after you've parsed the wsdl. So, for example, you'd load up LocalLB.Pool (locally or via fromurl=True). Once that happens, you can change the system that you want to call against, as opposed to the transport method itself. An example of this is in the concurrentcall.py:
url = 'https://' + host + '/iControl/iControlPortal.cgi'
c.set_options(location = url)
Which simply points the cloned object to another BigIP, as opposed to changing the transport method. Can you paste some code that shows what you're trying to do?
-Matt
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