Instead of loading security group associations with a separate query
each time a port is loaded from the database, perform the load operation
with a join using a joined sqlalchemy relationship.
Also, this patch removes the need for invoking the mixin method
'extend_port_dict_security_group' from the plugin code.
Reviewed: https:/ /review. openstack. org/27660 github. com/openstack/ quantum/ commit/ 6f01194e9c30afc 2656cef9b15fea5 ae688e93d7
Committed: http://
Submitter: Jenkins
Branch: master
commit 6f01194e9c30afc 2656cef9b15fea5 ae688e93d7
Author: Salvatore Orlando <email address hidden>
Date: Mon Apr 29 01:40:47 2013 +0200
Perform a joined query for ports and security group associations
bug 1174111
Instead of loading security group associations with a separate query port_dict_ security_ group' from the plugin code.
each time a port is loaded from the database, perform the load operation
with a join using a joined sqlalchemy relationship.
Also, this patch removes the need for invoking the mixin method
'extend_
Change-Id: I40b22281d45ff4 f4bf81492118837 99a9051c1a0