summaryrefslogtreecommitdiffstats
path: root/src/share/api/extended-info4-upgrade.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/extended-info4-upgrade.json')
-rw-r--r--src/share/api/extended-info4-upgrade.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/share/api/extended-info4-upgrade.json b/src/share/api/extended-info4-upgrade.json
new file mode 100644
index 0000000..4205628
--- /dev/null
+++ b/src/share/api/extended-info4-upgrade.json
@@ -0,0 +1,30 @@
+{
+ "access": "write",
+ "avail": "2.3.8",
+ "brief": [
+ "This command sanitizes extended info of all IPv4 leases and fills relay and remote ID columns in the SQL lease database."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"extended-info4-upgrade\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-extended-info4-upgrade\"/>",
+ "hook": "lease_query",
+ "name": "extended-info4-upgrade",
+ "resp-comment": [
+ "This command should be used when some old IPv4 leases are present in the lease database using a SQL backend."
+ ],
+ "resp-syntax": [
+ "{",
+ " \"arguments\": {",
+ " },",
+ " \"result\": 0,",
+ " \"text\": \"to be done\"",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp4"
+ ]
+}