Forum Discussion
Hayato_35605
Nimbostratus
Jun 23, 2011Help with LocalLB::NodeAddress set_connection_limit
Hi I am a newbie to F5 and I am struggling to call set_connection_limit method in LocalLB::NodeAddress. Having looked at the API docs I am doing the following; push @addresses,...
Jun 23, 2011
That is odd. I ran your code and it worked fine against my system. Can you include SOAP tracing to see what's going on and post the output as an attachment to this thread?
BTW, here's the code I used which worked fine:
sub setConnectionLimit()
{
my ($node_address) = (@_);
push @addresses, $node_address;
$limitsHash = {
high => 0,
low => 1
};
push @limits, $limitsHash;
$soapAddresses = SOAP::Data->name(node_addresses => [@addresses]);
$soapLimits = SOAP::Data->name(limits => [@limits]);
$soapResponse = $NodeAddress->set_connection_limit($soapAddresses, $soapLimits);
&checkResponse($soapResponse);
}
-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
