neutron/neutron/tests
Swaminathan Vasudevan 3794b4a83e Fixes Multiple External Networks issue with DVR
Current L3 agents can support more than one
external network when configured properly.

On DVR routers, router-gateway-set was
returning a 500 error, when two external
networks were configured in the system.

The problem resides in the scheduler where the
bind_router is called twice when the
reschedule_router is called from update_router.

The _schedule_router binds the snat
and the qrouter with the respective agents.

But after scheduling it does not return agent.

And in the case of two external networks, the
get_candidates always returns a valid candidate
to be processed and hence the bind_router is
called twice.

This patch fixes the _schedule_router function
and hence avoids the multiple calls to
bind_router.

This prevents the update_router from failing
and causing the nested rollback for the
transactions.

Change-Id: I24d44c60a3ea5bbc9e3f44aa5191deff315723ca
Closes-Bug: #1374473
2015-01-21 11:51:07 -08:00
..
api Switch to using abc in the retargetable client 2015-01-20 02:23:48 +00:00
common Update L3 agent drivers singletons to look at new agent 2014-12-21 16:35:20 +02:00
contrib Fix outstanding failures with Neutron API job 2015-01-17 00:24:24 -08:00
etc update the relative path of api_extensions_path 2014-10-12 01:08:49 +08:00
functional Improve test coverage of dhcp agent scheduling 2015-01-20 15:24:28 +05:30
unit Fixes Multiple External Networks issue with DVR 2015-01-21 11:51:07 -08:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py Migrate to oslo.concurrency 2015-01-15 21:01:06 +01:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
sub_base.py Add support for retargetable functional api testing 2015-01-06 02:37:59 +00:00
tools.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00