sorbal | hello, I have a question for the way upload_haproxy_config() (https://github.com/openstack/octavia/blob/7974e755e18bed376ea5b1bce2a927eeb34494b2/octavia/amphorae/backends/agent/api_server/loadbalancer.py#L93) method is implemented. | 12:15 |
---|---|---|
sorbal | This method not only creates the haproxy config file and checks its validity but also creates the nets service and the haproxy service and enables them. | 12:15 |
sorbal | But the nets and haproxy service don't have to be re-initialized every time the haproxy config changes (at least that is my understanding). | 12:15 |
sorbal | Is this done just in order to keep everything simple and not have one method for the initial creation of the haproxy service and another e.g. update_haproxy_config() that would only update the config and restart the haproxy service? Or am I missing something and this method is only called for the initial haproxy config and service creation and there is some other method for the update? | 12:15 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!