neutron/neutron/tests
Kevin Benton 0f536d5a25 Use objects instead of SQLA deep copies in PortContext
The workaround of using deepcopy calls on the PortBinding
and PortBindingLevel objects prevents the port relationship
from being loaded to bump its revision because it then fails
to merge.

So in order to allow port bindings to bump the revision we
need to stop using sqlalchemy objects in the PortContext. This
patch adds a new snapshot object that just copies the column
values and provides a method to reconcile them back into the
session.

This workaround can go away after we switch to using OVOs, but
this needs to be backportable so we can't just wait for OVO
adoption.

Partial-Bug: #1699034
Change-Id: Ib85ec8182117fa3c4844dabfffe881e38e68b556
2017-06-20 01:34:10 -07:00
..
common Merge "net_helpers: Set process streams to text mode" 2017-06-16 04:33:10 +00:00
contrib functional: Add support for python35 flavor 2017-06-15 13:57:30 +00:00
etc Stop extension warnings in UTs 2017-04-20 10:03:26 +00:00
fullstack Add support for ingress bandwidth limit rules in ovs agent 2017-06-14 11:11:43 +00:00
functional Merge "DHCP Agent: Separate local from non-local subnets" 2017-06-20 06:52:27 +00:00
tempest Merge "api-tests: Common way to define required extensions" 2017-06-08 18:31:59 +00:00
unit Use objects instead of SQLA deep copies in PortContext 2017-06-20 01:34:10 -07:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Use rootwrap for fullstack test runner 2017-06-08 18:42:47 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py [log]: db models and migration rules 2017-06-13 08:52:12 +07:00