epacke / BigIPReport

Overview of your loadbalancer configuration
https://loadbalancing.se
8 stars 2 forks source link

include pools referenced by datagroup #94

Closed timriker closed 6 years ago

timriker commented 6 years ago

We currently don't handle datagroup pool lookups. Something like this:

when HTTP_REQUEST {
 pool [class match -value [string tolower [HTTP::host]] equals dg_ptest]
}

and then a datagroup like this:

a.example.com := pool_a.example.com
b.example.com := pool_b.example.com

Thoughts, Patrik? Does anyone else do shared vhosts like this?

Our rule is much larger than this to handle errors, etc. but this is the simplified view.