Jay_Allison_400
Aug 09, 2005Nimbostratus
Finding which virtuals are associated with a pool
So, at the end of the day I want to be able to create a perl script that allows me to enter a member IP address and it to return to me which pools and virtuals it belongs to.
There is an easy way to do this with pools with the 'node -> get_pool_membership' method, but there doesn't seem to be any corresponding method to take a pool and find out what virtuals it is associated with.
I can brute force this by listing all pools for a virtual and then sorting for the relevant pool, but I was hoping for a much easier and more elegant way to handle this.
I am also a bit worried about being able to brute force the pools out of rules as well.
Thoughts?