]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ExtraRoute: fix _get_extra_routes_by_router_id()
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 7 Nov 2013 09:35:27 +0000 (13:35 +0400)
committerOleg Bondarev <obondarev@mirantis.com>
Fri, 8 Nov 2013 06:16:19 +0000 (10:16 +0400)
commit2fb996642a597e7050ecc13ef6f3ad4aaae34997
tree37a6850c923643dd682f5fe27b8aa05cd4ba0376
parentb1d56ed1a6dc1397d1706d6f7186d760f921779b
ExtraRoute: fix _get_extra_routes_by_router_id()

router_id filter wasn't properly applied to the query
so the func returned all extra routes of all routers.

Closes-Bug: #1248219
Change-Id: I77733ee7994c8fccbbc966ccabd83b8fe4def8d5
neutron/db/extraroute_db.py
neutron/tests/unit/test_extension_extraroute.py