[contrib] Allow Network Protocol header to display in rom-o-matic
[gpxe.git] / contrib / rom-o-matic / flag-table.php
blobaedc7f763520474dc40a7a2daac460f83aa7d255
1 <?php // -*- Mode: PHP; -*-
3 /**
4 * Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
5 * Copyright (C) 2009 Entity Cyber, Inc.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 $ofmts = array
23 ( "Floppy bootable image (.dsk)" => "dsk",
24 "SYSLINUX-based bootable floppy image (.sdsk)" => "sdsk",
25 "ISO bootable image (.iso)" => "iso",
26 "ISO bootable image with legacy floppy emulation (.liso)" => "liso",
27 "Linux kernel (SYSLINUX/GRUB/LILO) loadable image (.lkrn)" => "lkrn",
28 "USB Keychain disk image (.usb)" => "usb",
29 "ROM binary (flashable) image (.rom)" => "rom",
30 "ROM binary (flashable) for problem PMM BIOSES (.hrom)" => "hrom",
31 "PXE bootstrap loader image [Unload PXE stack] (.pxe)" => "pxe",
32 "PXE bootstrap loader keep [Keep PXE stack method 1] (.kpxe)" => "kpxe",
33 "PXE bootstrap loader keep [Keep PXE stack method 2] (.kkpxe)" => "kkpxe",
36 $flag_table = array (
38 // Begin General Options:
40 "HDR_MISC_OPTIONS"
41 => array (
42 "flag" => "HDR_MISC_OPTIONS",
43 "hide_from_user" => "yes", // Hide even the header
44 "type" => "header",
45 "label" => "Miscellaneous Options"
48 "PRODUCT_NAME"
49 => array (
50 "flag" => "PRODUCT_NAME",
51 "hide_from_user" => "yes",
52 "type" => "string",
53 "value" => "",
54 "cfgsec" => "general"
57 "PRODUCT_SHORT_NAME"
58 => array (
59 "flag" => "PRODUCT_SHORT_NAME",
60 "hide_from_user" => "yes",
61 "type" => "string",
62 "value" => "gPXE",
63 "cfgsec" => "general"
66 // End General Options:
68 // Begin Console Options:
70 "HDR_CONSOLE_OPTIONS"
71 => array (
72 "flag" => "HDR_CONSOLE_OPTIONS",
73 "type" => "header",
74 "label" => "Console Options"
77 "CONSOLE_PCBIOS"
78 => array (
79 "flag" => "CONSOLE_PCBIOS",
80 "type" => "on/off",
81 "value" => "on",
82 "cfgsec" => "console"
85 "CONSOLE_SERIAL"
86 => array (
87 "flag" => "CONSOLE_SERIAL",
88 "type" => "on/off",
89 "value" => "off",
90 "cfgsec" => "console"
93 "BANNER_TIMEOUT"
94 => array (
95 "flag" => "BANNER_TIMEOUT",
96 "type" => "integer",
97 "value" => "20",
98 "cfgsec" => "general"
101 // End Console Options
103 // Begin Network Protocol Options:
105 "HDR_NETWORK_PROTOCOL_OPTIONS"
106 => array (
107 "flag" => "HDR_NETWORK_PROTOCOL_OPTIONS",
108 "type" => "header",
109 "label" => "Network Protocol Options"
112 "NET_PROTO_IPV4"
113 => array (
114 "flag" => "NET_PROTO_IPV4",
115 "type" => "on/off",
116 "value" => "on",
117 "hide_from_user" => "yes",
118 "cfgsec" => "general"
121 "NET_PROTO_IPV6"
122 => array (
123 "flag" => "NET_PROTO_IPV6",
124 "type" => "on/off",
125 "value" => "off",
126 "cfgsec" => "general"
129 // End Network Protocol Options
131 // Begin Serial Port configuration
133 "HDR_SERIAL_PORT_OPTIONS"
134 => array (
135 "flag" => "HDR_SERIAL_PORT_OPTIONS",
136 "type" => "header",
137 "label" => "Serial Port Options"
140 "COMCONSOLE"
141 => array (
142 "flag" => "COMCONSOLE",
143 "type" => "integer-hex", // e.g. 0x378
144 "value" => "0x3F8",
145 "cfgsec" => "serial"
148 "COMPRESERVE"
149 => array (
150 "flag" => "COMPRESERVE",
151 "type" => "on/off",
152 "value" => "off",
153 "cfgsec" => "serial"
156 "COMSPEED"
157 => array (
158 "flag" => "COMSPEED",
159 "type" => "integer",
160 "value" => "115200",
161 "cfgsec" => "serial"
164 "COMDATA"
165 => array (
166 "flag" => "COMDATA",
167 "type" => "integer",
168 "value" => "8",
169 "cfgsec" => "serial"
172 "COMPARITY"
173 => array (
174 "flag" => "COMPARITY",
175 "type" => "integer",
176 "value" => "0",
177 "cfgsec" => "serial"
180 "COMSTOP"
181 => array (
182 "flag" => "COMSTOP",
183 "type" => "integer",
184 "value" => "1",
185 "cfgsec" => "serial"
188 // End Serial Options
190 // Begin Download Protocols
192 "HDR_DOWNLOAD_PROTOCOLS"
193 => array (
194 "flag" => "HDR_DOWNLOAD_PROTOCOLS",
195 "type" => "header",
196 "label" => "Download Protocols"
199 "DOWNLOAD_PROTO_TFTP"
200 => array (
201 "flag" => "DOWNLOAD_PROTO_TFTP",
202 "type" => "on/off",
203 "value" => "on",
204 "cfgsec" => "general"
207 "DOWNLOAD_PROTO_HTTP"
208 => array (
209 "flag" => "DOWNLOAD_PROTO_HTTP",
210 "type" => "on/off",
211 "value" => "on",
212 "cfgsec" => "general"
215 "DOWNLOAD_PROTO_HTTPS"
216 => array (
217 "flag" => "DOWNLOAD_PROTO_HTTPS",
218 "type" => "on/off",
219 "value" => "off",
220 "cfgsec" => "general"
223 "DOWNLOAD_PROTO_FTP"
224 => array (
225 "flag" => "DOWNLOAD_PROTO_FTP",
226 "type" => "on/off",
227 "value" => "off",
228 "cfgsec" => "general"
231 // End Download Protocols
233 // Begin SAN boot protocols
235 "HDR_SANBOOT_PROTOCOLS"
236 => array (
237 "flag" => "HDR_SANBOOT_PROTOCOLS",
238 "type" => "header",
239 "label" => "SAN Boot Protocols"
242 "SANBOOT_PROTO_ISCSI"
243 => array (
244 "flag" => "SANBOOT_PROTO_ISCSI",
245 "type" => "on/off",
246 "value" => "on",
247 "cfgsec" => "general"
250 "SANBOOT_PROTO_AOE"
251 => array (
252 "flag" => "SANBOOT_PROTO_AOE",
253 "type" => "on/off",
254 "value" => "on",
255 "cfgsec" => "general"
258 // End SAN boot protocols
260 // Begin Name resolution modules
262 "HDR_NAME_RESOLUTION_MODULES"
263 => array (
264 "flag" => "HDR_NAME_RESOLUTION_MODULES",
265 "type" => "header",
266 "label" => "Name Resolution Modules"
269 "DNS_RESOLVER"
270 => array (
271 "flag" => "DNS_RESOLVER",
272 "type" => "on/off",
273 "value" => "on",
274 "cfgsec" => "general"
277 "NMB_RESOLVER"
278 => array (
279 "flag" => "NMB_RESOLVER",
280 "type" => "on/off",
281 "value" => "off",
282 "hide_from_user" => "yes",
283 "cfgsec" => "general"
286 // End Name resolution modules
288 // Begin Image types
290 "HDR_IMAGE_TYPES"
291 => array (
292 "flag" => "HDR_IMAGE_TYPES",
293 "type" => "header",
294 "label" => "Image Types",
297 "IMAGE_ELF"
298 => array (
299 "flag" => "IMAGE_ELF",
300 "type" => "on/off",
301 "value" => "on",
302 "cfgsec" => "general"
305 "IMAGE_NBI"
306 => array (
307 "flag" => "IMAGE_NBI",
308 "type" => "on/off",
309 "value" => "on",
310 "cfgsec" => "general"
313 "IMAGE_MULTIBOOT"
314 => array (
315 "flag" => "IMAGE_MULTIBOOT",
316 "type" => "on/off",
317 "value" => "on",
318 "cfgsec" => "general"
321 "IMAGE_PXE"
322 => array (
323 "flag" => "IMAGE_PXE",
324 "type" => "on/off",
325 "value" => "on",
326 "cfgsec" => "general"
329 "IMAGE_SCRIPT"
330 => array (
331 "flag" => "IMAGE_SCRIPT",
332 "type" => "on/off",
333 "value" => "on",
334 "cfgsec" => "general"
337 "IMAGE_BZIMAGE"
338 => array (
339 "flag" => "IMAGE_BZIMAGE",
340 "type" => "on/off",
341 "value" => "on",
342 "cfgsec" => "general"
345 "IMAGE_COMBOOT"
346 => array (
347 "flag" => "IMAGE_COMBOOT",
348 "type" => "on/off",
349 "value" => "on",
350 "cfgsec" => "general"
353 // End Image types
355 // Begin Command-line commands to include
357 "HDR_COMMAND_LINE_OPTIONS"
358 => array (
359 "flag" => "HDR_COMMAND_LINE_OPTIONS",
360 "type" => "header",
361 "label" => "Command Line Options",
364 "AUTOBOOT_CMD"
365 => array (
366 "flag" => "AUTOBOOT_CMD",
367 "type" => "on/off",
368 "value" => "on",
369 "cfgsec" => "general"
372 "NVO_CMD"
373 => array (
374 "flag" => "NVO_CMD",
375 "type" => "on/off",
376 "value" => "on",
377 "cfgsec" => "general"
380 "CONFIG_CMD"
381 => array (
382 "flag" => "CONFIG_CMD",
383 "type" => "on/off",
384 "value" => "on",
385 "cfgsec" => "general"
388 "IFMGMT_CMD"
389 => array (
390 "flag" => "IFMGMT_CMD",
391 "type" => "on/off",
392 "value" => "on",
393 "cfgsec" => "general"
396 "IWMGMT_CMD"
397 => array (
398 "flag" => "IWMGMT_CMD",
399 "type" => "on/off",
400 "value" => "on",
401 "cfgsec" => "general"
404 "ROUTE_CMD"
405 => array (
406 "flag" => "ROUTE_CMD",
407 "type" => "on/off",
408 "value" => "on",
409 "cfgsec" => "general"
412 "IMAGE_CMD"
413 => array (
414 "flag" => "IMAGE_CMD",
415 "type" => "on/off",
416 "value" => "on",
417 "cfgsec" => "general"
420 "DHCP_CMD"
421 => array (
422 "flag" => "DHCP_CMD",
423 "type" => "on/off",
424 "value" => "on",
425 "cfgsec" => "general"
428 "SANBOOT_CMD"
429 => array (
430 "flag" => "SANBOOT_CMD",
431 "type" => "on/off",
432 "value" => "on",
433 "cfgsec" => "general"
436 "LOGIN_CMD"
437 => array (
438 "flag" => "LOGIN_CMD",
439 "type" => "on/off",
440 "value" => "on",
441 "cfgsec" => "general"
444 "TIME_CMD"
445 => array (
446 "flag" => "TIME_CMD",
447 "type" => "on/off",
448 "value" => "off",
449 "cfgsec" => "general"
452 "DIGEST_CMD"
453 => array (
454 "flag" => "DIGEST_CMD",
455 "type" => "on/off",
456 "value" => "off",
457 "cfgsec" => "general"
460 "PXE_CMD"
461 => array (
462 "flag" => "PXE_CMD",
463 "type" => "on/off",
464 "value" => "on",
465 "cfgsec" => "general"
468 "IPV6_CMD"
469 => array (
470 "flag" => "IPV6_CMD",
471 "type" => "on/off",
472 "value" => "off",
473 "cfgsec" => "general"
476 // End Command-line commands to include
478 // Begin Wireless options
480 "HDR_WIRELESS_OPTIONS"
481 => array (
482 "flag" => "HDR_WIRELESS_OPTIONS",
483 "type" => "header",
484 "label" => "Wireless Interface Options",
487 "CRYPTO_80211_WEP"
488 => array (
489 "flag" => "CRYPTO_80211_WEP",
490 "type" => "on/off",
491 "value" => "on",
492 "cfgsec" => "general"
495 "CRYPTO_80211_WPA"
496 => array (
497 "flag" => "CRYPTO_80211_WPA",
498 "type" => "on/off",
499 "value" => "on",
500 "cfgsec" => "general"
503 "CRYPTO_80211_WPA2"
504 => array (
505 "flag" => "CRYPTO_80211_WPA2",
506 "type" => "on/off",
507 "value" => "on",
508 "cfgsec" => "general"
511 // End Wireless options
515 // For emacs:
516 // Local variables:
517 // c-basic-offset: 4
518 // c-indent-level: 4
519 // tab-width: 4
520 // End: