1 # $NetBSD: pxe.defs,v 1.1 2002/02/09 21:13:32 thorpej Exp $
3 # Copyright 2001 Wasabi Systems, Inc.
6 # Written by Jason R. Thorpe for Wasabi Systems, Inc.
8 # Redistribution and use in source and binary forms, with or without
9 # modification, are permitted provided that the following conditions
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # 2. Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in the
15 # documentation and/or other materials provided with the distribution.
16 # 3. All advertising materials mentioning features or use of this software
17 # must display the following acknowledgement:
18 # This product includes software developed for the NetBSD Project by
19 # Wasabi Systems, Inc.
20 # 4. The name of Wasabi Systems, Inc. may not be used to endorse
21 # or promote products derived from this software without specific prior
24 # THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
25 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
26 # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC
28 # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 # POSSIBILITY OF SUCH DAMAGE.
38 # A PXE client can be identified using Option 60 (vendor-class-identifier).
39 # The format of the option is:
41 # PXEClient:Arch:xxxxx:UNDI:yyyzzz
43 # This allows you to select PXE clients for special treatment using
46 # class "pxe-clients-ia32" {
47 # match if substring (option vendor-class-identifier, 0, 20) =
48 # "PXEClient:Arch:00000";
54 # class "pxe-clients-ia64" {
55 # match if substring (option vendor-class-identifier, 0, 20) =
56 # "PXEClient:Arch:00002";
64 option PXE.mtftp-ip code 1 = ip-address;
65 option PXE.mtftp-cport code 2 = unsigned integer 16; # XXX little-endian!
66 option PXE.mtftp-sport code 3 = unsigned integer 16; # XXX little-endian!
67 option PXE.mtftp-tmout code 4 = unsigned integer 8;
68 option PXE.mtftp-delay code 5 = unsigned integer 8;
70 # PXE.discovery-control is actually a bitfield with the
72 # 0x01 disable broadcast discovery
73 # 0x02 disable multicast discovery
74 # 0x04 only use/accept servers in PXE.boot-servers
75 # 0x08 if file name is present in initial DHCP OFFER,
76 # download that boot file, rather than prompting,
77 # displaying a menu, or performing Boot Server
79 option PXE.discovery-control code 6 = unsigned integer 8;
81 # Note, this option is REQUIRED unless PXE.discovery-control has
83 option PXE.discovery-mcast-addr code 7 = ip-address;
86 # I don't even want to think about how to represent these options
87 # in dhcpd.conf syntax. See table 2-1 in the PXE spec.
89 # Luckily, these are options sent by the server back to the client,
90 # so we don't really have to deal with them unless we want to use
91 # their functionality.
93 # option PXE.boot-servers code 8 = ...
94 # option PXE.boot-menu code 9 = ...
95 # option PXE.menu-prompt code 10 = ...
98 # Not sure how to represent these in dhcpd.conf syntax.
99 # option PXE.mcast-addrs-alloc code 11 = ...
100 # option PXE.credential-types code 12 = ...
102 # Codes 64-127 : Loader Options : Boot Server specific
104 # PXE.boot-item is actually two 16-bit fields packed into a single
106 # Boot Server type 0xffff0000
107 # Boot Server layer 0x0000ffff
108 option PXE.boot-item code 71 = unsigned integer 32;
110 # Codes 128-254 : Vendor Options : Vendor NBP specific
112 # XXX NO WAY TO REPRESENT THIS!
113 # option PXE.end code 255 = void;