8abe519c65234db5cf6df1dbaaf9457a0f5e905a
The OVN Octavia provider driver in the OvnProviderHelper
class caches these attributes:
ovn_nbdb_api_for_events
ovn_nb_idl_for_events
ovn_nbdb_api
to not re-create things each time OVN IDL that is used for
handling events is called.
We should be using the Octavia Driver Provider Agent framework
instead to not have those long-running IDLs in the API process.
This change:
- Creates driver provider agent and registers its entry point
- While setting up the driver agent instance, start IDL that
will handle events
- Stop caching ovn_nbdb_api, ovn_nb_idl_for_events and
ovn_nbdb_api_for_events in the OvnProviderHelper class
Conflicts:
ovn_octavia_provider/tests/functional/test_driver.py
Change-Id: I0034a48997bd6b95e1b51bfcbd56e8372b35e62f
Closes-bug: #1871355
(cherry picked from commit c6cee92073)
ovn-octavia-provider - OVN Provider driver for Octavia LoadBalancer
OVN provides virtual networking for Open vSwitch and is a component of the Open vSwitch project. This project provides integration between OpenStack Octavia and OVN.
- Free software: Apache license
- Source: https://opendev.org/openstack/ovn-octavia-provider
- Bugs: https://bugs.launchpad.net/neutron/+bugs?field.tag=ovn-octavia-provider
- Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
- IRC: #openstack-neutron on Freenode.
- Docs: https://docs.openstack.org/ovn-octavia-provider/latest
Team and repository tags
- Release notes for the project can be found at: https://docs.openstack.org/releasenotes/ovn-octavia-provider
Description
Languages
Python
99.3%
Shell
0.7%