]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support Stateful and Stateless DHCPv6 by dnsmasq
authorXu Han Peng <xuhanp@cn.ibm.com>
Fri, 11 Jul 2014 07:30:00 +0000 (15:30 +0800)
committerXu Han Peng <xuhanp@cn.ibm.com>
Wed, 20 Aug 2014 05:04:48 +0000 (13:04 +0800)
commit3686d035ded94eadab6a3268e4b0f0cca11a22f8
tree655b0b2fd0bd03a5db7dbe3d10265eaed586107a
parent3c037a5869182b991d9257ba5831ed4bf5d132b4
Support Stateful and Stateless DHCPv6 by dnsmasq

* This patch adds support for subnets created with 'ipv6_address_mode'
  set to 'dhcpv6-stateful' or 'dhcpv6-stateless' by dnsmasq.
* If no dnsmasq process for subnet's network is launched, Neutron
  will launch new dnsmasq process on subnet's dhcp port in 'qdhcp-'
  namespace. If previous dnsmasq process is already launched,
  restart dnsmasq with new configuration.
* Neutron will update dnsmasq process and restart it when subnet
  gets updated.
* This patch enforces the version check of dnsmasq. dhcp-agent will
  fail to start if version of dnsmasq<2.63.

DocImpact
UpgradeImpact
Blueprint dnsmasq-ipv6-dhcpv6-stateful
Blueprint dnsmasq-ipv6-dhcpv6-stateless

Change-Id: I30e9950bbc5a89f01ccb9c561471f155a9fd1d11
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_linux_dhcp.py