Comment 0 for bug 1463594

Revision history for this message
Brandon Logan (brandon-logan) wrote : LBaaS drivers can be queried to determine whether they support a feature the API exposes

If the neutron lbaas plugin could query the loaded drivers and determine if a certain feature is supported that the API exposes, then certain workarounds could be avoided. This would allow the API to fail fast and return back a meaningful error to the user explaining the issue instead of the current options, fail slowly by throwing load balancer in ERROR state or the driver does somethign different than what the user intended.

Examples:
1) Currently the API allows for a PING health check, but HAProxy does not support this, but instead of throwing an error, it just uses a TCP health check underneath.

2) This would allow a driver to be able to support a workflow in which it is responsible for allocating the VIP in whatever way it wants. Currently a neutron port is created for the VIP in the plugin and passed down to the driver. A driver may want to do something different than that to create a VIP.