vmware-nsx/neutron
Akihiro MOTOKI b90167ca6c Fix argument name mismatch in L3-RPC sync_routers
In sync_routers L3-RPC method l3-agent sends router_ids but the
server side expected router_id. This commit fixes the server side
to accept router_ids, and drops "fullsync" arg from the agent side
(fullsync is not used anywhere and it does not affect RPC signature).
This change allows l3-agent to sync only the specified routers
instead of all routers.

Fixes bug #1201553

As a result of the above change, auto_schedule_routers() and
list_active_sync_routers_on_active_l3_agent() in L3 scheduler
needs to handle a list of router IDs. This commit changes L3 scheduler
to accept a list of router IDs in the above two methods.

Also fixes the argument order of fullsync and router_ids in get_routers
in L3PluginApi. L3-agent main code expects router_ids as the second arg.

Change-Id: I22e8d11b9676cbcfe9e72449031bb63071be8314
2013-07-16 23:22:17 -04:00
..
agent Fix argument name mismatch in L3-RPC sync_routers 2013-07-16 23:22:17 -04:00
api Improve l3-agent performance and prevent races in it. 2013-07-16 06:05:17 -07:00
common Merge "Limit min<=max port check to TCP/UDP in secgroup rule" 2013-07-16 22:58:31 +00:00
db Fix argument name mismatch in L3-RPC sync_routers 2013-07-16 23:22:17 -04:00
debug Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
extensions Merge "Limit min<=max port check to TCP/UDP in secgroup rule" 2013-07-16 22:58:31 +00:00
locale Imported Translations from Transifex 2013-07-16 19:58:47 +00:00
openstack Import Oslo's common rootwrap to Neutron 2013-07-08 18:25:44 +02:00
plugins Merge "Nicira NVP plugin support for l3_ext_gw_mode extension" 2013-07-17 01:50:55 +00:00
scheduler Fix argument name mismatch in L3-RPC sync_routers 2013-07-16 23:22:17 -04:00
server Ensure that the neutron server is properly monkey patched 2013-07-09 14:08:21 -04:00
services Enable logging before using it 2013-07-13 15:35:22 +08:00
tests Fix argument name mismatch in L3-RPC sync_routers 2013-07-16 23:22:17 -04:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
context.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
hooks.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
manager.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
neutron_plugin_base_v2.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
policy.py Enable policy control over external_gateway_info sub-attributes 2013-07-16 17:52:27 +02:00
quota.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
service.py Enable logging before using it 2013-07-13 15:35:22 +08:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00