Forum Discussion
d2_21508
Nimbostratus
Jan 20, 2014pyControl v2 - get pools and partitions assignments
Hello,
I am using F5 BIGIP v10.2.x with pyCotrol v2 and I'd like to ask how can I display all available pools and their assignment to partition. Output should be similar to the one I see from GU...
mhite_60883
Cirrocumulus
Jan 21, 2014Can speak to v11, not v10.
First, use this call to switch into "/":
https://devcentral.f5.com/wiki/iControl.System__Session__set_active_folder.ashx
Next, set the recursive state enabled:
https://devcentral.f5.com/wiki/iControl.System__Session__set_recursive_query_state.ashx
Then use this call to retrieve the list of pools:
https://devcentral.f5.com/wiki/iControl.LocalLB__Pool__get_list.ashx
The pool name will be prefaced by the partition/folder.
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