keama/tests/hardwaredx4.in4
raw| 1 | # hardware data expression |
| 2 | |
| 3 | # empty configs are not accepted by Kea |
| 4 | default-lease-time 1800; |
| 5 | |
| 6 | # pretty standard hardware superclass |
| 7 | class "byhw" { |
| 8 | match hardware; |
| 9 | } |
| 10 | |
| 11 | subclass "byhw" 01:00:07:0E:36:48:19 { |
| 12 | option host-name "test1"; |
| 13 | } |
| 14 | |
| 15 | # raw |
| 16 | option host-name = binary-to-ascii(16, 8, "-", hardware); |