Forum Discussion

Srinath_Sadda_1's avatar
Srinath_Sadda_1
Icon for Altostratus rankAltostratus
Aug 23, 2015

Is it possible to get a list of Pools for a given VIP?

Hello,

 

I'm trying to look into iControl.dll (tried both v11.4.1 and higher) to get a list of Pools for a given VIP... but no luck at... I'm trying to consume this in .NET. I'm seeing LocalLBVirtualServer.get_default_pool_name() in SDK, but it only returns default pool. But I need all pools in a VIP. Any further help would be greatly appreciated.

 

Thank you.

 

2 Replies

  • Brent_West_7733's avatar
    Brent_West_7733
    Historic F5 Account
    Because of the way pools are assigned to a virtual server, only the default pool is available to the server definition. If there are other pools assigned, you would need to pull that data out of the iRule or HTTP class/LTM policy that has a pool configured. It is possible, though, you'll have to dig a little deeper.
  • Brent, Thanks for your pretty quick response! Based on my understanding... I think I've to look deeper into both LocalLBVirtualServer.get_rule and LocalLBRule.query_rule Thanks again!