]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add lease expiration script support for dnsmasq
authorMark McClain <mark.mcclain@dreamhost.com>
Thu, 16 Aug 2012 21:34:44 +0000 (17:34 -0400)
committerMark McClain <mark.mcclain@dreamhost.com>
Fri, 24 Aug 2012 16:14:45 +0000 (12:14 -0400)
commited263e68e2236f5136df01373c4d66a433769e5f
tree4d7436453b687a3975ac2a694948a89d5064db6b
parent9aacc68fa9dceb21bc7b7bdd255365eac38ee052
Add lease expiration script support for dnsmasq

Fixes bug 1022804

This is phase 2 of the bug fix.  This changeset adds support for dnsmasq
 --dhcp-script to notify Quantum of lease renewals.  Communication between
dnsmasq and the Quantum DHCP agent occurs via UNIX domain socket since dnsmasq
may run in a network namespace.  The DHCP agent is responsible for
relaying the updated lease expiration back the Quantum server.

Change-Id: If42b76bbb9ec7543e681e26b9add8eb1d7054eeb
bin/quantum-dhcp-agent-dnsmasq-lease-update [new file with mode: 0755]
quantum/agent/dhcp_agent.py
quantum/agent/linux/dhcp.py
quantum/agent/linux/ip_lib.py
quantum/db/db_base_plugin_v2.py
quantum/db/dhcp_rpc_base.py
quantum/tests/unit/test_db_plugin.py
quantum/tests/unit/test_dhcp_agent.py
quantum/tests/unit/test_linux_dhcp.py
quantum/tests/unit/test_linux_ip_lib.py
setup.py