]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Optionally delete namespaces when they are no longer needed
authorCarl Baldwin <carl.baldwin@hp.com>
Tue, 12 Nov 2013 19:31:45 +0000 (19:31 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Tue, 19 Nov 2013 21:05:57 +0000 (21:05 +0000)
commit7336f3bd27d138b3d11d601f977a1e3df2a44b3e
treeb668c3a7e86c2f10c115829e14bc1eda1c53cce8
parent07d597079781967f5a149f1812ddca3897fa49d9
Optionally delete namespaces when they are no longer needed

Adds a configuration option to tell the network agents to delete
namespaces when they are no longer in use.  The option defaults to
False so that the agent will not attempt to delete namespaces in
environments where this is not safe.

This has been working well in deployments where iproute2 has been
patched with commit 58a3e8270fe72f8ed92687d3a3132c2a708582dd or it is
new enough to include it without being patched.

Change-Id: Ice5242c6f0446d16aaaa7ee353d674310297ef72
Closes-Bug: #1250596
Related-Bug: #1052535
etc/dhcp_agent.ini
etc/l3_agent.ini
neutron/agent/l3_agent.py
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_linux_dhcp.py