]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#10,!3] Added 4 missing files for ha-* commands.
authorTomek Mrugalski <tomasz@isc.org>
Fri, 5 Oct 2018 17:59:41 +0000 (19:59 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 29 Oct 2019 17:58:11 +0000 (18:58 +0100)
doc/api/ha-continue.json [new file with mode: 0644]
doc/api/ha-heartbeat.json [new file with mode: 0644]
doc/api/ha-scopes.json [new file with mode: 0644]
doc/api/ha-sync.json [new file with mode: 0644]

diff --git a/doc/api/ha-continue.json b/doc/api/ha-continue.json
new file mode 100644 (file)
index 0000000..c61b3f4
--- /dev/null
@@ -0,0 +1,8 @@
+{
+    "name": "ha-continue",
+    "brief": "This command is used to resume the operation of the paused HA state machine.",
+    "description": "See <xref linkend=\"anchor-in-the-docs\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.4.0",
+    "hook": "high_availability"
+}
diff --git a/doc/api/ha-heartbeat.json b/doc/api/ha-heartbeat.json
new file mode 100644 (file)
index 0000000..46dd851
--- /dev/null
@@ -0,0 +1,12 @@
+{
+    "name": "ha-heartbeat",
+    "brief": "This command is sent internally by Kea partner when operating
+              in High Availability (HA) mode. It should not be used by users,
+              unless you want to implement complete HA replacement.",
+    "description": "See <xref linkend=\"ha-server-states\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.4.0",
+    "hook": "high_availability",
+    "cmd-syntax": "tbd",
+    "resp-syntax": "tbd"
+}
diff --git a/doc/api/ha-scopes.json b/doc/api/ha-scopes.json
new file mode 100644 (file)
index 0000000..d88eaa7
--- /dev/null
@@ -0,0 +1,17 @@
+{
+    "name": "ha-scopes",
+    "brief": "This command allows for modifying the High Availability (HA) scopes
+              that the server is serving.a sentence or two explaining what this command does",
+    "description": "See <xref linkend=\"command-ha-scopes\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.4.0",
+    "hook": "high_availability",
+    "cmd-syntax": "{
+    \"command\": \"ha-scopes\",
+    \"service\": [ <service, typically \"dhcp4\" or \"dhcp6\"> ],
+    \"arguments\": {
+        \"scopes\": [ \"HA_server1\", \"HA_server2\" ]
+    }
+}
+"
+}
diff --git a/doc/api/ha-sync.json b/doc/api/ha-sync.json
new file mode 100644 (file)
index 0000000..282ca60
--- /dev/null
@@ -0,0 +1,17 @@
+{
+    "name": "ha-sync",
+    "brief": "The command is issued to instruct the server running in HA mode to 
+              synchronize its local lease database with the selected peer.",
+    "description": "See <xref linkend=\"command-ha-sync\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.4.0",
+    "hook": "high_availability",
+    "cmd-syntax": "{
+    \"command\": \"ha-sync\",
+    \"service\": [ <service affected: \"dhcp4\" or \"dhcp6\" ],
+    \"arguments\": {
+        \"server-name\": <name of the partner server>,
+        \"max-period\": <integer, in seconds>
+    }
+}"
+}