Reviewed: https://review.openstack.org/174846 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=26284228dfc3c5f121f869dd6b2d2a492afaf659 Submitter: Jenkins Branch: master
commit 26284228dfc3c5f121f869dd6b2d2a492afaf659 Author: Kevin Benton <email address hidden> Date: Fri Apr 17 05:10:26 2015 -0700
Get all interfaces for get_snat_sync_interfaces
The get_snat_sync_interfaces method was being called for each router individually during a sync, which resulted in a new query to the database.
This patch eliminates that waste by querying for the snat interfaces for all of the routers in the list at once.
Change-Id: I1e44a0cf15a70632e8b62ac89ce807a7a457747d Partial-Bug: #1445412
Reviewed: https:/ /review. openstack. org/174846 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=26284228dfc 3c5f121f869dd6b 2d2a492afaf659
Committed: https:/
Submitter: Jenkins
Branch: master
commit 26284228dfc3c5f 121f869dd6b2d2a 492afaf659
Author: Kevin Benton <email address hidden>
Date: Fri Apr 17 05:10:26 2015 -0700
Get all interfaces for get_snat_ sync_interfaces
The get_snat_ sync_interfaces method was being called for
each router individually during a sync, which resulted
in a new query to the database.
This patch eliminates that waste by querying for the snat
interfaces for all of the routers in the list at once.
Change-Id: I1e44a0cf15a706 32e8b62ac89ce80 7a7a457747d
Partial-Bug: #1445412