Forum Discussion
pyControl v2 - get pools and partitions assignments
RE: Management.Partition.set_active_partition -- it sounds like if you set it to "[All]" it will automatically set recursive query enabled. See:
https://devcentral.f5.com/wiki/iControl.Management__Partition__set_active_partition.ashx
This method is deprecated; please use System::Session::set_active_folder instead. Sets the active partition for the current user. The active partition is the administrative partition where all configuration will take place until a new active partition is selected. Each user can only be in one active partition at any given time. By default, if not explicitly set, the active partition for a user will be "Common". Note: Please note that this method is deprecated. If you set the partition to "[All]", this maps to the System::Session interface method set_active_folder("/") and in this case this method automatically performs set_recursive_query_state(STATE_ENABLED) as well. The method uses set_active_folder, so if the partition you specify maps to no existing top-level folder it will tell you the folder doesn't exist and behave in all respects as set_active_folder does.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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