Forum Discussion
Using a proxy with Bigsuds
Does anyone have an example, or can anyone point me to an example of using an http proxy to connect to the F5 with bigsuds? I need to alter my script to connect to various F5s in multiple environments.
I'm currently connecting in a basic manner:
host = '122.22.22.22'
uname = 'myusername'
upass = 'mypassword'
b = bigsuds.BIGIP(
hostname = host,
username = uname,
password = upass
)
get_pool_members(b)
where get_pool_members is:
def get_pool_members(obj):
'''get pool names and member info'''
pools = obj.LocalLB.Pool.get_list()
members = obj.LocalLB.Pool.get_member(pool_names = pools)
combined = zip(pools,members)
thanks for any advice.
2 Replies
- JRahm
Admin
i'll check into this, the latest build I have doesn't look to support connections through a proxy. - mhite_60883
Cirrocumulus
Not sure if this helps:
http://stackoverflow.com/questions/12414600/suds-ignoring-proxy-setting/1243360612433606
Also, it sounds like http_proxy and https_proxy environment variables might be useful things to try.
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