]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Provide "atomic" database access for networks
authorGary Kotton <gkotton@redhat.com>
Tue, 25 Dec 2012 15:11:35 +0000 (15:11 +0000)
committerGary Kotton <gkotton@redhat.com>
Tue, 25 Dec 2012 15:11:35 +0000 (15:11 +0000)
commit19d65cdfd526d7ed5325f40f8dad31b1a04b4c47
tree332aa9cb2acc32c7fb76881fdb85d04a126a2944
parentf9b0eccfda2e747fcfdad7e6c8b26efefe29346a
Provide "atomic" database access for networks

Fixes bug 1093637

In the OVS and LB plugins there are cases when accessing the network
has an additional database query. The patch enables this to occur
without accessing an invalid database entry.

Change-Id: I7d4944cf3240819f23dd7b4993d6ae3cefab9dc2
quantum/plugins/linuxbridge/lb_quantum_plugin.py
quantum/plugins/openvswitch/ovs_quantum_plugin.py