*** jph0 is now known as jph | 00:48 | |
*** jph0 is now known as jph | 07:20 | |
sorbal | Hi everyone, I am trying to figure out what is the best way to extend the functionality of Octavia API without messing with the octavia source code. More specifically I am trying to change the way the haproxy configuration is generated in order to be able to add a Haproxy SPOE filter. I want to have the option in the CLI to enable/disable my SPOE filter for a listener. | 08:32 |
---|---|---|
sorbal | I have already created an amphora disk image element and tested my SPOE by manually calling the octavia internal API to update the haproxy config file. However I am not sure how I should go about making it more user friendly. Should I develop my own provider driver? Is there a better way? | 08:33 |
sorbal | Ps. The "amphora disk image element" installs and enables as a service my Haproxy Stream Processing Offload Agent. | 08:40 |
gthiemonge | sorbal: Hi, I'd say that it depends on the amount of changes that you have to do in the current amphora driver. IMHO they are not incompatible changes, only extending the current API (between the controllers and the amphora) | 09:22 |
sorbal | gthiemonge: I am honestly a bit lost reading the documentation and the source code. Are you suggesting I make changes to the controller and db models to add my functionality? Or create a new driver based on the current one? | 11:12 |
sorbal | If I want to add an option/flag to enable and disable my SPOE filter I guess it's inevitable that I have o change the Listener db model to add this flag? So that I can somehow include this flag in the listener_updates dict used by the update_listener method of the controller? | 11:19 |
-opendevstatus- NOTICE: There will be a short Gerrit downtime while we update a database and our container image | 17:14 | |
opendevreview | Tony Breeds proposed openstack/octavia master: [DNM] Testing docs bump with new Sphinx https://review.opendev.org/c/openstack/octavia/+/919281 | 20:55 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!