]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Replace unnecessary call to get_sync_routers
authorKevin Benton <blak111@gmail.com>
Fri, 17 Apr 2015 11:51:26 +0000 (04:51 -0700)
committerKevin Benton <blak111@gmail.com>
Sat, 25 Apr 2015 06:32:23 +0000 (23:32 -0700)
commit4be5c2f6dc635e1139e268b078ba3c28c3bcefb6
tree76e7def5332e97fdceed4b67211f42f86d8f5b87
parent01aa18b0bf309c44f9f05d8fcf800431529303d3
Replace unnecessary call to get_sync_routers

Replaces a call to get_sync_routers with a single-column
router DB query in a method that doesn't use any of the
gateway information get_sync_routers spends extra
time populating.

Change-Id: I35eae975209316aad6b2c97c909dce385729864d
Partial-Bug: #1445412
neutron/db/l3_dvr_db.py
neutron/tests/unit/db/test_l3_dvr_db.py