Expose a function setting_applies() to allow a caller to determine whether or not a particular setting is applicable to a particular settings block. Restrict DHCP-backed settings blocks to accepting only DHCP-based settings. Restrict network device settings blocks to accepting only DHCP-based settings and network device-specific settings such as "mac". Inspired-by: Glenn Brown <glenn@myri.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
184 |
|
184 |
|
185 |
|
185 |
|
186 |
|
186 |
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
187 |
|
200 |
|
188 |
|
201 |
|
189 |
|
202 |
|
|
|
||
236 |
|
249 |
|
237 |
|
250 |
|
238 |
|
251 |
|
|
252 |
|
|
239 |
|
253 |
|
240 |
|
254 |
|
241 |
|
255 |
|
|
|
||
492 |
|
492 |
|
493 |
|
493 |
|
494 |
|
494 |
|
|
495 |
|
|
|
496 |
|
|
|
497 |
|
|
|
498 |
|
|
|
499 |
|
|
|
500 |
|
|
|
501 |
|
|
|
502 |
|
|
|
503 |
|
|
|
504 |
|
|
|
505 |
|
|
|
506 |
|
|
|
507 |
|
|
495 |
|
508 |
|
496 |
|
509 |
|
497 |
|
510 |
|
|
|
||
509 |
|
522 |
|
510 |
|
523 |
|
511 |
|
524 |
|
|
525 |
|
|
|
526 |
|
|
|
527 |
|
|
|
528 |
|
|
512 |
|
529 |
|
513 |
|
530 |
|
514 |
|
531 |
|
|
|
||
564 |
|
581 |
|
565 |
|
582 |
|
566 |
|
583 |
|
567 |
|
|
|
568 |
|
|
|
569 |
|
|
|
|
584 |
|
|
|
585 |
|
|
|
586 |
|
|
|
587 |
|
|
570 |
|
588 |
|
|
589 |
|
|
571 |
|
590 |
|
572 |
|
591 |
|
573 |
|
592 |
|
|
|
||
886 |
|
905 |
|
887 |
|
906 |
|
888 |
|
907 |
|
|
908 |
|
|
889 |
|
909 |
|
890 |
|
910 |
|
891 |
|
911 |
|
892 |
|
|
|
|
912 |
|
|
|
913 |
|
|
893 |
|
914 |
|
894 |
|
915 |
|
895 |
|
916 |
|
896 |
|
917 |
|
897 |
|
918 |
|
898 |
|
919 |
|
899 |
|
|
|
|
920 |
|
|
900 |
|
921 |
|
901 |
|
922 |
|
902 |
|
923 |
|
|
|
||
946 |
|
967 |
|
947 |
|
968 |
|
948 |
|
969 |
|
|
970 |
|
|
949 |
|
971 |
|
950 |
|
972 |
|
951 |
|
973 |
|
|
|
||
979 |
|
1001 |
|
980 |
|
1002 |
|
981 |
|
1003 |
|
982 |
|
|
|
|
1004 |
|
|
|
1005 |
|
|
983 |
|
1006 |
|
984 |
|
|
|
|
1007 |
|
|
985 |
|
1008 |
|
986 |
|
1009 |
|
987 |
|
1010 |
|
|
|
||
1697 |
|
1697 |
|
1698 |
|
1698 |
|
1699 |
|
1699 |
|
|
1700 |
|
|
|
1701 |
|
|
|
1702 |
|
|
|
1703 |
|
|
|
1704 |
|
|
|
1705 |
|
|
|
1706 |
|
|
|
1707 |
|
|
|
1708 |
|
|
|
1709 |
|
|
|
1710 |
|
|
|
1711 |
|
|
|
1712 |
|
|
|
1713 |
|
|
|
1714 |
|
|
|
1715 |
|
|
|
1716 |
|
|
|
1717 |
|
|
1700 |
|
1718 |
|
1701 |
|
1719 |
|
1702 |
|
1720 |
|
|
|
||
1716 |
|
1734 |
|
1717 |
|
1735 |
|
1718 |
|
1736 |
|
1719 |
|
|
|
1720 |
|
|
|
|
1737 |
|
|
1721 |
|
1738 |
|
1722 |
|
1739 |
|
1723 |
|
1740 |
|
|
|
||
1750 |
|
1767 |
|
1751 |
|
1768 |
|
1752 |
|
1769 |
|
1753 |
|
|
|
1754 |
|
|
|
|
1770 |
|
|
1755 |
|
1771 |
|
1756 |
|
1772 |
|
1757 |
|
1773 |
|
|
|
||
1767 |
|
1783 |
|
1768 |
|
1784 |
|
1769 |
|
1785 |
|
|
1786 |
|
|
1770 |
|
1787 |
|
1771 |
|
1788 |
|
1772 |
|
1789 |
|
|
|
||
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
30 |
|
|
31 |
|
|
31 |
|
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
|
|
||
1183 |
|
1183 |
|
1184 |
|
1184 |
|
1185 |
|
1185 |
|
|
1186 |
|
|
|
1187 |
|
|
|
1188 |
|
|
|
1189 |
|
|
|
1190 |
|
|
|
1191 |
|
|
|
1192 |
|
|
|
1193 |
|
|
|
1194 |
|
|
|
1195 |
|
|
|
1196 |
|
|
|
1197 |
|
|
|
1198 |
|
|
|
1199 |
|
|
|
1200 |
|
|
|
1201 |
|
|
|
1202 |
|
|
|
1203 |
|
|
|
1204 |
|
|
|
1205 |
|
|
|
1206 |
|
|
1186 |
|
1207 |
|
|
|
||
390 |
|
390 |
|
391 |
|
391 |
|
392 |
|
392 |
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
|
398 |
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
|
416 |
|
|
|
417 |
|
|
|
418 |
|
|
|
419 |
|
|
|
420 |
|
|
|
421 |
|
|
|
422 |
|
|
|
423 |
|
|
|
424 |
|
|
393 |
|
425 |
|
394 |
|
426 |
|
395 |
|
427 |
|
|
|
||
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
35 |
|
36 |
|
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
37 |
|
61 |
|
38 |
|
62 |
|
39 |
|
63 |
|
|
|
||
45 |
|
69 |
|
46 |
|
70 |
|
47 |
|
71 |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
48 |
|
80 |
|
49 |
|
81 |
|
50 |
|
82 |
|
|
|
||
84 |
|
116 |
|
85 |
|
117 |
|
86 |
|
118 |
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
|
119 |
|
|
90 |
|
120 |
|
91 |
|
121 |
|
92 |
|
122 |
|
|
|
||
181 |
|
211 |
|
182 |
|
212 |
|
183 |
|
213 |
|
|
214 |
|
|
|
215 |
|
|
184 |
|
216 |
|
185 |
|
217 |
|
186 |
|
218 |
|
|
|
||
63 |
|
63 |
|
64 |
|
64 |
|
65 |
|
65 |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
66 |
|
82 |
|
67 |
|
83 |
|
68 |
|
84 |
|
|
|
||
87 |
|
103 |
|
88 |
|
104 |
|
89 |
|
105 |
|
90 |
|
|
|
91 |
|
|
|
|
106 |
|
|
92 |
|
107 |
|
93 |
|
108 |
|
94 |
|
109 |
|
|
|
||
119 |
|
134 |
|
120 |
|
135 |
|
121 |
|
136 |
|
|
137 |
|
|
122 |
|
138 |
|
123 |
|
139 |
|
124 |
|
140 |
|
|
|
||
206 |
|
206 |
|
207 |
|
207 |
|
208 |
|
208 |
|
|
209 |
|
|
209 |
|
210 |
|
210 |
|
211 |
|
211 |
|
212 |
|
|
|
||
218 |
|
219 |
|
219 |
|
220 |
|
220 |
|
221 |
|
|
222 |
|
|
221 |
|
223 |
|
222 |
|
224 |
|
223 |
|
225 |
|
|
|
||
230 |
|
232 |
|
231 |
|
233 |
|
232 |
|
234 |
|
|
235 |
|
|
233 |
|
236 |
|
234 |
|
237 |
|
235 |
|
238 |
|
|
|
||
347 |
|
347 |
|
348 |
|
348 |
|
349 |
|
349 |
|
|
350 |
|
|
|
351 |
|
|
|
352 |
|
|
|
353 |
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
350 |
|
362 |
|
351 |
|
363 |
|
352 |
|
364 |
|
|
|
||
134 |
|
134 |
|
135 |
|
135 |
|
136 |
|
136 |
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
137 |
|
150 |
|
138 |
|
151 |
|
139 |
|
152 |
|
|
|
||
204 |
|
217 |
|
205 |
|
218 |
|
206 |
|
219 |
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
207 |
|
235 |
|
208 |
|
236 |
|
209 |
|
237 |
|
|
|
||
242 |
|
270 |
|
243 |
|
271 |
|
244 |
|
272 |
|
|
273 |
|
|
245 |
|
274 |
|
246 |
|
275 |
|
247 |
|
276 |
|
|
|
||
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
|
25 |
|
|
25 |
|
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
|
|
||
37 |
|
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
|
41 |
|
|
40 |
|
42 |
|
41 |
|
43 |
|
42 |
|
44 |
|
43 |
|
45 |
|
44 |
|
46 |
|
|
47 |
|
|
45 |
|
48 |
|
46 |
|
49 |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
47 |
|
64 |
|
48 |
|
65 |
|
49 |
|
66 |
|
|
|
||
114 |
|
131 |
|
115 |
|
132 |
|
116 |
|
133 |
|
|
134 |
|
|
117 |
|
135 |
|
118 |
|
136 |
|
119 |
|
137 |
|