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.
...
Sep 04, 2012
Have you tried calling Management.Partition.get_partition_list() and/or Management.Folder.get_list() to get the list of available options? Keep in mind that top level folders are the same as the parititons. We originally developed partitions as a way to segment off configuration but we then added support for sub-folders within the partitions.
I wrote a tech tip a while back about folders (https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086495/iControl-101-24--Folders.aspx). You'll likely want to turn on the recursive query state to return a full listing instead of just the items in the "current" folder.
-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