Forum Discussion
Jonathan_Scholi
Cirrostratus
Jan 30, 2013v11 Management::Folder::get_list issue
I'm running 11.2x on a Viprion. I've been using the method System::Session::set_active_folder to set the appropriate folder. This method works as expected. However, when trying to list all the fol...
John_Gruber_432
Jan 30, 2013Historic F5 Account
Please trying setting the active folder to the root folder ("/"), and then get_list on the Folder interface. See if you don't get the list of all your top level Folders including '/Common' and all the Folder (listed as a partition name when tied to AAA functions) you have created. So get_list would be relative to the active folder (in this case root) and subject to the recursive query setting of the session (see System::Session::set_recursive_query_state for recursive details).
As an example of the recursive details, if I wanted to iterate through all LocalLB.VirtualAddresses to see what IPs are used in all Folders, assuming I have administrator role so I can see them all, I could change into the "/" folder, set the session to do recursive query, and do get_list on VirtualAddresses and I should get all the VirtualAddresses in the root Folder and all those contained in it (all of them).
The root (/) Folder and its child /Common can not be removed.
Let me know if that helped...
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