]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
only destroy single namespace if router_id is set
authorChristoph Thiel <c.thiel@telekom.de>
Mon, 11 Feb 2013 16:46:59 +0000 (17:46 +0100)
committerChristoph Thiel <c.thiel@telekom.de>
Tue, 12 Feb 2013 07:52:04 +0000 (08:52 +0100)
commit23b47c832a9ae0c1890ad0d467c28f81914d4b57
tree60eb71ffa45c0e684ba734caf881e097f5802337
parentbbef9ab0acb52b51b311adedbbb4d8b056550915
only destroy single namespace if router_id is set

Fixes bug 1122206

If multiple instances of l3_agent are running on the same host, all qrouter-
namespaces will be destroyed as new l3_agents are started.  This fix allows
for multiple l3_agents to be running on the same host when router_id is set
for each agent.

Change-Id: I879cdc6faba94900f831232232d67e471c70d778
quantum/agent/l3_agent.py
quantum/tests/unit/test_l3_agent.py