Forum Discussion

Eray_27463's avatar
Eray_27463
Icon for Nimbostratus rankNimbostratus
Sep 06, 2007

Getting the poolname from the NodeAddress

Is there a way to get the PoolName from a LocalLBNodeAddress object? (I am looking for the poolname that the LocalLBNodeAddress object belongs to) I've looked at the SDK but couldn't figure it out.

 

Thanks,
  • I'm pretty sure there isn't a way to do that. Nodes aren't directly bound to a single pool, so there wouldn't always just be one pool name for the node.

     

     

    The only real way to do it that I know of is to loop over all the pools and see which ones include the node.