iRule function to enumerate members of a SNATpool?

Does anyone know (as the Wiki article is sadly lacking) whether there is an iRule function to allow you to query for a list of IP addresses that comprise a particular SNAT pool? I’m trying to determine what IP addresses are configured in a SNAT pool and enumerate how many entries there are in the table.

All I can find at present is that “LB::snat” returns the current SNAT IP.

I’m hoping to avoid running an external script to seed a datagroup -- again.

Hi Joel,

I don’t believe there is a way to retrieve the SNAT pool address(es) or count. The option you want to avoid is the only method I can think of to do this now. You could open a request for enhancement case with F5 to suggest adding this type of functionality.

Aaron