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
2016-06-28 22:46:19 +02:00
2018-10-04 15:53:53 +00:00
2016-10-17 17:06:19 +05:30
2018-06-02 13:03:33 +02:00
2014-05-16 13:40:04 -04:00
2018-10-03 08:41:56 +00:00
2018-11-02 23:12:01 +01:00
2017-06-13 19:26:49 +00:00
2017-08-31 16:44:51 +02:00
2018-07-10 15:40:00 +07:00
2017-03-04 11:19:58 +00:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%