]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix DHCP agent to work with latest dnsmasq
authorKyle Mestery <kmestery@cisco.com>
Tue, 23 Jul 2013 15:17:20 +0000 (15:17 +0000)
committerKyle Mestery <kmestery@cisco.com>
Wed, 24 Jul 2013 05:26:57 +0000 (05:26 +0000)
commitacebf769a41a9a55cdc6789bf4962ea64cf87773
tree9290798b83b33b5a8b95a625ea87338cb98d2dd6
parent1b3a505a0154a83d36c7baba1496289b163e98c1
Fix DHCP agent to work with latest dnsmasq

The latest dnsmasq no longer accepts hostnames which begin with a number. This
affects Fedora 19 right now, and will mean Fedora 19 will not work with Neutron
DHCP. dnsmasq should work with hostnames beginning with a number (RFC 1123 says
this is valid), but until this is fixed, many users will be left unable to use
Fedora 19 with Neutron.

This patch adds a "host-" prefix to each hostname entry generated by the DHCP
agent. This fixes the issue in Neutron.

Fixes bug 1204125

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