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
This commit is contained in:
parent
e1690b650f
commit
bdea722c03
2
setup.py
2
setup.py
|
@ -98,6 +98,8 @@ setuptools.setup(
|
|||
entry_points={
|
||||
'console_scripts': [
|
||||
'quantum-dhcp-agent = quantum.agent.dhcp_agent:main',
|
||||
'quantum-dhcp-agent-dnsmasq-lease-update ='
|
||||
'quantum.agent.linux.dhcp:Dnsmasq.lease_update',
|
||||
'quantum-l3-agent = quantum.agent.l3_nat_agent:main',
|
||||
'quantum-linuxbridge-agent ='
|
||||
'quantum.plugins.linuxbridge.agent.linuxbridge_quantum_agent:main',
|
||||
|
|
Loading…
Reference in New Issue