]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ext-gw update on dvr router improperly handled by l3-agent
authorMichael Smith <michael.smith6@hp.com>
Mon, 25 Aug 2014 17:33:40 +0000 (10:33 -0700)
committerCarl Baldwin <carl.baldwin@hp.com>
Tue, 26 Aug 2014 03:59:30 +0000 (03:59 +0000)
commite74b85f854e248919299fd875066903eba0a37c9
tree71023033a9516704f7546480c707703d8e57e823
parent6f46e05d72c35b3896c83c53570d920b55d8e987
ext-gw update on dvr router improperly handled by l3-agent

The recently added external_gateway method does not check
the agent mode or host binding before adding an external
gateway to a particular node/agent.  This fix adds the
required checks in the update path.

Change-Id: Idbb76eea1faec1c5d6b7615d23d74760cc327bb2
Closes-bug: #1356734
neutron/agent/l3_agent.py
neutron/tests/unit/test_l3_agent.py