Forum Discussion
robertoq_79472
Nimbostratus
Sep 02, 2009Get ALL virtual server names?
Hi There,
Fairly new to using iControl. I've been going through the API reference and I don't seem to find a way to get a list of ALL the virtual servers currently on my LTM. I want ...
jethro_106302
Nimbostratus
Sep 09, 2009I managed to make the script run in ~4s with this modification:
get a list of all VS configured on the appliance
my $soapResponse = $VirtualServer->get_list();
&checkResponse($soapResponse);
my @bla = @{$soapResponse->result};
$soapResponse = $VirtualServer->get_type
(
SOAP::Data->name(virtual_servers => [@bla])
);
my @vs_type = @{$soapResponse->result};
my @vs_list;
for $i (0 .. scalar(@bla) -1) {
switch ($vs_type[$i]) {
case "RESOURCE_TYPE_POOL" {
push @vs_list, $bla[$i];
}
}
}
now there is only my partition problem left, will keep you posted if I find a solution.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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