]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Divide dhcp and l3 agent scheduling into separate extensions
authorOleg Bondarev <obondarev@mirantis.com>
Tue, 2 Jul 2013 08:08:52 +0000 (12:08 +0400)
committerOleg Bondarev <obondarev@mirantis.com>
Mon, 8 Jul 2013 08:29:02 +0000 (12:29 +0400)
commit0471248b97cd2b743d80701038e43aed9ab8b35d
tree1f44733a9aa24b7b32489f97a49a615886df4986
parent5be773909974f958b7591d2be00b968e70f0b600
Divide dhcp and l3 agent scheduling into separate extensions

Rationale behind this is that some plugins may support only dhcp or l3 agent scheduling.
The patch is nothing more than refactoring. Functionality was not changed.

Fixes bug 1196806

Change-Id: Ie174059adfaed3028bbf65de7bde3497dd9bc664
15 files changed:
neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py
neutron/api/rpc/agentnotifiers/l3_rpc_agent_api.py
neutron/common/constants.py
neutron/db/agentschedulers_db.py
neutron/db/dhcp_rpc_base.py
neutron/db/l3_rpc_base.py
neutron/extensions/dhcpagentscheduler.py [new file with mode: 0644]
neutron/extensions/l3agentscheduler.py [moved from neutron/extensions/agentscheduler.py with 57% similarity]
neutron/plugins/brocade/NeutronPlugin.py
neutron/plugins/linuxbridge/lb_neutron_plugin.py
neutron/plugins/ml2/plugin.py
neutron/plugins/nec/nec_plugin.py
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/openvswitch/ovs_neutron_plugin.py
neutron/tests/unit/openvswitch/test_agent_scheduler.py