]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
l3-agent: move check if ext-net bridge exists within daemon loop
authorDan Wendlandt <dan@nicira.com>
Fri, 21 Sep 2012 06:52:52 +0000 (23:52 -0700)
committerDan Wendlandt <dan@nicira.com>
Fri, 21 Sep 2012 06:52:52 +0000 (23:52 -0700)
commitda1cf7c27014182033b86a156e829d096459d9f0
tree5693accd3f5515fb6e5407c1b9000b5bbf9163b9
parent3fecbfe002304a96637ea8e81d8eaf881a651245
l3-agent: move check if ext-net bridge exists within daemon loop

bug 1052522

the l3 agent checked if the external network bridge exists in its
constructor, raising an uncaught exception if it did not.  this does not
make much sense when running the l3-agent as a deamon, especially since
it can be the case that the l3-agent starts before open vswitch.

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