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

diff --git a/doc/api/lease6-add.json b/doc/api/lease6-add.json
new file mode 100644 (file)
index 0000000..7038dcc
--- /dev/null
@@ -0,0 +1,20 @@
+{
+    "name": "lease6-add",
+    "brief": "The lease6-add command allows for the creation of a new lease.",
+    "description": "See <xref linkend=\"lease4-add\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.3.0",
+    "hook": "lease_cmds",
+    "cmd-syntax": "{
+    \"command\": \"lease6-add\",
+    \"arguments\": {
+        \"subnet-id\": 66,
+        \"ip-address\": \"2001:db8::3\",
+        \"duid\": \"1a:1b:1c:1d:1e:1f:20:21:22:23:24\",
+        \"iaid\": 1234
+    }
+}",
+    "cmd-comment": "lease6-add can be also used to add leases for IPv6 prefixes..",
+    "resp-syntax": "{ \"result\": 0, \"text\": \"Lease added.\" }
+    { \"result\": 1, \"text\": \"missing parameter 'ip-address' (<string>:3:19)\" }",
+}
\ No newline at end of file