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
(cherry picked from commit 89b01ca24ba95e36568352b4e5c7abf0cd04e4af)
Reviewed: https:/ /review. openstack. org/92044 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2a7164a01b9 527fcf7b078f140 550ff89cc2dffd
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 2a7164a01b9527f cf7b078f140550f f89cc2dffd
Author: Sudheendra Murthy <email address hidden>
Date: Fri May 2 15:25:28 2014 -0700
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: I66f31755525fca 37f9dbce6fb43e4 75791f82495 6568352b4e5c7ab f0cd04e4af)
Closes-Bug: #1315097
(cherry picked from commit 89b01ca24ba95e3