F5 bigip LTM version 18.104.22.168. (not using F5 SDK)
Just curious if anyone knows how to pull back a nodes pool membership from LTM API:
Making call to
/mgmt/tm/ltm/node/MYNODE -> returns attributes (name,ip,etc) and self-link.
From within the GUI, one can go to the node list in LTM and the "Pool Membership" tab to see this (rather than going to network map.). However, this seems to be a jsp driven script.
I can pull back this info by GET to this, however, not ideal.
Just think this would be a great way to pull back when creating/removing from python function.
My thanks to any and all that can help!
Thanks for the confirmation, @Paulius !!
Just made a couple more functions. One to pull all pools and one to pull all nodes. Think we can stitch things together from there.
Also seeing that ?expandSubcollections=true might provide more info. Will test and report back if so.
Will leave this for a few days in case there are other suggestions, or if I find a better way to reference, but I think this will work.