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...
d2_21508
Nimbostratus
Jan 21, 2014Basically when I do
f5.Management.Partition.set_active_partition('[All]')
poollist = f5.LocalLB.Pool.get_list()
print poollist
I am getting pool names without any extra attributes or strings.
- JRahmJan 21, 2014
Admin
you will probably need to iterate through the known partitions and build your list that way. The UI combines methods to build the views that you need to do procedurally with iControl. - mhite_60883Jan 22, 2014
Cirrocumulus
Or upgrade! ;)
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