Reviewed: https://review.openstack.org/274037 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0bd401c8638f22977977ffc2ce267063eb83b195 Submitter: Jenkins Branch: stable/liberty
commit 0bd401c8638f22977977ffc2ce267063eb83b195 Author: Oleg Bondarev <email address hidden> Date: Wed Dec 2 14:52:30 2015 +0300
DVR: optimize check_ports_exist_on_l3_agent()
Currently the function gets all ports on the subnet and iterates through them to find dvr serviceable ports on a particular host. This patch makes it a single DB query to see if any port exists matching criterias.
Partial-Bug: #1513678
Conflicts:
neutron/common/utils.py neutron/db/l3_agentschedulers_db.py
Change-Id: Ie17885497aacb8fda4a2c4a05f19d08991038557 Co-Authored-By: Oleg Bondarev <email address hidden> (cherry picked from commit 226c999de3e342bf7ce667e21f4ab685b7fd5622)
Reviewed: https:/ /review. openstack. org/274037 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=0bd401c8638 f22977977ffc2ce 267063eb83b195
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 0bd401c8638f229 77977ffc2ce2670 63eb83b195
Author: Oleg Bondarev <email address hidden>
Date: Wed Dec 2 14:52:30 2015 +0300
DVR: optimize check_ports_ exist_on_ l3_agent( )
Currently the function gets all ports on the subnet and iterates
through them to find dvr serviceable ports on a particular host.
This patch makes it a single DB query to see if any port exists
matching criterias.
Partial-Bug: #1513678
Conflicts:
neutron/ common/ utils.py db/l3_agentsche dulers_ db.py
neutron/
Change-Id: Ie17885497aacb8 fda4a2c4a05f19d 08991038557 f7ce667e21f4ab6 85b7fd5622)
Co-Authored-By: Oleg Bondarev <email address hidden>
(cherry picked from commit 226c999de3e342b