sapcc / octavia-f5-provider-driver

Apache License 2.0
17 stars 2 forks source link

Ignore ESDs that only work for HTTPs listeners #146

Open notandy opened 2 years ago

notandy commented 2 years ago

As for cc_sso_22b0_v1_0 ESD, API allows to append this to a HTTP listener, but AS3 will stuck with null pointer exception.

Either ignore such ESDs for non-TERMINATED_HTTP listener or set listener to error.

BenjaminLudwigSAP commented 2 years ago

We already have a whitelist in octavia API, so the easiest way of achieving this is to alter that. Of course, instead of ignoring the ESD or setting the listener to ERROR, we get an API error, just with other invalid protocol-ESD combinations. I created a PR over there, please have a look.