pavan_70758
Nov 12, 2010Nimbostratus
F5 API
Hello,
I have used F5 api (icontrol+php) to get the LB info. This api gives only pool name and members ip and port using get-list nad get-member methods. I would also like to get pool ip(vip) ...
Now, if you want to query pool members node names, you'll have to take the IP address of the PoolMember and call the LocalLB.NodeAddress.get_screen_name method()
http://devcentral.f5.com/wiki/default.aspx/iControl/LocalLB__NodeAddress__get_screen_name.html
You can pass in all the pool member addresses and will get back a list of names. Keep in mind that unless you specifically configured them, they may be empty in which case you'll want to use the address.
Let me know if you need more clarification.
-Joe