The ``neutron-ovn-db-sync-util`` replaces the ``ovn`` mechanism
driver with the ``ovn-sync`` mechanism driver. Subsequently it
makes calls into the OVN L3 service plugin.
At present the OVN L3 service plugin assumes the ``ovn`` mechanism
driver to be present and produces a Traceback when it is not.
This patch fixes that by testing for both of the supported
mechanism drivers.
Reviewed: https:/ /review. opendev. org/738961 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ce2866a4f6c 6ee06e835f19394 c1dd02ef83cff5
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit ce2866a4f6c6ee0 6e835f19394c1dd 02ef83cff5
Author: Frode Nordahl <email address hidden>
Date: Fri Jun 5 09:52:48 2020 +0200
[OVN] Allow use of ovn-sync mechanism driver
The ``neutron- ovn-db- sync-util` ` replaces the ``ovn`` mechanism
driver with the ``ovn-sync`` mechanism driver. Subsequently it
makes calls into the OVN L3 service plugin.
At present the OVN L3 service plugin assumes the ``ovn`` mechanism
driver to be present and produces a Traceback when it is not.
This patch fixes that by testing for both of the supported
mechanism drivers.
Change-Id: I1ac685a12f4911 9f5ef1428cbc504 b639d783803 04b6bd92e189188 f6702c74a7)
Closes-Bug: #1882202
Signed-off-by: Frode Nordahl <email address hidden>
(cherry picked from commit 206ce246768d6fb