Packages

A library to help implementing servers which need to issue DHCP requests

Current section

Files

Jump to
ex_dhcp lib ex_dhcp options pxe.ex
Raw

lib/ex_dhcp/options/pxe.ex

defmodule ExDhcp.Options.Pxe do
@moduledoc """
DHCP options for [PXE](https://en.wikipedia.org/wiki/Preboot_Execution_Environment)
(_**P**reboot e**X**ecution **E**nvironment_) booting systems.
_NB: Learn more about PXE here: [Wikipedia](https://en.wikipedia.org/wiki/Preboot_Execution_Environment)_
"""
import ExDhcp.Options.Macro
@behaviour ExDhcp.Options.Api
@tftp_server_name 66
@bootfile_name 67
@tftp_server 150
@tftp_config 209
@tftp_root 210
options tftp_server_name: :string,
bootfile_name: :string,
tftp_server: :ip,
tftp_config: :string,
tftp_root: :string
end