]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixes floating IP regression with multiple routers
authorKevin Fox <kevin@efox.cc>
Wed, 18 Feb 2015 22:01:49 +0000 (14:01 -0800)
committerKevin Benton <blak111@gmail.com>
Sat, 21 Mar 2015 00:44:10 +0000 (17:44 -0700)
commit84bbcb6f2a5400112751517e41bb50b5056220e0
tree867c5e023ee84114241c4fe0a52eb5c49edc18bf
parentc3018d35f1d903ccf8d08d04c5e4b9e2fca0b68b
Fixes floating IP regression with multiple routers

During the refactor here:
Change-Id: I09e8a694cdff7f64a642a39b45cbd12422132806
Too much code was removed and caused floating ips to get miss assigned when
multiple routers with external networks in the same tenant are present. The
first router in the tenant was always being chosen. This patch adds back
some of the original code as well as a unit test.

Change-Id: I6f663cb1ce3e4a1340c415d13787a9855c4dcac2
Closes-Bug: 1422476
neutron/db/l3_db.py
neutron/tests/unit/test_l3_plugin.py