]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Performance improvement of router routes operations
authorItsuro Oda <oda@valinux.co.jp>
Mon, 21 Apr 2014 06:02:52 +0000 (15:02 +0900)
committerItsuro Oda <oda@valinux.co.jp>
Thu, 1 May 2014 23:16:37 +0000 (08:16 +0900)
commitf55e451fb790b976d3fbd3a23dd8688bcc584c77
treeafb84cb8971f47f725f3b45ab9f13a326aafa97e
parent7305ace9f37719f47d55743c0dece7089c063b12
Performance improvement of router routes operations

This patch fixes inefficiency of updating extra routes.
* remove the code repeated by every routes in validation check.
* remove searching a record to delete per record.

Note: Unit tests are covered by existing ones. So no unit test added.

Change-Id: Ia335ac21c65148063d330e4533a15a73962c43d8
Closes-bug: #1312482
neutron/db/extraroute_db.py