Forum Discussion

picabooboo_1605's avatar
picabooboo_1605
Icon for Nimbostratus rankNimbostratus
Jun 11, 2014

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!

 

1 Reply