]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Optimize querying for security groups
authorSudheendra Murthy <sumurthy@ebay.com>
Fri, 2 May 2014 22:25:28 +0000 (15:25 -0700)
committerSudheendra Murthy <sumurthy@ebay.com>
Fri, 2 May 2014 22:30:29 +0000 (15:30 -0700)
commit89b01ca24ba95e36568352b4e5c7abf0cd04e4af
tree80e3ccdfe62e35d9421c7aa5ddd0761ef4de8d8d
parent8d2634f7e8a295dee55d2b7703fa553a26990442
Optimize querying for security groups

In the check for all security groups on port belong to tenant,
add a filter to get security groups for the tenant which are in
common with the security groups of the port.

Change-Id: I66f31755525fca37f9dbce6fb43e475791f82495
Closes-Bug: #1315097
neutron/db/securitygroups_db.py