diff --git a/neutron/agent/linux/dhcp.py b/neutron/agent/linux/dhcp.py index 2bbc3d2d39e..04a2d3564ea 100644 --- a/neutron/agent/linux/dhcp.py +++ b/neutron/agent/linux/dhcp.py @@ -337,6 +337,7 @@ class Dnsmasq(DhcpLocalProcess): '--dhcp-optsfile=%s' % self.get_conf_file_name('opts'), '--dhcp-leasefile=%s' % self.get_conf_file_name('leases'), '--dhcp-match=set:ipxe,175', + '--dhcp-userclass=set:ipxe6,iPXE', '--local-service', ] if self.device_manager.driver.bridged: diff --git a/neutron/tests/unit/agent/linux/test_dhcp.py b/neutron/tests/unit/agent/linux/test_dhcp.py index a58404be0c2..ef25769e1cc 100644 --- a/neutron/tests/unit/agent/linux/test_dhcp.py +++ b/neutron/tests/unit/agent/linux/test_dhcp.py @@ -1271,6 +1271,7 @@ class TestDnsmasq(TestBase): '--dhcp-optsfile=/dhcp/%s/opts' % network.id, '--dhcp-leasefile=/dhcp/%s/leases' % network.id, '--dhcp-match=set:ipxe,175', + '--dhcp-userclass=set:ipxe6,iPXE', '--local-service', '--bind-interfaces', ]