This is a small tool to scratch an itch. To easily see what backends are behind a VIP and what policies and rules are attached. Default it lists all, but you can also query by adding a regex that will match name, ip or rules.
This code needs python3
$ pip3 install -r requirements.txt
$ python3 -mvenv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
Place a bigip-query.conf in either /etc/bigip-query.conf
$HOME/.bigip-query.conf
or a bigip-query.conf
in the current directory
It has the following format
[DEFAULT]
hostname = bigip.int.somedomain.com
username = readonlyuser
password = FancyPasswordHorseStapleFish
List all VIPS
$ ./bigip-query.py
Searchparameters are regexp
Query a VIP by IP address
$ ./bigip-query.py 1.2.3.4
Query a VIP by IP address
$ ./bigip-query.py <name>
Query VIPs by Irule
$ ./bigip-query.py <irulename>
Query all VIPS NOT having a irule
$ ./bigip-query.py -n <irulename>
- Use tokens instead of users
- Check actual certificates, not only ssl-profile
- Create single binary for distribution