List all pool names available using irule

is there a method to retrieve a list of all pool names configured in a LTM partition via an irule? TIA

I can’t seem to find a method in an irule, but depending on what you are using this for it might be useful to create a datagroup that was named similar to the partition that contains the list of pool names and reference this datagroup to make the code more reusable.

I don’t think there is. Looking up pool names would imply you are trying to find out the configuration of the F5, which iRules are not designed to do. You could create shell script that either issues tmsh commands or parse the bigip.conf file to find out this information.

thank you all for the feedback.