Browse Source

mech_driver.OVNMechanismDriver "_ovn_client" is a read-only property

mech_driver.OVNMechanismDriver "_ovn_client" is not a class member but
a read-only property and can't be assigned.

Backported from Neutron (Ussuri): https://review.opendev.org/#/c/715375

Closes-Bug: #1869342

Change-Id: I98f7deaeaad80c840cfccc0dfc3f6f97de05e088
changes/77/715377/3
Rodolfo Alonso Hernandez 1 year ago
parent
commit
e32e750b35
  1. 3
      networking_ovn/cmd/neutron_ovn_db_sync_util.py

3
networking_ovn/cmd/neutron_ovn_db_sync_util.py

@ -23,7 +23,6 @@ from oslo_db import options as db_options
from oslo_log import log as logging
from networking_ovn.common import config as ovn_config
from networking_ovn.common import ovn_client
from networking_ovn.ml2 import mech_driver
from networking_ovn import ovn_db_sync
from networking_ovn.ovsdb import impl_idl_ovn
@ -52,8 +51,6 @@ class OVNMechanismDriver(mech_driver.OVNMechanismDriver):
@property
def ovn_client(self):
if not self._ovn_client:
self._ovn_client = ovn_client.OVNClient(self._nb_ovn, self._sb_ovn)
return self._ovn_client
# Since we are not using the networking_ovn mechanism driver while syncing,

Loading…
Cancel
Save