neutron/neutron/common
Slawek Kaplonski 593c04d10d Import neutron.db.api module in common.utils
Patch [1] removed import of neutron.db.api module in
neutron.common.utils.
This cause some issues e.g. in networking-ovn projects because
listeners:

@event.listens_for(orm.session.Session, "persistent_to_deleted")
on _persistent_to_deleted() function [2] and

@event.listens_for(model_base.BASEV2, "attribute_instrument", propagate=True)
on _listen_for_changes() function [3]

aren't created as they where before.

This patch adds import of this neutron.db.api module again just to
ensure that those listeners are created properly.

[1] https://review.openstack.org/#/c/614252/
[2] https://github.com/openstack/neutron/blob/master/neutron/db/api.py#L110
[3] https://github.com/openstack/neutron/blob/master/neutron/db/api.py#L134

Closes-Bug: #1802369

Change-Id: I3e427ee5c904c34115aaf1afa67e1109ea58d603
2018-11-10 15:57:25 +01:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_deprecate.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
cache_utils.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
config.py Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
constants.py ovs-agent: Report resource info in heartbeat 2018-10-11 11:08:07 +02:00
eventlet_utils.py Windows: fix exec calls 2018-02-01 17:05:28 +02:00
exceptions.py use TenantIdProjectIdFilterConflict from neutron-lib 2018-09-17 10:19:22 -06:00
ipv6_utils.py Allow Ipv6 addresses for nova_metadata_host 2018-10-11 02:07:05 +00:00
profiler.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
rpc.py shim neutron rpc with neutron-lib 2018-08-22 11:20:53 -06:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
utils.py Import neutron.db.api module in common.utils 2018-11-10 15:57:25 +01:00