Add IPv6 support to dnsmasq example

This adds IPv6 support to the documented dnsmasq example.
For DHCPv6 PXE boot, the Client Architecture option uses code 61,
(see https://tools.ietf.org/html/rfc5970#section-3.3). For both
DHCP and DHCPv6, support for UEFI client arch type 11 (EFI aarch64)
is documented.

Change-Id: I4018d99b9723527ed0cbb2c6825b0062d82c85b1
(cherry picked from commit 29dce28b13)
This commit is contained in:
Bob Fournier 2019-10-22 13:58:20 -04:00 committed by Dmitry Tantsur
parent a0d97fdd82
commit 7beeeaaebc
1 changed files with 12 additions and 4 deletions

View File

@ -372,18 +372,26 @@ nodes not supporting iPXE. To use iPXE, you'll need:
dhcp-match=ipxe,175
dhcp-match=set:efi,option:client-arch,7
dhcp-match=set:efi,option:client-arch,9
dhcp-match=set:efi,option:client-arch,11
# dhcpv6.option: Client System Architecture Type (61)
dhcp-match=set:efi6,option6:61,0007
dhcp-match=set:efi6,option6:61,0009
dhcp-match=set:efi6,option6:61,0011
dhcp-userclass=set:ipxe6,iPXE
# Client is already running iPXE; move to next stage of chainloading
dhcp-boot=tag:ipxe,http://{IP}:8088/inspector.ipxe
# Client is PXE booting over EFI without iPXE ROM,
# send EFI version of iPXE chainloader
dhcp-boot=tag:efi,tag:!ipxe,ipxe.efi
dhcp-option=tag:efi6,tag:!ipxe6,option6:bootfile-url,tftp://{IP}/ipxe.efi
# Client is running PXE over BIOS; send BIOS version of iPXE chainloader
dhcp-boot=undionly.kpxe,localhost.localdomain,{IP}
First, we configure the same common parameters as with PXE. Then we define
``ipxe`` and ``efi`` tags. Nodes already supporting iPXE are ordered to
download and execute ``inspector.ipxe``. Nodes without iPXE booted with UEFI
will get ``ipxe.efi`` firmware to execute, while the remaining will get
``undionly.kpxe``.
``ipxe`` and ``efi`` tags for IPv4 and ``ipxe6`` and ``efi6`` for IPv6.
Nodes already supporting iPXE are ordered to download and execute
``inspector.ipxe``. Nodes without iPXE booted with UEFI will get ``ipxe.efi``
firmware to execute, while the remaining will get ``undionly.kpxe``.
Managing the **ironic-inspector** Database
------------------------------------------