]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix extra-dhcp-opt on stateless dhcpv6 subnet
authorlijianlj <lijianlj@cn.ibm.com>
Fri, 16 Jan 2015 09:02:40 +0000 (17:02 +0800)
committerlijianlj <lijianlj@cn.ibm.com>
Wed, 4 Feb 2015 02:04:08 +0000 (10:04 +0800)
commita584e35775391a2a93535482c5a05ff8774cb56b
treea533185eb471d456843336e54742de300c6fca8a
parente18f0cb003a0046195a00206734133827e199ed3
Fix extra-dhcp-opt on stateless dhcpv6 subnet

The opts in dnsmasq opt-file is depending on the tag set
in the host-file. When you have only one stateless dhcpv6 subnet,
it will be filtered by the _iter_host() function, and will not be
written to the host-file, this may lead to extra-dhcp-opt not working.

Closes-Bug:#1411137

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