]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Changed filter field to router_id
authorTu Hong Jun <tuhongj@cn.ibm.com>
Thu, 20 Aug 2015 06:08:07 +0000 (14:08 +0800)
committerArmando Migliaccio <armamig@gmail.com>
Fri, 4 Sep 2015 01:16:32 +0000 (01:16 +0000)
commitcd524065e2ac4f48d8b9810fa9735f0fd925c4d8
treee9b9f101d9ef5585c477d28cd83d8b7c35218e1e
parent9ed4be7559b1b611b35b505a786c3511dccac58f
Changed filter field to router_id

The get_sync_interfaces query will always return all router ports
from database even it is supposed to query specific ones that
belong to a certain router. In large L3 scale environment with
number of route ports in place, this would lag the response time
for adding router interface and router L3 agent binding.

Closes-Bug: #1489671
Change-Id: Ib78ca766f91783ad2ecca5b728c31602b4ed15d8
neutron/db/l3_db.py
neutron/tests/unit/extensions/test_l3.py