]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure entries in dnsmasq belong to a subnet using DHCP
authorSean M. Collins <sean_collins2@cable.comcast.com>
Tue, 10 Jun 2014 19:20:49 +0000 (15:20 -0400)
committerSean M. Collins <sean_collins2@cable.comcast.com>
Tue, 17 Jun 2014 14:24:36 +0000 (10:24 -0400)
commit1715eb7c8e1f2433df3c081e357f8c40dfe2a28a
tree97038a6a9c26567dd75a68a15348e126035cd8ed
parent16eb9875583577d0a2694dc7717c37fefea50bda
Ensure entries in dnsmasq belong to a subnet using DHCP

In certain configurations, Neutron calculates SLAAC addresses for IPv6
subnets and adds them to the fixed_ips field of a port. Since those
subnets are not being managed by DHCP, do not add those fixed_ip entries
to the host file.

Closes-bug: #1316190
Related-bug: #1257446

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