]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Add new file
authorSuzanne Goldlust <sgoldlust@isc.org>
Wed, 3 Oct 2018 18:33:52 +0000 (14:33 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 29 Oct 2019 17:57:13 +0000 (18:57 +0100)
doc/api/cache-insert.json [new file with mode: 0644]

diff --git a/doc/api/cache-insert.json b/doc/api/cache-insert.json
new file mode 100644 (file)
index 0000000..3daa0cd
--- /dev/null
@@ -0,0 +1,45 @@
+{
+    "name": "cache-insert",
+    "brief": "This command may be used to manually insert a host into the cache.",
+    "description": "See <xref linkend=\"host-reservation-v4\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.4.0",
+    "hook": "host_cache",
+    "cmd-syntax": "{
+    \"command\": \"cache-insert\",
+    \"arguments\": {
+        \"hw-address\": \"01:02:03:04:05:06\",
+        \"subnet-id4\": 4,
+        \"subnet-id6\": 0,
+        \"ip-address\": \"192.0.2.100\",
+        \"hostname\": \"somehost.example.org\",
+        \"client-classes4\": [ ],
+        \"client-classes6\": [ ],
+        \"option-data4\": [ ],
+        \"option-data6\": [ ],
+        \"next-server\": "192.0.0.2",
+        \"server-hostname\": \"server-hostname.example.org\",
+        \"boot-file-name\": \"bootfile.efi\",
+        \"host-id\": 0
+    }
+},
+{
+    \"command\": \"cache-insert\",
+    \"arguments\": {
+        \"hw-address\": \"01:02:03:04:05:06\",
+        \"subnet-id4\": 0,
+        \"subnet-id6\": 6,
+        \"ip-addresses\": [ \"2001:db8::cafe:babe\" ],
+        \"prefixes\": [ \"2001:db8:dead:beef::/64\" ],
+        \"hostname\": \"\",
+        \"client-classes4\": [ ],
+        \"client-classes6\": [ ],
+        \"option-data4\": [ ],
+        \"option-data6\": [ ],
+        \"next-server\": "0.0.0.0",
+        \"server-hostname\": \"\",
+        \"boot-file-name\": \"\",
+        \"host-id\": 0
+    }
+}",
+}
\ No newline at end of file