Forum Discussion
Michel_van_der_
Nimbostratus
May 28, 2004Can I get the target of a proxy?
If I have created a proxy with ITCMLocalLB.Proxy.create, how can
I later on find which was the actual target defined?
- bknotwell_12713Historic F5 Account
!/usr/bin/env python from SOAPpy import SOAPProxy,structType ns = 'urn:iControl:ITCMLocalLB/Proxy' url = 'http://blah:blahblah@192.168.1.14/iControl/iControlPortal.cgi' s = SOAPProxy(url,namespace=ns) proxyList = [ structType(data={'address' : '192.168.1.121','port' : 443 })] print s.get_proxy_target(proxies = proxyList) print s.get_proxy_target_type(proxies = proxyList)
- Thanks Brad!
IPPortDefinition[] get_proxy_target( in IPPortDefinition[] proxies ); enum ProxyTarget { PROXY_TARGET_VIP = 0, PROXY_TARGET_SERVER = 1 }; ProxyTarget[] get_proxy_target_type( in IPPortDefinition[] proxies );
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