]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Improve dhcp agent structure to support multiple dhcp models
authorarmando-migliaccio <amigliaccio@nicira.com>
Fri, 2 Aug 2013 00:13:26 +0000 (17:13 -0700)
committerarmando-migliaccio <amigliaccio@nicira.com>
Fri, 23 Aug 2013 20:41:31 +0000 (13:41 -0700)
commit192d7f35a7b61cd557c114080e49e3c6f0f69ab4
treedeae5c693b6298fbab15b70bdafefde3020af43a
parent1c2e111a0be07c9005e212ca634a1ea174f616a5
Improve dhcp agent structure to support multiple dhcp models

This patch introduces some minor refactoring of the dhcp
code so that it is easy to support both an in-node/same
process dhcp provisioning model (e.g. with dnsmasq) and
proxy model, where DHCP is provided by an external node.

Higher separation of concerns is also achieved by doing
better data encapsulation.

Implements blueprint dhcp-flexi-model

Change-Id: Icbd215e9682ecaebb6a4300423f3564e8e677566
neutron/agent/dhcp_agent.py
neutron/agent/linux/dhcp.py
neutron/agent/netns_cleanup_util.py
neutron/debug/debug_agent.py
neutron/tests/unit/test_agent_netns_cleanup.py
neutron/tests/unit/test_dhcp_agent.py
neutron/tests/unit/test_linux_dhcp.py
neutron/tests/unit/test_linux_interface.py