]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Preserve link local IP allocations for DVR fip ns across restart
authorCarl Baldwin <carl.baldwin@hp.com>
Fri, 25 Jul 2014 03:57:40 +0000 (03:57 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Tue, 12 Aug 2014 20:30:10 +0000 (20:30 +0000)
commitc3c9f580393aea658571b00b3afd0b729dffe89b
tree57ee65cb7d3d98b895ac4c80d74681c23ff375b7
parent71fe4a68114c1e73f9bddfa311f27077ec108b19
Preserve link local IP allocations for DVR fip ns across restart

The L3 agent allocates link local address pairs used in connecting the
routers to the floating ip namespace.  When those allocations are
forgetten by restarting the L3 agent they all get rewired on restart.
This change preserves the allocations using a file in the local file
system.  Storing them in the database would be overkill and would
affect system performance.

Change-Id: I39614c7ea2a7dcc35bf969c90045adc5926ea9df
Closes-Bug: #1348306
Partially-Implements: blueprint neutron-ovs-dvr
Co-Authored-By: Rajeev Grover <rajeev.grover@hp.com>
neutron/agent/l3_agent.py
neutron/tests/unit/services/firewall/agents/varmour/test_varmour_router.py
neutron/tests/unit/services/firewall/drivers/varmour/test_varmour_fwaas.py
neutron/tests/unit/test_l3_agent.py