summaryrefslogtreecommitdiffstats
path: root/src/share/api/ha-sync.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/ha-sync.json')
-rw-r--r--src/share/api/ha-sync.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/share/api/ha-sync.json b/src/share/api/ha-sync.json
new file mode 100644
index 0000000..b4e4277
--- /dev/null
+++ b/src/share/api/ha-sync.json
@@ -0,0 +1,24 @@
+{
+ "access": "write",
+ "avail": "1.4.0",
+ "brief": [
+ "This command instructs the server running in HA mode to synchronize its local lease database with the selected peer."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"ha-sync\",",
+ " \"service\": [ <service affected: 'dhcp4' or 'dhcp6'> ],",
+ " \"arguments\": {",
+ " \"server-name\": <name of the partner server>,",
+ " \"max-period\": <integer, in seconds>",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-ha-sync\"/>",
+ "hook": "high_availability",
+ "name": "ha-sync",
+ "support": [
+ "kea-dhcp4",
+ "kea-dhcp6"
+ ]
+}