summaryrefslogtreecommitdiffstats
path: root/src/share/api/cache-write.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/cache-write.json')
-rw-r--r--src/share/api/cache-write.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/share/api/cache-write.json b/src/share/api/cache-write.json
new file mode 100644
index 0000000..3d6850a
--- /dev/null
+++ b/src/share/api/cache-write.json
@@ -0,0 +1,22 @@
+{
+ "access": "write",
+ "avail": "1.4.0",
+ "brief": [
+ "This command instructs Kea to write its host cache content to disk."
+ ],
+ "cmd-comment": [
+ "The command takes one mandatory argument that specifies the filename path of a file to be written."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"cache-write\",",
+ " \"arguments\": \"/path/to/the/file.json\"",
+ "}"
+ ],
+ "hook": "host_cache",
+ "name": "cache-write",
+ "support": [
+ "kea-dhcp4",
+ "kea-dhcp6"
+ ]
+}