Query IP address context(s) in live config or bigip.conf using iControl

Hello,

Are there any objects or methods built-in to iControl that would enable someone to scurry thru (or parse thru) either:

1) a running config of a F5 LTM/GTM

AND/OR

2) a flat file such as a backup of “bigip.conf”

…with the objective being to match on a IP address in order to retrieve/return a list of pools that the IP might be listed under as a node as well as within iRules, datagroups, or another other config object, etc.?

Essentially, I’d like a script that searches for an IP in order to determine whether or not that IP is in use on any VIPs and all instances of any other part of the config, etc. This question is primarily or specifically in regards to LTM/GTMs. Asking as this seems like the kinda thing that might already be built-in in someway; and if it matters, I would be looking for a python/bigsuds oriented solution if there is not already a general/generic iControl object/method for this.

Thanks in advance!

You could try bigip report:

Here’s a sample screen shot:

Imgur

I haven’t implemented any support for GTM yet but there is support for documenting documenting public to private address translations. It enables free text filtering, both on global table level and per column.

If you don’t like the presentation, feel free to use the caching function which generates the arrays with the different classes and generate your own.

Suggestions greatly appreciated.

/Patrik