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 ...
JRahm
Admin
Sep 09, 2009if you have virtuals not in the common partition, you'll need to set the partition first:
my $Partition = SOAP::Lite
-> uri('urn:iControl:Management/Partition')
-> proxy("https://yourBigIP/"."/iControl/iControlPortal.cgi");
$Partition->transport->http_request->header
(
'Authorization' =>
'Basic ' . MIME::Base64::encode($user.":".$password, '')
);
my $results = $Partition->set_active_partition(
SOAP::Data->name('active_partition')->value(thenameofyourpartition)
);
Snippet from the Perl Development FAQ in the wiki: Click here
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