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
Change-Id: I0034a48997bd6b95e1b51bfcbd56e8372b35e62f
Closes-bug: #1871355
7 lines
290 B
Plaintext
7 lines
290 B
Plaintext
OCTAVIA_DIR=${OCTAVIA_DIR:-"${DEST}/octavia"}
|
|
OCTAVIA_CONF_DIR=${OCTAVIA_CONF_DIR:-"/etc/octavia"}
|
|
OCTAVIA_PROVIDER_DRIVERS=${OCTAVIA_PROVIDER_DRIVERS:-"amphora:Amphora,ovn:OVN"}
|
|
OCTAVIA_PROVIDER_AGENTS=${OCTAVIA_PROVIDER_AGENTS:-"ovn"}
|
|
|
|
OVN_OCTAVIA_PROVIDER_DIR=$DEST/ovn-octavia-provider
|