Forum Discussion
Townsie_105233
Sep 04, 2012Historic F5 Account
Problem changing Partitions in Perl
I'm trying to list all the virtual servers in Test1. I'm trying a couple of different calls to try to get the partition (folder) to change to /Test1, but it doesn't seem to work.
...
Townsie_105233
Sep 04, 2012Historic F5 Account
I've been through that doc, I'm just missing something..
I'm using the following with the script above to retrieve the partition list:
@Partition = iSystemInfo_Array('urn:iControl:Management/Partition',"get_partition_list");
foreach (@Partition) {
my %Partition_hash = %{$_};
$partition_name = $Partition_hash{partition_name};
print "Partition name: $_ - $partition_name\n";
push (@Partition_list, $partition_name);
}
output:
Partition name: Management::Partition::AuthZPartition=HASH(0x8cc1e1c) - Common
Partition name: Management::Partition::AuthZPartition=HASH(0x8cb9710) - Test1
Partition name: Management::Partition::AuthZPartition=HASH(0x8cb9620) - Test2
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