Forum Discussion
Richard__Harlan
Dec 01, 2004Historic F5 Account
get_proxy_target
Haveing a little problem with get_proxy_target. Below is the code snip. Once this is done my whole iContorl script will be done. So any help would be great.
foreach $proxy_def (@proxy_def_list)
{
$proxy_address = $proxy_def->{"address"}.":".$proxy_def->{port};
($paddress,$pport) = split (/\:/,$proxy_address);
$pserv->{address} = $paddress;
$pserv->{port} = $pport;
$soapproxy = $proxy->get_proxy_target
(
SOAP::Data->name(proxies => $pserv)
);
$outputproxy = $soapproxy->result;
$target = $outputproxy->{"address"}.":".$outputproxy->{"port"};
print " [$proxy_count] = $proxy_address\n";
print " The proxy points to $target\n";
- The signature for get_proxy_target() is:
IPPortDefinition[] get_proxy_target( in IPPortDefinition[] proxies );
$soapproxy = $proxy->get_proxy_target ( SOAP::Data->name(proxies => [$pserv]) );
$soapproxy = $proxy->get_proxy_target ( SOAP::Data->name(proxies => [$proxy_def]) );
- Richard__HarlanHistoric F5 AccountIt worked. Thanks
- Glad to help! Let us know how things are going?
- Richard__HarlanHistoric F5 AccountThings are going great thanks to you guys. The script I just finished now will allow us poll our 12 BigIP and dun all there data into our inventory database. Then we will be able to all information about our hosting environment. The BigIP has been the missing piece for a while. But now that we have that going we will be in very good shape. Thanks again
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