]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR: make sure snat portion is always scheduled when needed
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 20 Aug 2015 09:02:55 +0000 (12:02 +0300)
committerOleg Bondarev <obondarev@mirantis.com>
Thu, 20 Aug 2015 10:23:02 +0000 (13:23 +0300)
commit09cad21208ca1745d2859aabeb43c5b028f227b6
tree368325bc4bde52f89c432867452e6e9165faffa9
parent194489b0f4885a2909333446a815896ea4d60320
DVR: make sure snat portion is always scheduled when needed

commit 236e408272bcb9b8e957524864e571b5afdc4623 introduced
a regression where if router without external gateway was already
scheduled to all dvr_snat agents, then when adding external gateway
to the router, snat portion scheduling was skipped.
The patch fixes regression and adds corresponding unit (functional
in fact) test.

Closes-Bug: #1486627
Change-Id: Iad7e53bd57836f257d7110bc054d58029484ab99
neutron/scheduler/l3_agent_scheduler.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_agent_scheduler.py