]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add error log for SystemExit in l3-agent
authorHui HX Xiang <xianghui@cn.ibm.com>
Mon, 23 Sep 2013 09:04:57 +0000 (02:04 -0700)
committerHui HX Xiang <xianghui@cn.ibm.com>
Fri, 27 Sep 2013 15:23:07 +0000 (08:23 -0700)
commit03f39f10cc97db7a1a4bd5b0b9c5cf11dcd604aa
tree51cde4b62366f719a3522b57e85fdd377400c8a3
parent4f14217300f61a4accbaf4b8f5ccb5f1cd1dad35
Add error log for SystemExit in l3-agent

The SystemExit exception should be logged in l3-agent, the
operator may miss the useful exception messages to debug.

    * Add error log for SystemExit in l3-agent.
    * Add unit test for None and Wrong interface_driver.

Closes-Bug #1229105

Change-Id: I9ac60a528c1e88827078d552a30c8d571066d21c
neutron/agent/l3_agent.py
neutron/tests/unit/test_l3_agent.py