neutron/neutron/tests
Ihar Hrachyshka 90ede813b0 Automatically expire obsolete relationships
Listen for foreign key changes and expire related relationships.

With this, we can remove OVO code that refreshes / detaches models on
each fetch. The patch also removes a bunch of expunge calls in plugin
code.

writer.using context manager is added to _get_subnets so that segment
plugin's _notify_subnet_updated handler that calls to _get_subnets
doesn't use the facade-less context.session that in specific cases may
cache old models from previous sessions when used in mixed
facade/facade-less environment.

This patch bumps SQLAlchemy minimal requirement to >= 1.2.0 because
pending_to_persistent event didn't exist before this version. It could be >=
1.1.0 if not for the fact that all 1.1.x releases have a bug that results in
breakage of test_update_with_none_and_own_mac_for_duplicate_ip due to obscure
import ordering issue in the library.

(The issue is fixed by https://github.com/zzzeek/sqlalchemy/commit/
63ff0140705207198545e3a0d7868a5ba8486e93)

Partially-Implements: blueprint enginefacade-switch
Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db

Co-Authored-By: Michael Bayer <mike_mp@zzzcomputing.com>
Change-Id: I18c6794f99d2847c208dfd6e9eb187d53b657a05
2018-04-20 15:33:59 -05:00
..
common Remove usage of TestCase.skip() method 2018-03-21 22:14:53 +01:00
contrib remove tag and tag_ext extensions 2018-03-16 13:09:42 -06:00
etc Allow port create/update by shared nw owners 2017-12-12 04:12:54 +00:00
fullstack Merge "Remove usage of TestCase.skip() method" 2018-03-26 20:28:36 +00:00
functional Fix pep8 errors 2018-04-11 01:10:49 +09:00
tempest Removing remaining Tempest bits 2018-03-26 11:41:35 -05:00
unit Automatically expire obsolete relationships 2018-04-20 15:33:59 -05:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Switch IPDevice.exists() method to use pyroute2 2018-03-19 11:56:45 +01:00
fake_notifier.py FakeNotifier class 'topic' argument change to 'topics'. 2017-12-04 20:10:03 +01:00
post_mortem_debug.py
tools.py tests/tools: add prefix "_" to CALLBACK_PRIORITY_SUPPORTED 2018-04-11 22:46:55 -07:00