]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Expunge session contents between plugin requests
authorSalvatore Orlando <salv.orlando@gmail.com>
Wed, 15 Jan 2014 20:45:22 +0000 (12:45 -0800)
committerSalvatore Orlando <salv.orlando@gmail.com>
Wed, 15 Jan 2014 20:45:22 +0000 (12:45 -0800)
commitf6d384d7a2df5ba603bf7862853e9cb9fc70fcb4
tree73bd408c95cd5163f3bf56dbc9b39da0661020f0
parentf89cf127d92f38b9460f4164bc01a6a6576f1686
Expunge session contents between plugin requests

In the NVP plugin, metadata processing performs several plugin operations
with the same context (and db session). The first operation might leave
persisted objects in the session instance which then conflict with objects
created in the second operation.

Closes-Bug: #1266482

Change-Id: Ic9e2b952013610647aa222f1a8b6e33504b54b37
neutron/plugins/nicira/dhcp_meta/rpc.py