]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use database session from the context in N1kv plugin
authorAbhishek Raut <abhraut@cisco.com>
Thu, 27 Feb 2014 03:38:42 +0000 (19:38 -0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:42 +0000 (15:20 +0800)
commit1060744dccc7b893000b0390e1d42fe6c1b89dc1
tree1be4208f53c350c0080838abce7f50b83c857452
parent03386447366dc1b3dbf0e59ce9491212b766ea33
Use database session from the context in N1kv plugin

Avoid inconsistencies by using context.session for database
transactions wherever possible in the Cisco N1KV plugin.

Change-Id: Ic0784cbbf50beae6bb3b124c959ae90f3affb604
Closes-Bug: #1285473
neutron/plugins/cisco/db/n1kv_db_v2.py
neutron/tests/unit/cisco/n1kv/test_n1kv_db.py