Forum Discussion
Display all pools and their members
I'm working on a project where I'm trying to get all pools and their pool members, but I'm trying to do this in the least amount of http calls as possible. I think of it almost like the network map in the F5 GUI, it shows all pools and their pool members. Does this functionality exist in the F5? Does anyone have suggestions?
Thank you.
2 Replies
- Michael_Jenkins
Cirrostratus
What version are you running? If you're using 11.5 (I think it's available in 11.4 but not fully supported yet), You should be able to use iControlREST to get the data. Something like
should work. It'll return a JSON string of the data and only require a single GET HTTP request.https://f5mgmtdevice/mgmt/tm/ltm/pool?expandSubcollections=true&$select=name,fullPath,membersReference/items/name,membersReference/items/address,membersReference/items/fullPath - JasonBizzle_178
Nimbostratus
Awesome Mike! That worked like a charm.
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