Forum Discussion
smp_86112
Feb 17, 2011Cirrostratus
Issue with LocalLB.VirtualServer.set_connection_mirror_state
It appears there may be a bug (?) in the LocalLB.VirtualServer.set_connection_mirror_state API. I'm running 10.2.0 (base). It seems that connection mirroring is Enabled regardless of what EnabledState[] value is passed. Consider the following Perl code:
my $soapResponse = $Virtual->get_connection_mirror_state(SOAP::Data->name(virtual_servers => ["test_virtual"]));
my $connection_mirrored_state = $soapResponse->result->[0];
print $connection_mirrored_state . "\n";$soapResponse = $Virtual->set_connection_mirror_state(SOAP::Data->name(virtual_servers => ["test_virtual"]),
SOAP::Data->name(states => ["FRED"])
);$soapResponse = $Virtual->get_connection_mirror_state(SOAP::Data->name(virtual_servers => ["test_virtual"]));
$connection_mirrored_state = $soapResponse->result->[0];
print $connection_mirrored_state . "\n";
Here is the output:
[root@linux ltm] ./test.pl
STATE_DISABLED
STATE_ENABLED
So setting the "states" value to "FRED" enables connection mirroring on the virtual. In fact, setting the value to STATE_DISABLED enables connection mirroring - there is no way to turn it off. Can anyone else validate?
3 Replies
Sort By
- I can confirm that I can recreate this issue on 10.2 HF 2. Really strange as this API has not changed since 9.0 according to the documentation.
- Thanks for your confirmation Sam. I just opened up a case - I will keep you posted.
- I was advised that this problem was assigned number ID353598, and was advised to watch upcoming release notes for confirmation of resolution.
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