Forum Discussion
royster_128009
Nimbostratus
Dec 03, 2004Previous SDKs
Hello.
I have some old code from a previous script which queries a 3DNS unit running v4.2ptf9
[...]
my $soap = SOAP::Lite
-> uri('urn:iContr...
Dec 10, 2004
Sorry this has taken a few days to get to, My 4.x dev machine has not been behaving itself lately.
Anyway, you found a bug in the sample code. Here's the old code
...
print "VS : $source->{'addr'}:$source->{'port'}\n";
print " trans : $translated->{'addr'}:$translated->{'port'}\n";
print " ratio : $ratio\n";
print " status: $status\n";
print " state : $state\n";
$soapResponse2 = $Wideip->get_pool_virtual_server_availability
(
SOAP::Data->name(wideip_name => sWideip),
SOAP::Data->name(pool_name => $sPool),
SOAP::Data->name(vs => $source),
SOAP::Data->name(check_vs_dependencies => 1)
);
Spot the bug? Hint, it's in the wideip_name parameter.
Here's the corrected code.
...
print "VS : $source->{'addr'}:$source->{'port'}\n";
print " trans : $translated->{'addr'}:$translated->{'port'}\n";
print " ratio : $ratio\n";
print " status: $status\n";
print " state : $state\n";
$soapResponse2 = $Wideip->get_pool_virtual_server_availability
(
SOAP::Data->name(wideip_name => $sWideip),
SOAP::Data->name(pool_name => $sPool),
SOAP::Data->name(vs => $source),
SOAP::Data->name(check_vs_dependencies => 1)
);
Sorry for the confusion...
-Joe
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
