Forum Discussion
how to query pool list by member with java.
how to query poolList by node member. and how to query VSList by pool.
3 Replies
There is no direct API method to "work your way up the chain", but you can get to it with a little bit of code. I wrote a few samples a while back that cover the pool from member. Check out the CodeShare sample "Ps Pool Lookup".
https://devcentral.f5.com/wiki/iControl.PsPoolLookup.ashx
It's written in PowerShell but the logic would be the same with the Java libraries (same methods, just different language constructs).
If you get stuck with things like this, make sure you check out the iControl CodeShare.
Hope this helps...
-Joe
- mhite_60883
Cirrocumulus
In short, you have to grab all pool members (from every pool) and perform the comparison on your own. I presume the API is designed to force all data extraction computation on the API consumers. I can't tell you how many times I'd wished for filter/search capability in the iControl API. ;)
I hear you. Just never developed a "search" function. Maybe that's a good project idea to build a "search" library for .Net, Java, etc. B-)
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