]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
fix dvr snat bindings for external-gw-clear
authorMichael Smith <michael.smith6@hp.com>
Wed, 24 Sep 2014 17:20:46 +0000 (10:20 -0700)
committerMichael Smith <michael.smith6@hp.com>
Thu, 25 Sep 2014 15:46:50 +0000 (08:46 -0700)
commit5be55ac161adfec9085121fe59ea3bf59daa92cf
tree878fe91f85f2e3f88a36f31b3e51a84528df99f5
parentee4f94e32c8422eb5785f0bb1eb39b94b4e9b064
fix dvr snat bindings for external-gw-clear

When router_gateway_clear happens, the
schedule_router calls the unbind_snat_servicenode
in the plugin. This will clear the agent binding
from the binding table. But the l3-agent was
expecting the ex_gw_port binding to be present.
The agent needs to check its cache of the
router['gw_host_port'] value now.

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