summaryrefslogtreecommitdiff
path: root/keama/tests/hardwaredx4.in4
diff options
context:
space:
mode:
Diffstat (limited to 'keama/tests/hardwaredx4.in4')
-rw-r--r--keama/tests/hardwaredx4.in416
1 files changed, 16 insertions, 0 deletions
diff --git a/keama/tests/hardwaredx4.in4 b/keama/tests/hardwaredx4.in4
new file mode 100644
index 00000000..46160776
--- /dev/null
+++ b/keama/tests/hardwaredx4.in4
@@ -0,0 +1,16 @@
+# hardware data expression
+
+# empty configs are not accepted by Kea
+default-lease-time 1800;
+
+# pretty standard hardware superclass
+class "byhw" {
+ match hardware;
+}
+
+subclass "byhw" 01:00:07:0E:36:48:19 {
+ option host-name "test1";
+}
+
+# raw
+option host-name = binary-to-ascii(16, 8, "-", hardware);