For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

JasonBizzle_178's avatar
JasonBizzle_178
Icon for Nimbostratus rankNimbostratus
Aug 10, 2015

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

  • 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

    https://f5mgmtdevice/mgmt/tm/ltm/pool?expandSubcollections=true&$select=name,fullPath,membersReference/items/name,membersReference/items/address,membersReference/items/fullPath
    should work. It'll return a JSON string of the data and only require a single GET HTTP request.