]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix interface add for dvr with gateway
authorrajeev <rajeev_grover@hp.com>
Tue, 12 Aug 2014 00:42:18 +0000 (20:42 -0400)
committerrajeev <rajeev_grover@hp.com>
Thu, 14 Aug 2014 00:11:04 +0000 (20:11 -0400)
commit11ca12dd8752a7d8fc13027c21ee572233becb74
treee87a4201cfc607a7a35439c44515992198b8d6a4
parentd10a90906b184842341ff83873e7788782680207
Fix interface add for dvr with gateway

when an interface is added after router gateway set, external
connectivity using snat fails. Instead of just adding the snat port for
the new subnet, method internal_network_added(..) incorrectly re-adds
all the snat ports with wrong cidr.

Change-Id: I7bfe266288670fba0c90990bf350f43ef7829bad
Closes-bug: #1355087
neutron/agent/l3_agent.py
neutron/tests/unit/test_l3_agent.py