Add ipxe6 dnsmasq tag to enable ipv6 dhcp client matching

DHCPv6 has different mode of operation and the request class 175
option no longer works for iPXE to allow configurations to be set
that delineate the address requestor as an iPXE client or a ROM
client seeking a bootloader over via DHCPv6.

In order to support iPXE, ironic needs to be able to match on to
the user class that is transmitted in the DHCPv6 requests.
From there, dnsmasq can choose the correct reply and a node can
boot up to be deployed by ironic.

Change-Id: I6328297deaabdc94b6356930dd978b02f432799c
Story: 2004502
Task: 28243
This commit is contained in:
Julia Kreger
2018-12-03 10:20:34 -08:00
parent d199dabfda
commit 09311c34f9
2 changed files with 2 additions and 0 deletions

View File

@@ -1260,6 +1260,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',
]